Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat(messages): shared message service and API for channels and documents (#6433)

gbirman1df561c2b8a3
diff --git a/.github/workspace-dep-closures.json b/.github/workspace-dep-closures.json
index 6eb1ab8da9..431d81b864 100644
--- a/.github/workspace-dep-closures.json
+++ b/.github/workspace-dep-closures.json
@@ -104,6 +104,7 @@
"crates/macro_uuid",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -216,6 +217,7 @@
"crates/macro_uuid",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -345,6 +347,7 @@
"crates/mcp_toolset",
"crates/memory",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -483,6 +486,7 @@
"crates/mcp_toolset",
"crates/memory",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -590,6 +594,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -601,6 +606,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -611,6 +617,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"agent_trigger": [
@@ -663,6 +670,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -674,6 +682,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -684,6 +693,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"agent_trigger_service": [
@@ -738,6 +748,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -749,6 +760,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -759,6 +771,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack",
"services/agent_trigger_service"
],
@@ -839,6 +852,7 @@
"crates/mcp_select",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1046,6 +1060,7 @@
"crates/mcp_select",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1234,6 +1249,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/microsoft_oauth_grant_db_utils",
"crates/mobile_welcome_email_db_client",
"crates/model",
@@ -1367,6 +1383,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1378,6 +1395,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -1388,6 +1406,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"broadcast": [
@@ -1467,6 +1486,7 @@
"crates/macro_uuid",
"crates/maybe_send",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1587,6 +1607,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1598,6 +1619,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -1608,6 +1630,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"call_recording_preview_handler": [
@@ -1695,6 +1718,7 @@
"crates/mcp_select",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1799,6 +1823,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1810,6 +1835,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -1820,6 +1846,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"chat": [
@@ -1940,6 +1967,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -1951,6 +1979,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -1961,6 +1990,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"codex_connection": [
@@ -2013,6 +2043,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2024,6 +2055,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -2034,6 +2066,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"coding_agent_worker": [
@@ -2099,6 +2132,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2222,6 +2256,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2233,6 +2268,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -2243,6 +2279,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"complete_graph": [
@@ -2322,6 +2359,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2733,6 +2771,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2744,6 +2783,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -2754,6 +2794,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"database_env_vars": [
@@ -2861,6 +2902,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -2989,6 +3031,7 @@
"crates/mcp_toolset",
"crates/memory",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -3156,6 +3199,7 @@
"crates/mcp_select",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -3346,6 +3390,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -3432,6 +3477,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -4409,6 +4455,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -4528,6 +4575,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -4550,6 +4598,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"graphql_common": [
@@ -4715,6 +4764,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -4832,6 +4882,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -5082,6 +5133,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -5489,6 +5541,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -5500,6 +5553,7 @@
"crates/models_entity_access_management",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_sfs",
"crates/non_empty",
"crates/notification",
@@ -5510,6 +5564,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"load-test": [
@@ -5922,6 +5977,7 @@
"crates/mcp_select",
"crates/mcp_toolset",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -6065,6 +6121,7 @@
"crates/mcp_toolset",
"crates/memory",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -6128,6 +6185,60 @@
"crates/mention_utils",
"crates/workspace-hack"
],
+ "messages": [
+ "crates/agent",
+ "crates/ai_toolset",
+ "crates/ai_usage",
+ "crates/attachment",
+ "crates/bot_id",
+ "crates/bot_token",
+ "crates/broadcast",
+ "crates/channel_sender",
+ "crates/connection_gateway_client",
+ "crates/connection_gateway_models",
+ "crates/cowlike",
+ "crates/database_env_vars",
+ "crates/document_sub_type",
+ "crates/entity_access",
+ "crates/genai_telemetry",
+ "crates/harness_id",
+ "crates/harness_token",
+ "crates/invite_email",
+ "crates/kafka_util",
+ "crates/last_online_tracker",
+ "crates/macro_auth",
+ "crates/macro_authorization",
+ "crates/macro_entrypoint",
+ "crates/macro_env",
+ "crates/macro_env_var",
+ "crates/macro_event_broker",
+ "crates/macro_event_topics",
+ "crates/macro_service_urls",
+ "crates/macro_tower_layers",
+ "crates/macro_user_id",
+ "crates/macro_uuid",
+ "crates/mention_utils",
+ "crates/messages",
+ "crates/model",
+ "crates/model-entity",
+ "crates/model-error-response",
+ "crates/model_file_type",
+ "crates/model_notifications",
+ "crates/model_user",
+ "crates/models_bulk_upload",
+ "crates/models_entity_access_management",
+ "crates/models_pagination",
+ "crates/models_permissions",
+ "crates/models_properties",
+ "crates/non_empty",
+ "crates/notification",
+ "crates/notification_state",
+ "crates/prompt",
+ "crates/rate_limit",
+ "crates/remote_env_var",
+ "crates/system_properties",
+ "crates/workspace-hack"
+ ],
"microsoft_oauth_grant_db_utils": [
"crates/microsoft_oauth_grant_db_utils",
"crates/workspace-hack"
@@ -6329,6 +6440,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -6423,6 +6535,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -6498,6 +6611,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -6510,6 +6624,7 @@
"crates/models_opensearch",
"crates/models_pagination",
"crates/models_permissions",
+ "crates/models_properties",
"crates/models_search_cursor",
"crates/models_sfs",
"crates/name_search",
@@ -6522,6 +6637,7 @@
"crates/share_permission_db_utils",
"crates/sqs_worker",
"crates/static_file_service_client",
+ "crates/system_properties",
"crates/workspace-hack"
],
"native_app_server": [
@@ -7020,6 +7136,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7366,6 +7483,7 @@
"crates/mcp_toolset",
"crates/memory",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7496,6 +7614,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7605,6 +7724,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7699,6 +7819,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7830,6 +7951,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -7958,6 +8080,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -8055,6 +8178,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -8145,6 +8269,7 @@
"crates/macro_uuid",
"crates/maybe_send",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -8234,6 +8359,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -8329,6 +8455,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -8674,6 +8801,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
@@ -9006,6 +9134,7 @@
"crates/macro_user_id",
"crates/macro_uuid",
"crates/mention_utils",
+ "crates/messages",
"crates/model",
"crates/model-entity",
"crates/model-error-response",
diff --git a/.sqlx/query-0300095d1cc6b5c6a65d975906c8422b36e5ec62483953757cc1ad7201ad4cfc.json b/.sqlx/query-0300095d1cc6b5c6a65d975906c8422b36e5ec62483953757cc1ad7201ad4cfc.json
new file mode 100644
index 0000000000..13c00a41b7
--- /dev/null
+++ b/.sqlx/query-0300095d1cc6b5c6a65d975906c8422b36e5ec62483953757cc1ad7201ad4cfc.json
@@ -0,0 +1,16 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "DELETE FROM comms_reactions WHERE message_id = $1 AND user_id = $2 AND emoji = $3",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "0300095d1cc6b5c6a65d975906c8422b36e5ec62483953757cc1ad7201ad4cfc"
+}
diff --git a/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json b/.sqlx/query-0397d8893a66f362e10bdab2c84a3f6c2d4af6361537f834aa34ffe8eca2563d.json
similarity index 61%
rename from .sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
rename to .sqlx/query-0397d8893a66f362e10bdab2c84a3f6c2d4af6361537f834aa34ffe8eca2563d.json
index 8b67204019..a985c2c69a 100644
--- a/.sqlx/query-376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5.json
+++ b/.sqlx/query-0397d8893a66f362e10bdab2c84a3f6c2d4af6361537f834aa34ffe8eca2563d.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n LEFT JOIN \"Thread\" t ON ph.\"threadId\" = t.id\n WHERE ph.\"documentId\" = $1\n AND ph.\"deletedAt\" IS NULL\n AND t.\"deletedAt\" IS NULL\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
+ "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id,\n ph.root_id,\n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n LEFT JOIN \"Thread\" t ON ph.\"threadId\" = t.id\n WHERE ph.\"documentId\" = $1\n AND ph.\"deletedAt\" IS NULL\n AND t.\"deletedAt\" IS NULL\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
"describe": {
"columns": [
{
@@ -25,66 +25,71 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "red",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "green",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "blue",
"type_info": "Int4"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "alpha",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "highlight_type",
"type_info": "Int4"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "text",
"type_info": "Text"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "page_viewport_width",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "page_viewport_height",
"type_info": "Float8"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "created_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "updated_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "deleted_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 16,
+ "ordinal": 17,
"name": "highlight_rects!: Vec<PdfHighlightRect>",
"type_info": "RecordArray"
}
@@ -99,6 +104,7 @@
false,
false,
true,
+ true,
false,
false,
false,
@@ -114,5 +120,5 @@
null
]
},
- "hash": "376d485681b329e1febf28f35020eadfdbec930e33a0666707593e20ae4f67f5"
+ "hash": "0397d8893a66f362e10bdab2c84a3f6c2d4af6361537f834aa34ffe8eca2563d"
}
diff --git a/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json b/.sqlx/query-1badb8701cb2014aa917d79e6ac2639763b7be4f80034f77f2ec59298d1f356d.json
similarity index 65%
rename from .sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
rename to .sqlx/query-1badb8701cb2014aa917d79e6ac2639763b7be4f80034f77f2ec59298d1f356d.json
index c73a91ea4d..20d38e59c6 100644
--- a/.sqlx/query-e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2.json
+++ b/.sqlx/query-1badb8701cb2014aa917d79e6ac2639763b7be4f80034f77f2ec59298d1f356d.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n WITH updated AS (\n UPDATE \"PdfHighlightAnchor\"\n SET \"threadId\" = $1\n WHERE uuid = $2\n RETURNING uuid, \"threadId\"\n )\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n updated.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM updated \n JOIN \"PdfHighlightAnchor\" ph ON updated.uuid = ph.uuid\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n GROUP BY ph.uuid, ph.owner, updated.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
+ "query": "\n WITH updated AS (\n UPDATE \"PdfHighlightAnchor\"\n SET \"threadId\" = $1\n WHERE uuid = $2\n RETURNING uuid, \"threadId\"\n )\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n updated.\"threadId\" as thread_id,\n ph.root_id,\n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM updated \n JOIN \"PdfHighlightAnchor\" ph ON updated.uuid = ph.uuid\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n GROUP BY ph.uuid, ph.owner, updated.\"threadId\", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
"describe": {
"columns": [
{
@@ -25,66 +25,71 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "red",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "green",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "blue",
"type_info": "Int4"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "alpha",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "highlight_type",
"type_info": "Int4"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "text",
"type_info": "Text"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "page_viewport_width",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "page_viewport_height",
"type_info": "Float8"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "created_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "updated_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "deleted_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 16,
+ "ordinal": 17,
"name": "highlight_rects!: Vec<PdfHighlightRect>",
"type_info": "RecordArray"
}
@@ -100,6 +105,7 @@
false,
false,
true,
+ true,
false,
false,
false,
@@ -115,5 +121,5 @@
null
]
},
- "hash": "e82694bed350dc3b7b22de00e655dfabb45e608cfd9a0a5a463fc6e1792393f2"
+ "hash": "1badb8701cb2014aa917d79e6ac2639763b7be4f80034f77f2ec59298d1f356d"
}
diff --git a/.sqlx/query-1c20c8229b98cd0b34389fbacc465d3ed0b7be6dfedfe06905d2b9fed99b9a43.json b/.sqlx/query-1c20c8229b98cd0b34389fbacc465d3ed0b7be6dfedfe06905d2b9fed99b9a43.json
new file mode 100644
index 0000000000..f2ef4869fe
--- /dev/null
+++ b/.sqlx/query-1c20c8229b98cd0b34389fbacc465d3ed0b7be6dfedfe06905d2b9fed99b9a43.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n WITH RECURSIVE parent_projects AS (\n SELECT p.id, p.\"parentId\", p.\"userId\"\n FROM \"Project\" p\n JOIN \"Document\" d ON d.\"projectId\" = p.id\n WHERE d.id = $1 AND d.\"deletedAt\" IS NULL AND p.\"deletedAt\" IS NULL\n UNION\n SELECT p.id, p.\"parentId\", p.\"userId\"\n FROM \"Project\" p\n JOIN parent_projects child ON p.id = child.\"parentId\"\n WHERE p.\"deletedAt\" IS NULL\n ), document_permissions AS (\n SELECT d.owner, sp.id, sp.\"linkShare\", sp.\"linkShareAccessLevel\"\n FROM \"Document\" d\n LEFT JOIN \"DocumentPermission\" dp ON dp.\"documentId\" = d.id\n LEFT JOIN \"SharePermission\" sp ON sp.id = dp.\"sharePermissionId\"\n WHERE d.id = $1 AND d.\"deletedAt\" IS NULL\n )\n SELECT 'owner'::text AS \"level!\" FROM document_permissions WHERE owner = $2\n UNION ALL\n SELECT \"linkShareAccessLevel\"::text FROM document_permissions p\n WHERE \"linkShareAccessLevel\" IS NOT NULL\n AND (\n \"linkShare\" = 'PUBLIC'\n OR (\n \"linkShare\" = 'TEAM'\n AND EXISTS (\n SELECT 1 FROM team_user t\n WHERE t.user_id = p.owner AND t.team_id::text = ANY($3)\n )\n )\n )\n UNION ALL\n SELECT c.access_level::text FROM document_permissions p\n JOIN \"ChannelSharePermission\" c ON c.share_permission_id = p.id\n WHERE c.channel_id = ANY($3)\n UNION ALL\n SELECT 'edit'::text FROM parent_projects WHERE \"userId\" = $2\n UNION ALL\n SELECT a.access_level::text FROM entity_access a\n JOIN parent_projects p ON a.entity_id::text = p.id\n WHERE a.entity_type = 'project' AND a.source_id = ANY($3)\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "level!",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "TextArray"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "1c20c8229b98cd0b34389fbacc465d3ed0b7be6dfedfe06905d2b9fed99b9a43"
+}
diff --git a/.sqlx/query-1c8ea5313d472065ff2e72766c21611889130ddd1ccd3fd021a2ec6fdcebda9d.json b/.sqlx/query-1c8ea5313d472065ff2e72766c21611889130ddd1ccd3fd021a2ec6fdcebda9d.json
new file mode 100644
index 0000000000..478092fd9a
--- /dev/null
+++ b/.sqlx/query-1c8ea5313d472065ff2e72766c21611889130ddd1ccd3fd021a2ec6fdcebda9d.json
@@ -0,0 +1,34 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT message_id, emoji, array_agg(user_id ORDER BY user_id) AS \"users!\"\n FROM comms_reactions WHERE message_id = ANY($1) GROUP BY message_id, emoji ORDER BY emoji",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "emoji",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 2,
+ "name": "users!",
+ "type_info": "TextArray"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ null
+ ]
+ },
+ "hash": "1c8ea5313d472065ff2e72766c21611889130ddd1ccd3fd021a2ec6fdcebda9d"
+}
diff --git a/.sqlx/query-2302cacab729a7def530e013c6eb2b5c11891b0d49c3c164e8cd5a3f6b71fc0e.json b/.sqlx/query-2302cacab729a7def530e013c6eb2b5c11891b0d49c3c164e8cd5a3f6b71fc0e.json
new file mode 100644
index 0000000000..477430d15d
--- /dev/null
+++ b/.sqlx/query-2302cacab729a7def530e013c6eb2b5c11891b0d49c3c164e8cd5a3f6b71fc0e.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT EXISTS(SELECT 1 FROM \"Document\" WHERE id = $1 AND \"deletedAt\" IS NULL) AS \"exists!\"",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "exists!",
+ "type_info": "Bool"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "2302cacab729a7def530e013c6eb2b5c11891b0d49c3c164e8cd5a3f6b71fc0e"
+}
diff --git a/.sqlx/query-2346ae595fc3c16fcd0cbc00d93f363ed3fdb0159871827c63d7e7e4a4e35ef5.json b/.sqlx/query-2346ae595fc3c16fcd0cbc00d93f363ed3fdb0159871827c63d7e7e4a4e35ef5.json
deleted file mode 100644
index 78a8f13921..0000000000
--- a/.sqlx/query-2346ae595fc3c16fcd0cbc00d93f363ed3fdb0159871827c63d7e7e4a4e35ef5.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "db_name": "PostgreSQL",
- "query": "\n SELECT\n a.channel_id AS \"channel_id: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n a.message_id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n a.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_attachments a\n JOIN comms_messages m ON a.message_id = m.id\n JOIN comms_channels c ON a.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE a.entity_type = ANY($1)\n AND a.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY a.created_at DESC\n ",
- "describe": {
- "columns": [
- {
- "ordinal": 0,
- "name": "channel_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 1,
- "name": "channel_name?",
- "type_info": "Varchar"
- },
- {
- "ordinal": 2,
- "name": "message_id: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 3,
- "name": "thread_id?: uuid::Uuid",
- "type_info": "Uuid"
- },
- {
- "ordinal": 4,
- "name": "sender_id!",
- "type_info": "Text"
- },
- {
- "ordinal": 5,
- "name": "message_content!",
- "type_info": "Text"
- },
- {
- "ordinal": 6,
- "name": "message_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- },
- {
- "ordinal": 7,
- "name": "attachment_created_at!: chrono::DateTime<chrono::Utc>",
- "type_info": "Timestamptz"
- }
- ],
- "parameters": {
- "Left": [
- "TextArray",
- "Text",
- "Text"
- ]
- },
- "nullable": [
- false,
- true,
- false,
- true,
- false,
- false,
- false,
- false
- ]
- },
- "hash": "2346ae595fc3c16fcd0cbc00d93f363ed3fdb0159871827c63d7e7e4a4e35ef5"
-}
diff --git a/.sqlx/query-25508d609d2918a6112de56a205eec945017a6bb0141a48a407b48744b1876a4.json b/.sqlx/query-25508d609d2918a6112de56a205eec945017a6bb0141a48a407b48744b1876a4.json
new file mode 100644
index 0000000000..9f211582a0
--- /dev/null
+++ b/.sqlx/query-25508d609d2918a6112de56a205eec945017a6bb0141a48a407b48744b1876a4.json
@@ -0,0 +1,34 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT source_entity_id, entity_type, entity_id FROM comms_entity_mentions WHERE source_entity_type = 'message' AND source_entity_id = ANY($1) ORDER BY entity_type, entity_id",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "source_entity_id",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 1,
+ "name": "entity_type",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 2,
+ "name": "entity_id",
+ "type_info": "Varchar"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "TextArray"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ false
+ ]
+ },
+ "hash": "25508d609d2918a6112de56a205eec945017a6bb0141a48a407b48744b1876a4"
+}
diff --git a/.sqlx/query-2ade6a714c7ca5329f842c08d1c97e34addf3c6d55ea574123c7c5de0991a957.json b/.sqlx/query-2ade6a714c7ca5329f842c08d1c97e34addf3c6d55ea574123c7c5de0991a957.json
new file mode 100644
index 0000000000..276c4be755
--- /dev/null
+++ b/.sqlx/query-2ade6a714c7ca5329f842c08d1c97e34addf3c6d55ea574123c7c5de0991a957.json
@@ -0,0 +1,23 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT message_id FROM migrated_comment_id WHERE comment_id = $1 AND document_id = $2",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message_id",
+ "type_info": "Uuid"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Int8",
+ "Text"
+ ]
+ },
+ "nullable": [
+ false
+ ]
+ },
+ "hash": "2ade6a714c7ca5329f842c08d1c97e34addf3c6d55ea574123c7c5de0991a957"
+}
diff --git a/.sqlx/query-2f8604f7d008f535ced30d563eed07842844a1713595bc5cb8b9f464a7d0d333.json b/.sqlx/query-2f8604f7d008f535ced30d563eed07842844a1713595bc5cb8b9f464a7d0d333.json
new file mode 100644
index 0000000000..5931faf857
--- /dev/null
+++ b/.sqlx/query-2f8604f7d008f535ced30d563eed07842844a1713595bc5cb8b9f464a7d0d333.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\" FROM comms_messages m\n WHERE parent_entity_type = $1 AND parent_entity_id = $2 AND thread_id = $3\n AND deleted_at IS NULL ORDER BY import_order NULLS LAST, created_at, id",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Uuid"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "2f8604f7d008f535ced30d563eed07842844a1713595bc5cb8b9f464a7d0d333"
+}
diff --git a/.sqlx/query-2fc40dd6c9100e95973329dd8336450dec4eb0ab9e02035986e7d55b3d46acf4.json b/.sqlx/query-2fc40dd6c9100e95973329dd8336450dec4eb0ab9e02035986e7d55b3d46acf4.json
new file mode 100644
index 0000000000..653b7d951e
--- /dev/null
+++ b/.sqlx/query-2fc40dd6c9100e95973329dd8336450dec4eb0ab9e02035986e7d55b3d46acf4.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "DELETE FROM comms_entity_mentions WHERE source_entity_type = 'message' AND source_entity_id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "2fc40dd6c9100e95973329dd8336450dec4eb0ab9e02035986e7d55b3d46acf4"
+}
diff --git a/.sqlx/query-3d1e1819893e8ebceddb7d4013deec5a81bb5692a9e801b98c04accf217a404c.json b/.sqlx/query-3d1e1819893e8ebceddb7d4013deec5a81bb5692a9e801b98c04accf217a404c.json
new file mode 100644
index 0000000000..4d95f762b1
--- /dev/null
+++ b/.sqlx/query-3d1e1819893e8ebceddb7d4013deec5a81bb5692a9e801b98c04accf217a404c.json
@@ -0,0 +1,31 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\" FROM comms_messages m\n JOIN comms_message_threads t ON t.root_id = m.id\n WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2\n AND m.thread_id IS NULL AND (t.deleted_at IS NULL OR $10)\n AND (m.deleted_at IS NULL OR $1 = 'document' OR ($10 AND t.deleted_at IS NOT NULL) OR EXISTS (\n SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL))\n AND ($6::uuid[] IS NULL OR m.id = ANY($6))\n AND ($7::bool IS NULL OR (t.anchor IS NOT NULL) = $7)\n AND (($8::timestamptz IS NULL AND $9::timestamptz IS NULL)\n OR (($8::timestamptz IS NULL OR m.created_at >= $8) AND ($9::timestamptz IS NULL OR m.created_at < $9))\n OR EXISTS (SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL\n AND ($8::timestamptz IS NULL OR r.created_at >= $8) AND ($9::timestamptz IS NULL OR r.created_at < $9)))\n AND ($3::timestamptz IS NULL OR (m.created_at, m.id) < ($3, $4::uuid))\n ORDER BY m.created_at DESC, m.id DESC LIMIT $5",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Timestamptz",
+ "Uuid",
+ "Int8",
+ "UuidArray",
+ "Bool",
+ "Timestamptz",
+ "Timestamptz",
+ "Bool"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "3d1e1819893e8ebceddb7d4013deec5a81bb5692a9e801b98c04accf217a404c"
+}
diff --git a/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json b/.sqlx/query-40647b44115adc90dae6d3e52629891c54779f9afb4c6aa42779ca86799c8f8b.json
similarity index 79%
rename from .sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
rename to .sqlx/query-40647b44115adc90dae6d3e52629891c54779f9afb4c6aa42779ca86799c8f8b.json
index b0dbe81774..41348390bb 100644
--- a/.sqlx/query-506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8.json
+++ b/.sqlx/query-40647b44115adc90dae6d3e52629891c54779f9afb4c6aa42779ca86799c8f8b.json
@@ -1,11 +1,11 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT \n a.channel_id AS \"channel_id: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n a.message_id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n a.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_attachments a\n JOIN comms_messages m ON a.message_id = m.id\n JOIN comms_channels c ON a.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE a.entity_type = $1\n AND a.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY a.created_at DESC\n ",
+ "query": "\n SELECT\n a.channel_id AS \"channel_id!: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n a.message_id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n a.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_attachments a\n JOIN comms_messages m ON a.message_id = m.id\n JOIN comms_channels c ON a.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE a.entity_type = ANY($1)\n AND a.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY a.created_at DESC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
- "name": "channel_id: uuid::Uuid",
+ "name": "channel_id!: uuid::Uuid",
"type_info": "Uuid"
},
{
@@ -46,13 +46,13 @@
],
"parameters": {
"Left": [
- "Text",
+ "TextArray",
"Text",
"Text"
]
},
"nullable": [
- false,
+ true,
true,
false,
true,
@@ -62,5 +62,5 @@
false
]
},
- "hash": "506f7fbc61e5c2b0caedcc8ca1af001b1da7b88bcd175929f42b88146d4707f8"
+ "hash": "40647b44115adc90dae6d3e52629891c54779f9afb4c6aa42779ca86799c8f8b"
}
diff --git a/.sqlx/query-469ae17d42a5cf0d3c45ee247ed39142bae52f4825ec702b60d0bbe8ca4eb34c.json b/.sqlx/query-469ae17d42a5cf0d3c45ee247ed39142bae52f4825ec702b60d0bbe8ca4eb34c.json
new file mode 100644
index 0000000000..5edd84d90b
--- /dev/null
+++ b/.sqlx/query-469ae17d42a5cf0d3c45ee247ed39142bae52f4825ec702b60d0bbe8ca4eb34c.json
@@ -0,0 +1,15 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "DELETE FROM comms_attachments WHERE message_id = $1 AND NOT (id = ANY($2))",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "UuidArray"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "469ae17d42a5cf0d3c45ee247ed39142bae52f4825ec702b60d0bbe8ca4eb34c"
+}
diff --git a/.sqlx/query-4c793681a8ea02178e742637e239c2624f92c2942de1a13885bb66e55fce1152.json b/.sqlx/query-4c793681a8ea02178e742637e239c2624f92c2942de1a13885bb66e55fce1152.json
new file mode 100644
index 0000000000..e80671b910
--- /dev/null
+++ b/.sqlx/query-4c793681a8ea02178e742637e239c2624f92c2942de1a13885bb66e55fce1152.json
@@ -0,0 +1,21 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO comms_messages(id, parent_entity_type, parent_entity_id, channel_id, thread_id,\n sender_id, triggered_by_user_id, content)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8)",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text",
+ "Uuid",
+ "Uuid",
+ "Text",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "4c793681a8ea02178e742637e239c2624f92c2942de1a13885bb66e55fce1152"
+}
diff --git a/.sqlx/query-55f54cdfce31f067811629163c120c1f69c7c1ecccdb9e9d81a3eea5518f0371.json b/.sqlx/query-55f54cdfce31f067811629163c120c1f69c7c1ecccdb9e9d81a3eea5518f0371.json
new file mode 100644
index 0000000000..408c334d75
--- /dev/null
+++ b/.sqlx/query-55f54cdfce31f067811629163c120c1f69c7c1ecccdb9e9d81a3eea5518f0371.json
@@ -0,0 +1,34 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT id, name, avatar_url FROM bots WHERE id = ANY($1)",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "name",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 2,
+ "name": "avatar_url",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ true
+ ]
+ },
+ "hash": "55f54cdfce31f067811629163c120c1f69c7c1ecccdb9e9d81a3eea5518f0371"
+}
diff --git a/.sqlx/query-5729100777c9a6e4f96858e0cf484db9a188117abcc2abd2001d8f78357a8402.json b/.sqlx/query-5729100777c9a6e4f96858e0cf484db9a188117abcc2abd2001d8f78357a8402.json
new file mode 100644
index 0000000000..c1ec943e2c
--- /dev/null
+++ b/.sqlx/query-5729100777c9a6e4f96858e0cf484db9a188117abcc2abd2001d8f78357a8402.json
@@ -0,0 +1,31 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\" FROM comms_messages m\n JOIN comms_message_threads t ON t.root_id = m.id\n WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2\n AND m.thread_id IS NULL AND (t.deleted_at IS NULL OR $10)\n AND (m.deleted_at IS NULL OR $1 = 'document' OR ($10 AND t.deleted_at IS NOT NULL) OR EXISTS (\n SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL))\n AND ($6::uuid[] IS NULL OR m.id = ANY($6))\n AND ($7::bool IS NULL OR (t.anchor IS NOT NULL) = $7)\n AND (($8::timestamptz IS NULL AND $9::timestamptz IS NULL)\n OR (($8::timestamptz IS NULL OR m.created_at >= $8) AND ($9::timestamptz IS NULL OR m.created_at < $9))\n OR EXISTS (SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL\n AND ($8::timestamptz IS NULL OR r.created_at >= $8) AND ($9::timestamptz IS NULL OR r.created_at < $9)))\n AND ($3::timestamptz IS NULL OR (m.created_at, m.id) > ($3, $4::uuid))\n ORDER BY m.created_at ASC, m.id ASC LIMIT $5",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Timestamptz",
+ "Uuid",
+ "Int8",
+ "UuidArray",
+ "Bool",
+ "Timestamptz",
+ "Timestamptz",
+ "Bool"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "5729100777c9a6e4f96858e0cf484db9a188117abcc2abd2001d8f78357a8402"
+}
diff --git a/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json b/.sqlx/query-5e213707bf932b7985482dc5f63f9429aab31023693b899937d230eb89b2fece.json
similarity index 79%
rename from .sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
rename to .sqlx/query-5e213707bf932b7985482dc5f63f9429aab31023693b899937d230eb89b2fece.json
index 38ea8a45d4..bf63cc5ef7 100644
--- a/.sqlx/query-2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a.json
+++ b/.sqlx/query-5e213707bf932b7985482dc5f63f9429aab31023693b899937d230eb89b2fece.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n UPDATE \"PdfPlaceableCommentAnchor\" SET\n \"page\" = COALESCE($1, \"page\"),\n \"originalPage\" = COALESCE($2, \"originalPage\"),\n \"originalIndex\" = COALESCE($3, \"originalIndex\"),\n \"xPct\" = COALESCE($4, \"xPct\"),\n \"yPct\" = COALESCE($5, \"yPct\"),\n \"widthPct\" = COALESCE($6, \"widthPct\"),\n \"heightPct\" = COALESCE($7, \"heightPct\"),\n \"rotation\" = COALESCE($8, \"rotation\"),\n \"allowableEdits\" = COALESCE($9, \"allowableEdits\"),\n \"wasEdited\" = COALESCE($10, \"wasEdited\"),\n \"wasDeleted\" = COALESCE($11, \"wasDeleted\"),\n \"shouldLockOnSave\" = COALESCE($12, \"shouldLockOnSave\")\n WHERE uuid = $13\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id, \n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
+ "query": "\n UPDATE \"PdfPlaceableCommentAnchor\" SET\n \"page\" = COALESCE($1, \"page\"),\n \"originalPage\" = COALESCE($2, \"originalPage\"),\n \"originalIndex\" = COALESCE($3, \"originalIndex\"),\n \"xPct\" = COALESCE($4, \"xPct\"),\n \"yPct\" = COALESCE($5, \"yPct\"),\n \"widthPct\" = COALESCE($6, \"widthPct\"),\n \"heightPct\" = COALESCE($7, \"heightPct\"),\n \"rotation\" = COALESCE($8, \"rotation\"),\n \"allowableEdits\" = COALESCE($9, \"allowableEdits\"),\n \"wasEdited\" = COALESCE($10, \"wasEdited\"),\n \"wasDeleted\" = COALESCE($11, \"wasDeleted\"),\n \"shouldLockOnSave\" = COALESCE($12, \"shouldLockOnSave\")\n WHERE uuid = $13\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id,\n root_id,\n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
"describe": {
"columns": [
{
@@ -25,61 +25,66 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "original_page",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "original_index",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "x_pct",
"type_info": "Float8"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "y_pct",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "width_pct",
"type_info": "Float8"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "height_pct",
"type_info": "Float8"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "rotation",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "allowable_edits",
"type_info": "Jsonb"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "was_edited",
"type_info": "Bool"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "was_deleted",
"type_info": "Bool"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "should_lock_on_save",
"type_info": "Bool"
}
@@ -105,7 +110,8 @@
false,
false,
false,
- false,
+ true,
+ true,
false,
false,
false,
@@ -120,5 +126,5 @@
false
]
},
- "hash": "2e86cba5f8e5a4358520e11e33cea6c51ce2ca2d05b985a30debdb97f9d7d78a"
+ "hash": "5e213707bf932b7985482dc5f63f9429aab31023693b899937d230eb89b2fece"
}
diff --git a/.sqlx/query-616364e2fe05cf29270eca89e09ea4c76af870f45df004ab8c5626d73a664acc.json b/.sqlx/query-616364e2fe05cf29270eca89e09ea4c76af870f45df004ab8c5626d73a664acc.json
new file mode 100644
index 0000000000..b5640f3fe9
--- /dev/null
+++ b/.sqlx/query-616364e2fe05cf29270eca89e09ea4c76af870f45df004ab8c5626d73a664acc.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT EXISTS(SELECT 1 FROM comms_channels WHERE id = $1) AS \"exists!\"",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "exists!",
+ "type_info": "Bool"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "616364e2fe05cf29270eca89e09ea4c76af870f45df004ab8c5626d73a664acc"
+}
diff --git a/.sqlx/query-63f51210d56a5a5c9434379dcd6606323d29e7fd0389367de0f20513096dbd9c.json b/.sqlx/query-63f51210d56a5a5c9434379dcd6606323d29e7fd0389367de0f20513096dbd9c.json
new file mode 100644
index 0000000000..e1301000e9
--- /dev/null
+++ b/.sqlx/query-63f51210d56a5a5c9434379dcd6606323d29e7fd0389367de0f20513096dbd9c.json
@@ -0,0 +1,66 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n SELECT \n a.channel_id AS \"channel_id!: uuid::Uuid\",\n c.name AS \"channel_name?\", -- Option<String>\n a.message_id AS \"message_id: uuid::Uuid\",\n m.thread_id AS \"thread_id?: uuid::Uuid\",\n m.sender_id AS \"sender_id!\", -- String\n m.content AS \"message_content!\", -- String\n m.created_at AS \"message_created_at!: chrono::DateTime<chrono::Utc>\",\n a.created_at AS \"attachment_created_at!: chrono::DateTime<chrono::Utc>\"\n FROM comms_attachments a\n JOIN comms_messages m ON a.message_id = m.id\n JOIN comms_channels c ON a.channel_id = c.id\n JOIN comms_channel_participants cp ON cp.channel_id = c.id\n WHERE a.entity_type = $1\n AND a.entity_id = $2\n AND cp.user_id = $3\n AND cp.left_at IS NULL\n AND m.deleted_at IS NULL\n ORDER BY a.created_at DESC\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "channel_id!: uuid::Uuid",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "channel_name?",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 2,
+ "name": "message_id: uuid::Uuid",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 3,
+ "name": "thread_id?: uuid::Uuid",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 4,
+ "name": "sender_id!",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 5,
+ "name": "message_content!",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 6,
+ "name": "message_created_at!: chrono::DateTime<chrono::Utc>",
+ "type_info": "Timestamptz"
+ },
+ {
+ "ordinal": 7,
+ "name": "attachment_created_at!: chrono::DateTime<chrono::Utc>",
+ "type_info": "Timestamptz"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ true,
+ true,
+ false,
+ true,
+ false,
+ false,
+ false,
+ false
+ ]
+ },
+ "hash": "63f51210d56a5a5c9434379dcd6606323d29e7fd0389367de0f20513096dbd9c"
+}
diff --git a/.sqlx/query-68295ce15d02e494153351369dcb7e07880985f46d99f22112e2efcdd9017134.json b/.sqlx/query-68295ce15d02e494153351369dcb7e07880985f46d99f22112e2efcdd9017134.json
new file mode 100644
index 0000000000..ceecef20af
--- /dev/null
+++ b/.sqlx/query-68295ce15d02e494153351369dcb7e07880985f46d99f22112e2efcdd9017134.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE comms_messages SET deleted_at = COALESCE(deleted_at, now()), updated_at = now(), content = '' WHERE id = $1 OR thread_id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "68295ce15d02e494153351369dcb7e07880985f46d99f22112e2efcdd9017134"
+}
diff --git a/.sqlx/query-6a2f649af45e58aa57cbff9c8d663d0f53215fabb5ed1dea5954dc0094899d64.json b/.sqlx/query-6a2f649af45e58aa57cbff9c8d663d0f53215fabb5ed1dea5954dc0094899d64.json
new file mode 100644
index 0000000000..bc23c63fd4
--- /dev/null
+++ b/.sqlx/query-6a2f649af45e58aa57cbff9c8d663d0f53215fabb5ed1dea5954dc0094899d64.json
@@ -0,0 +1,15 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE comms_messages SET updated_at = now(),\n edited_at = CASE WHEN content <> $2 THEN now() ELSE edited_at END,\n content = $2\n WHERE id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "6a2f649af45e58aa57cbff9c8d663d0f53215fabb5ed1dea5954dc0094899d64"
+}
diff --git a/.sqlx/query-743c933a0166ab770898f8af61e648d28c7182cc148e5dfa44bfb6980340dae3.json b/.sqlx/query-743c933a0166ab770898f8af61e648d28c7182cc148e5dfa44bfb6980340dae3.json
new file mode 100644
index 0000000000..26f6378afe
--- /dev/null
+++ b/.sqlx/query-743c933a0166ab770898f8af61e648d28c7182cc148e5dfa44bfb6980340dae3.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(preview) AS \"message!: Json<StoredMessage>\"\n FROM unnest($1::uuid[]) root(id) CROSS JOIN LATERAL (\n SELECT r.* FROM comms_messages r WHERE r.thread_id = root.id AND r.deleted_at IS NULL\n ORDER BY r.import_order NULLS LAST, r.created_at, r.id LIMIT 3\n ) preview",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "743c933a0166ab770898f8af61e648d28c7182cc148e5dfa44bfb6980340dae3"
+}
diff --git a/.sqlx/query-ac1973d97ddd4dcb5cacb138b9321138cea6141d03301b03f7c7e0d509663dc4.json b/.sqlx/query-75806587a691016ed8cc64e2eea9e04b8f259d695675ac50b71c4b7e7b6ec3b7.json
similarity index 86%
rename from .sqlx/query-ac1973d97ddd4dcb5cacb138b9321138cea6141d03301b03f7c7e0d509663dc4.json
rename to .sqlx/query-75806587a691016ed8cc64e2eea9e04b8f259d695675ac50b71c4b7e7b6ec3b7.json
index b3e494ac89..139ad41c0c 100644
--- a/.sqlx/query-ac1973d97ddd4dcb5cacb138b9321138cea6141d03301b03f7c7e0d509663dc4.json
+++ b/.sqlx/query-75806587a691016ed8cc64e2eea9e04b8f259d695675ac50b71c4b7e7b6ec3b7.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n INSERT INTO comms_attachments (\n id,\n message_id,\n channel_id,\n entity_type,\n entity_id,\n width,\n height\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id, message_id, channel_id, entity_type, entity_id, width, height, created_at\n ",
+ "query": "\n INSERT INTO comms_attachments (\n id,\n message_id,\n channel_id,\n entity_type,\n entity_id,\n width,\n height\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7)\n RETURNING id, message_id, channel_id AS \"channel_id!\", entity_type, entity_id, width, height, created_at\n ",
"describe": {
"columns": [
{
@@ -15,7 +15,7 @@
},
{
"ordinal": 2,
- "name": "channel_id",
+ "name": "channel_id!",
"type_info": "Uuid"
},
{
@@ -58,7 +58,7 @@
"nullable": [
false,
false,
- false,
+ true,
false,
false,
true,
@@ -66,5 +66,5 @@
false
]
},
- "hash": "ac1973d97ddd4dcb5cacb138b9321138cea6141d03301b03f7c7e0d509663dc4"
+ "hash": "75806587a691016ed8cc64e2eea9e04b8f259d695675ac50b71c4b7e7b6ec3b7"
}
diff --git a/.sqlx/query-7a66c9c36f03f0be7330785049ffaec37ec41aab6632ccbbadbaebeee6db641a.json b/.sqlx/query-7a66c9c36f03f0be7330785049ffaec37ec41aab6632ccbbadbaebeee6db641a.json
new file mode 100644
index 0000000000..8f0b7482b9
--- /dev/null
+++ b/.sqlx/query-7a66c9c36f03f0be7330785049ffaec37ec41aab6632ccbbadbaebeee6db641a.json
@@ -0,0 +1,18 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO comms_entity_mentions\n (id, source_entity_type, source_entity_id, entity_type, entity_id, user_id)\n VALUES ($1, 'message', $2, $3, $4, $5) ON CONFLICT DO NOTHING",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Varchar",
+ "Varchar",
+ "Varchar",
+ "Varchar"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "7a66c9c36f03f0be7330785049ffaec37ec41aab6632ccbbadbaebeee6db641a"
+}
diff --git a/.sqlx/query-7acdb6d9a87af4b8737fbe8aff4661d69b241526541c220d3c3bec84da844fad.json b/.sqlx/query-7acdb6d9a87af4b8737fbe8aff4661d69b241526541c220d3c3bec84da844fad.json
new file mode 100644
index 0000000000..3dfdf06c4b
--- /dev/null
+++ b/.sqlx/query-7acdb6d9a87af4b8737fbe8aff4661d69b241526541c220d3c3bec84da844fad.json
@@ -0,0 +1,23 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT root_id FROM migrated_comment_thread_id WHERE thread_id = $1 AND document_id = $2",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "root_id",
+ "type_info": "Uuid"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Int8",
+ "Text"
+ ]
+ },
+ "nullable": [
+ false
+ ]
+ },
+ "hash": "7acdb6d9a87af4b8737fbe8aff4661d69b241526541c220d3c3bec84da844fad"
+}
diff --git a/.sqlx/query-7e45967f557ded2afb833390246e7322a685e95f923bea99542518ceeee50926.json b/.sqlx/query-7e45967f557ded2afb833390246e7322a685e95f923bea99542518ceeee50926.json
new file mode 100644
index 0000000000..635578e523
--- /dev/null
+++ b/.sqlx/query-7e45967f557ded2afb833390246e7322a685e95f923bea99542518ceeee50926.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE comms_messages SET content = '', deleted_at = now(), updated_at = now() WHERE id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "7e45967f557ded2afb833390246e7322a685e95f923bea99542518ceeee50926"
+}
diff --git a/.sqlx/query-7e66676faefc2a55056023e4ebf99cbb56de1e717875a78c6c9eb49c086b723b.json b/.sqlx/query-7e66676faefc2a55056023e4ebf99cbb56de1e717875a78c6c9eb49c086b723b.json
new file mode 100644
index 0000000000..88abef7ce9
--- /dev/null
+++ b/.sqlx/query-7e66676faefc2a55056023e4ebf99cbb56de1e717875a78c6c9eb49c086b723b.json
@@ -0,0 +1,58 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT d.name, d.owner, d.\"fileType\" AS file_type,\n (SELECT sp.\"linkShareAccessLevel\"::\"AccessLevel\" FROM \"DocumentPermission\" dp\n JOIN \"SharePermission\" sp ON sp.id = dp.\"sharePermissionId\"\n WHERE dp.\"documentId\" = d.id AND sp.\"linkShare\" IN ('PUBLIC', 'TEAM')) AS \"link_share_access: entity_access::domain::models::AccessLevel\",\n EXISTS (SELECT 1 FROM document_sub_type s WHERE s.document_id = d.id AND s.sub_type = 'task') AS \"is_task!\"\n FROM \"Document\" d WHERE d.id = $1 AND d.\"deletedAt\" IS NULL",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "name",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 1,
+ "name": "owner",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 2,
+ "name": "file_type",
+ "type_info": "Text"
+ },
+ {
+ "ordinal": 3,
+ "name": "link_share_access: entity_access::domain::models::AccessLevel",
+ "type_info": {
+ "Custom": {
+ "name": "\"AccessLevel\"",
+ "kind": {
+ "Enum": [
+ "view",
+ "comment",
+ "edit",
+ "owner"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "ordinal": 4,
+ "name": "is_task!",
+ "type_info": "Bool"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ true,
+ null,
+ null
+ ]
+ },
+ "hash": "7e66676faefc2a55056023e4ebf99cbb56de1e717875a78c6c9eb49c086b723b"
+}
diff --git a/.sqlx/query-7f012e20e7f9f1fe4e097138e4e17d8b0ae9bdcc5c1f46a21f7e98137620fe22.json b/.sqlx/query-7f012e20e7f9f1fe4e097138e4e17d8b0ae9bdcc5c1f46a21f7e98137620fe22.json
new file mode 100644
index 0000000000..40ab7de32f
--- /dev/null
+++ b/.sqlx/query-7f012e20e7f9f1fe4e097138e4e17d8b0ae9bdcc5c1f46a21f7e98137620fe22.json
@@ -0,0 +1,25 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE comms_message_threads t SET resolved = COALESCE($2, resolved), updated_at = now(),\n deleted_at = CASE WHEN $3 THEN now() ELSE deleted_at END,\n anchor = CASE WHEN $4 OR ($3 AND anchor->>'type' <> 'markdown') THEN NULL ELSE anchor END\n WHERE root_id = $1 RETURNING to_jsonb(t) AS \"state!: Json<ThreadState>\"",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "state!: Json<ThreadState>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Bool",
+ "Bool",
+ "Bool"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "7f012e20e7f9f1fe4e097138e4e17d8b0ae9bdcc5c1f46a21f7e98137620fe22"
+}
diff --git a/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json b/.sqlx/query-8e1df89af7a62cf5eba7752873833b611b9ec00a3581e9f5087e6205eba52751.json
similarity index 57%
rename from .sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json
rename to .sqlx/query-8e1df89af7a62cf5eba7752873833b611b9ec00a3581e9f5087e6205eba52751.json
index a506603753..a017edb826 100644
--- a/.sqlx/query-58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143.json
+++ b/.sqlx/query-8e1df89af7a62cf5eba7752873833b611b9ec00a3581e9f5087e6205eba52751.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT a.id, a.channel_id, a.message_id, m.sender_id,\n a.entity_type, a.entity_id,\n a.width AS \"width?\", a.height AS \"height?\", a.created_at\n FROM comms_attachments a\n JOIN comms_messages m ON m.id = a.message_id\n WHERE a.channel_id = $1\n AND m.deleted_at IS NULL\n AND ($2::timestamptz IS NULL OR (a.created_at, a.id) < ($2, $3))\n AND ($5::bool IS NULL\n OR ($5 = true AND a.entity_type LIKE 'static/%')\n OR ($5 = false AND a.entity_type NOT LIKE 'static/%'))\n ORDER BY a.created_at DESC, a.id DESC\n LIMIT $4\n ",
+ "query": "\n SELECT a.id, a.channel_id AS \"channel_id!\", a.message_id, m.sender_id,\n a.entity_type, a.entity_id,\n a.width AS \"width?\", a.height AS \"height?\", a.created_at\n FROM comms_attachments a\n JOIN comms_messages m ON m.id = a.message_id\n WHERE a.channel_id = $1\n AND m.deleted_at IS NULL\n AND ($2::timestamptz IS NULL OR (a.created_at, a.id) < ($2, $3))\n AND ($5::bool IS NULL\n OR ($5 = true AND a.entity_type LIKE 'static/%')\n OR ($5 = false AND a.entity_type NOT LIKE 'static/%'))\n ORDER BY a.created_at DESC, a.id DESC\n LIMIT $4\n ",
"describe": {
"columns": [
{
@@ -10,7 +10,7 @@
},
{
"ordinal": 1,
- "name": "channel_id",
+ "name": "channel_id!",
"type_info": "Uuid"
},
{
@@ -60,7 +60,7 @@
},
"nullable": [
false,
- false,
+ true,
false,
false,
false,
@@ -70,5 +70,5 @@
false
]
},
- "hash": "58a665360907b8fc412e9f8dcb73696b517ecdd60243bf27c9564c7b969f1143"
+ "hash": "8e1df89af7a62cf5eba7752873833b611b9ec00a3581e9f5087e6205eba52751"
}
diff --git a/.sqlx/query-91e23a41ff59f8b68982313ea6e2655a5afb954ecce637ec5c8d67cf139fc946.json b/.sqlx/query-91e23a41ff59f8b68982313ea6e2655a5afb954ecce637ec5c8d67cf139fc946.json
new file mode 100644
index 0000000000..1d8e0f46f5
--- /dev/null
+++ b/.sqlx/query-91e23a41ff59f8b68982313ea6e2655a5afb954ecce637ec5c8d67cf139fc946.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT m.sender_id FROM comms_messages m\n JOIN comms_message_threads t ON t.root_id = COALESCE(m.thread_id, m.id)\n WHERE m.id = $1 AND m.parent_entity_type = $2 AND m.parent_entity_id = $3\n AND m.deleted_at IS NULL AND t.deleted_at IS NULL FOR UPDATE OF t, m",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "sender_id",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ false
+ ]
+ },
+ "hash": "91e23a41ff59f8b68982313ea6e2655a5afb954ecce637ec5c8d67cf139fc946"
+}
diff --git a/.sqlx/query-936f41676352d77f1a4ff842e1d60b4b6f2676d5adfad27061968845e7e5e99a.json b/.sqlx/query-936f41676352d77f1a4ff842e1d60b4b6f2676d5adfad27061968845e7e5e99a.json
new file mode 100644
index 0000000000..4d8c578574
--- /dev/null
+++ b/.sqlx/query-936f41676352d77f1a4ff842e1d60b4b6f2676d5adfad27061968845e7e5e99a.json
@@ -0,0 +1,43 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "\n SELECT DISTINCT c.id AS channel_id, c.name AS channel_name, root.id AS root_id, root.created_at\n FROM comms_entity_mentions mention\n JOIN comms_messages source ON source.id::text = mention.source_entity_id\n JOIN comms_messages root ON root.id = COALESCE(source.thread_id, source.id)\n JOIN comms_message_threads state ON state.root_id = root.id\n JOIN comms_channels c ON c.id::text = root.parent_entity_id\n WHERE mention.source_entity_type = 'message'\n AND mention.entity_type IN ('doc', 'document') AND mention.entity_id = $1\n AND source.parent_entity_type = 'channel' AND root.parent_entity_type = 'channel'\n AND source.deleted_at IS NULL AND state.deleted_at IS NULL\n AND ($2::timestamptz IS NULL OR (root.created_at, root.id) > ($2, $3::uuid))\n ORDER BY root.created_at, root.id LIMIT $4\n ",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "channel_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "channel_name",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 2,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 3,
+ "name": "created_at",
+ "type_info": "Timestamptz"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Timestamptz",
+ "Uuid",
+ "Int8"
+ ]
+ },
+ "nullable": [
+ false,
+ true,
+ false,
+ false
+ ]
+ },
+ "hash": "936f41676352d77f1a4ff842e1d60b4b6f2676d5adfad27061968845e7e5e99a"
+}
diff --git a/.sqlx/query-94a139dcf5da34f3a7acdeb0eacdd608662fa350499d9d3a754298cfcc1a2a8c.json b/.sqlx/query-94a139dcf5da34f3a7acdeb0eacdd608662fa350499d9d3a754298cfcc1a2a8c.json
new file mode 100644
index 0000000000..7e5f2f1c1d
--- /dev/null
+++ b/.sqlx/query-94a139dcf5da34f3a7acdeb0eacdd608662fa350499d9d3a754298cfcc1a2a8c.json
@@ -0,0 +1,58 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT message_id, id, entity_type, entity_id, width, height, created_at\n FROM comms_attachments WHERE message_id = ANY($1) ORDER BY created_at, id",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 2,
+ "name": "entity_type",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 3,
+ "name": "entity_id",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 4,
+ "name": "width",
+ "type_info": "Int4"
+ },
+ {
+ "ordinal": 5,
+ "name": "height",
+ "type_info": "Int4"
+ },
+ {
+ "ordinal": 6,
+ "name": "created_at",
+ "type_info": "Timestamptz"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ false,
+ false,
+ true,
+ true,
+ false
+ ]
+ },
+ "hash": "94a139dcf5da34f3a7acdeb0eacdd608662fa350499d9d3a754298cfcc1a2a8c"
+}
diff --git a/.sqlx/query-a2aafa3a97960fc9a7c4394d6bb7ac980740b17ecd306dd02ccc5d576dc3dadc.json b/.sqlx/query-a2aafa3a97960fc9a7c4394d6bb7ac980740b17ecd306dd02ccc5d576dc3dadc.json
new file mode 100644
index 0000000000..0532203a34
--- /dev/null
+++ b/.sqlx/query-a2aafa3a97960fc9a7c4394d6bb7ac980740b17ecd306dd02ccc5d576dc3dadc.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT i.profile_picture FROM macro_user_info i JOIN \"User\" u ON u.macro_user_id = i.macro_user_id WHERE u.id = $1",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "profile_picture",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text"
+ ]
+ },
+ "nullable": [
+ true
+ ]
+ },
+ "hash": "a2aafa3a97960fc9a7c4394d6bb7ac980740b17ecd306dd02ccc5d576dc3dadc"
+}
diff --git a/.sqlx/query-a606beb829a7fc411cb6f8636c26d64675fe90a23c5247c494f112745c9f7eba.json b/.sqlx/query-a606beb829a7fc411cb6f8636c26d64675fe90a23c5247c494f112745c9f7eba.json
new file mode 100644
index 0000000000..63a78bd816
--- /dev/null
+++ b/.sqlx/query-a606beb829a7fc411cb6f8636c26d64675fe90a23c5247c494f112745c9f7eba.json
@@ -0,0 +1,40 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT t.root_id, to_jsonb(t) AS \"state!: Json<ThreadState>\",\n (SELECT count(*) FROM comms_messages r WHERE r.thread_id = t.root_id AND r.deleted_at IS NULL) AS \"reply_count!\",\n (SELECT max(created_at) FROM comms_messages r WHERE r.thread_id = t.root_id AND r.deleted_at IS NULL) AS latest_reply_at\n FROM comms_message_threads t WHERE root_id = ANY($1)",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "state!: Json<ThreadState>",
+ "type_info": "Jsonb"
+ },
+ {
+ "ordinal": 2,
+ "name": "reply_count!",
+ "type_info": "Int8"
+ },
+ {
+ "ordinal": 3,
+ "name": "latest_reply_at",
+ "type_info": "Timestamptz"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ false,
+ null,
+ null,
+ null
+ ]
+ },
+ "hash": "a606beb829a7fc411cb6f8636c26d64675fe90a23c5247c494f112745c9f7eba"
+}
diff --git a/.sqlx/query-a8948789eec2ab3d1ce52ba4844aa6982f64eabeac38e6d9a83ac9dcba272049.json b/.sqlx/query-a8948789eec2ab3d1ce52ba4844aa6982f64eabeac38e6d9a83ac9dcba272049.json
new file mode 100644
index 0000000000..effc06eb6c
--- /dev/null
+++ b/.sqlx/query-a8948789eec2ab3d1ce52ba4844aa6982f64eabeac38e6d9a83ac9dcba272049.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(t) AS \"state!: Json<ThreadState>\" FROM comms_message_threads t\n WHERE t.root_id = $1 AND t.parent_entity_type = $2 AND t.parent_entity_id = $3\n AND t.deleted_at IS NULL FOR UPDATE",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "state!: Json<ThreadState>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "a8948789eec2ab3d1ce52ba4844aa6982f64eabeac38e6d9a83ac9dcba272049"
+}
diff --git a/.sqlx/query-ae47e0de1b0ff799a2af6b7b9fc6c042ca2eda0db968e73de37f3be0ee85b7dd.json b/.sqlx/query-ae47e0de1b0ff799a2af6b7b9fc6c042ca2eda0db968e73de37f3be0ee85b7dd.json
new file mode 100644
index 0000000000..c6598e7478
--- /dev/null
+++ b/.sqlx/query-ae47e0de1b0ff799a2af6b7b9fc6c042ca2eda0db968e73de37f3be0ee85b7dd.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\"\n FROM comms_messages m WHERE id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "ae47e0de1b0ff799a2af6b7b9fc6c042ca2eda0db968e73de37f3be0ee85b7dd"
+}
diff --git a/.sqlx/query-b10e6356341bc08d4fd904175685a21e23b5b74dfd2a2174d9c6fe05fe199dea.json b/.sqlx/query-b10e6356341bc08d4fd904175685a21e23b5b74dfd2a2174d9c6fe05fe199dea.json
new file mode 100644
index 0000000000..cef5cc3fb2
--- /dev/null
+++ b/.sqlx/query-b10e6356341bc08d4fd904175685a21e23b5b74dfd2a2174d9c6fe05fe199dea.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\"\n FROM comms_messages m WHERE id = ANY($1) AND thread_id IS NULL\n ORDER BY array_position($1, id)",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "UuidArray"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "b10e6356341bc08d4fd904175685a21e23b5b74dfd2a2174d9c6fe05fe199dea"
+}
diff --git a/.sqlx/query-b39d7843d42b9394afb3046afd88b86ca7eef61e6c716991043d8403fc2a309f.json b/.sqlx/query-b39d7843d42b9394afb3046afd88b86ca7eef61e6c716991043d8403fc2a309f.json
new file mode 100644
index 0000000000..f6f6581656
--- /dev/null
+++ b/.sqlx/query-b39d7843d42b9394afb3046afd88b86ca7eef61e6c716991043d8403fc2a309f.json
@@ -0,0 +1,16 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE \"PdfHighlightAnchor\" SET root_id = $1\n WHERE uuid = $2 AND \"documentId\" = $3 AND root_id IS NULL AND \"threadId\" IS NULL\n AND \"deletedAt\" IS NULL",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Uuid",
+ "Text"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "b39d7843d42b9394afb3046afd88b86ca7eef61e6c716991043d8403fc2a309f"
+}
diff --git a/.sqlx/query-bfe68c72466da513cc4b55a53887ce678bf7f7993f69b002a21caec2989b6108.json b/.sqlx/query-bfe68c72466da513cc4b55a53887ce678bf7f7993f69b002a21caec2989b6108.json
new file mode 100644
index 0000000000..d5ab772e64
--- /dev/null
+++ b/.sqlx/query-bfe68c72466da513cc4b55a53887ce678bf7f7993f69b002a21caec2989b6108.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(t) AS \"state!: Json<ThreadState>\" FROM comms_message_threads t\n WHERE t.root_id = $1 AND t.parent_entity_type = $2 AND t.parent_entity_id = $3",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "state!: Json<ThreadState>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "bfe68c72466da513cc4b55a53887ce678bf7f7993f69b002a21caec2989b6108"
+}
diff --git a/.sqlx/query-c5f8b3c0005ccae8e40bfa97482a964a57273339b0f20723d2b2b6b4ca7cf9c8.json b/.sqlx/query-c5f8b3c0005ccae8e40bfa97482a964a57273339b0f20723d2b2b6b4ca7cf9c8.json
new file mode 100644
index 0000000000..358c03e635
--- /dev/null
+++ b/.sqlx/query-c5f8b3c0005ccae8e40bfa97482a964a57273339b0f20723d2b2b6b4ca7cf9c8.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "DELETE FROM \"PdfPlaceableCommentAnchor\" WHERE root_id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "c5f8b3c0005ccae8e40bfa97482a964a57273339b0f20723d2b2b6b4ca7cf9c8"
+}
diff --git a/.sqlx/query-c6f0745ca61c7c7cf681dd3bfb81ede4113a3ee8569b522f7fe9c9fd66251ae1.json b/.sqlx/query-c6f0745ca61c7c7cf681dd3bfb81ede4113a3ee8569b522f7fe9c9fd66251ae1.json
new file mode 100644
index 0000000000..b168004189
--- /dev/null
+++ b/.sqlx/query-c6f0745ca61c7c7cf681dd3bfb81ede4113a3ee8569b522f7fe9c9fd66251ae1.json
@@ -0,0 +1,25 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(root) AS \"message!: Json<StoredMessage>\"\n FROM comms_messages target\n JOIN comms_messages root ON root.id = COALESCE(target.thread_id, target.id)\n JOIN comms_message_threads state ON state.root_id = root.id\n WHERE target.id = $3 AND target.parent_entity_type = $1 AND target.parent_entity_id = $2\n AND root.parent_entity_type = $1 AND root.parent_entity_id = $2\n AND (state.deleted_at IS NULL OR $4)\n AND (root.deleted_at IS NULL OR $1 = 'document' OR ($4 AND state.deleted_at IS NOT NULL) OR EXISTS (\n SELECT 1 FROM comms_messages reply\n WHERE reply.thread_id = root.id AND reply.deleted_at IS NULL))",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Uuid",
+ "Bool"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "c6f0745ca61c7c7cf681dd3bfb81ede4113a3ee8569b522f7fe9c9fd66251ae1"
+}
diff --git a/.sqlx/query-4962707d2bc90c036ab1540db476ad45483ad784af4908660342b1c57f045095.json b/.sqlx/query-cb451b00fb7ced38c8fc2dd05631d9963cb51453ed57b244c83523ac52d7397e.json
similarity index 73%
rename from .sqlx/query-4962707d2bc90c036ab1540db476ad45483ad784af4908660342b1c57f045095.json
rename to .sqlx/query-cb451b00fb7ced38c8fc2dd05631d9963cb51453ed57b244c83523ac52d7397e.json
index ac1dfe7b9e..42107d4549 100644
--- a/.sqlx/query-4962707d2bc90c036ab1540db476ad45483ad784af4908660342b1c57f045095.json
+++ b/.sqlx/query-cb451b00fb7ced38c8fc2dd05631d9963cb51453ed57b244c83523ac52d7397e.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT id, message_id, channel_id, entity_type, entity_id, width, height, created_at\n FROM comms_attachments\n WHERE message_id = $1\n ",
+ "query": "\n SELECT id, message_id, channel_id AS \"channel_id!\", entity_type, entity_id, width, height, created_at\n FROM comms_attachments\n WHERE message_id = $1\n ",
"describe": {
"columns": [
{
@@ -15,7 +15,7 @@
},
{
"ordinal": 2,
- "name": "channel_id",
+ "name": "channel_id!",
"type_info": "Uuid"
},
{
@@ -52,7 +52,7 @@
"nullable": [
false,
false,
- false,
+ true,
false,
false,
true,
@@ -60,5 +60,5 @@
false
]
},
- "hash": "4962707d2bc90c036ab1540db476ad45483ad784af4908660342b1c57f045095"
+ "hash": "cb451b00fb7ced38c8fc2dd05631d9963cb51453ed57b244c83523ac52d7397e"
}
diff --git a/.sqlx/query-cbef3753bbe2ea7a259e3a7ee4aac2950dbf7b85be9b624c70aee6efa53f9899.json b/.sqlx/query-cbef3753bbe2ea7a259e3a7ee4aac2950dbf7b85be9b624c70aee6efa53f9899.json
new file mode 100644
index 0000000000..47b89c2c8e
--- /dev/null
+++ b/.sqlx/query-cbef3753bbe2ea7a259e3a7ee4aac2950dbf7b85be9b624c70aee6efa53f9899.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\" FROM comms_messages m\n WHERE id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "cbef3753bbe2ea7a259e3a7ee4aac2950dbf7b85be9b624c70aee6efa53f9899"
+}
diff --git a/.sqlx/query-d390ded05c0ae240145c2e41788572dfcbb755665c02b10c89ff3156a6577b7a.json b/.sqlx/query-d390ded05c0ae240145c2e41788572dfcbb755665c02b10c89ff3156a6577b7a.json
new file mode 100644
index 0000000000..8cd9da2d69
--- /dev/null
+++ b/.sqlx/query-d390ded05c0ae240145c2e41788572dfcbb755665c02b10c89ff3156a6577b7a.json
@@ -0,0 +1,14 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "UPDATE \"PdfHighlightAnchor\" SET root_id = NULL WHERE root_id = $1",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "d390ded05c0ae240145c2e41788572dfcbb755665c02b10c89ff3156a6577b7a"
+}
diff --git a/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json b/.sqlx/query-d9a479a085fee9447d57fc2fde48da43c11616da7ba992669081f75a407bf1a6.json
similarity index 67%
rename from .sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
rename to .sqlx/query-d9a479a085fee9447d57fc2fde48da43c11616da7ba992669081f75a407bf1a6.json
index b67166da2e..704e793776 100644
--- a/.sqlx/query-c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55.json
+++ b/.sqlx/query-d9a479a085fee9447d57fc2fde48da43c11616da7ba992669081f75a407bf1a6.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT \n pa.uuid, \n pa.\"documentId\" as document_id, \n pa.owner, \n pa.\"threadId\" as thread_id, \n pa.page, \n pa.\"originalPage\" as original_page, \n pa.\"originalIndex\" as original_index, \n pa.\"xPct\" as x_pct, \n pa.\"yPct\" as y_pct, \n pa.\"widthPct\" as width_pct, \n pa.\"heightPct\" as height_pct,\n pa.rotation, \n pa.\"allowableEdits\" as allowable_edits,\n pa.\"wasEdited\" as was_edited,\n pa.\"wasDeleted\" as was_deleted,\n pa.\"shouldLockOnSave\" as should_lock_on_save\n FROM \"PdfPlaceableCommentAnchor\" pa\n JOIN \"Thread\" t ON pa.\"threadId\" = t.id\n WHERE pa.\"documentId\" = $1\n AND t.\"deletedAt\" IS NULL\n ",
+ "query": "\n SELECT \n pa.uuid, \n pa.\"documentId\" as document_id, \n pa.owner, \n pa.\"threadId\" as thread_id,\n pa.root_id,\n pa.page, \n pa.\"originalPage\" as original_page, \n pa.\"originalIndex\" as original_index, \n pa.\"xPct\" as x_pct, \n pa.\"yPct\" as y_pct, \n pa.\"widthPct\" as width_pct, \n pa.\"heightPct\" as height_pct,\n pa.rotation, \n pa.\"allowableEdits\" as allowable_edits,\n pa.\"wasEdited\" as was_edited,\n pa.\"wasDeleted\" as was_deleted,\n pa.\"shouldLockOnSave\" as should_lock_on_save\n FROM \"PdfPlaceableCommentAnchor\" pa\n LEFT JOIN \"Thread\" t ON pa.\"threadId\" = t.id\n WHERE pa.\"documentId\" = $1\n AND t.\"deletedAt\" IS NULL\n ",
"describe": {
"columns": [
{
@@ -25,61 +25,66 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "original_page",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "original_index",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "x_pct",
"type_info": "Float8"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "y_pct",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "width_pct",
"type_info": "Float8"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "height_pct",
"type_info": "Float8"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "rotation",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "allowable_edits",
"type_info": "Jsonb"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "was_edited",
"type_info": "Bool"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "was_deleted",
"type_info": "Bool"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "should_lock_on_save",
"type_info": "Bool"
}
@@ -93,7 +98,8 @@
false,
false,
false,
- false,
+ true,
+ true,
false,
false,
false,
@@ -108,5 +114,5 @@
false
]
},
- "hash": "c858541d6cbadae374ef95f2c69a582d76bd73ae439d3d3e6f1cf4e482b9ff55"
+ "hash": "d9a479a085fee9447d57fc2fde48da43c11616da7ba992669081f75a407bf1a6"
}
diff --git a/.sqlx/query-da51b1251143a57c1c2fb2857f121bf7de5cea5b08a3d341203e8041a00ca48e.json b/.sqlx/query-da51b1251143a57c1c2fb2857f121bf7de5cea5b08a3d341203e8041a00ca48e.json
new file mode 100644
index 0000000000..35e44c28a0
--- /dev/null
+++ b/.sqlx/query-da51b1251143a57c1c2fb2857f121bf7de5cea5b08a3d341203e8041a00ca48e.json
@@ -0,0 +1,22 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO \"PdfPlaceableCommentAnchor\"\n (uuid, \"documentId\", owner, root_id, page, \"originalPage\", \"originalIndex\",\n \"xPct\", \"yPct\", \"widthPct\", \"heightPct\", rotation, \"wasEdited\", \"wasDeleted\", \"shouldLockOnSave\")\n VALUES ($1, $2, $3, $4, $5, $5, -1, $6, $7, $8, $9, 0, false, false, false)",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text",
+ "Uuid",
+ "Int4",
+ "Float8",
+ "Float8",
+ "Float8",
+ "Float8"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "da51b1251143a57c1c2fb2857f121bf7de5cea5b08a3d341203e8041a00ca48e"
+}
diff --git a/.sqlx/query-dbc12eeb7f25f40893cd043a158d3612ce6c240f546777c11ffa575d43b8c6cd.json b/.sqlx/query-dbc12eeb7f25f40893cd043a158d3612ce6c240f546777c11ffa575d43b8c6cd.json
new file mode 100644
index 0000000000..ed6ca7ed49
--- /dev/null
+++ b/.sqlx/query-dbc12eeb7f25f40893cd043a158d3612ce6c240f546777c11ffa575d43b8c6cd.json
@@ -0,0 +1,28 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO entity_access (entity_id, entity_type, source_id, source_type, access_level)\n SELECT $1::uuid, 'document', u.user_id, 'user', $3::\"AccessLevel\"\n FROM UNNEST($2::text[]) u(user_id)\n WHERE EXISTS (SELECT 1 FROM \"DocumentPermission\" dp JOIN \"SharePermission\" sp ON sp.id = dp.\"sharePermissionId\"\n JOIN \"Document\" d ON d.id = dp.\"documentId\"\n WHERE dp.\"documentId\" = $1::uuid::text AND sp.\"linkShare\" IN ('PUBLIC', 'TEAM')\n AND sp.\"linkShareAccessLevel\"::\"AccessLevel\" = $3 AND d.\"deletedAt\" IS NULL)\n ON CONFLICT (entity_id, entity_type, source_id, source_type) WHERE granted_from_project_id IS NULL DO NOTHING",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "TextArray",
+ {
+ "Custom": {
+ "name": "\"AccessLevel\"",
+ "kind": {
+ "Enum": [
+ "view",
+ "comment",
+ "edit",
+ "owner"
+ ]
+ }
+ }
+ }
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "dbc12eeb7f25f40893cd043a158d3612ce6c240f546777c11ffa575d43b8c6cd"
+}
diff --git a/.sqlx/query-e4fd703322372750303f508242e0b393af65496555977b1bb9d953557841fe1d.json b/.sqlx/query-e4fd703322372750303f508242e0b393af65496555977b1bb9d953557841fe1d.json
new file mode 100644
index 0000000000..3ccf42324e
--- /dev/null
+++ b/.sqlx/query-e4fd703322372750303f508242e0b393af65496555977b1bb9d953557841fe1d.json
@@ -0,0 +1,46 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT id, entity_type, entity_id, width, height FROM comms_attachments WHERE message_id = $1",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 1,
+ "name": "entity_type",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 2,
+ "name": "entity_id",
+ "type_info": "Varchar"
+ },
+ {
+ "ordinal": 3,
+ "name": "width",
+ "type_info": "Int4"
+ },
+ {
+ "ordinal": 4,
+ "name": "height",
+ "type_info": "Int4"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid"
+ ]
+ },
+ "nullable": [
+ false,
+ false,
+ false,
+ true,
+ true
+ ]
+ },
+ "hash": "e4fd703322372750303f508242e0b393af65496555977b1bb9d953557841fe1d"
+}
diff --git a/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json b/.sqlx/query-e7c06b2f5a0727b798152379dd69bca4acc77896b839fbcc62fd0919a95cac00.json
similarity index 77%
rename from .sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
rename to .sqlx/query-e7c06b2f5a0727b798152379dd69bca4acc77896b839fbcc62fd0919a95cac00.json
index ff6c450bbb..3c06cd360a 100644
--- a/.sqlx/query-18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284.json
+++ b/.sqlx/query-e7c06b2f5a0727b798152379dd69bca4acc77896b839fbcc62fd0919a95cac00.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n INSERT INTO \"PdfPlaceableCommentAnchor\" (\n \"uuid\", \"owner\", \"threadId\", \"page\", \"originalPage\", \"originalIndex\", \n \"xPct\", \"yPct\", \"widthPct\", \"heightPct\", \"allowableEdits\", \n \"wasEdited\", \"wasDeleted\", \"shouldLockOnSave\", \"documentId\", \"rotation\"\n ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id, \n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
+ "query": "\n INSERT INTO \"PdfPlaceableCommentAnchor\" (\n \"uuid\", \"owner\", \"threadId\", \"page\", \"originalPage\", \"originalIndex\", \n \"xPct\", \"yPct\", \"widthPct\", \"heightPct\", \"allowableEdits\", \n \"wasEdited\", \"wasDeleted\", \"shouldLockOnSave\", \"documentId\", \"rotation\"\n ) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16)\n RETURNING \n uuid, \n \"documentId\" as document_id,\n owner, \n \"threadId\" as thread_id,\n root_id,\n page, \n \"originalPage\" as original_page, \n \"originalIndex\" as original_index, \n \"xPct\" as x_pct, \n \"yPct\" as y_pct, \n \"widthPct\" as width_pct, \n \"heightPct\" as height_pct, \n rotation,\n \"allowableEdits\" as allowable_edits, \n \"wasEdited\" as was_edited, \n \"wasDeleted\" as was_deleted, \n \"shouldLockOnSave\" as should_lock_on_save\n ",
"describe": {
"columns": [
{
@@ -25,61 +25,66 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "original_page",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "original_index",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "x_pct",
"type_info": "Float8"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "y_pct",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "width_pct",
"type_info": "Float8"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "height_pct",
"type_info": "Float8"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "rotation",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "allowable_edits",
"type_info": "Jsonb"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "was_edited",
"type_info": "Bool"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "was_deleted",
"type_info": "Bool"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "should_lock_on_save",
"type_info": "Bool"
}
@@ -108,7 +113,8 @@
false,
false,
false,
- false,
+ true,
+ true,
false,
false,
false,
@@ -123,5 +129,5 @@
false
]
},
- "hash": "18fc1de07e3dc64355b0baf69f67bd8c5254c63292c67e87ac3c3f45c20b7284"
+ "hash": "e7c06b2f5a0727b798152379dd69bca4acc77896b839fbcc62fd0919a95cac00"
}
diff --git a/.sqlx/query-9a7907bed661dcc50e55fc6763766da981e1bc7a1530a8a44c869d11e3f52124.json b/.sqlx/query-e938e87e0c773be447001cb2aa0e5e05417c90096c03813cb0fae1e413af04f6.json
similarity index 61%
rename from .sqlx/query-9a7907bed661dcc50e55fc6763766da981e1bc7a1530a8a44c869d11e3f52124.json
rename to .sqlx/query-e938e87e0c773be447001cb2aa0e5e05417c90096c03813cb0fae1e413af04f6.json
index 8f25378810..5aa1109dba 100644
--- a/.sqlx/query-9a7907bed661dcc50e55fc6763766da981e1bc7a1530a8a44c869d11e3f52124.json
+++ b/.sqlx/query-e938e87e0c773be447001cb2aa0e5e05417c90096c03813cb0fae1e413af04f6.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'document'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: document link share permission\n SELECT\n share_permission.\"linkShareAccessLevel\"::text AS access_level\n FROM \"Document\" document\n JOIN \"DocumentPermission\" document_permission\n ON document_permission.\"documentId\" = document.id\n JOIN \"SharePermission\" share_permission\n ON share_permission.id = document_permission.\"sharePermissionId\"\n WHERE document.id = $3\n AND share_permission.\"linkShareAccessLevel\" IS NOT NULL\n AND (\n share_permission.\"linkShare\" = 'PUBLIC'\n OR (\n share_permission.\"linkShare\" = 'TEAM'\n AND EXISTS (\n SELECT 1\n FROM team_user owner_team\n WHERE owner_team.user_id = document.owner\n AND owner_team.team_id::text = ANY($2)\n )\n )\n )\n\n UNION ALL\n -- Source 3: email-attachment documents inherit access from any\n -- linked thread the caller can reach. Owning or being delegated\n -- the thread's inbox (macro_user_links) grants Edit, mirroring\n -- calendar-event delegation. A thread-level entity_access grant\n -- inherits as View regardless of its level: a SHA-deduped document\n -- can back attachments in other threads with different audiences,\n -- so a per-thread share must not confer write access to it.\n SELECT CASE\n WHEN l.macro_id = $4\n OR EXISTS (\n SELECT 1\n FROM macro_user_links mul\n WHERE mul.link_id = l.id\n AND mul.primary_macro_id = $4\n )\n THEN 'edit'\n ELSE 'view'\n END AS access_level\n FROM document_email de\n JOIN email_attachments ea ON ea.id = de.email_attachment_id\n JOIN email_messages em ON em.id = ea.message_id\n JOIN email_threads t ON t.id = em.thread_id\n JOIN email_links l ON l.id = t.link_id\n WHERE de.document_id = $3\n AND (\n l.macro_id = $4\n OR EXISTS (\n SELECT 1\n FROM macro_user_links mul\n WHERE mul.link_id = l.id\n AND mul.primary_macro_id = $4\n )\n OR EXISTS (\n SELECT 1\n FROM entity_access thread_access\n WHERE thread_access.entity_id = t.id\n AND thread_access.entity_type = 'email_thread'\n AND thread_access.source_id = ANY($2)\n )\n )\n ) AS combined_access\n ",
+ "query": "\n SELECT access_level FROM (\n -- Source 1: entity_access source_id match\n SELECT\n access_level::text FROM entity_access\n WHERE entity_id = $1\n AND entity_type = 'document'\n AND source_id = ANY($2)\n\n UNION ALL\n -- Source 2: document link share permission\n SELECT\n share_permission.\"linkShareAccessLevel\"::text AS access_level\n FROM \"Document\" document\n JOIN \"DocumentPermission\" document_permission\n ON document_permission.\"documentId\" = document.id\n JOIN \"SharePermission\" share_permission\n ON share_permission.id = document_permission.\"sharePermissionId\"\n WHERE document.id = $3\n AND share_permission.\"linkShareAccessLevel\" IS NOT NULL\n AND (\n share_permission.\"linkShare\" = 'PUBLIC'\n OR (\n share_permission.\"linkShare\" = 'TEAM'\n AND EXISTS (\n SELECT 1\n FROM team_user owner_team\n WHERE owner_team.user_id = document.owner\n AND owner_team.team_id::text = ANY($2)\n )\n )\n )\n\n UNION ALL\n -- Source 3: email-attachment documents inherit access from any\n -- linked thread the caller can reach. Owning or being delegated\n -- the thread's inbox (macro_user_links) grants Edit, mirroring\n -- calendar-event delegation. A thread-level entity_access grant\n -- inherits as View regardless of its level: a SHA-deduped document\n -- can back attachments in other threads with different audiences,\n -- so a per-thread share must not confer write access to it.\n SELECT CASE\n WHEN l.macro_id = $4\n OR EXISTS (\n SELECT 1\n FROM macro_user_links mul\n WHERE mul.link_id = l.id\n AND mul.primary_macro_id = $4\n )\n THEN 'edit'\n ELSE 'view'\n END AS access_level\n FROM document_email de\n JOIN email_attachments ea ON ea.id = de.email_attachment_id\n JOIN email_messages em ON em.id = ea.message_id\n JOIN email_threads t ON t.id = em.thread_id\n JOIN email_links l ON l.id = t.link_id\n WHERE de.document_id = $3\n AND (\n l.macro_id = $4\n OR EXISTS (\n SELECT 1\n FROM macro_user_links mul\n WHERE mul.link_id = l.id\n AND mul.primary_macro_id = $4\n )\n OR EXISTS (\n SELECT 1\n FROM entity_access thread_access\n WHERE thread_access.entity_id = t.id\n AND thread_access.entity_type = 'email_thread'\n AND thread_access.source_id = ANY($2)\n )\n )\n\n UNION ALL\n -- Source 4: a file attached to a document discussion is visible to\n -- current viewers of that document. Removing the attachment, the\n -- discussion, or the parent grant removes this path; it never\n -- shares the parent itself.\n SELECT 'view' AS access_level\n FROM comms_attachments a\n JOIN comms_messages m ON m.id = a.message_id\n JOIN comms_message_threads mt ON mt.root_id = COALESCE(m.thread_id, m.id)\n JOIN \"Document\" parent_doc\n ON m.parent_entity_type = 'document' AND parent_doc.id = m.parent_entity_id\n LEFT JOIN \"DocumentPermission\" dp ON dp.\"documentId\" = parent_doc.id\n LEFT JOIN \"SharePermission\" sp ON sp.id = dp.\"sharePermissionId\"\n WHERE a.entity_type = 'document'\n AND a.entity_id = $3\n AND m.deleted_at IS NULL\n AND mt.deleted_at IS NULL\n AND parent_doc.\"deletedAt\" IS NULL\n AND (\n parent_doc.owner = $4\n OR EXISTS (\n SELECT 1\n FROM entity_access pa\n WHERE pa.entity_type = 'document'\n AND pa.entity_id::text = parent_doc.id\n AND pa.source_id = ANY($2)\n )\n OR (\n sp.\"linkShareAccessLevel\" IS NOT NULL\n AND (\n sp.\"linkShare\" = 'PUBLIC'\n OR (\n sp.\"linkShare\" = 'TEAM'\n AND EXISTS (\n SELECT 1\n FROM team_user tu\n WHERE tu.user_id = parent_doc.owner\n AND tu.team_id::text = ANY($2)\n )\n )\n )\n )\n )\n ) AS combined_access\n ",
"describe": {
"columns": [
{
@@ -21,5 +21,5 @@
null
]
},
- "hash": "9a7907bed661dcc50e55fc6763766da981e1bc7a1530a8a44c869d11e3f52124"
+ "hash": "e938e87e0c773be447001cb2aa0e5e05417c90096c03813cb0fae1e413af04f6"
}
diff --git a/.sqlx/query-eb100adf3bf574f70329ae1d59e0e25e2ddeba48a6ab354efb3b0facd767406c.json b/.sqlx/query-eb100adf3bf574f70329ae1d59e0e25e2ddeba48a6ab354efb3b0facd767406c.json
new file mode 100644
index 0000000000..70d34c2d69
--- /dev/null
+++ b/.sqlx/query-eb100adf3bf574f70329ae1d59e0e25e2ddeba48a6ab354efb3b0facd767406c.json
@@ -0,0 +1,23 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT ref->>'entity_id' AS \"user_id!\"\n FROM entity_properties p CROSS JOIN LATERAL jsonb_array_elements(p.values->'value') ref\n WHERE p.entity_type = 'DOCUMENT' AND p.entity_id = $1 AND p.property_definition_id = $2\n AND p.values->>'type' = 'EntityReference' AND ref->>'entity_type' = 'USER'",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "user_id!",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Uuid"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "eb100adf3bf574f70329ae1d59e0e25e2ddeba48a6ab354efb3b0facd767406c"
+}
diff --git a/.sqlx/query-ecd644e82c944eb598983ab7f0ffab0115e5089068da4bd1883453026dc351ed.json b/.sqlx/query-ecd644e82c944eb598983ab7f0ffab0115e5089068da4bd1883453026dc351ed.json
new file mode 100644
index 0000000000..49f989310b
--- /dev/null
+++ b/.sqlx/query-ecd644e82c944eb598983ab7f0ffab0115e5089068da4bd1883453026dc351ed.json
@@ -0,0 +1,20 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO comms_attachments (id, message_id, channel_id, entity_type, entity_id, width, height)\n VALUES ($1, $2, $3, $4, $5, $6, $7)",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Uuid",
+ "Uuid",
+ "Varchar",
+ "Varchar",
+ "Int4",
+ "Int4"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "ecd644e82c944eb598983ab7f0ffab0115e5089068da4bd1883453026dc351ed"
+}
diff --git a/.sqlx/query-eef701bbb7fc5e8139a6478726dc3f7e077627afd934d2c66b8774bc42d77b88.json b/.sqlx/query-eef701bbb7fc5e8139a6478726dc3f7e077627afd934d2c66b8774bc42d77b88.json
new file mode 100644
index 0000000000..262049790b
--- /dev/null
+++ b/.sqlx/query-eef701bbb7fc5e8139a6478726dc3f7e077627afd934d2c66b8774bc42d77b88.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT DISTINCT sender_id FROM comms_messages\n WHERE parent_entity_type = $1 AND parent_entity_id = $2 AND (id = $3 OR thread_id = $3)\n AND imported_author IS NULL",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "sender_id",
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Uuid"
+ ]
+ },
+ "nullable": [
+ false
+ ]
+ },
+ "hash": "eef701bbb7fc5e8139a6478726dc3f7e077627afd934d2c66b8774bc42d77b88"
+}
diff --git a/.sqlx/query-eef83aa3f4e0a7580de8385b651e3871582c513092847391cbbc423ae45e7119.json b/.sqlx/query-eef83aa3f4e0a7580de8385b651e3871582c513092847391cbbc423ae45e7119.json
new file mode 100644
index 0000000000..ac3ff4d03a
--- /dev/null
+++ b/.sqlx/query-eef83aa3f4e0a7580de8385b651e3871582c513092847391cbbc423ae45e7119.json
@@ -0,0 +1,24 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT EXISTS(\n SELECT 1 FROM comms_message_threads\n WHERE root_id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3\n AND deleted_at IS NULL\n ) AS \"exists!\"",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "exists!",
+ "type_info": "Bool"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Text"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "eef83aa3f4e0a7580de8385b651e3871582c513092847391cbbc423ae45e7119"
+}
diff --git a/.sqlx/query-f309004994484d81f0c362a736cf3d021cfee12f660feababc28fbd1760a5226.json b/.sqlx/query-f309004994484d81f0c362a736cf3d021cfee12f660feababc28fbd1760a5226.json
new file mode 100644
index 0000000000..d2dc869449
--- /dev/null
+++ b/.sqlx/query-f309004994484d81f0c362a736cf3d021cfee12f660feababc28fbd1760a5226.json
@@ -0,0 +1,15 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO comms_message_threads\n (root_id, parent_entity_type, parent_entity_id, user_id, anchor, created_at, updated_at)\n SELECT id, parent_entity_type, parent_entity_id, sender_id, $2, created_at, updated_at\n FROM comms_messages WHERE id = $1\n ON CONFLICT (root_id) DO UPDATE SET anchor = EXCLUDED.anchor",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Jsonb"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "f309004994484d81f0c362a736cf3d021cfee12f660feababc28fbd1760a5226"
+}
diff --git a/.sqlx/query-f6195a0dd7003f914a9b2d33236db4b8bb7ebd96f95f21971d7c33873f318110.json b/.sqlx/query-f6195a0dd7003f914a9b2d33236db4b8bb7ebd96f95f21971d7c33873f318110.json
new file mode 100644
index 0000000000..cbb49fc42d
--- /dev/null
+++ b/.sqlx/query-f6195a0dd7003f914a9b2d33236db4b8bb7ebd96f95f21971d7c33873f318110.json
@@ -0,0 +1,25 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "SELECT to_jsonb(m) AS \"message!: Json<StoredMessage>\"\n FROM comms_messages m\n JOIN comms_message_threads t ON t.root_id = COALESCE(m.thread_id, m.id)\n JOIN comms_messages target ON target.id = $3\n AND target.parent_entity_type = $1 AND target.parent_entity_id = $2\n WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2\n AND m.deleted_at IS NULL AND t.deleted_at IS NULL\n AND (m.created_at, m.id) < (target.created_at, target.id)\n AND ($1 = 'channel' OR COALESCE(m.thread_id, m.id) = COALESCE(target.thread_id, target.id))\n ORDER BY m.created_at DESC, m.id DESC LIMIT $4",
+ "describe": {
+ "columns": [
+ {
+ "ordinal": 0,
+ "name": "message!: Json<StoredMessage>",
+ "type_info": "Jsonb"
+ }
+ ],
+ "parameters": {
+ "Left": [
+ "Text",
+ "Text",
+ "Uuid",
+ "Int8"
+ ]
+ },
+ "nullable": [
+ null
+ ]
+ },
+ "hash": "f6195a0dd7003f914a9b2d33236db4b8bb7ebd96f95f21971d7c33873f318110"
+}
diff --git a/.sqlx/query-f86c151764d389dd8de9691ea9ec0205cc41305fefe697d49aa8d2c8eaec6dca.json b/.sqlx/query-f86c151764d389dd8de9691ea9ec0205cc41305fefe697d49aa8d2c8eaec6dca.json
new file mode 100644
index 0000000000..6f5423ac60
--- /dev/null
+++ b/.sqlx/query-f86c151764d389dd8de9691ea9ec0205cc41305fefe697d49aa8d2c8eaec6dca.json
@@ -0,0 +1,16 @@
+{
+ "db_name": "PostgreSQL",
+ "query": "INSERT INTO comms_reactions(message_id, user_id, emoji) VALUES ($1, $2, $3) ON CONFLICT DO NOTHING",
+ "describe": {
+ "columns": [],
+ "parameters": {
+ "Left": [
+ "Uuid",
+ "Text",
+ "Varchar"
+ ]
+ },
+ "nullable": []
+ },
+ "hash": "f86c151764d389dd8de9691ea9ec0205cc41305fefe697d49aa8d2c8eaec6dca"
+}
diff --git a/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json b/.sqlx/query-f8fa9c52e4cb83f4c259fea9733fea080090a6da85d7f18b51557fff54b9c23b.json
similarity index 63%
rename from .sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
rename to .sqlx/query-f8fa9c52e4cb83f4c259fea9733fea080090a6da85d7f18b51557fff54b9c23b.json
index 678dc0399c..5563dcd0e4 100644
--- a/.sqlx/query-9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd.json
+++ b/.sqlx/query-f8fa9c52e4cb83f4c259fea9733fea080090a6da85d7f18b51557fff54b9c23b.json
@@ -1,6 +1,6 @@
{
"db_name": "PostgreSQL",
- "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id, \n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n WHERE ph.uuid = $1\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
+ "query": "\n SELECT \n ph.uuid, \n ph.\"documentId\" as document_id,\n ph.owner, \n ph.\"threadId\" as thread_id,\n ph.root_id,\n ph.page, \n ph.red,\n ph.green, \n ph.blue, \n ph.alpha, \n ph.type as highlight_type, \n ph.text, \n ph.\"pageViewportWidth\" as page_viewport_width, \n ph.\"pageViewportHeight\" as page_viewport_height, \n ph.\"createdAt\"::timestamptz as created_at, \n ph.\"updatedAt\"::timestamptz as updated_at, \n ph.\"deletedAt\"::timestamptz as deleted_at, \n array_agg((phr.id, phr.top, phr.left, phr.width, phr.height)) as \"highlight_rects!: Vec<PdfHighlightRect>\"\n FROM \"PdfHighlightAnchor\" ph\n JOIN \"PdfHighlightRect\" phr ON ph.uuid = phr.\"pdfHighlightAnchorId\"\n WHERE ph.uuid = $1\n GROUP BY ph.uuid, ph.owner, ph.\"threadId\", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph.\"pageViewportWidth\", ph.\"pageViewportHeight\", ph.\"createdAt\", ph.\"updatedAt\", ph.\"deletedAt\"\n ",
"describe": {
"columns": [
{
@@ -25,66 +25,71 @@
},
{
"ordinal": 4,
+ "name": "root_id",
+ "type_info": "Uuid"
+ },
+ {
+ "ordinal": 5,
"name": "page",
"type_info": "Int4"
},
{
- "ordinal": 5,
+ "ordinal": 6,
"name": "red",
"type_info": "Int4"
},
{
- "ordinal": 6,
+ "ordinal": 7,
"name": "green",
"type_info": "Int4"
},
{
- "ordinal": 7,
+ "ordinal": 8,
"name": "blue",
"type_info": "Int4"
},
{
- "ordinal": 8,
+ "ordinal": 9,
"name": "alpha",
"type_info": "Float8"
},
{
- "ordinal": 9,
+ "ordinal": 10,
"name": "highlight_type",
"type_info": "Int4"
},
{
- "ordinal": 10,
+ "ordinal": 11,
"name": "text",
"type_info": "Text"
},
{
- "ordinal": 11,
+ "ordinal": 12,
"name": "page_viewport_width",
"type_info": "Float8"
},
{
- "ordinal": 12,
+ "ordinal": 13,
"name": "page_viewport_height",
"type_info": "Float8"
},
{
- "ordinal": 13,
+ "ordinal": 14,
"name": "created_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 14,
+ "ordinal": 15,
"name": "updated_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 15,
+ "ordinal": 16,
"name": "deleted_at",
"type_info": "Timestamptz"
},
{
- "ordinal": 16,
+ "ordinal": 17,
"name": "highlight_rects!: Vec<PdfHighlightRect>",
"type_info": "RecordArray"
}
@@ -99,6 +104,7 @@
false,
false,
true,
+ true,
false,
false,
false,
@@ -114,5 +120,5 @@
null
]
},
- "hash": "9676374e780121fbb6724ac51d9c742deb835c1e2c5a23390501ef95bc0f12cd"
+ "hash": "f8fa9c52e4cb83f4c259fea9733fea080090a6da85d7f18b51557fff54b9c23b"
}
diff --git a/Cargo.lock b/Cargo.lock
index d966e3ef50..c35d080dfa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -276,6 +276,7 @@ dependencies = [
"macro_tower_layers",
"macro_user_id",
"macro_uuid",
+ "messages",
"mockall",
"model-entity",
"model_notifications",
@@ -522,6 +523,7 @@ dependencies = [
"macro_event_topics",
"macro_user_id",
"macro_uuid",
+ "messages",
"mockall",
"serde",
"serde_json",
@@ -696,6 +698,7 @@ dependencies = [
"macro_user_id",
"mcp_client",
"mcp_select",
+ "messages",
"model",
"model-entity",
"model_notifications",
@@ -1656,6 +1659,7 @@ dependencies = [
"macro_uuid",
"maud",
"mention_utils",
+ "messages",
"microsoft_oauth_grant_db_utils",
"miniserde",
"mobile_welcome_email_db_client",
@@ -2879,6 +2883,7 @@ dependencies = [
"macro_event_topics",
"macro_user_id",
"macro_uuid",
+ "messages",
"mockall",
"model-error-response",
"rand 0.9.4",
@@ -3391,10 +3396,13 @@ dependencies = [
"channels",
"chrono",
"chrono-tz",
+ "entity_access",
"futures",
"macro_user_id",
+ "messages",
"models_pagination",
"prompt",
+ "rootcause",
"serde",
"serde_json",
"tokio",
@@ -3449,6 +3457,7 @@ dependencies = [
"macro_event_topics",
"macro_user_id",
"macro_uuid",
+ "messages",
"mockall",
"model-entity",
"model-error-response",
@@ -5453,6 +5462,7 @@ dependencies = [
"macro_tower_layers",
"macro_user_id",
"macro_uuid",
+ "messages",
"mockall",
"model",
"model-entity",
@@ -9466,6 +9476,8 @@ dependencies = [
"anyhow",
"channels",
"lexical_client",
+ "messages",
+ "rootcause",
"workspace-hack",
]
@@ -10730,6 +10742,43 @@ dependencies = [
"syn 2.0.117",
]
+[[package]]
+name = "messages"
+version = "0.1.0"
+dependencies = [
+ "async-trait",
+ "axum",
+ "bot_id",
+ "channel_sender",
+ "chrono",
+ "connection_gateway_client",
+ "entity_access",
+ "macro_authorization",
+ "macro_db_migrator",
+ "macro_event_broker",
+ "macro_event_topics",
+ "macro_user_id",
+ "macro_uuid",
+ "mockall",
+ "model",
+ "model-entity",
+ "model_notifications",
+ "models_pagination",
+ "notification",
+ "rootcause",
+ "schemars 1.2.1",
+ "serde",
+ "serde_json",
+ "sqlx",
+ "system_properties",
+ "thiserror 2.0.18",
+ "tokio",
+ "tracing",
+ "utoipa",
+ "uuid",
+ "workspace-hack",
+]
+
[[package]]
name = "microsoft_oauth_grant_db_utils"
version = "0.1.0"
@@ -15836,6 +15885,7 @@ dependencies = [
"macro_event_broker",
"macro_event_topics",
"macro_user_id",
+ "messages",
"model-entity",
"models_properties",
"projects",
@@ -18418,6 +18468,7 @@ dependencies = [
"macro_event_topics",
"macro_user_id",
"macro_uuid",
+ "messages",
"model-error-response",
"model_user",
"rate_limit",
diff --git a/Cargo.toml b/Cargo.toml
index 3459218b9c..c55ce5b743 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,6 +69,7 @@ members = [
"crates/macro_sync_service_jwt",
"crates/maybe_send",
"crates/memory",
+ "crates/messages",
"crates/model_owner",
"crates/mcp_select",
"crates/mcp_toolset",
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentRef.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentRef.ts
new file mode 100644
index 0000000000..7361f17fd6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentRef.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * notification_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Identity of a document comment or its thread. Comments written before the
+shared message store carry the legacy numeric ids; comments in the shared
+store carry the message and root UUIDs.
+ */
+export type CommentRef = number | string;
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadata.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadata.ts
index 1ab703cb0c..4e4b462bb4 100644
--- a/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadata.ts
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadata.ts
@@ -4,26 +4,31 @@
* notification_service
* OpenAPI spec version: 0.1.0
*/
+
import type { CommentedOnDocumentMetadataFileType } from './commentedOnDocumentMetadataFileType';
+import type { CommentedOnDocumentMetadataSenderDisplayName } from './commentedOnDocumentMetadataSenderDisplayName';
import type { CommentedOnDocumentMetadataSenderProfilePictureUrl } from './commentedOnDocumentMetadataSenderProfilePictureUrl';
import type { CommentedOnDocumentMetadataSubType } from './commentedOnDocumentMetadataSubType';
+import type { CommentRef } from './commentRef';
/**
* Notification sent when someone comments on a document the user owns.
*/
export interface CommentedOnDocumentMetadata {
/** the comment id */
- commentId: number;
+ commentId: CommentRef;
/** The name of the document. */
documentName: string;
/** The file type of the document. */
fileType?: CommentedOnDocumentMetadataFileType;
/** The owner of the document. */
owner: string;
+ /** Public bot name when the author is an agent rather than a Macro user. */
+ senderDisplayName?: CommentedOnDocumentMetadataSenderDisplayName;
senderProfilePictureUrl?: CommentedOnDocumentMetadataSenderProfilePictureUrl;
subType?: CommentedOnDocumentMetadataSubType;
/** the text of the comment */
text: string;
/** the thread id */
- threadId: number;
+ threadId: CommentRef;
}
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadataSenderDisplayName.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadataSenderDisplayName.ts
new file mode 100644
index 0000000000..f1ec7ce042
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/commentedOnDocumentMetadataSenderDisplayName.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * notification_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+export type CommentedOnDocumentMetadataSenderDisplayName = string | null;
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/index.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/index.ts
index 2817bcddbf..1478e7f77d 100644
--- a/apps/web/src/lib/service-clients/service-notification/generated/schemas/index.ts
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/index.ts
@@ -56,8 +56,10 @@ export * from './channelReplyMetadataAllOfUserId';
export * from './channelType';
export * from './commentedOnDocumentMetadata';
export * from './commentedOnDocumentMetadataFileType';
+export * from './commentedOnDocumentMetadataSenderDisplayName';
export * from './commentedOnDocumentMetadataSenderProfilePictureUrl';
export * from './commentedOnDocumentMetadataSubType';
+export * from './commentRef';
export * from './commonChannelMetadata';
export * from './connGatewayNotificationPayload';
export * from './createNotification';
@@ -122,6 +124,7 @@ export * from './listTypedNotificationsParams';
export * from './macroUserIdStr';
export * from './mentionedInDocumentCommentMetadata';
export * from './mentionedInDocumentCommentMetadataFileType';
+export * from './mentionedInDocumentCommentMetadataSenderDisplayName';
export * from './mentionedInDocumentCommentMetadataSenderProfilePictureUrl';
export * from './mentionedInDocumentCommentMetadataSubType';
export * from './newEmailMetadata';
@@ -200,6 +203,7 @@ export * from './reminderMetadata';
export * from './reminderMetadataScheduledFor';
export * from './repliedToDocumentCommentThreadMetadata';
export * from './repliedToDocumentCommentThreadMetadataFileType';
+export * from './repliedToDocumentCommentThreadMetadataSenderDisplayName';
export * from './repliedToDocumentCommentThreadMetadataSenderProfilePictureUrl';
export * from './repliedToDocumentCommentThreadMetadataSubType';
export * from './taskAssignedMetadata';
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadata.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadata.ts
index 346cec15b9..78024b41a3 100644
--- a/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadata.ts
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadata.ts
@@ -4,7 +4,9 @@
* notification_service
* OpenAPI spec version: 0.1.0
*/
+import type { CommentRef } from './commentRef';
import type { MentionedInDocumentCommentMetadataFileType } from './mentionedInDocumentCommentMetadataFileType';
+import type { MentionedInDocumentCommentMetadataSenderDisplayName } from './mentionedInDocumentCommentMetadataSenderDisplayName';
import type { MentionedInDocumentCommentMetadataSenderProfilePictureUrl } from './mentionedInDocumentCommentMetadataSenderProfilePictureUrl';
import type { MentionedInDocumentCommentMetadataSubType } from './mentionedInDocumentCommentMetadataSubType';
@@ -13,7 +15,7 @@ import type { MentionedInDocumentCommentMetadataSubType } from './mentionedInDoc
*/
export interface MentionedInDocumentCommentMetadata {
/** the comment id */
- commentId: number;
+ commentId: CommentRef;
/** The name of the document. */
documentName: string;
/** The file type of the document. */
@@ -22,10 +24,12 @@ export interface MentionedInDocumentCommentMetadata {
mentionId: string;
/** The owner of the document. */
owner: string;
+ /** Public bot name when the author is an agent rather than a Macro user. */
+ senderDisplayName?: MentionedInDocumentCommentMetadataSenderDisplayName;
senderProfilePictureUrl?: MentionedInDocumentCommentMetadataSenderProfilePictureUrl;
subType?: MentionedInDocumentCommentMetadataSubType;
/** the text of the comment */
text: string;
/** the thread id */
- threadId: number;
+ threadId: CommentRef;
}
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadataSenderDisplayName.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadataSenderDisplayName.ts
new file mode 100644
index 0000000000..074a9bcb42
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/mentionedInDocumentCommentMetadataSenderDisplayName.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * notification_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+export type MentionedInDocumentCommentMetadataSenderDisplayName = string | null;
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadata.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadata.ts
index d4fa4c7512..b874533747 100644
--- a/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadata.ts
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadata.ts
@@ -4,7 +4,9 @@
* notification_service
* OpenAPI spec version: 0.1.0
*/
+import type { CommentRef } from './commentRef';
import type { RepliedToDocumentCommentThreadMetadataFileType } from './repliedToDocumentCommentThreadMetadataFileType';
+import type { RepliedToDocumentCommentThreadMetadataSenderDisplayName } from './repliedToDocumentCommentThreadMetadataSenderDisplayName';
import type { RepliedToDocumentCommentThreadMetadataSenderProfilePictureUrl } from './repliedToDocumentCommentThreadMetadataSenderProfilePictureUrl';
import type { RepliedToDocumentCommentThreadMetadataSubType } from './repliedToDocumentCommentThreadMetadataSubType';
@@ -13,17 +15,19 @@ import type { RepliedToDocumentCommentThreadMetadataSubType } from './repliedToD
*/
export interface RepliedToDocumentCommentThreadMetadata {
/** the comment id */
- commentId: number;
+ commentId: CommentRef;
/** The name of the document. */
documentName: string;
/** The file type of the document. */
fileType?: RepliedToDocumentCommentThreadMetadataFileType;
/** The owner of the document. */
owner: string;
+ /** Public bot name when the author is an agent rather than a Macro user. */
+ senderDisplayName?: RepliedToDocumentCommentThreadMetadataSenderDisplayName;
senderProfilePictureUrl?: RepliedToDocumentCommentThreadMetadataSenderProfilePictureUrl;
subType?: RepliedToDocumentCommentThreadMetadataSubType;
/** the text of the comment */
text: string;
/** the thread id */
- threadId: number;
+ threadId: CommentRef;
}
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadataSenderDisplayName.ts b/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadataSenderDisplayName.ts
new file mode 100644
index 0000000000..43612183a6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-notification/generated/schemas/repliedToDocumentCommentThreadMetadataSenderDisplayName.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * notification_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+export type RepliedToDocumentCommentThreadMetadataSenderDisplayName =
+ | string
+ | null;
diff --git a/apps/web/src/lib/service-clients/service-notification/generated/zod.ts b/apps/web/src/lib/service-clients/service-notification/generated/zod.ts
index ef59419896..814c6466cf 100644
--- a/apps/web/src/lib/service-clients/service-notification/generated/zod.ts
+++ b/apps/web/src/lib/service-clients/service-notification/generated/zod.ts
@@ -297,7 +297,22 @@ export const listTypedNotificationsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -309,6 +324,12 @@ export const listTypedNotificationsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -333,7 +354,22 @@ export const listTypedNotificationsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when a user is mentioned in a document comment.'
@@ -345,7 +381,22 @@ export const listTypedNotificationsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -356,6 +407,12 @@ export const listTypedNotificationsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -380,7 +437,22 @@ export const listTypedNotificationsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone replies to a document comment thread.'
@@ -394,7 +466,22 @@ export const listTypedNotificationsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -405,6 +492,12 @@ export const listTypedNotificationsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -429,7 +522,22 @@ export const listTypedNotificationsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone comments on a document the user owns.'
@@ -1876,7 +1984,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -1888,6 +2011,12 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -1912,7 +2041,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when a user is mentioned in a document comment.'
@@ -1924,7 +2068,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -1935,6 +2094,12 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -1959,7 +2124,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone replies to a document comment thread.'
@@ -1973,7 +2153,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -1984,6 +2179,12 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -2008,7 +2209,22 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone comments on a document the user owns.'
@@ -3449,7 +3665,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -3461,6 +3692,12 @@ export const getTypedNotificationsByEventItemIdResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -3485,7 +3722,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when a user is mentioned in a document comment.'
@@ -3497,7 +3749,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -3508,6 +3775,12 @@ export const getTypedNotificationsByEventItemIdResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -3532,7 +3805,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone replies to a document comment thread.'
@@ -3546,7 +3834,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -3557,6 +3860,12 @@ export const getTypedNotificationsByEventItemIdResponse = zod
owner: zod
.string()
.describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -3581,7 +3890,22 @@ export const getTypedNotificationsByEventItemIdResponse = zod
text: zod
.string()
.describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe(
+ 'Legacy `Comment.id` or `Thread.id`.'
+ ),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone comments on a document the user owns.'
@@ -5021,7 +5345,20 @@ export const getTypedNotificationByIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -5031,6 +5368,12 @@ export const getTypedNotificationByIdResponse = zod
.describe('The file type of the document.'),
mentionId: zod.string().describe('The mention ID.'),
owner: zod.string().describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -5053,7 +5396,20 @@ export const getTypedNotificationByIdResponse = zod
])
.optional(),
text: zod.string().describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when a user is mentioned in a document comment.'
@@ -5065,7 +5421,20 @@ export const getTypedNotificationByIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -5074,6 +5443,12 @@ export const getTypedNotificationByIdResponse = zod
.nullish()
.describe('The file type of the document.'),
owner: zod.string().describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -5096,7 +5471,20 @@ export const getTypedNotificationByIdResponse = zod
])
.optional(),
text: zod.string().describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone replies to a document comment thread.'
@@ -5110,7 +5498,20 @@ export const getTypedNotificationByIdResponse = zod
.object({
content: zod
.object({
- commentId: zod.number().describe('the comment id'),
+ commentId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
documentName: zod
.string()
.describe('The name of the document.'),
@@ -5119,6 +5520,12 @@ export const getTypedNotificationByIdResponse = zod
.nullish()
.describe('The file type of the document.'),
owner: zod.string().describe('The owner of the document.'),
+ senderDisplayName: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Public bot name when the author is an agent rather than a Macro user.'
+ ),
senderProfilePictureUrl: zod.string().nullish(),
subType: zod
.union([
@@ -5141,7 +5548,20 @@ export const getTypedNotificationByIdResponse = zod
])
.optional(),
text: zod.string().describe('the text of the comment'),
- threadId: zod.number().describe('the thread id'),
+ threadId: zod
+ .union([
+ zod
+ .number()
+ .describe('Legacy `Comment.id` or `Thread.id`.'),
+ zod
+ .uuid()
+ .describe(
+ 'Message or root id in the shared message store.'
+ ),
+ ])
+ .describe(
+ 'Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs.'
+ ),
})
.describe(
'Notification sent when someone comments on a document the user owns.'
diff --git a/apps/web/src/lib/service-clients/service-notification/openapi.json b/apps/web/src/lib/service-clients/service-notification/openapi.json
index 9bf222c23c..e07be1f0ab 100644
--- a/apps/web/src/lib/service-clients/service-notification/openapi.json
+++ b/apps/web/src/lib/service-clients/service-notification/openapi.json
@@ -1437,14 +1437,28 @@
"type": "string",
"enum": ["public", "private", "directMessage", "team"]
},
+ "CommentRef": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "format": "int64",
+ "description": "Legacy `Comment.id` or `Thread.id`."
+ },
+ {
+ "type": "string",
+ "format": "uuid",
+ "description": "Message or root id in the shared message store."
+ }
+ ],
+ "description": "Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs."
+ },
"CommentedOnDocumentMetadata": {
"type": "object",
"description": "Notification sent when someone comments on a document the user owns.",
"required": ["documentName", "owner", "commentId", "threadId", "text"],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -1459,6 +1473,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -1478,8 +1496,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
@@ -2077,8 +2094,7 @@
],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -2097,6 +2113,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -2116,8 +2136,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
@@ -2710,8 +2729,7 @@
"required": ["documentName", "owner", "commentId", "threadId", "text"],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -2726,6 +2744,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -2745,8 +2767,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChange.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChange.ts
new file mode 100644
index 0000000000..8a99698b1b
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChange.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { AttachmentChangeOneOf } from './attachmentChangeOneOf';
+import type { AttachmentChangeOneOfFive } from './attachmentChangeOneOfFive';
+import type { AttachmentChangeOneOfThree } from './attachmentChangeOneOfThree';
+
+/**
+ * Attachment changes interpreted by the common command boundary.
+ */
+export type AttachmentChange =
+ | AttachmentChangeOneOf
+ | AttachmentChangeOneOfThree
+ | AttachmentChangeOneOfFive;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOf.ts
new file mode 100644
index 0000000000..f3608ce555
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOf.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { AttachmentChangeOneOfType } from './attachmentChangeOneOfType';
+
+/**
+ * Keep current attachments.
+ */
+export type AttachmentChangeOneOf = {
+ type: AttachmentChangeOneOfType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFive.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFive.ts
new file mode 100644
index 0000000000..757730150c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFive.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { AttachmentChangeOneOfFiveType } from './attachmentChangeOneOfFiveType';
+import type { AttachmentChangeOneOfFiveValue } from './attachmentChangeOneOfFiveValue';
+
+/**
+ * Remove stored attachment identities and append new references.
+ */
+export type AttachmentChangeOneOfFive = {
+ type: AttachmentChangeOneOfFiveType;
+ /** Remove stored attachment identities and append new references. */
+ value: AttachmentChangeOneOfFiveValue;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveType.ts
new file mode 100644
index 0000000000..aaf201f13e
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type AttachmentChangeOneOfFiveType =
+ (typeof AttachmentChangeOneOfFiveType)[keyof typeof AttachmentChangeOneOfFiveType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const AttachmentChangeOneOfFiveType = {
+ delta: 'delta',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveValue.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveValue.ts
new file mode 100644
index 0000000000..5542f987d2
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfFiveValue.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewAttachment } from './newAttachment';
+
+/**
+ * Remove stored attachment identities and append new references.
+ */
+export type AttachmentChangeOneOfFiveValue = {
+ /** New attachments to append. */
+ add: NewAttachment[];
+ /** Existing attachment UUIDs to remove. */
+ remove: string[];
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThree.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThree.ts
new file mode 100644
index 0000000000..5d24ad6a50
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThree.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { AttachmentChangeOneOfThreeType } from './attachmentChangeOneOfThreeType';
+import type { NewAttachment } from './newAttachment';
+
+/**
+ * Replace all attachments.
+ */
+export type AttachmentChangeOneOfThree = {
+ type: AttachmentChangeOneOfThreeType;
+ /** Replace all attachments. */
+ value: NewAttachment[];
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThreeType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThreeType.ts
new file mode 100644
index 0000000000..7a95735b25
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfThreeType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type AttachmentChangeOneOfThreeType =
+ (typeof AttachmentChangeOneOfThreeType)[keyof typeof AttachmentChangeOneOfThreeType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const AttachmentChangeOneOfThreeType = {
+ replace: 'replace',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfType.ts
new file mode 100644
index 0000000000..32fb1734f0
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/attachmentChangeOneOfType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type AttachmentChangeOneOfType =
+ (typeof AttachmentChangeOneOfType)[keyof typeof AttachmentChangeOneOfType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const AttachmentChangeOneOfType = {
+ preserve: 'preserve',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfile.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfile.ts
new file mode 100644
index 0000000000..f782ff545a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfile.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { BotSenderProfileAvatarUrl } from './botSenderProfileAvatarUrl';
+
+/**
+ * Public bot profile attached to bot-authored messages.
+ */
+export interface BotSenderProfile {
+ /** Bot avatar URL. */
+ avatar_url?: BotSenderProfileAvatarUrl;
+ /** Bot display name. */
+ name: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfileAvatarUrl.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfileAvatarUrl.ts
new file mode 100644
index 0000000000..9710b66493
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/botSenderProfileAvatarUrl.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Bot avatar URL.
+ */
+export type BotSenderProfileAvatarUrl = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/countedReaction.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/countedReaction.ts
new file mode 100644
index 0000000000..eeed68c59b
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/countedReaction.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Reaction emoji and the users who added it.
+ */
+export interface CountedReaction {
+ /** Emoji being reacted with. */
+ emoji: string;
+ /** User identifiers. */
+ users: string[];
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/documentId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/documentId.ts
new file mode 100644
index 0000000000..346a81067e
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/documentId.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * A validated document identifier. Historical document ids need not be UUIDs.
+ */
+export type DocumentId = string;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteMessageParams.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteMessageParams.ts
new file mode 100644
index 0000000000..1cfabfd9e5
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteMessageParams.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type EntityMessageDeleteMessageParams = {
+ /**
+ * Client nonce.
+ */
+ nonce?: string | null;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteThreadParams.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteThreadParams.ts
new file mode 100644
index 0000000000..35b1042e38
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageDeleteThreadParams.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type EntityMessageDeleteThreadParams = {
+ /**
+ * Client nonce.
+ */
+ nonce?: string | null;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageLegacyParams.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageLegacyParams.ts
new file mode 100644
index 0000000000..d2db8ff65c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageLegacyParams.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type EntityMessageLegacyParams = {
+ /**
+ * Resolve a thread id instead of a comment id.
+ */
+ thread?: boolean;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageReferencesParams.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageReferencesParams.ts
new file mode 100644
index 0000000000..900356800f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/entityMessageReferencesParams.ts
@@ -0,0 +1,22 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type EntityMessageReferencesParams = {
+ /**
+ * Maximum number of roots.
+ * @minimum 0
+ */
+ limit?: number | null;
+ /**
+ * Last root's creation timestamp.
+ */
+ created_at?: string | null;
+ /**
+ * Last root's UUID.
+ */
+ cursor_id?: string | null;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/importedAuthor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/importedAuthor.ts
new file mode 100644
index 0000000000..25a67a6414
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/importedAuthor.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Display attribution for a comment imported from an external document.
+ */
+export interface ImportedAuthor {
+ /** Original author text; never interpreted as an authenticated principal. */
+ name: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/index.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/index.ts
index c943df687f..2a7a2b4706 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/index.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/index.ts
@@ -156,6 +156,14 @@ export * from './assignTaskStatus';
export * from './assignTasksRequest';
export * from './assignTasksResponse';
export * from './assignTasksResult';
+export * from './attachmentChange';
+export * from './attachmentChangeOneOf';
+export * from './attachmentChangeOneOfFive';
+export * from './attachmentChangeOneOfFiveType';
+export * from './attachmentChangeOneOfFiveValue';
+export * from './attachmentChangeOneOfThree';
+export * from './attachmentChangeOneOfThreeType';
+export * from './attachmentChangeOneOfType';
export * from './attendeeResponseStatus';
export * from './basicDocument';
export * from './basicDocumentBranchedFromId';
@@ -193,6 +201,8 @@ export * from './botOwnerOneOfThree';
export * from './botOwnerOneOfThreeType';
export * from './botOwnerOneOfType';
export * from './botOwnerProperty';
+export * from './botSenderProfile';
+export * from './botSenderProfileAvatarUrl';
export * from './botToken';
export * from './botTokenExpiresAt';
export * from './botTokenLabel';
@@ -346,6 +356,7 @@ export * from './copyDocumentQueryParamsVersionId';
export * from './copyDocumentRequest';
export * from './copyDocumentRequestVersionId';
export * from './copyDocumentResponse';
+export * from './countedReaction';
export * from './createAgentRequest';
export * from './createAgentRequestAvatarUrl';
export * from './createAgentRequestDescription';
@@ -531,6 +542,7 @@ export * from './documentContentUploadedMetadataDocumentVersionId';
export * from './documentFilters';
export * from './documentFiltersImportance';
export * from './documentFiltersIsEmailAttachment';
+export * from './documentId';
export * from './documentInteractionMetadata';
export * from './documentMetadata';
export * from './documentMetadataBranchedFromId';
@@ -648,6 +660,10 @@ export * from './emptyResponse';
export * from './ensureCollabSurfaceRequest';
export * from './ensureCollabSurfaceRequestParentEntityType';
export * from './entityFilters';
+export * from './entityMessageDeleteMessageParams';
+export * from './entityMessageDeleteThreadParams';
+export * from './entityMessageLegacyParams';
+export * from './entityMessageReferencesParams';
export * from './entityPermission';
export * from './entityPermissionOneOf';
export * from './entityPermissionOneOfFive';
@@ -829,6 +845,7 @@ export * from './hashMapOneOfFour';
export * from './hashMapOneOfFourAllOf';
export * from './hashMapOneOfFourAllOfType';
export * from './highlightType';
+export * from './importedAuthor';
export * from './inFlightTurnSummary';
export * from './inFlightTurnSummaryActor';
export * from './inFlightTurnSummaryAnnouncementMessageId';
@@ -866,9 +883,72 @@ export * from './locationResponseV3OneOfThreeType';
export * from './locationResponseV3OneOfType';
export * from './macroUserIdStr';
export * from './mentions';
+export * from './message';
+export * from './messageAttachment';
+export * from './messageAttachmentHeight';
+export * from './messageAttachmentWidth';
+export * from './messageBotProfile';
+export * from './messageChange';
+export * from './messageChangeOneOf';
+export * from './messageChangeOneOfFive';
+export * from './messageChangeOneOfFiveType';
+export * from './messageChangeOneOfNine';
+export * from './messageChangeOneOfNineType';
+export * from './messageChangeOneOfOneone';
+export * from './messageChangeOneOfOneoneThreadId';
+export * from './messageChangeOneOfOneoneType';
+export * from './messageChangeOneOfSeven';
+export * from './messageChangeOneOfSevenType';
+export * from './messageChangeOneOfThree';
+export * from './messageChangeOneOfThreeType';
+export * from './messageChangeOneOfType';
+export * from './messageCursor';
+export * from './messageDeletedAt';
+export * from './messageDirection';
+export * from './messageEditedAt';
+export * from './messageEvent';
+export * from './messageEventNonce';
+export * from './messageImportedAuthor';
+export * from './messageListItem';
+export * from './messageListItemAllOf';
+export * from './messagePage';
+export * from './messagePageNextCursor';
+export * from './messagePagePreviousCursor';
+export * from './messageParent';
+export * from './messageParentOneOf';
+export * from './messageParentOneOfThree';
+export * from './messageParentOneOfThreeType';
+export * from './messageParentOneOfType';
+export * from './messagePatch';
+export * from './messagePatchContent';
+export * from './messagePatchMentions';
+export * from './messagePatchNonce';
+export * from './messageThread';
+export * from './messageThreadId';
+export * from './messageThreadPreview';
+export * from './messageThreadPreviewLatestReplyAt';
+export * from './messageTimelineParams';
+export * from './messageTimelineQuery';
+export * from './messageTimelineQueryActivityAfter';
+export * from './messageTimelineQueryActivityBefore';
+export * from './messageTimelineQueryAnchored';
+export * from './messageTimelineQueryAround';
+export * from './messageTimelineQueryCursor';
+export * from './messageTimelineQueryLimit';
+export * from './messageTriggeredBy';
+export * from './newAttachment';
+export * from './newAttachmentHeight';
+export * from './newAttachmentWidth';
export * from './newChannelAttachment';
export * from './newChannelAttachmentHeight';
export * from './newChannelAttachmentWidth';
+export * from './newThreadAnchor';
+export * from './newThreadAnchorOneOf';
+export * from './newThreadAnchorOneOfFive';
+export * from './newThreadAnchorOneOfFiveType';
+export * from './newThreadAnchorOneOfThree';
+export * from './newThreadAnchorOneOfThreeType';
+export * from './newThreadAnchorOneOfType';
export * from './notificationFilters';
export * from './notificationState';
export * from './pairingDetails';
@@ -890,6 +970,7 @@ export * from './patchChannelRequest';
export * from './patchChannelRequestAutoJoinTeam';
export * from './patchChannelRequestChannelName';
export * from './patchChannelRequestConvertToTeamChannel';
+export * from './patchMessageNotificationPolicy';
export * from './patchMessageRequest';
export * from './patchMessageRequestAttachmentIdsToDelete';
export * from './patchMessageRequestAttachmentsToAdd';
@@ -936,6 +1017,7 @@ export * from './pdfHighlightAnchorCreatedAt';
export * from './pdfHighlightAnchorDeletedAt';
export * from './pdfHighlightAnchorRequest';
export * from './pdfHighlightAnchorRequestUuid';
+export * from './pdfHighlightAnchorRootId';
export * from './pdfHighlightAnchorThreadId';
export * from './pdfHighlightAnchorUpdatedAt';
export * from './pdfHighlightRect';
@@ -943,6 +1025,8 @@ export * from './pdfHighlightRectAnchorRequest';
export * from './pdfPlaceableCommentAnchor';
export * from './pdfPlaceableCommentAnchorRequest';
export * from './pdfPlaceableCommentAnchorRequestUuid';
+export * from './pdfPlaceableCommentAnchorRootId';
+export * from './pdfPlaceableCommentAnchorThreadId';
export * from './pendingClaimResponse';
export * from './pinnedItem';
export * from './pinRequest';
@@ -960,11 +1044,16 @@ export * from './postGroupedSoupAstRequestOneOfFourAllOfMode';
export * from './postItemsSoupAstGroupedParams';
export * from './postItemsSoupAstParams';
export * from './postItemsSoupParams';
+export * from './postMessage';
+export * from './postMessageAnchor';
+export * from './postMessageNonce';
+export * from './postMessageNotificationPolicy';
export * from './postMessageRequest';
export * from './postMessageRequestNonce';
export * from './postMessageRequestThreadId';
export * from './postMessageResponse';
export * from './postMessageResponseNonce';
+export * from './postMessageThreadId';
export * from './postReactionRequest';
export * from './postReactionRequestNonce';
export * from './postSoupAstRequest';
@@ -1028,7 +1117,13 @@ export * from './propertyValueOneOfThree';
export * from './propertyValueOneOfThreeType';
export * from './propertyValueOneOfType';
export * from './reactionAction';
+export * from './reactionInput';
+export * from './reactionInputNonce';
export * from './recentlyDeletedResponseData';
+export * from './referencedThread';
+export * from './referencedThreadChannelName';
+export * from './referencedThreadPage';
+export * from './referencedThreadPageNextCursor';
export * from './reminder';
export * from './reminderCompletedAt';
export * from './reminderEntityId';
@@ -1287,10 +1382,23 @@ export * from './teamOutOfOfficeItemTitle';
export * from './teamOutOfOfficeResponse';
export * from './teamRole';
export * from './thread';
+export * from './threadAnchor';
+export * from './threadAnchorOneOf';
+export * from './threadAnchorOneOfFive';
+export * from './threadAnchorOneOfFiveType';
+export * from './threadAnchorOneOfThree';
+export * from './threadAnchorOneOfThreeType';
+export * from './threadAnchorOneOfType';
export * from './threadCreatedAt';
export * from './threadDeletedAt';
export * from './threadOrigin';
+export * from './threadPatch';
+export * from './threadPatchNonce';
+export * from './threadPatchResolved';
export * from './threadResponse';
+export * from './threadState';
+export * from './threadStateAnchor';
+export * from './threadStateDeletedAt';
export * from './threadUpdatedAt';
export * from './transcriptSegmentRequest';
export * from './transcriptSegmentRequestDiarizedSpeakerId';
@@ -1313,6 +1421,9 @@ export * from './typedSuccessResponseGetDocumentResponseData';
export * from './typedSuccessResponseGetDocumentResponseDataDataOneOf';
export * from './typedSuccessResponseGetDocumentResponseDataDataOneOfViewLocation';
export * from './typingAction';
+export * from './typingInput';
+export * from './typingInputNonce';
+export * from './typingInputThreadId';
export * from './unthreadedPdfUuidRequest';
export * from './unthreadedPdfUuidRequestOneOf';
export * from './unthreadedPdfUuidRequestOneOfAttachmentType';
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/message.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/message.ts
new file mode 100644
index 0000000000..7ec6e635c6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/message.ts
@@ -0,0 +1,51 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { CountedReaction } from './countedReaction';
+import type { MessageAttachment } from './messageAttachment';
+import type { MessageBotProfile } from './messageBotProfile';
+import type { MessageDeletedAt } from './messageDeletedAt';
+import type { MessageEditedAt } from './messageEditedAt';
+import type { MessageImportedAuthor } from './messageImportedAuthor';
+import type { MessageParent } from './messageParent';
+import type { MessageThreadId } from './messageThreadId';
+import type { MessageTriggeredBy } from './messageTriggeredBy';
+import type { SimpleMention } from './simpleMention';
+
+/**
+ * Shared message representation for channel timelines and entity discussions.
+ */
+export interface Message {
+ /** Attached entities. */
+ attachments: MessageAttachment[];
+ bot_profile?: MessageBotProfile;
+ /** Macro Markdown body. */
+ content: string;
+ /** Creation time. */
+ created_at: string;
+ /** Message tombstone, independent of thread deletion. */
+ deleted_at?: MessageDeletedAt;
+ /** Last content edit, if any. */
+ edited_at?: MessageEditedAt;
+ /** Message UUID. */
+ id: string;
+ imported_author?: MessageImportedAuthor;
+ /** Tracked mentions, retained when a caller changes attachments only. */
+ mentions: SimpleMention[];
+ /** Entity that owns this conversation. */
+ parent: MessageParent;
+ /** Aggregated reactions. */
+ reactions: CountedReaction[];
+ /** Authenticated actor or owner of imported content. */
+ sender_id: string;
+ /** Root message UUID for replies; absent on roots. */
+ thread_id?: MessageThreadId;
+ /** User who triggered a bot-authored message. */
+ triggered_by?: MessageTriggeredBy;
+ /** Last persisted update. */
+ updated_at: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachment.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachment.ts
new file mode 100644
index 0000000000..8ed5fe3c6a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachment.ts
@@ -0,0 +1,26 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageAttachmentHeight } from './messageAttachmentHeight';
+import type { MessageAttachmentWidth } from './messageAttachmentWidth';
+
+/**
+ * An entity attached to a message.
+ */
+export interface MessageAttachment {
+ /** When the attachment was added. */
+ created_at: string;
+ /** Attached entity identifier. */
+ entity_id: string;
+ /** Attached entity type. */
+ entity_type: string;
+ /** Optional media height. */
+ height?: MessageAttachmentHeight;
+ /** Attachment UUID. */
+ id: string;
+ /** Optional media width. */
+ width?: MessageAttachmentWidth;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentHeight.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentHeight.ts
new file mode 100644
index 0000000000..b89509b213
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentHeight.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Optional media height.
+ */
+export type MessageAttachmentHeight = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentWidth.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentWidth.ts
new file mode 100644
index 0000000000..2aa2c455ab
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageAttachmentWidth.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Optional media width.
+ */
+export type MessageAttachmentWidth = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageBotProfile.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageBotProfile.ts
new file mode 100644
index 0000000000..4314a0be51
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageBotProfile.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { BotSenderProfile } from './botSenderProfile';
+
+export type MessageBotProfile = null | BotSenderProfile;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChange.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChange.ts
new file mode 100644
index 0000000000..d9ad641bee
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChange.ts
@@ -0,0 +1,23 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageChangeOneOf } from './messageChangeOneOf';
+import type { MessageChangeOneOfFive } from './messageChangeOneOfFive';
+import type { MessageChangeOneOfNine } from './messageChangeOneOfNine';
+import type { MessageChangeOneOfOneone } from './messageChangeOneOfOneone';
+import type { MessageChangeOneOfSeven } from './messageChangeOneOfSeven';
+import type { MessageChangeOneOfThree } from './messageChangeOneOfThree';
+
+/**
+ * Kind of message change; notification policy only runs for posted messages.
+ */
+export type MessageChange =
+ | MessageChangeOneOf
+ | MessageChangeOneOfThree
+ | MessageChangeOneOfFive
+ | MessageChangeOneOfSeven
+ | MessageChangeOneOfNine
+ | MessageChangeOneOfOneone;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOf.ts
new file mode 100644
index 0000000000..47d4e7109f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOf.ts
@@ -0,0 +1,24 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { Message } from './message';
+import type { MessageChangeOneOfType } from './messageChangeOneOfType';
+import type { PostMessageNotificationPolicy } from './postMessageNotificationPolicy';
+import type { SimpleMention } from './simpleMention';
+
+/**
+ * A message was posted.
+ */
+export type MessageChangeOneOf = {
+ /** Mentions included in this post. */
+ mentions: SimpleMention[];
+ /** Persisted message. */
+ message: Message;
+ /** Trusted notification policy carried with the committed change. */
+ notification_policy: PostMessageNotificationPolicy;
+ type: MessageChangeOneOfType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFive.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFive.ts
new file mode 100644
index 0000000000..2859e04c56
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFive.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { Message } from './message';
+import type { MessageChangeOneOfFiveType } from './messageChangeOneOfFiveType';
+
+/**
+ * One message was tombstoned; its thread may remain live.
+ */
+export type MessageChangeOneOfFive = {
+ /** Persisted tombstone. */
+ message: Message;
+ type: MessageChangeOneOfFiveType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFiveType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFiveType.ts
new file mode 100644
index 0000000000..e384497361
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfFiveType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfFiveType =
+ (typeof MessageChangeOneOfFiveType)[keyof typeof MessageChangeOneOfFiveType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfFiveType = {
+ message_deleted: 'message_deleted',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNine.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNine.ts
new file mode 100644
index 0000000000..d1d61d24a2
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNine.ts
@@ -0,0 +1,18 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { MessageChangeOneOfNineType } from './messageChangeOneOfNineType';
+import type { ThreadState } from './threadState';
+
+/**
+ * Thread resolution, placement, or deletion changed.
+ */
+export type MessageChangeOneOfNine = {
+ /** Persisted thread state. */
+ state: ThreadState;
+ type: MessageChangeOneOfNineType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNineType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNineType.ts
new file mode 100644
index 0000000000..5bd47c1e42
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfNineType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfNineType =
+ (typeof MessageChangeOneOfNineType)[keyof typeof MessageChangeOneOfNineType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfNineType = {
+ thread_updated: 'thread_updated',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneone.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneone.ts
new file mode 100644
index 0000000000..47cb9de631
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneone.ts
@@ -0,0 +1,19 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageChangeOneOfOneoneThreadId } from './messageChangeOneOfOneoneThreadId';
+import type { MessageChangeOneOfOneoneType } from './messageChangeOneOfOneoneType';
+
+/**
+ * Transient typing indication.
+ */
+export type MessageChangeOneOfOneone = {
+ /** Whether the user is currently typing. */
+ active: boolean;
+ /** Root being replied to, or no root for the parent composer. */
+ thread_id?: MessageChangeOneOfOneoneThreadId;
+ type: MessageChangeOneOfOneoneType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneThreadId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneThreadId.ts
new file mode 100644
index 0000000000..0d54f5846f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneThreadId.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Root being replied to, or no root for the parent composer.
+ */
+export type MessageChangeOneOfOneoneThreadId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneType.ts
new file mode 100644
index 0000000000..d5b4c8aa68
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfOneoneType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfOneoneType =
+ (typeof MessageChangeOneOfOneoneType)[keyof typeof MessageChangeOneOfOneoneType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfOneoneType = {
+ typing: 'typing',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSeven.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSeven.ts
new file mode 100644
index 0000000000..55a8d817ae
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSeven.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { Message } from './message';
+import type { MessageChangeOneOfSevenType } from './messageChangeOneOfSevenType';
+
+/**
+ * The authenticated actor added or removed a reaction.
+ */
+export type MessageChangeOneOfSeven = {
+ /** Persisted message. */
+ message: Message;
+ type: MessageChangeOneOfSevenType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSevenType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSevenType.ts
new file mode 100644
index 0000000000..54c7853607
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfSevenType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfSevenType =
+ (typeof MessageChangeOneOfSevenType)[keyof typeof MessageChangeOneOfSevenType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfSevenType = {
+ reaction_changed: 'reaction_changed',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThree.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThree.ts
new file mode 100644
index 0000000000..87183019b6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThree.ts
@@ -0,0 +1,27 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { Message } from './message';
+import type { MessageAttachment } from './messageAttachment';
+import type { MessageChangeOneOfThreeType } from './messageChangeOneOfThreeType';
+import type { PatchMessageNotificationPolicy } from './patchMessageNotificationPolicy';
+import type { SimpleMention } from './simpleMention';
+
+/**
+ * Message content and references were edited.
+ */
+export type MessageChangeOneOfThree = {
+ /** Complete replacement mention set. */
+ mentions: SimpleMention[];
+ /** Persisted replacement message. */
+ message: Message;
+ /** Trusted notification policy for the edited content. */
+ notification_policy: PatchMessageNotificationPolicy;
+ /** Attachment identities before the edit, for channel change delivery. */
+ previous_attachments: MessageAttachment[];
+ type: MessageChangeOneOfThreeType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThreeType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThreeType.ts
new file mode 100644
index 0000000000..6ec6b73415
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfThreeType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfThreeType =
+ (typeof MessageChangeOneOfThreeType)[keyof typeof MessageChangeOneOfThreeType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfThreeType = {
+ edited: 'edited',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfType.ts
new file mode 100644
index 0000000000..d835cba2e8
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageChangeOneOfType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageChangeOneOfType =
+ (typeof MessageChangeOneOfType)[keyof typeof MessageChangeOneOfType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageChangeOneOfType = {
+ posted: 'posted',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageCursor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageCursor.ts
new file mode 100644
index 0000000000..3eb70354c7
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageCursor.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Cursor for a chronological parent timeline.
+ */
+export interface MessageCursor {
+ /** Last root creation time. */
+ created_at: string;
+ /** Last root UUID, used to break timestamp ties. */
+ id: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDeletedAt.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDeletedAt.ts
new file mode 100644
index 0000000000..3fbbf4d009
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDeletedAt.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Message tombstone, independent of thread deletion.
+ */
+export type MessageDeletedAt = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDirection.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDirection.ts
new file mode 100644
index 0000000000..285f3de73e
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageDirection.ts
@@ -0,0 +1,18 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Direction through a parent timeline, retaining channel cursor semantics.
+ */
+export type MessageDirection =
+ (typeof MessageDirection)[keyof typeof MessageDirection];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageDirection = {
+ older: 'older',
+ newer: 'newer',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEditedAt.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEditedAt.ts
new file mode 100644
index 0000000000..c3d181b9ff
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEditedAt.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Last content edit, if any.
+ */
+export type MessageEditedAt = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEvent.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEvent.ts
new file mode 100644
index 0000000000..fccd494994
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEvent.ts
@@ -0,0 +1,23 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageChange } from './messageChange';
+import type { MessageEventNonce } from './messageEventNonce';
+import type { MessageParent } from './messageParent';
+
+/**
+ * A committed message or thread change sent to delivery adapters.
+ */
+export interface MessageEvent {
+ /** User or bot who initiated the operation. */
+ actor: string;
+ /** Persisted change. */
+ change: MessageChange;
+ /** Mutation nonce for optimistic reconciliation. */
+ nonce?: MessageEventNonce;
+ /** Changed parent, used for subscriptions and cache invalidation. */
+ parent: MessageParent;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEventNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEventNonce.ts
new file mode 100644
index 0000000000..4af1ff4bb4
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageEventNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Mutation nonce for optimistic reconciliation.
+ */
+export type MessageEventNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageImportedAuthor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageImportedAuthor.ts
new file mode 100644
index 0000000000..d23eb2966e
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageImportedAuthor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ImportedAuthor } from './importedAuthor';
+
+export type MessageImportedAuthor = null | ImportedAuthor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItem.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItem.ts
new file mode 100644
index 0000000000..cbcda7959d
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItem.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { Message } from './message';
+import type { MessageListItemAllOf } from './messageListItemAllOf';
+
+/**
+ * Root message with its small thread preview, independent of its parent type.
+ */
+export type MessageListItem = Message & MessageListItemAllOf;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItemAllOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItemAllOf.ts
new file mode 100644
index 0000000000..ecd1a37de6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageListItemAllOf.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { MessageThreadPreview } from './messageThreadPreview';
+import type { ThreadState } from './threadState';
+
+export type MessageListItemAllOf = {
+ /** Thread metadata, independent of the first message's lifecycle. */
+ state: ThreadState;
+ /** Bounded reply preview; full replies load on expansion. */
+ thread: MessageThreadPreview;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePage.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePage.ts
new file mode 100644
index 0000000000..f953eae977
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePage.ts
@@ -0,0 +1,19 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageListItem } from './messageListItem';
+import type { MessagePageNextCursor } from './messagePageNextCursor';
+import type { MessagePagePreviousCursor } from './messagePagePreviousCursor';
+
+/**
+ * Bidirectional, bounded timeline page, ordered newest root first.
+ */
+export interface MessagePage {
+ /** Root messages with bounded previews. */
+ items: MessageListItem[];
+ next_cursor?: MessagePageNextCursor;
+ previous_cursor?: MessagePagePreviousCursor;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePageNextCursor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePageNextCursor.ts
new file mode 100644
index 0000000000..ce24bc7a4a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePageNextCursor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageCursor } from './messageCursor';
+
+export type MessagePageNextCursor = null | MessageCursor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePagePreviousCursor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePagePreviousCursor.ts
new file mode 100644
index 0000000000..77a9150363
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePagePreviousCursor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageCursor } from './messageCursor';
+
+export type MessagePagePreviousCursor = null | MessageCursor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParent.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParent.ts
new file mode 100644
index 0000000000..25e1ce5ea6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParent.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageParentOneOf } from './messageParentOneOf';
+import type { MessageParentOneOfThree } from './messageParentOneOfThree';
+
+/**
+ * The entity whose permissions and lifecycle govern a message.
+ */
+export type MessageParent = MessageParentOneOf | MessageParentOneOfThree;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOf.ts
new file mode 100644
index 0000000000..ae1dee5aca
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOf.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageParentOneOfType } from './messageParentOneOfType';
+
+/**
+ * A channel, including direct messages.
+ */
+export type MessageParentOneOf = {
+ /** A channel, including direct messages. */
+ id: string;
+ type: MessageParentOneOfType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThree.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThree.ts
new file mode 100644
index 0000000000..72900846d3
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThree.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { DocumentId } from './documentId';
+import type { MessageParentOneOfThreeType } from './messageParentOneOfThreeType';
+
+/**
+ * A document, including tasks and PDFs.
+ */
+export type MessageParentOneOfThree = {
+ /** A document, including tasks and PDFs. */
+ id: DocumentId;
+ type: MessageParentOneOfThreeType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThreeType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThreeType.ts
new file mode 100644
index 0000000000..61325b459a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfThreeType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageParentOneOfThreeType =
+ (typeof MessageParentOneOfThreeType)[keyof typeof MessageParentOneOfThreeType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageParentOneOfThreeType = {
+ document: 'document',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfType.ts
new file mode 100644
index 0000000000..cf5891dbfc
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageParentOneOfType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageParentOneOfType =
+ (typeof MessageParentOneOfType)[keyof typeof MessageParentOneOfType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const MessageParentOneOfType = {
+ channel: 'channel',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatch.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatch.ts
new file mode 100644
index 0000000000..228ca23aae
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatch.ts
@@ -0,0 +1,24 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { AttachmentChange } from './attachmentChange';
+import type { MessagePatchContent } from './messagePatchContent';
+import type { MessagePatchMentions } from './messagePatchMentions';
+import type { MessagePatchNonce } from './messagePatchNonce';
+
+/**
+ * Partial updates share the same authorship, reference, and delivery rules as edits.
+ */
+export interface MessagePatch {
+ /** Attachment change, without adapter-side message reads. */
+ attachments?: AttachmentChange;
+ /** Replacement body; absent preserves current content. */
+ content?: MessagePatchContent;
+ /** Replacement authored mentions; absent preserves current mentions. */
+ mentions?: MessagePatchMentions;
+ /** Client mutation nonce. */
+ nonce?: MessagePatchNonce;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchContent.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchContent.ts
new file mode 100644
index 0000000000..23ee26fd3a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchContent.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Replacement body; absent preserves current content.
+ */
+export type MessagePatchContent = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchMentions.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchMentions.ts
new file mode 100644
index 0000000000..2aeba4496e
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchMentions.ts
@@ -0,0 +1,12 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { SimpleMention } from './simpleMention';
+
+/**
+ * Replacement authored mentions; absent preserves current mentions.
+ */
+export type MessagePatchMentions = SimpleMention[] | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchNonce.ts
new file mode 100644
index 0000000000..b7359f5a49
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messagePatchNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Client mutation nonce.
+ */
+export type MessagePatchNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThread.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThread.ts
new file mode 100644
index 0000000000..83b3e0b6df
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThread.ts
@@ -0,0 +1,20 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { Message } from './message';
+import type { ThreadState } from './threadState';
+
+/**
+ * A discussion with its root and ordered replies, including root tombstones.
+ */
+export interface MessageThread {
+ /** Replies in display order. */
+ replies: Message[];
+ /** Root message, which may be a tombstone. */
+ root: Message;
+ /** Shared thread lifecycle and anchor state. */
+ state: ThreadState;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadId.ts
new file mode 100644
index 0000000000..15d8eb6eb5
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadId.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Root message UUID for replies; absent on roots.
+ */
+export type MessageThreadId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreview.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreview.ts
new file mode 100644
index 0000000000..c0ffceae47
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreview.ts
@@ -0,0 +1,21 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { Message } from './message';
+import type { MessageThreadPreviewLatestReplyAt } from './messageThreadPreviewLatestReplyAt';
+
+/**
+ * Thread counts and its oldest three live replies.
+ */
+export interface MessageThreadPreview {
+ /** Creation time of the latest live reply. */
+ latest_reply_at?: MessageThreadPreviewLatestReplyAt;
+ /** Bounded preview using the canonical message shape. */
+ preview: Message[];
+ /** Total live reply count. */
+ reply_count: number;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreviewLatestReplyAt.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreviewLatestReplyAt.ts
new file mode 100644
index 0000000000..883397bdd0
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageThreadPreviewLatestReplyAt.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Creation time of the latest live reply.
+ */
+export type MessageThreadPreviewLatestReplyAt = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineParams.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineParams.ts
new file mode 100644
index 0000000000..62b184ec03
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineParams.ts
@@ -0,0 +1,13 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type MessageTimelineParams = {
+ /**
+ * Serialized MessageTimelineQuery; absent selects the latest roots.
+ */
+ selection?: string | null;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQuery.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQuery.ts
new file mode 100644
index 0000000000..612712e2c4
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQuery.ts
@@ -0,0 +1,40 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { MessageDirection } from './messageDirection';
+import type { MessageTimelineQueryActivityAfter } from './messageTimelineQueryActivityAfter';
+import type { MessageTimelineQueryActivityBefore } from './messageTimelineQueryActivityBefore';
+import type { MessageTimelineQueryAnchored } from './messageTimelineQueryAnchored';
+import type { MessageTimelineQueryAround } from './messageTimelineQueryAround';
+import type { MessageTimelineQueryCursor } from './messageTimelineQueryCursor';
+import type { MessageTimelineQueryLimit } from './messageTimelineQueryLimit';
+
+/**
+ * Root selection shared by channel timelines and document discussions.
+ */
+export interface MessageTimelineQuery {
+ /** Include roots or live replies created at or after this time. */
+ activity_after?: MessageTimelineQueryActivityAfter;
+ /** Include roots or live replies created before this time. */
+ activity_before?: MessageTimelineQueryActivityBefore;
+ /** Select anchored or unanchored roots; absent includes both. */
+ anchored?: MessageTimelineQueryAnchored;
+ /** Center on the root containing this message. */
+ around?: MessageTimelineQueryAround;
+ cursor?: MessageTimelineQueryCursor;
+ /** Which side of the cursor to fetch. */
+ direction?: MessageDirection;
+ /** Restrict roots to this set, for selected source threads. */
+ ids?: string[];
+ /** Include whole-thread tombstones when reconciling persisted document marks. */
+ include_deleted_threads?: boolean;
+ /**
+ * Page size, clamped by the application to 1..=100.
+ * @minimum 0
+ */
+ limit?: MessageTimelineQueryLimit;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityAfter.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityAfter.ts
new file mode 100644
index 0000000000..601ab4a8a3
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityAfter.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Include roots or live replies created at or after this time.
+ */
+export type MessageTimelineQueryActivityAfter = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityBefore.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityBefore.ts
new file mode 100644
index 0000000000..de400c4565
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryActivityBefore.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Include roots or live replies created before this time.
+ */
+export type MessageTimelineQueryActivityBefore = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAnchored.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAnchored.ts
new file mode 100644
index 0000000000..b828785520
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAnchored.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Select anchored or unanchored roots; absent includes both.
+ */
+export type MessageTimelineQueryAnchored = boolean | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAround.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAround.ts
new file mode 100644
index 0000000000..89547f86fb
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryAround.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Center on the root containing this message.
+ */
+export type MessageTimelineQueryAround = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryCursor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryCursor.ts
new file mode 100644
index 0000000000..064d07f63d
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryCursor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageCursor } from './messageCursor';
+
+export type MessageTimelineQueryCursor = null | MessageCursor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryLimit.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryLimit.ts
new file mode 100644
index 0000000000..d75a1b1650
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTimelineQueryLimit.ts
@@ -0,0 +1,12 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Page size, clamped by the application to 1..=100.
+ * @minimum 0
+ */
+export type MessageTimelineQueryLimit = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTriggeredBy.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTriggeredBy.ts
new file mode 100644
index 0000000000..fe3deee614
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/messageTriggeredBy.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * User who triggered a bot-authored message.
+ */
+export type MessageTriggeredBy = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachment.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachment.ts
new file mode 100644
index 0000000000..c2dfd649a7
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachment.ts
@@ -0,0 +1,22 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewAttachmentHeight } from './newAttachmentHeight';
+import type { NewAttachmentWidth } from './newAttachmentWidth';
+
+/**
+ * An attachment to add to a message.
+ */
+export interface NewAttachment {
+ /** Attached entity identifier. */
+ entity_id: string;
+ /** Attached entity type. */
+ entity_type: string;
+ /** Optional media height. */
+ height?: NewAttachmentHeight;
+ /** Optional media width. */
+ width?: NewAttachmentWidth;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentHeight.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentHeight.ts
new file mode 100644
index 0000000000..fa5f45b79a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentHeight.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Optional media height.
+ */
+export type NewAttachmentHeight = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentWidth.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentWidth.ts
new file mode 100644
index 0000000000..de9ea07edf
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newAttachmentWidth.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Optional media width.
+ */
+export type NewAttachmentWidth = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchor.ts
new file mode 100644
index 0000000000..1aa45b7df2
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchor.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewThreadAnchorOneOf } from './newThreadAnchorOneOf';
+import type { NewThreadAnchorOneOfFive } from './newThreadAnchorOneOfFive';
+import type { NewThreadAnchorOneOfThree } from './newThreadAnchorOneOfThree';
+
+/**
+ * Location supplied when creating a document discussion.
+ */
+export type NewThreadAnchor =
+ | NewThreadAnchorOneOf
+ | NewThreadAnchorOneOfThree
+ | NewThreadAnchorOneOfFive;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOf.ts
new file mode 100644
index 0000000000..090c93bc9c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOf.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewThreadAnchorOneOfType } from './newThreadAnchorOneOfType';
+
+/**
+ * Attach a discussion to a stable Markdown mark.
+ */
+export type NewThreadAnchorOneOf = {
+ /** Serialized mark identifier. */
+ mark_id: string;
+ type: NewThreadAnchorOneOfType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFive.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFive.ts
new file mode 100644
index 0000000000..7c50fab875
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFive.ts
@@ -0,0 +1,26 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewThreadAnchorOneOfFiveType } from './newThreadAnchorOneOfFiveType';
+
+/**
+ * Atomically create a placeable annotation with the root message.
+ */
+export type NewThreadAnchorOneOfFive = {
+ /** Client-generated annotation identifier used by optimistic rendering. */
+ anchor_id: string;
+ /** Height as a fraction of the page height. */
+ height_pct: number;
+ /** PDF page number. */
+ page: number;
+ type: NewThreadAnchorOneOfFiveType;
+ /** Width as a fraction of the page width. */
+ width_pct: number;
+ /** Horizontal position as a fraction of the page width. */
+ x_pct: number;
+ /** Vertical position as a fraction of the page height. */
+ y_pct: number;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFiveType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFiveType.ts
new file mode 100644
index 0000000000..c0c4d612f1
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfFiveType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type NewThreadAnchorOneOfFiveType =
+ (typeof NewThreadAnchorOneOfFiveType)[keyof typeof NewThreadAnchorOneOfFiveType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const NewThreadAnchorOneOfFiveType = {
+ pdf_placeable: 'pdf_placeable',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThree.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThree.ts
new file mode 100644
index 0000000000..b626f25972
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThree.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewThreadAnchorOneOfThreeType } from './newThreadAnchorOneOfThreeType';
+
+/**
+ * Attach an independently existing highlight on this document.
+ */
+export type NewThreadAnchorOneOfThree = {
+ /** Highlight annotation identifier. */
+ anchor_id: string;
+ type: NewThreadAnchorOneOfThreeType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThreeType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThreeType.ts
new file mode 100644
index 0000000000..eb8e784ca3
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfThreeType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type NewThreadAnchorOneOfThreeType =
+ (typeof NewThreadAnchorOneOfThreeType)[keyof typeof NewThreadAnchorOneOfThreeType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const NewThreadAnchorOneOfThreeType = {
+ pdf_highlight: 'pdf_highlight',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfType.ts
new file mode 100644
index 0000000000..acba2d4d1f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/newThreadAnchorOneOfType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type NewThreadAnchorOneOfType =
+ (typeof NewThreadAnchorOneOfType)[keyof typeof NewThreadAnchorOneOfType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const NewThreadAnchorOneOfType = {
+ markdown: 'markdown',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/patchMessageNotificationPolicy.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/patchMessageNotificationPolicy.ts
new file mode 100644
index 0000000000..765c221e43
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/patchMessageNotificationPolicy.ts
@@ -0,0 +1,18 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Internal notification behavior for a patched channel message.
+ */
+export type PatchMessageNotificationPolicy =
+ (typeof PatchMessageNotificationPolicy)[keyof typeof PatchMessageNotificationPolicy];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const PatchMessageNotificationPolicy = {
+ Default: 'Default',
+ NotifyAsPostedMessage: 'NotifyAsPostedMessage',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchor.ts
index 10843381bd..7789ba0943 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchor.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchor.ts
@@ -8,6 +8,7 @@
import type { HighlightType } from './highlightType';
import type { PdfHighlightAnchorCreatedAt } from './pdfHighlightAnchorCreatedAt';
import type { PdfHighlightAnchorDeletedAt } from './pdfHighlightAnchorDeletedAt';
+import type { PdfHighlightAnchorRootId } from './pdfHighlightAnchorRootId';
import type { PdfHighlightAnchorThreadId } from './pdfHighlightAnchorThreadId';
import type { PdfHighlightAnchorUpdatedAt } from './pdfHighlightAnchorUpdatedAt';
import type { PdfHighlightRect } from './pdfHighlightRect';
@@ -26,6 +27,7 @@ export interface PdfHighlightAnchor {
pageViewportHeight: number;
pageViewportWidth: number;
red: number;
+ rootId?: PdfHighlightAnchorRootId;
text: string;
threadId?: PdfHighlightAnchorThreadId;
updatedAt?: PdfHighlightAnchorUpdatedAt;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchorRootId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchorRootId.ts
new file mode 100644
index 0000000000..1c44f924a7
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfHighlightAnchorRootId.ts
@@ -0,0 +1,8 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type PdfHighlightAnchorRootId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchor.ts
index ec085b753e..33bdccc94f 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchor.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchor.ts
@@ -4,6 +4,8 @@
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
+import type { PdfPlaceableCommentAnchorRootId } from './pdfPlaceableCommentAnchorRootId';
+import type { PdfPlaceableCommentAnchorThreadId } from './pdfPlaceableCommentAnchorThreadId';
export interface PdfPlaceableCommentAnchor {
allowableEdits?: unknown;
@@ -13,9 +15,10 @@ export interface PdfPlaceableCommentAnchor {
originalPage: number;
owner: string;
page: number;
+ rootId?: PdfPlaceableCommentAnchorRootId;
rotation: number;
shouldLockOnSave: boolean;
- threadId: number;
+ threadId?: PdfPlaceableCommentAnchorThreadId;
uuid: string;
wasDeleted: boolean;
wasEdited: boolean;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorRootId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorRootId.ts
new file mode 100644
index 0000000000..53ef1c3b1f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorRootId.ts
@@ -0,0 +1,8 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type PdfPlaceableCommentAnchorRootId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorThreadId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorThreadId.ts
new file mode 100644
index 0000000000..fc82d808ac
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/pdfPlaceableCommentAnchorThreadId.ts
@@ -0,0 +1,8 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type PdfPlaceableCommentAnchorThreadId = number | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessage.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessage.ts
new file mode 100644
index 0000000000..8b663b1f86
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessage.ts
@@ -0,0 +1,29 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { NewAttachment } from './newAttachment';
+import type { PostMessageAnchor } from './postMessageAnchor';
+import type { PostMessageNonce } from './postMessageNonce';
+import type { PostMessageThreadId } from './postMessageThreadId';
+import type { SimpleMention } from './simpleMention';
+
+/**
+ * Create a root or reply. Thread state may only be supplied on a root.
+ */
+export interface PostMessage {
+ anchor?: PostMessageAnchor;
+ /** Initial attachments. */
+ attachments?: NewAttachment[];
+ /** Macro Markdown body. */
+ content: string;
+ /** Mentions tracked by the editor. */
+ mentions?: SimpleMention[];
+ /** Client nonce for optimistic reconciliation. */
+ nonce?: PostMessageNonce;
+ /** Root to reply to, if this is a reply. */
+ thread_id?: PostMessageThreadId;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageAnchor.ts
new file mode 100644
index 0000000000..220c6baff4
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageAnchor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { NewThreadAnchor } from './newThreadAnchor';
+
+export type PostMessageAnchor = null | NewThreadAnchor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNonce.ts
new file mode 100644
index 0000000000..7db3356187
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Client nonce for optimistic reconciliation.
+ */
+export type PostMessageNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNotificationPolicy.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNotificationPolicy.ts
new file mode 100644
index 0000000000..68c24cebec
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageNotificationPolicy.ts
@@ -0,0 +1,19 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Internal notification behavior for a posted channel message.
+ */
+export type PostMessageNotificationPolicy =
+ (typeof PostMessageNotificationPolicy)[keyof typeof PostMessageNotificationPolicy];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const PostMessageNotificationPolicy = {
+ Default: 'Default',
+ MentionsOnly: 'MentionsOnly',
+ Silent: 'Silent',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageThreadId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageThreadId.ts
new file mode 100644
index 0000000000..15c1c6b281
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/postMessageThreadId.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Root to reply to, if this is a reply.
+ */
+export type PostMessageThreadId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInput.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInput.ts
new file mode 100644
index 0000000000..2b2d49c0ae
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInput.ts
@@ -0,0 +1,19 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ReactionInputNonce } from './reactionInputNonce';
+
+/**
+ * Reaction mutation for the authenticated user.
+ */
+export interface ReactionInput {
+ /** Add when true, remove when false. */
+ add: boolean;
+ /** Emoji. */
+ emoji: string;
+ /** Client nonce. */
+ nonce?: ReactionInputNonce;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInputNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInputNonce.ts
new file mode 100644
index 0000000000..2fe8436a42
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/reactionInputNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Client nonce.
+ */
+export type ReactionInputNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThread.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThread.ts
new file mode 100644
index 0000000000..647a8b647d
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThread.ts
@@ -0,0 +1,23 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { MessageParent } from './messageParent';
+import type { ReferencedThreadChannelName } from './referencedThreadChannelName';
+
+/**
+ * A source channel thread that mentions the requested document.
+ */
+export interface ReferencedThread {
+ /** Whether this viewer currently has permission to reply in the source channel. */
+ can_reply: boolean;
+ /** Source channel's current display name, returned only after access checks. */
+ channel_name?: ReferencedThreadChannelName;
+ /** Source parent used by the common message reader and mutations. */
+ parent: MessageParent;
+ /** Source root identity; discovery does not copy its message content. */
+ root_id: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadChannelName.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadChannelName.ts
new file mode 100644
index 0000000000..445db1eef3
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadChannelName.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Source channel's current display name, returned only after access checks.
+ */
+export type ReferencedThreadChannelName = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPage.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPage.ts
new file mode 100644
index 0000000000..e7be3ece1a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPage.ts
@@ -0,0 +1,18 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+import type { ReferencedThread } from './referencedThread';
+import type { ReferencedThreadPageNextCursor } from './referencedThreadPageNextCursor';
+
+/**
+ * Authorized source threads, deduplicated by root.
+ */
+export interface ReferencedThreadPage {
+ next_cursor?: ReferencedThreadPageNextCursor;
+ /** Accessible channel discussions mentioning the document. */
+ threads: ReferencedThread[];
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPageNextCursor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPageNextCursor.ts
new file mode 100644
index 0000000000..5c57134532
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/referencedThreadPageNextCursor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { MessageCursor } from './messageCursor';
+
+export type ReferencedThreadPageNextCursor = null | MessageCursor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/simpleMention.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/simpleMention.ts
index 1693d2588f..212f5036b5 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/simpleMention.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/simpleMention.ts
@@ -6,10 +6,10 @@
*/
/**
- * Simple entity mention attached to a message.
+ * A mention tracked in a message body.
*/
export interface SimpleMention {
- /** Mentioned entity id. */
+ /** Mentioned entity identifier. */
entity_id: string;
/** Mentioned entity type. */
entity_type: string;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchor.ts
new file mode 100644
index 0000000000..d24c39cdb6
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchor.ts
@@ -0,0 +1,17 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadAnchorOneOf } from './threadAnchorOneOf';
+import type { ThreadAnchorOneOfFive } from './threadAnchorOneOfFive';
+import type { ThreadAnchorOneOfThree } from './threadAnchorOneOfThree';
+
+/**
+ * A thread's location within its document. Geometry remains annotation-owned.
+ */
+export type ThreadAnchor =
+ | ThreadAnchorOneOf
+ | ThreadAnchorOneOfThree
+ | ThreadAnchorOneOfFive;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOf.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOf.ts
new file mode 100644
index 0000000000..3a3fbba86c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOf.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadAnchorOneOfType } from './threadAnchorOneOfType';
+
+/**
+ * Stable Lexical mark identity, independent of transient node keys.
+ */
+export type ThreadAnchorOneOf = {
+ /** Mark UUID serialized in the document. */
+ mark_id: string;
+ type: ThreadAnchorOneOfType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFive.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFive.ts
new file mode 100644
index 0000000000..64e9d1f266
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFive.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadAnchorOneOfFiveType } from './threadAnchorOneOfFiveType';
+
+/**
+ * A comment-only placeable PDF annotation.
+ */
+export type ThreadAnchorOneOfFive = {
+ /** Placeable annotation UUID. */
+ anchor_id: string;
+ type: ThreadAnchorOneOfFiveType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFiveType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFiveType.ts
new file mode 100644
index 0000000000..a744a7961f
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfFiveType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type ThreadAnchorOneOfFiveType =
+ (typeof ThreadAnchorOneOfFiveType)[keyof typeof ThreadAnchorOneOfFiveType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const ThreadAnchorOneOfFiveType = {
+ pdf_placeable: 'pdf_placeable',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThree.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThree.ts
new file mode 100644
index 0000000000..5f43013954
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThree.ts
@@ -0,0 +1,16 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadAnchorOneOfThreeType } from './threadAnchorOneOfThreeType';
+
+/**
+ * An independently existing PDF highlight.
+ */
+export type ThreadAnchorOneOfThree = {
+ /** Highlight annotation UUID. */
+ anchor_id: string;
+ type: ThreadAnchorOneOfThreeType;
+};
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThreeType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThreeType.ts
new file mode 100644
index 0000000000..8098adf502
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfThreeType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type ThreadAnchorOneOfThreeType =
+ (typeof ThreadAnchorOneOfThreeType)[keyof typeof ThreadAnchorOneOfThreeType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const ThreadAnchorOneOfThreeType = {
+ pdf_highlight: 'pdf_highlight',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfType.ts
new file mode 100644
index 0000000000..dd175e00b7
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadAnchorOneOfType.ts
@@ -0,0 +1,14 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+export type ThreadAnchorOneOfType =
+ (typeof ThreadAnchorOneOfType)[keyof typeof ThreadAnchorOneOfType];
+
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export const ThreadAnchorOneOfType = {
+ markdown: 'markdown',
+} as const;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatch.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatch.ts
new file mode 100644
index 0000000000..e525603b6c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatch.ts
@@ -0,0 +1,20 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadPatchNonce } from './threadPatchNonce';
+import type { ThreadPatchResolved } from './threadPatchResolved';
+
+/**
+ * Partial changes to the lifecycle and placement of a document discussion.
+ */
+export interface ThreadPatch {
+ /** Move a Markdown discussion to the document when its marked text is removed. */
+ detach_anchor?: boolean;
+ /** Client nonce for the shared thread update event. */
+ nonce?: ThreadPatchNonce;
+ /** Resolve or reopen the discussion; absent preserves its state. */
+ resolved?: ThreadPatchResolved;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchNonce.ts
new file mode 100644
index 0000000000..9ccb107a40
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Client nonce for the shared thread update event.
+ */
+export type ThreadPatchNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchResolved.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchResolved.ts
new file mode 100644
index 0000000000..32af08f25c
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadPatchResolved.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Resolve or reopen the discussion; absent preserves its state.
+ */
+export type ThreadPatchResolved = boolean | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadState.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadState.ts
new file mode 100644
index 0000000000..49b503fd06
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadState.ts
@@ -0,0 +1,27 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadStateAnchor } from './threadStateAnchor';
+import type { ThreadStateDeletedAt } from './threadStateDeletedAt';
+
+/**
+ * State belonging to a whole thread, keyed by its root message.
+ */
+export interface ThreadState {
+ anchor?: ThreadStateAnchor;
+ /** Creation time of the discussion. */
+ created_at: string;
+ /** Explicit deletion of the entire thread, distinct from root deletion. */
+ deleted_at?: ThreadStateDeletedAt;
+ /** Whether this discussion has been resolved. */
+ resolved: boolean;
+ /** Root message UUID; there is no separate thread identity. */
+ root_id: string;
+ /** Last state change. */
+ updated_at: string;
+ /** User who owns this discussion, including imported discussions. */
+ user_id: string;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateAnchor.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateAnchor.ts
new file mode 100644
index 0000000000..9f42411513
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateAnchor.ts
@@ -0,0 +1,9 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { ThreadAnchor } from './threadAnchor';
+
+export type ThreadStateAnchor = null | ThreadAnchor;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateDeletedAt.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateDeletedAt.ts
new file mode 100644
index 0000000000..d3a58dec1a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/threadStateDeletedAt.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Explicit deletion of the entire thread, distinct from root deletion.
+ */
+export type ThreadStateDeletedAt = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInput.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInput.ts
new file mode 100644
index 0000000000..4b428d9d8d
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInput.ts
@@ -0,0 +1,20 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+import type { TypingInputNonce } from './typingInputNonce';
+import type { TypingInputThreadId } from './typingInputThreadId';
+
+/**
+ * Transient typing update.
+ */
+export interface TypingInput {
+ /** Whether the caller is typing. */
+ active: boolean;
+ /** Client mutation nonce. */
+ nonce?: TypingInputNonce;
+ /** Root being replied to, absent for the parent composer. */
+ thread_id?: TypingInputThreadId;
+}
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputNonce.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputNonce.ts
new file mode 100644
index 0000000000..058a542988
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputNonce.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Client mutation nonce.
+ */
+export type TypingInputNonce = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputThreadId.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputThreadId.ts
new file mode 100644
index 0000000000..96f7cc810a
--- /dev/null
+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/typingInputThreadId.ts
@@ -0,0 +1,11 @@
+/**
+ * Generated by orval v7.21.0 🍺
+ * Do not edit manually.
+ * document_storage_service
+ * OpenAPI spec version: 0.1.0
+ */
+
+/**
+ * Root being replied to, absent for the parent composer.
+ */
+export type TypingInputThreadId = string | null;
diff --git a/apps/web/src/lib/service-clients/service-storage/generated/zod.ts b/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
index 9bc3c8e1ec..6f54f33f33 100644
--- a/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
+++ b/apps/web/src/lib/service-clients/service-storage/generated/zod.ts
@@ -463,9 +463,10 @@ export const editAnchorResponse = zod
originalPage: zod.number(),
owner: zod.string(),
page: zod.number(),
+ rootId: zod.uuid().nullish(),
rotation: zod.number(),
shouldLockOnSave: zod.boolean(),
- threadId: zod.number(),
+ threadId: zod.number().nullish(),
uuid: zod.uuid(),
wasDeleted: zod.boolean(),
wasEdited: zod.boolean(),
@@ -505,6 +506,7 @@ export const editAnchorResponse = zod
pageViewportHeight: zod.number(),
pageViewportWidth: zod.number(),
red: zod.number(),
+ rootId: zod.uuid().nullish(),
text: zod.string(),
threadId: zod.number().nullish(),
updatedAt: zod.iso.datetime({}).nullish(),
@@ -541,9 +543,10 @@ export const getDocumentAnchorsResponse = zod.object({
originalPage: zod.number(),
owner: zod.string(),
page: zod.number(),
+ rootId: zod.uuid().nullish(),
rotation: zod.number(),
shouldLockOnSave: zod.boolean(),
- threadId: zod.number(),
+ threadId: zod.number().nullish(),
uuid: zod.uuid(),
wasDeleted: zod.boolean(),
wasEdited: zod.boolean(),
@@ -583,6 +586,7 @@ export const getDocumentAnchorsResponse = zod.object({
pageViewportHeight: zod.number(),
pageViewportWidth: zod.number(),
red: zod.number(),
+ rootId: zod.uuid().nullish(),
text: zod.string(),
threadId: zod.number().nullish(),
updatedAt: zod.iso.datetime({}).nullish(),
@@ -648,9 +652,10 @@ export const createAnchorResponse = zod
originalPage: zod.number(),
owner: zod.string(),
page: zod.number(),
+ rootId: zod.uuid().nullish(),
rotation: zod.number(),
shouldLockOnSave: zod.boolean(),
- threadId: zod.number(),
+ threadId: zod.number().nullish(),
uuid: zod.uuid(),
wasDeleted: zod.boolean(),
wasEdited: zod.boolean(),
@@ -690,6 +695,7 @@ export const createAnchorResponse = zod
pageViewportHeight: zod.number(),
pageViewportWidth: zod.number(),
red: zod.number(),
+ rootId: zod.uuid().nullish(),
text: zod.string(),
threadId: zod.number().nullish(),
updatedAt: zod.iso.datetime({}).nullish(),
@@ -987,9 +993,10 @@ export const createCommentResponse = zod
originalPage: zod.number(),
owner: zod.string(),
page: zod.number(),
+ rootId: zod.uuid().nullish(),
rotation: zod.number(),
shouldLockOnSave: zod.boolean(),
- threadId: zod.number(),
+ threadId: zod.number().nullish(),
uuid: zod.uuid(),
wasDeleted: zod.boolean(),
wasEdited: zod.boolean(),
@@ -1029,6 +1036,7 @@ export const createCommentResponse = zod
pageViewportHeight: zod.number(),
pageViewportWidth: zod.number(),
red: zod.number(),
+ rootId: zod.uuid().nullish(),
text: zod.string(),
threadId: zod.number().nullish(),
updatedAt: zod.iso.datetime({}).nullish(),
@@ -3010,10 +3018,10 @@ export const postMessageBody = zod
.array(
zod
.object({
- entity_id: zod.string().describe('Mentioned entity id.'),
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
entity_type: zod.string().describe('Mentioned entity type.'),
})
- .describe('Simple entity mention attached to a message.')
+ .describe('A mention tracked in a message body.')
)
.describe('Message mentions.'),
nonce: zod.string().nullish().describe('Optional optimistic-update nonce.'),
@@ -3078,10 +3086,10 @@ export const patchMessageBody = zod
.array(
zod
.object({
- entity_id: zod.string().describe('Mentioned entity id.'),
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
entity_type: zod.string().describe('Mentioned entity type.'),
})
- .describe('Simple entity mention attached to a message.')
+ .describe('A mention tracked in a message body.')
)
.nullish()
.describe('Optional replacement mentions.'),
@@ -27746,6 +27754,2039 @@ export const postItemsSoupAstGroupedResponse = zod
])
.describe('Response for grouped soup queries.');
+/**
+ * @summary Read a bounded timeline with lazy thread previews.
+ */
+export const messageTimelineParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+});
+
+export const messageTimelineQueryParams = zod.object({
+ selection: zod
+ .string()
+ .nullish()
+ .describe(
+ 'Serialized MessageTimelineQuery; absent selects the latest roots.'
+ ),
+});
+
+export const messageTimelineResponse = zod
+ .object({
+ items: zod
+ .array(
+ zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod
+ .string()
+ .describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod
+ .number()
+ .nullish()
+ .describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod
+ .string()
+ .nullish()
+ .describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe(
+ 'Public bot profile attached to bot-authored messages.'
+ ),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Mentioned entity identifier.'),
+ entity_type: zod
+ .string()
+ .describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod
+ .uuid()
+ .describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe(
+ 'The entity whose permissions and lifecycle govern a message.'
+ ),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod
+ .array(zod.string())
+ .describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ )
+ .and(
+ zod.object({
+ state: zod
+ .object({
+ anchor: zod
+ .union([
+ zod.null(),
+ zod
+ .union([
+ zod
+ .object({
+ mark_id: zod
+ .uuid()
+ .describe(
+ 'Mark UUID serialized in the document.'
+ ),
+ type: zod.enum(['markdown']),
+ })
+ .describe(
+ 'Stable Lexical mark identity, independent of transient node keys.'
+ ),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe('Highlight annotation UUID.'),
+ type: zod.enum(['pdf_highlight']),
+ })
+ .describe(
+ 'An independently existing PDF highlight.'
+ ),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe('Placeable annotation UUID.'),
+ type: zod.enum(['pdf_placeable']),
+ })
+ .describe(
+ 'A comment-only placeable PDF annotation.'
+ ),
+ ])
+ .describe(
+ "A thread's location within its document. Geometry remains annotation-owned."
+ ),
+ ])
+ .optional(),
+ created_at: zod.iso
+ .datetime({})
+ .describe('Creation time of the discussion.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe(
+ 'Explicit deletion of the entire thread, distinct from root deletion.'
+ ),
+ resolved: zod
+ .boolean()
+ .describe('Whether this discussion has been resolved.'),
+ root_id: zod
+ .uuid()
+ .describe(
+ 'Root message UUID; there is no separate thread identity.'
+ ),
+ updated_at: zod.iso
+ .datetime({})
+ .describe('Last state change.'),
+ user_id: zod
+ .string()
+ .describe(
+ 'User who owns this discussion, including imported discussions.'
+ ),
+ })
+ .describe(
+ 'State belonging to a whole thread, keyed by its root message.'
+ ),
+ thread: zod
+ .object({
+ latest_reply_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Creation time of the latest live reply.'),
+ preview: zod
+ .array(
+ zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod
+ .string()
+ .describe('Attached entity identifier.'),
+ entity_type: zod
+ .string()
+ .describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod
+ .number()
+ .nullish()
+ .describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod
+ .string()
+ .nullish()
+ .describe('Bot avatar URL.'),
+ name: zod
+ .string()
+ .describe('Bot display name.'),
+ })
+ .describe(
+ 'Public bot profile attached to bot-authored messages.'
+ ),
+ ])
+ .optional(),
+ content: zod
+ .string()
+ .describe('Macro Markdown body.'),
+ created_at: zod.iso
+ .datetime({})
+ .describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe(
+ 'Message tombstone, independent of thread deletion.'
+ ),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Mentioned entity identifier.'),
+ entity_type: zod
+ .string()
+ .describe('Mentioned entity type.'),
+ })
+ .describe(
+ 'A mention tracked in a message body.'
+ )
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod
+ .uuid()
+ .describe(
+ 'A channel, including direct messages.'
+ ),
+ type: zod.enum(['channel']),
+ })
+ .describe(
+ 'A channel, including direct messages.'
+ ),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe(
+ 'A document, including tasks and PDFs.'
+ ),
+ ])
+ .describe(
+ 'The entity whose permissions and lifecycle govern a message.'
+ ),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod
+ .string()
+ .describe('Emoji being reacted with.'),
+ users: zod
+ .array(zod.string())
+ .describe('User identifiers.'),
+ })
+ .describe(
+ 'Reaction emoji and the users who added it.'
+ )
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe(
+ 'Authenticated actor or owner of imported content.'
+ ),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe(
+ 'Root message UUID for replies; absent on roots.'
+ ),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe(
+ 'User who triggered a bot-authored message.'
+ ),
+ updated_at: zod.iso
+ .datetime({})
+ .describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ )
+ )
+ .describe(
+ 'Bounded preview using the canonical message shape.'
+ ),
+ reply_count: zod.number().describe('Total live reply count.'),
+ })
+ .describe('Thread counts and its oldest three live replies.'),
+ })
+ )
+ .describe(
+ 'Root message with its small thread preview, independent of its parent type.'
+ )
+ )
+ .describe('Root messages with bounded previews.'),
+ next_cursor: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('Last root creation time.'),
+ id: zod
+ .uuid()
+ .describe('Last root UUID, used to break timestamp ties.'),
+ })
+ .describe('Cursor for a chronological parent timeline.'),
+ ])
+ .optional(),
+ previous_cursor: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('Last root creation time.'),
+ id: zod
+ .uuid()
+ .describe('Last root UUID, used to break timestamp ties.'),
+ })
+ .describe('Cursor for a chronological parent timeline.'),
+ ])
+ .optional(),
+ })
+ .describe('Bidirectional, bounded timeline page, ordered newest root first.');
+
+/**
+ * @summary Create a root message or reply.
+ */
+export const entityMessageCreateParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+});
+
+export const entityMessageCreateBody = zod
+ .object({
+ anchor: zod
+ .union([
+ zod.null(),
+ zod
+ .union([
+ zod
+ .object({
+ mark_id: zod.uuid().describe('Serialized mark identifier.'),
+ type: zod.enum(['markdown']),
+ })
+ .describe('Attach a discussion to a stable Markdown mark.'),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe('Highlight annotation identifier.'),
+ type: zod.enum(['pdf_highlight']),
+ })
+ .describe(
+ 'Attach an independently existing highlight on this document.'
+ ),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe(
+ 'Client-generated annotation identifier used by optimistic rendering.'
+ ),
+ height_pct: zod
+ .number()
+ .describe('Height as a fraction of the page height.'),
+ page: zod.number().describe('PDF page number.'),
+ type: zod.enum(['pdf_placeable']),
+ width_pct: zod
+ .number()
+ .describe('Width as a fraction of the page width.'),
+ x_pct: zod
+ .number()
+ .describe(
+ 'Horizontal position as a fraction of the page width.'
+ ),
+ y_pct: zod
+ .number()
+ .describe(
+ 'Vertical position as a fraction of the page height.'
+ ),
+ })
+ .describe(
+ 'Atomically create a placeable annotation with the root message.'
+ ),
+ ])
+ .describe('Location supplied when creating a document discussion.'),
+ ])
+ .optional(),
+ attachments: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An attachment to add to a message.')
+ )
+ .optional()
+ .describe('Initial attachments.'),
+ content: zod.string().describe('Macro Markdown body.'),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .optional()
+ .describe('Mentions tracked by the editor.'),
+ nonce: zod
+ .string()
+ .nullish()
+ .describe('Client nonce for optimistic reconciliation.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root to reply to, if this is a reply.'),
+ })
+ .describe(
+ 'Create a root or reply. Thread state may only be supplied on a root.'
+ );
+
+export const entityMessageCreateResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Resolve a message within its parent.
+ */
+export const entityMessageGetMessageParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageGetMessageResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Tombstone one message while preserving replies.
+ */
+export const entityMessageDeleteMessageParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageDeleteMessageQueryParams = zod.object({
+ nonce: zod.string().nullish().describe('Client nonce.'),
+});
+
+export const entityMessageDeleteMessageResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Edit an owned message.
+ */
+export const entityMessageEditParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageEditBody = zod
+ .object({
+ attachments: zod
+ .union([
+ zod
+ .object({
+ type: zod.enum(['preserve']),
+ })
+ .describe('Keep current attachments.'),
+ zod
+ .object({
+ type: zod.enum(['replace']),
+ value: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ width: zod
+ .number()
+ .nullish()
+ .describe('Optional media width.'),
+ })
+ .describe('An attachment to add to a message.')
+ )
+ .describe('Replace all attachments.'),
+ })
+ .describe('Replace all attachments.'),
+ zod
+ .object({
+ type: zod.enum(['delta']),
+ value: zod
+ .object({
+ add: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Attached entity identifier.'),
+ entity_type: zod
+ .string()
+ .describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ width: zod
+ .number()
+ .nullish()
+ .describe('Optional media width.'),
+ })
+ .describe('An attachment to add to a message.')
+ )
+ .describe('New attachments to append.'),
+ remove: zod
+ .array(zod.uuid())
+ .describe('Existing attachment UUIDs to remove.'),
+ })
+ .describe(
+ 'Remove stored attachment identities and append new references.'
+ ),
+ })
+ .describe(
+ 'Remove stored attachment identities and append new references.'
+ ),
+ ])
+ .optional()
+ .describe(
+ 'Attachment changes interpreted by the common command boundary.'
+ ),
+ content: zod
+ .string()
+ .nullish()
+ .describe('Replacement body; absent preserves current content.'),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .nullish()
+ .describe(
+ 'Replacement authored mentions; absent preserves current mentions.'
+ ),
+ nonce: zod.string().nullish().describe('Client mutation nonce.'),
+ })
+ .describe(
+ 'Partial updates share the same authorship, reference, and delivery rules as edits.'
+ );
+
+export const entityMessageEditResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Change the caller's reaction.
+ */
+export const entityMessageReactParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageReactBody = zod
+ .object({
+ add: zod.boolean().describe('Add when true, remove when false.'),
+ emoji: zod.string().describe('Emoji.'),
+ nonce: zod.string().nullish().describe('Client nonce.'),
+ })
+ .describe('Reaction mutation for the authenticated user.');
+
+export const entityMessageReactResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Resolve an old link under current parent permissions.
+ */
+export const entityMessageLegacyParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ legacy_id: zod.number(),
+});
+
+export const entityMessageLegacyQueryParams = zod.object({
+ thread: zod
+ .boolean()
+ .optional()
+ .describe('Resolve a thread id instead of a comment id.'),
+});
+
+export const entityMessageLegacyResponse = zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod.number().nullish().describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe('Public bot profile attached to bot-authored messages.'),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod.string().describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod.uuid().describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe('The entity whose permissions and lifecycle govern a message.'),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ );
+
+/**
+ * @summary Read source channel threads mentioning this document under both parents' permissions.
+ */
+export const entityMessageReferencesParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+});
+
+export const entityMessageReferencesQueryLimitMin = 0;
+
+export const entityMessageReferencesQueryParams = zod.object({
+ limit: zod
+ .number()
+ .min(entityMessageReferencesQueryLimitMin)
+ .nullish()
+ .describe('Maximum number of roots.'),
+ created_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe("Last root's creation timestamp."),
+ cursor_id: zod.uuid().nullish().describe("Last root's UUID."),
+});
+
+export const entityMessageReferencesResponse = zod
+ .object({
+ next_cursor: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('Last root creation time.'),
+ id: zod
+ .uuid()
+ .describe('Last root UUID, used to break timestamp ties.'),
+ })
+ .describe('Cursor for a chronological parent timeline.'),
+ ])
+ .optional(),
+ threads: zod
+ .array(
+ zod
+ .object({
+ can_reply: zod
+ .boolean()
+ .describe(
+ 'Whether this viewer currently has permission to reply in the source channel.'
+ ),
+ channel_name: zod
+ .string()
+ .nullish()
+ .describe(
+ "Source channel's current display name, returned only after access checks."
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod
+ .uuid()
+ .describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe(
+ 'The entity whose permissions and lifecycle govern a message.'
+ ),
+ root_id: zod
+ .uuid()
+ .describe(
+ 'Source root identity; discovery does not copy its message content.'
+ ),
+ })
+ .describe(
+ 'A source channel thread that mentions the requested document.'
+ )
+ )
+ .describe('Accessible channel discussions mentioning the document.'),
+ })
+ .describe('Authorized source threads, deduplicated by root.');
+
+/**
+ * @summary Open a specific discussion from a link or annotation.
+ */
+export const entityMessageGetThreadParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageGetThreadResponse = zod
+ .object({
+ replies: zod
+ .array(
+ zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod
+ .string()
+ .describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod
+ .number()
+ .nullish()
+ .describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod
+ .string()
+ .nullish()
+ .describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe(
+ 'Public bot profile attached to bot-authored messages.'
+ ),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Mentioned entity identifier.'),
+ entity_type: zod
+ .string()
+ .describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod
+ .uuid()
+ .describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe(
+ 'The entity whose permissions and lifecycle govern a message.'
+ ),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod
+ .array(zod.string())
+ .describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ )
+ )
+ .describe('Replies in display order.'),
+ root: zod
+ .object({
+ attachments: zod
+ .array(
+ zod
+ .object({
+ created_at: zod.iso
+ .datetime({})
+ .describe('When the attachment was added.'),
+ entity_id: zod.string().describe('Attached entity identifier.'),
+ entity_type: zod.string().describe('Attached entity type.'),
+ height: zod
+ .number()
+ .nullish()
+ .describe('Optional media height.'),
+ id: zod.uuid().describe('Attachment UUID.'),
+ width: zod.number().nullish().describe('Optional media width.'),
+ })
+ .describe('An entity attached to a message.')
+ )
+ .describe('Attached entities.'),
+ bot_profile: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ avatar_url: zod.string().nullish().describe('Bot avatar URL.'),
+ name: zod.string().describe('Bot display name.'),
+ })
+ .describe(
+ 'Public bot profile attached to bot-authored messages.'
+ ),
+ ])
+ .optional(),
+ content: zod.string().describe('Macro Markdown body.'),
+ created_at: zod.iso.datetime({}).describe('Creation time.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Message tombstone, independent of thread deletion.'),
+ edited_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe('Last content edit, if any.'),
+ id: zod.uuid().describe('Message UUID.'),
+ imported_author: zod
+ .union([
+ zod.null(),
+ zod
+ .object({
+ name: zod
+ .string()
+ .describe(
+ 'Original author text; never interpreted as an authenticated principal.'
+ ),
+ })
+ .describe(
+ 'Display attribution for a comment imported from an external document.'
+ ),
+ ])
+ .optional(),
+ mentions: zod
+ .array(
+ zod
+ .object({
+ entity_id: zod
+ .string()
+ .describe('Mentioned entity identifier.'),
+ entity_type: zod.string().describe('Mentioned entity type.'),
+ })
+ .describe('A mention tracked in a message body.')
+ )
+ .describe(
+ 'Tracked mentions, retained when a caller changes attachments only.'
+ ),
+ parent: zod
+ .union([
+ zod
+ .object({
+ id: zod
+ .uuid()
+ .describe('A channel, including direct messages.'),
+ type: zod.enum(['channel']),
+ })
+ .describe('A channel, including direct messages.'),
+ zod
+ .object({
+ id: zod
+ .string()
+ .describe(
+ 'A validated document identifier. Historical document ids need not be UUIDs.'
+ ),
+ type: zod.enum(['document']),
+ })
+ .describe('A document, including tasks and PDFs.'),
+ ])
+ .describe(
+ 'The entity whose permissions and lifecycle govern a message.'
+ ),
+ reactions: zod
+ .array(
+ zod
+ .object({
+ emoji: zod.string().describe('Emoji being reacted with.'),
+ users: zod.array(zod.string()).describe('User identifiers.'),
+ })
+ .describe('Reaction emoji and the users who added it.')
+ )
+ .describe('Aggregated reactions.'),
+ sender_id: zod
+ .string()
+ .describe('Authenticated actor or owner of imported content.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root message UUID for replies; absent on roots.'),
+ triggered_by: zod
+ .string()
+ .nullish()
+ .describe('User who triggered a bot-authored message.'),
+ updated_at: zod.iso.datetime({}).describe('Last persisted update.'),
+ })
+ .describe(
+ 'Shared message representation for channel timelines and entity discussions.'
+ ),
+ state: zod
+ .object({
+ anchor: zod
+ .union([
+ zod.null(),
+ zod
+ .union([
+ zod
+ .object({
+ mark_id: zod
+ .uuid()
+ .describe('Mark UUID serialized in the document.'),
+ type: zod.enum(['markdown']),
+ })
+ .describe(
+ 'Stable Lexical mark identity, independent of transient node keys.'
+ ),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe('Highlight annotation UUID.'),
+ type: zod.enum(['pdf_highlight']),
+ })
+ .describe('An independently existing PDF highlight.'),
+ zod
+ .object({
+ anchor_id: zod
+ .uuid()
+ .describe('Placeable annotation UUID.'),
+ type: zod.enum(['pdf_placeable']),
+ })
+ .describe('A comment-only placeable PDF annotation.'),
+ ])
+ .describe(
+ "A thread's location within its document. Geometry remains annotation-owned."
+ ),
+ ])
+ .optional(),
+ created_at: zod.iso
+ .datetime({})
+ .describe('Creation time of the discussion.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe(
+ 'Explicit deletion of the entire thread, distinct from root deletion.'
+ ),
+ resolved: zod
+ .boolean()
+ .describe('Whether this discussion has been resolved.'),
+ root_id: zod
+ .uuid()
+ .describe('Root message UUID; there is no separate thread identity.'),
+ updated_at: zod.iso.datetime({}).describe('Last state change.'),
+ user_id: zod
+ .string()
+ .describe(
+ 'User who owns this discussion, including imported discussions.'
+ ),
+ })
+ .describe(
+ 'State belonging to a whole thread, keyed by its root message.'
+ ),
+ })
+ .describe(
+ 'A discussion with its root and ordered replies, including root tombstones.'
+ );
+
+/**
+ * @summary Explicitly remove a discussion.
+ */
+export const entityMessageDeleteThreadParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessageDeleteThreadQueryParams = zod.object({
+ nonce: zod.string().nullish().describe('Client nonce.'),
+});
+
+export const entityMessageDeleteThreadResponse = zod
+ .object({
+ anchor: zod
+ .union([
+ zod.null(),
+ zod
+ .union([
+ zod
+ .object({
+ mark_id: zod
+ .uuid()
+ .describe('Mark UUID serialized in the document.'),
+ type: zod.enum(['markdown']),
+ })
+ .describe(
+ 'Stable Lexical mark identity, independent of transient node keys.'
+ ),
+ zod
+ .object({
+ anchor_id: zod.uuid().describe('Highlight annotation UUID.'),
+ type: zod.enum(['pdf_highlight']),
+ })
+ .describe('An independently existing PDF highlight.'),
+ zod
+ .object({
+ anchor_id: zod.uuid().describe('Placeable annotation UUID.'),
+ type: zod.enum(['pdf_placeable']),
+ })
+ .describe('A comment-only placeable PDF annotation.'),
+ ])
+ .describe(
+ "A thread's location within its document. Geometry remains annotation-owned."
+ ),
+ ])
+ .optional(),
+ created_at: zod.iso
+ .datetime({})
+ .describe('Creation time of the discussion.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe(
+ 'Explicit deletion of the entire thread, distinct from root deletion.'
+ ),
+ resolved: zod
+ .boolean()
+ .describe('Whether this discussion has been resolved.'),
+ root_id: zod
+ .uuid()
+ .describe('Root message UUID; there is no separate thread identity.'),
+ updated_at: zod.iso.datetime({}).describe('Last state change.'),
+ user_id: zod
+ .string()
+ .describe(
+ 'User who owns this discussion, including imported discussions.'
+ ),
+ })
+ .describe('State belonging to a whole thread, keyed by its root message.');
+
+/**
+ * @summary Update a discussion's lifecycle and placement.
+ */
+export const entityMessagePatchThreadParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+ id: zod.uuid(),
+});
+
+export const entityMessagePatchThreadBody = zod
+ .object({
+ detach_anchor: zod
+ .boolean()
+ .optional()
+ .describe(
+ 'Move a Markdown discussion to the document when its marked text is removed.'
+ ),
+ nonce: zod
+ .string()
+ .nullish()
+ .describe('Client nonce for the shared thread update event.'),
+ resolved: zod
+ .boolean()
+ .nullish()
+ .describe(
+ 'Resolve or reopen the discussion; absent preserves its state.'
+ ),
+ })
+ .describe(
+ 'Partial changes to the lifecycle and placement of a document discussion.'
+ );
+
+export const entityMessagePatchThreadResponse = zod
+ .object({
+ anchor: zod
+ .union([
+ zod.null(),
+ zod
+ .union([
+ zod
+ .object({
+ mark_id: zod
+ .uuid()
+ .describe('Mark UUID serialized in the document.'),
+ type: zod.enum(['markdown']),
+ })
+ .describe(
+ 'Stable Lexical mark identity, independent of transient node keys.'
+ ),
+ zod
+ .object({
+ anchor_id: zod.uuid().describe('Highlight annotation UUID.'),
+ type: zod.enum(['pdf_highlight']),
+ })
+ .describe('An independently existing PDF highlight.'),
+ zod
+ .object({
+ anchor_id: zod.uuid().describe('Placeable annotation UUID.'),
+ type: zod.enum(['pdf_placeable']),
+ })
+ .describe('A comment-only placeable PDF annotation.'),
+ ])
+ .describe(
+ "A thread's location within its document. Geometry remains annotation-owned."
+ ),
+ ])
+ .optional(),
+ created_at: zod.iso
+ .datetime({})
+ .describe('Creation time of the discussion.'),
+ deleted_at: zod.iso
+ .datetime({})
+ .nullish()
+ .describe(
+ 'Explicit deletion of the entire thread, distinct from root deletion.'
+ ),
+ resolved: zod
+ .boolean()
+ .describe('Whether this discussion has been resolved.'),
+ root_id: zod
+ .uuid()
+ .describe('Root message UUID; there is no separate thread identity.'),
+ updated_at: zod.iso.datetime({}).describe('Last state change.'),
+ user_id: zod
+ .string()
+ .describe(
+ 'User who owns this discussion, including imported discussions.'
+ ),
+ })
+ .describe('State belonging to a whole thread, keyed by its root message.');
+
+/**
+ * @summary Broadcast typing within an authorized discussion.
+ */
+export const entityMessageTypingParams = zod.object({
+ parent_type: zod.string(),
+ parent_id: zod.string(),
+});
+
+export const entityMessageTypingBody = zod
+ .object({
+ active: zod.boolean().describe('Whether the caller is typing.'),
+ nonce: zod.string().nullish().describe('Client mutation nonce.'),
+ thread_id: zod
+ .uuid()
+ .nullish()
+ .describe('Root being replied to, absent for the parent composer.'),
+ })
+ .describe('Transient typing update.');
+
/**
* @summary Gets the users pinned items
*/
diff --git a/apps/web/src/lib/service-clients/service-storage/graphql/generated/graphql.ts b/apps/web/src/lib/service-clients/service-storage/graphql/generated/graphql.ts
index 49cc56cc71..42f6af501f 100644
--- a/apps/web/src/lib/service-clients/service-storage/graphql/generated/graphql.ts
+++ b/apps/web/src/lib/service-clients/service-storage/graphql/generated/graphql.ts
@@ -1638,7 +1638,7 @@ export type UpdateNotificationsMutation = { updateNotifications: Array<{ __typen
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1648,10 +1648,10 @@ export type UpdateNotificationsMutation = { updateNotifications: Array<{ __typen
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -1671,7 +1671,7 @@ export type UpdateNotificationsForEntityMutation = { updateNotificationsForEntit
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1681,10 +1681,10 @@ export type UpdateNotificationsForEntityMutation = { updateNotificationsForEntit
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -1735,7 +1735,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1745,10 +1745,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -1770,7 +1770,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1780,10 +1780,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -1805,7 +1805,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1815,10 +1815,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -1832,7 +1832,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1842,10 +1842,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -1859,7 +1859,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1869,10 +1869,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -1894,7 +1894,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1904,10 +1904,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -1929,7 +1929,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1939,10 +1939,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -1968,7 +1968,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -1978,10 +1978,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2003,7 +2003,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2013,10 +2013,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2030,7 +2030,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2040,10 +2040,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2065,7 +2065,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2075,10 +2075,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2100,7 +2100,7 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2110,10 +2110,10 @@ type EntityMutationResultFields_GraphqlMutationSuccess_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -2148,7 +2148,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2158,10 +2158,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2183,7 +2183,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2193,10 +2193,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2218,7 +2218,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2228,10 +2228,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2245,7 +2245,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2255,10 +2255,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2272,7 +2272,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2282,10 +2282,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2307,7 +2307,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2317,10 +2317,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2342,7 +2342,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2352,10 +2352,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -2381,7 +2381,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2391,10 +2391,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2416,7 +2416,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2426,10 +2426,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2443,7 +2443,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2453,10 +2453,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2478,7 +2478,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2488,10 +2488,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2513,7 +2513,7 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2523,10 +2523,10 @@ export type EntityMutationPayloadFieldsFragment = { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -2562,7 +2562,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2572,10 +2572,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2597,7 +2597,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2607,10 +2607,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2632,7 +2632,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2642,10 +2642,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2659,7 +2659,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2669,10 +2669,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2686,7 +2686,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2696,10 +2696,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2721,7 +2721,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2731,10 +2731,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2756,7 +2756,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2766,10 +2766,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -2795,7 +2795,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2805,10 +2805,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2830,7 +2830,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2840,10 +2840,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -2857,7 +2857,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2867,10 +2867,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2892,7 +2892,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2902,10 +2902,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -2927,7 +2927,7 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2937,10 +2937,10 @@ export type RenameEntitiesMutation = { renameEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -2976,7 +2976,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -2986,10 +2986,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3011,7 +3011,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3021,10 +3021,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3046,7 +3046,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3056,10 +3056,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3073,7 +3073,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3083,10 +3083,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3100,7 +3100,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3110,10 +3110,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3135,7 +3135,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3145,10 +3145,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3170,7 +3170,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3180,10 +3180,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -3209,7 +3209,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3219,10 +3219,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3244,7 +3244,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3254,10 +3254,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3271,7 +3271,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3281,10 +3281,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3306,7 +3306,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3316,10 +3316,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3341,7 +3341,7 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3351,10 +3351,10 @@ export type MoveEntitiesMutation = { moveEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -3390,7 +3390,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3400,10 +3400,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3425,7 +3425,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3435,10 +3435,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3460,7 +3460,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3470,10 +3470,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3487,7 +3487,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3497,10 +3497,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3514,7 +3514,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3524,10 +3524,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3549,7 +3549,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3559,10 +3559,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3584,7 +3584,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3594,10 +3594,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -3623,7 +3623,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3633,10 +3633,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3658,7 +3658,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3668,10 +3668,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3685,7 +3685,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3695,10 +3695,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3720,7 +3720,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3730,10 +3730,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3755,7 +3755,7 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3765,10 +3765,10 @@ export type UpdateEntitySharePoliciesMutation = { updateEntitySharePolicies: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -3804,7 +3804,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3814,10 +3814,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3839,7 +3839,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3849,10 +3849,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3874,7 +3874,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3884,10 +3884,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3901,7 +3901,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3911,10 +3911,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -3928,7 +3928,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3938,10 +3938,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3963,7 +3963,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -3973,10 +3973,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -3998,7 +3998,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4008,10 +4008,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -4037,7 +4037,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4047,10 +4047,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4072,7 +4072,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4082,10 +4082,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4099,7 +4099,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4109,10 +4109,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4134,7 +4134,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4144,10 +4144,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4169,7 +4169,7 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4179,10 +4179,10 @@ export type TrashEntitiesMutation = { trashEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -4218,7 +4218,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4228,10 +4228,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4253,7 +4253,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4263,10 +4263,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4288,7 +4288,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4298,10 +4298,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4315,7 +4315,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4325,10 +4325,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4342,7 +4342,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4352,10 +4352,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4377,7 +4377,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4387,10 +4387,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4412,7 +4412,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4422,10 +4422,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -4451,7 +4451,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4461,10 +4461,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4486,7 +4486,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4496,10 +4496,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4513,7 +4513,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4523,10 +4523,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4548,7 +4548,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4558,10 +4558,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4583,7 +4583,7 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4593,10 +4593,10 @@ export type RestoreEntitiesMutation = { restoreEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -4632,7 +4632,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4642,10 +4642,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4667,7 +4667,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4677,10 +4677,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4702,7 +4702,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4712,10 +4712,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4729,7 +4729,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4739,10 +4739,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4756,7 +4756,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4766,10 +4766,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4791,7 +4791,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4801,10 +4801,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4826,7 +4826,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4836,10 +4836,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -4865,7 +4865,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4875,10 +4875,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4900,7 +4900,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4910,10 +4910,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -4927,7 +4927,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4937,10 +4937,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4962,7 +4962,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -4972,10 +4972,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -4997,7 +4997,7 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5007,10 +5007,10 @@ export type DeleteEntitiesPermanentlyMutation = { deleteEntitiesPermanently: { r
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -5046,7 +5046,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5056,10 +5056,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5081,7 +5081,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5091,10 +5091,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5116,7 +5116,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5126,10 +5126,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5143,7 +5143,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5153,10 +5153,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5170,7 +5170,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5180,10 +5180,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5205,7 +5205,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5215,10 +5215,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5240,7 +5240,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5250,10 +5250,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -5279,7 +5279,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5289,10 +5289,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5314,7 +5314,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5324,10 +5324,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5341,7 +5341,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5351,10 +5351,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5376,7 +5376,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5386,10 +5386,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5411,7 +5411,7 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5421,10 +5421,10 @@ export type DuplicateEntitiesMutation = { duplicateEntities: { results: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -5461,7 +5461,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5471,10 +5471,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5496,7 +5496,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5506,10 +5506,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5531,7 +5531,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5541,10 +5541,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5558,7 +5558,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5568,10 +5568,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5585,7 +5585,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5595,10 +5595,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5620,7 +5620,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5630,10 +5630,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5655,7 +5655,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5665,10 +5665,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -5694,7 +5694,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5704,10 +5704,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5729,7 +5729,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5739,10 +5739,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -5756,7 +5756,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5766,10 +5766,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5791,7 +5791,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5801,10 +5801,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -5826,7 +5826,7 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -5836,10 +5836,10 @@ export type SetEntityFavoriteMutation = { setEntityFavorite:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -6034,7 +6034,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6044,10 +6044,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6069,7 +6069,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6079,10 +6079,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6104,7 +6104,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6114,10 +6114,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6131,7 +6131,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6141,10 +6141,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6158,7 +6158,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6168,10 +6168,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6193,7 +6193,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6203,10 +6203,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6228,7 +6228,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6238,10 +6238,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -6267,7 +6267,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6277,10 +6277,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6302,7 +6302,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6312,10 +6312,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6329,7 +6329,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6339,10 +6339,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6364,7 +6364,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6374,10 +6374,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6399,7 +6399,7 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6409,10 +6409,10 @@ export type GroupSoupQuery = { user: { id: string, groupSoup: { bins: Array<{ ke
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
> }> } } };
@@ -6455,7 +6455,7 @@ export type NotificationUpdatesSubscription = { notificationUpdates:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6465,10 +6465,10 @@ export type NotificationUpdatesSubscription = { notificationUpdates:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
} }
| { __typename: 'GraphqlUpdatedNotification', notification: { id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6482,7 +6482,7 @@ export type NotificationUpdatesSubscription = { notificationUpdates:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6492,10 +6492,10 @@ export type NotificationUpdatesSubscription = { notificationUpdates:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
} }
};
@@ -6757,7 +6757,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6767,10 +6767,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6792,7 +6792,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6802,10 +6802,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6827,7 +6827,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6837,10 +6837,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6854,7 +6854,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6864,10 +6864,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -6881,7 +6881,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6891,10 +6891,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6916,7 +6916,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6926,10 +6926,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -6951,7 +6951,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -6961,10 +6961,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -6990,7 +6990,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7000,10 +7000,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7025,7 +7025,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7035,10 +7035,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7052,7 +7052,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7062,10 +7062,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7087,7 +7087,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7097,10 +7097,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7122,7 +7122,7 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7132,10 +7132,10 @@ type SoupPatchFields_SoupUpdated_Fragment = { __typename: 'SoupUpdated', item:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
};
@@ -7170,7 +7170,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7180,10 +7180,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7205,7 +7205,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7215,10 +7215,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7240,7 +7240,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7250,10 +7250,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7267,7 +7267,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7277,10 +7277,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7294,7 +7294,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7304,10 +7304,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7329,7 +7329,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7339,10 +7339,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7364,7 +7364,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7374,10 +7374,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -7403,7 +7403,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7413,10 +7413,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7438,7 +7438,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7448,10 +7448,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7465,7 +7465,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7475,10 +7475,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7500,7 +7500,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7510,10 +7510,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7535,7 +7535,7 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7545,10 +7545,10 @@ export type SoupUpdatesSubscription = { soupUpdates: Array<
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
}
@@ -7579,7 +7579,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7589,10 +7589,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7614,7 +7614,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7624,10 +7624,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7649,7 +7649,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7659,10 +7659,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7676,7 +7676,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7686,10 +7686,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7703,7 +7703,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7713,10 +7713,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7738,7 +7738,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7748,10 +7748,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7773,7 +7773,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7783,10 +7783,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -7812,7 +7812,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7822,10 +7822,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7847,7 +7847,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7857,10 +7857,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -7874,7 +7874,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7884,10 +7884,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7909,7 +7909,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7919,10 +7919,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -7944,7 +7944,7 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7954,10 +7954,10 @@ export type SoupQuery = { user: { id: string, emailLinks: Array<{ id: string, em
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
> } } };
@@ -7987,7 +7987,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -7997,10 +7997,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8022,7 +8022,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8032,10 +8032,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8057,7 +8057,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8067,10 +8067,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8084,7 +8084,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8094,10 +8094,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8111,7 +8111,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8121,10 +8121,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8146,7 +8146,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8156,10 +8156,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8181,7 +8181,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8191,10 +8191,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -8220,7 +8220,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8230,10 +8230,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, viewerPermission:
@@ -8260,7 +8260,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8270,10 +8270,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8287,7 +8287,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8297,10 +8297,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8322,7 +8322,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8332,10 +8332,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8357,7 +8357,7 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8367,10 +8367,10 @@ export type SoupBackfillQuery = { user: { id: string, emailLinks: Array<{ id: st
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
> } } };
@@ -8400,7 +8400,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8410,10 +8410,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8435,7 +8435,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8445,10 +8445,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8470,7 +8470,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8480,10 +8480,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8497,7 +8497,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8507,10 +8507,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8524,7 +8524,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8534,10 +8534,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8559,7 +8559,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8569,10 +8569,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8594,7 +8594,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8604,10 +8604,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -8633,7 +8633,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8643,10 +8643,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8668,7 +8668,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8678,10 +8678,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8695,7 +8695,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8705,10 +8705,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8730,7 +8730,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8740,10 +8740,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8765,7 +8765,7 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8775,10 +8775,10 @@ export type SoupMailBackfillQuery = { user: { id: string, emailLinks: Array<{ id
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
> } } };
@@ -8808,7 +8808,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8818,10 +8818,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', time: unknown, conferenceUrl: string | null, isReadOnly: boolean, ownerId: string, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, calendarEventTitle: string, calendarEventStatus: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8843,7 +8843,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8853,10 +8853,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', channelId: string, channelName: string | null, createdBy: string, customName: string | null, summary: string | null, startedAt: string, endedAt: string | null, durationMs: number | null, isActive: boolean, status: string, attended: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, participants: Array<{ userId: string, joinedAt: string, leftAt: string | null }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8878,7 +8878,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8888,10 +8888,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', channelType: string, ownerId: string, organizationId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, interactedAt: string | null, isParticipant: boolean, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, channelName: string | null, channelTeamId: string | null, participants: Array<{ channelId: string, userId: string, role: string, joinedAt: string, leftAt: string | null }>, latestMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, latestNonThreadMessage: { messageId: string, channelId: string, threadId: string | null, senderId: string, content: string, createdAt: string, updatedAt: string, deletedAt: string | null, mentions: Array<string> } | null, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8905,7 +8905,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8915,10 +8915,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', channelId: string, senderId: string, content: string, createdAt: string, updatedAt: string, effectiveUpdatedAt: string, replyCount: number, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -8932,7 +8932,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8942,10 +8942,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', model: string | null, ownerId: string, projectId: string | null, isPersistent: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, chatName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -8967,7 +8967,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -8977,10 +8977,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', description: string | null, emailSync: boolean, hidden: boolean, createdAt: string, updatedAt: string, viewedAt: string | null, domains: Array<string>, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, crmTeamId: string, crmCompanyName: string | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -9002,7 +9002,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9012,10 +9012,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', ownerId: string, fileType: string | null, projectId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, documentName: string, subType:
@@ -9041,7 +9041,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9051,10 +9051,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', providerId: string | null, ownerId: string, inboxVisible: boolean, linkId: string, latestInboundMessageTs: string | null, snippet: string | null, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null, isRead: boolean, isDraft: boolean, isImportant: boolean, isSignal: boolean, projectId: string | null, sortTs: string, createdAt: string, updatedAt: string, viewedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, emailName: string | null, mailAllPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailDraftPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, mailSentPreview: { id: string, subject: string | null, snippet: string | null, isDraft: boolean, senderEmail: string | null, senderName: string | null, senderPhotoUrl: string | null } | null, participants: Array<{ id: string, linkId: string, name: string | null, email: string | null, sfsPhotoUrl: string | null }>, attachments: Array<{ id: string, messageId: string, providerAttachmentId: string | null, filename: string | null, mimeType: string | null, sizeBytes: number | null, contentId: string | null, createdAt: string }>, labels: Array<{ __typename: 'GraphqlSoupEmailLabel', id: string, linkId: string, providerLabelId: string, name: string, createdAt: string, messageListVisibility: string, labelListVisibility: string, type: string }>, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -9076,7 +9076,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9086,10 +9086,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', foreignEntityId: string, foreignEntitySource: string, storedForId: string, storedForAuthEntity: string, sourceMetadata: unknown, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -9103,7 +9103,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9113,10 +9113,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', ownerId: string, parentId: string | null, createdAt: string, updatedAt: string, viewedAt: string | null, deletedAt: string | null, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, projectName: string, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -9138,7 +9138,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9148,10 +9148,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', scheduleType: GraphqlReminderScheduleType, remindAt: string | null, cron: string | null, timezone: string | null, nextRunAt: string, enabled: boolean, completedAt: string | null, createdAt: string, updatedAt: string, cacheProjection: string | null, frecencyScore: number | null, id: string, entityType: GraphqlSoupEntityType, displayName: string | null, isFavorited: boolean, reminderDescription: string, referencedEntity: { id: string, entityType: GraphqlEntityType, fileType: string | null, subType: string | null } | null, properties: Array<{ id: string, propertyDefinitionId: string, displayName: string, dataType: GraphqlPropertyDataType, isMultiSelect: boolean, specificEntityType: GraphqlPropertyEntityType | null, isSystem: boolean, isMetadata: boolean, value:
@@ -9173,7 +9173,7 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9183,10 +9183,10 @@ export type SoupSharedMailBackfillQuery = { user: { id: string, emailLinks: Arra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
>, scopeIds: Array<
@@ -9230,7 +9230,7 @@ type MailItemFields_GraphqlSoupAgentSession_Fragment = { __typename: 'GraphqlSou
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9240,10 +9240,10 @@ type MailItemFields_GraphqlSoupAgentSession_Fragment = { __typename: 'GraphqlSou
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9266,7 +9266,7 @@ type MailItemFields_GraphqlSoupCalendarEvent_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9276,10 +9276,10 @@ type MailItemFields_GraphqlSoupCalendarEvent_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9302,7 +9302,7 @@ type MailItemFields_GraphqlSoupCall_Fragment = { __typename: 'GraphqlSoupCall',
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9312,10 +9312,10 @@ type MailItemFields_GraphqlSoupCall_Fragment = { __typename: 'GraphqlSoupCall',
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9330,7 +9330,7 @@ type MailItemFields_GraphqlSoupChannel_Fragment = { __typename: 'GraphqlSoupChan
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9340,10 +9340,10 @@ type MailItemFields_GraphqlSoupChannel_Fragment = { __typename: 'GraphqlSoupChan
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9358,7 +9358,7 @@ type MailItemFields_GraphqlSoupChannelMessage_Fragment = { __typename: 'GraphqlS
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9368,10 +9368,10 @@ type MailItemFields_GraphqlSoupChannelMessage_Fragment = { __typename: 'GraphqlS
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9394,7 +9394,7 @@ type MailItemFields_GraphqlSoupChat_Fragment = { __typename: 'GraphqlSoupChat',
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9404,10 +9404,10 @@ type MailItemFields_GraphqlSoupChat_Fragment = { __typename: 'GraphqlSoupChat',
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9430,7 +9430,7 @@ type MailItemFields_GraphqlSoupCrmCompany_Fragment = { __typename: 'GraphqlSoupC
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9440,10 +9440,10 @@ type MailItemFields_GraphqlSoupCrmCompany_Fragment = { __typename: 'GraphqlSoupC
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9470,7 +9470,7 @@ type MailItemFields_GraphqlSoupDocument_Fragment = { __typename: 'GraphqlSoupDoc
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9480,10 +9480,10 @@ type MailItemFields_GraphqlSoupDocument_Fragment = { __typename: 'GraphqlSoupDoc
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9506,7 +9506,7 @@ type MailItemFields_GraphqlSoupEmailThread_Fragment = { __typename: 'GraphqlSoup
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9516,10 +9516,10 @@ type MailItemFields_GraphqlSoupEmailThread_Fragment = { __typename: 'GraphqlSoup
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9534,7 +9534,7 @@ type MailItemFields_GraphqlSoupForeignEntity_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9544,10 +9544,10 @@ type MailItemFields_GraphqlSoupForeignEntity_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9570,7 +9570,7 @@ type MailItemFields_GraphqlSoupProject_Fragment = { __typename: 'GraphqlSoupProj
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9580,10 +9580,10 @@ type MailItemFields_GraphqlSoupProject_Fragment = { __typename: 'GraphqlSoupProj
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9606,7 +9606,7 @@ type MailItemFields_GraphqlSoupReminder_Fragment = { __typename: 'GraphqlSoupRem
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9616,10 +9616,10 @@ type MailItemFields_GraphqlSoupReminder_Fragment = { __typename: 'GraphqlSoupRem
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9657,7 +9657,7 @@ type SoupItemFields_GraphqlSoupAgentSession_Fragment = { __typename: 'GraphqlSou
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9667,10 +9667,10 @@ type SoupItemFields_GraphqlSoupAgentSession_Fragment = { __typename: 'GraphqlSou
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9693,7 +9693,7 @@ type SoupItemFields_GraphqlSoupCalendarEvent_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9703,10 +9703,10 @@ type SoupItemFields_GraphqlSoupCalendarEvent_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9729,7 +9729,7 @@ type SoupItemFields_GraphqlSoupCall_Fragment = { __typename: 'GraphqlSoupCall',
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9739,10 +9739,10 @@ type SoupItemFields_GraphqlSoupCall_Fragment = { __typename: 'GraphqlSoupCall',
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9757,7 +9757,7 @@ type SoupItemFields_GraphqlSoupChannel_Fragment = { __typename: 'GraphqlSoupChan
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9767,10 +9767,10 @@ type SoupItemFields_GraphqlSoupChannel_Fragment = { __typename: 'GraphqlSoupChan
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9785,7 +9785,7 @@ type SoupItemFields_GraphqlSoupChannelMessage_Fragment = { __typename: 'GraphqlS
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9795,10 +9795,10 @@ type SoupItemFields_GraphqlSoupChannelMessage_Fragment = { __typename: 'GraphqlS
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9821,7 +9821,7 @@ type SoupItemFields_GraphqlSoupChat_Fragment = { __typename: 'GraphqlSoupChat',
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9831,10 +9831,10 @@ type SoupItemFields_GraphqlSoupChat_Fragment = { __typename: 'GraphqlSoupChat',
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9857,7 +9857,7 @@ type SoupItemFields_GraphqlSoupCrmCompany_Fragment = { __typename: 'GraphqlSoupC
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9867,10 +9867,10 @@ type SoupItemFields_GraphqlSoupCrmCompany_Fragment = { __typename: 'GraphqlSoupC
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9897,7 +9897,7 @@ type SoupItemFields_GraphqlSoupDocument_Fragment = { __typename: 'GraphqlSoupDoc
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9907,10 +9907,10 @@ type SoupItemFields_GraphqlSoupDocument_Fragment = { __typename: 'GraphqlSoupDoc
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9933,7 +9933,7 @@ type SoupItemFields_GraphqlSoupEmailThread_Fragment = { __typename: 'GraphqlSoup
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9943,10 +9943,10 @@ type SoupItemFields_GraphqlSoupEmailThread_Fragment = { __typename: 'GraphqlSoup
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9961,7 +9961,7 @@ type SoupItemFields_GraphqlSoupForeignEntity_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -9971,10 +9971,10 @@ type SoupItemFields_GraphqlSoupForeignEntity_Fragment = { __typename: 'GraphqlSo
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -9997,7 +9997,7 @@ type SoupItemFields_GraphqlSoupProject_Fragment = { __typename: 'GraphqlSoupProj
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10007,10 +10007,10 @@ type SoupItemFields_GraphqlSoupProject_Fragment = { __typename: 'GraphqlSoupProj
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10033,7 +10033,7 @@ type SoupItemFields_GraphqlSoupReminder_Fragment = { __typename: 'GraphqlSoupRem
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10043,10 +10043,10 @@ type SoupItemFields_GraphqlSoupReminder_Fragment = { __typename: 'GraphqlSoupRem
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10076,7 +10076,7 @@ type SoupEntityCoreFields_GraphqlSoupAgentSession_Fragment = { id: string, entit
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10086,10 +10086,10 @@ type SoupEntityCoreFields_GraphqlSoupAgentSession_Fragment = { id: string, entit
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10104,7 +10104,7 @@ type SoupEntityCoreFields_GraphqlSoupCalendarEvent_Fragment = { id: string, enti
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10114,10 +10114,10 @@ type SoupEntityCoreFields_GraphqlSoupCalendarEvent_Fragment = { id: string, enti
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10132,7 +10132,7 @@ type SoupEntityCoreFields_GraphqlSoupCall_Fragment = { id: string, entityType: G
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10142,10 +10142,10 @@ type SoupEntityCoreFields_GraphqlSoupCall_Fragment = { id: string, entityType: G
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10160,7 +10160,7 @@ type SoupEntityCoreFields_GraphqlSoupChannel_Fragment = { id: string, entityType
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10170,10 +10170,10 @@ type SoupEntityCoreFields_GraphqlSoupChannel_Fragment = { id: string, entityType
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10188,7 +10188,7 @@ type SoupEntityCoreFields_GraphqlSoupChannelMessage_Fragment = { id: string, ent
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10198,10 +10198,10 @@ type SoupEntityCoreFields_GraphqlSoupChannelMessage_Fragment = { id: string, ent
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10216,7 +10216,7 @@ type SoupEntityCoreFields_GraphqlSoupChat_Fragment = { id: string, entityType: G
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10226,10 +10226,10 @@ type SoupEntityCoreFields_GraphqlSoupChat_Fragment = { id: string, entityType: G
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10244,7 +10244,7 @@ type SoupEntityCoreFields_GraphqlSoupCrmCompany_Fragment = { id: string, entityT
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10254,10 +10254,10 @@ type SoupEntityCoreFields_GraphqlSoupCrmCompany_Fragment = { id: string, entityT
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10272,7 +10272,7 @@ type SoupEntityCoreFields_GraphqlSoupDocument_Fragment = { id: string, entityTyp
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10282,10 +10282,10 @@ type SoupEntityCoreFields_GraphqlSoupDocument_Fragment = { id: string, entityTyp
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10300,7 +10300,7 @@ type SoupEntityCoreFields_GraphqlSoupEmailThread_Fragment = { id: string, entity
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10310,10 +10310,10 @@ type SoupEntityCoreFields_GraphqlSoupEmailThread_Fragment = { id: string, entity
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10328,7 +10328,7 @@ type SoupEntityCoreFields_GraphqlSoupForeignEntity_Fragment = { id: string, enti
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10338,10 +10338,10 @@ type SoupEntityCoreFields_GraphqlSoupForeignEntity_Fragment = { id: string, enti
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10356,7 +10356,7 @@ type SoupEntityCoreFields_GraphqlSoupProject_Fragment = { id: string, entityType
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10366,10 +10366,10 @@ type SoupEntityCoreFields_GraphqlSoupProject_Fragment = { id: string, entityType
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10384,7 +10384,7 @@ type SoupEntityCoreFields_GraphqlSoupReminder_Fragment = { id: string, entityTyp
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10394,10 +10394,10 @@ type SoupEntityCoreFields_GraphqlSoupReminder_Fragment = { id: string, entityTyp
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10439,7 +10439,7 @@ export type SoupNotificationFieldsFragment = { id: string, eventType: string, en
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10449,10 +10449,10 @@ export type SoupNotificationFieldsFragment = { id: string, eventType: string, en
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
};
@@ -10476,7 +10476,7 @@ type SoupNotificationMetadataFields_GraphqlChannelMessageSendMetadata_Fragment =
type SoupNotificationMetadataFields_GraphqlChannelReplyMetadata_Fragment = { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null };
-type SoupNotificationMetadataFields_GraphqlCommentedOnDocumentMetadata_Fragment = { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null };
+type SoupNotificationMetadataFields_GraphqlCommentedOnDocumentMetadata_Fragment = { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null };
type SoupNotificationMetadataFields_GraphqlDocumentMentionMetadata_Fragment = { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null };
@@ -10496,13 +10496,13 @@ type SoupNotificationMetadataFields_GraphqlInboxReauthRequiredMetadata_Fragment
type SoupNotificationMetadataFields_GraphqlInviteToTeamMetadata_Fragment = { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null };
-type SoupNotificationMetadataFields_GraphqlMentionedInDocumentCommentMetadata_Fragment = { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null };
+type SoupNotificationMetadataFields_GraphqlMentionedInDocumentCommentMetadata_Fragment = { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null };
type SoupNotificationMetadataFields_GraphqlNewEmailMetadata_Fragment = { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string };
type SoupNotificationMetadataFields_GraphqlReminderMetadata_Fragment = { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string };
-type SoupNotificationMetadataFields_GraphqlRepliedToDocumentCommentThreadMetadata_Fragment = { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null };
+type SoupNotificationMetadataFields_GraphqlRepliedToDocumentCommentThreadMetadata_Fragment = { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null };
type SoupNotificationMetadataFields_GraphqlTaskAssignedMetadata_Fragment = { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null };
@@ -10566,7 +10566,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10576,10 +10576,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCalendarEvent', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10593,7 +10593,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10603,10 +10603,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCall', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10620,7 +10620,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10630,10 +10630,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannel', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10647,7 +10647,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10657,10 +10657,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChannelMessage', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10674,7 +10674,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10684,10 +10684,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupChat', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10701,7 +10701,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10711,10 +10711,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupCrmCompany', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10728,7 +10728,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10738,10 +10738,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupDocument', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10755,7 +10755,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10765,10 +10765,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupEmailThread', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10782,7 +10782,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10792,10 +10792,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupForeignEntity', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10809,7 +10809,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10819,10 +10819,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupProject', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10836,7 +10836,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10846,10 +10846,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
| { __typename: 'GraphqlSoupReminder', id: string, notifications: Array<{ id: string, eventType: string, entityType: GraphqlSoupEntityType, entityId: string, sent: boolean, state: NotificationState, createdAt: string, viewedAt: string | null, updatedAt: string, senderId: string | null, metadata:
@@ -10863,7 +10863,7 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10873,10 +10873,10 @@ export type SoupNotificationsQuery = { user: { id: string, soup: { nextCursor: s
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> }
> } } };
@@ -10892,7 +10892,7 @@ type SoupNotificationsEntityFields_GraphqlSoupAgentSession_Fragment = { __typena
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10902,10 +10902,10 @@ type SoupNotificationsEntityFields_GraphqlSoupAgentSession_Fragment = { __typena
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10920,7 +10920,7 @@ type SoupNotificationsEntityFields_GraphqlSoupCalendarEvent_Fragment = { __typen
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10930,10 +10930,10 @@ type SoupNotificationsEntityFields_GraphqlSoupCalendarEvent_Fragment = { __typen
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10948,7 +10948,7 @@ type SoupNotificationsEntityFields_GraphqlSoupCall_Fragment = { __typename: 'Gra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10958,10 +10958,10 @@ type SoupNotificationsEntityFields_GraphqlSoupCall_Fragment = { __typename: 'Gra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -10976,7 +10976,7 @@ type SoupNotificationsEntityFields_GraphqlSoupChannel_Fragment = { __typename: '
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -10986,10 +10986,10 @@ type SoupNotificationsEntityFields_GraphqlSoupChannel_Fragment = { __typename: '
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11004,7 +11004,7 @@ type SoupNotificationsEntityFields_GraphqlSoupChannelMessage_Fragment = { __type
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11014,10 +11014,10 @@ type SoupNotificationsEntityFields_GraphqlSoupChannelMessage_Fragment = { __type
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11032,7 +11032,7 @@ type SoupNotificationsEntityFields_GraphqlSoupChat_Fragment = { __typename: 'Gra
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11042,10 +11042,10 @@ type SoupNotificationsEntityFields_GraphqlSoupChat_Fragment = { __typename: 'Gra
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11060,7 +11060,7 @@ type SoupNotificationsEntityFields_GraphqlSoupCrmCompany_Fragment = { __typename
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11070,10 +11070,10 @@ type SoupNotificationsEntityFields_GraphqlSoupCrmCompany_Fragment = { __typename
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11088,7 +11088,7 @@ type SoupNotificationsEntityFields_GraphqlSoupDocument_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11098,10 +11098,10 @@ type SoupNotificationsEntityFields_GraphqlSoupDocument_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11116,7 +11116,7 @@ type SoupNotificationsEntityFields_GraphqlSoupEmailThread_Fragment = { __typenam
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11126,10 +11126,10 @@ type SoupNotificationsEntityFields_GraphqlSoupEmailThread_Fragment = { __typenam
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11144,7 +11144,7 @@ type SoupNotificationsEntityFields_GraphqlSoupForeignEntity_Fragment = { __typen
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11154,10 +11154,10 @@ type SoupNotificationsEntityFields_GraphqlSoupForeignEntity_Fragment = { __typen
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11172,7 +11172,7 @@ type SoupNotificationsEntityFields_GraphqlSoupProject_Fragment = { __typename: '
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11182,10 +11182,10 @@ type SoupNotificationsEntityFields_GraphqlSoupProject_Fragment = { __typename: '
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
@@ -11200,7 +11200,7 @@ type SoupNotificationsEntityFields_GraphqlSoupReminder_Fragment = { __typename:
| { __typename: 'GraphqlChannelMentionMetadata', channelMentionMessageId: string, channelMentionMessageContent: string, channelMentionHasAttachments: boolean, channelMentionThreadId: string | null, channelMentionSenderDisplayName: string | null, channelMentionChannelType: GraphqlNotificationChannelType, channelMentionChannelName: string, channelMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelMessageSendMetadata', channelMessageSendSender: string | null, channelMessageSendSenderDisplayName: string | null, channelMessageSendMessageContent: string, channelMessageSendMessageId: string, channelMessageSendHasAttachments: boolean, channelMessageSendChannelType: GraphqlNotificationChannelType, channelMessageSendChannelName: string, channelMessageSendSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlChannelReplyMetadata', channelReplyThreadId: string, channelReplyMessageId: string, channelReplyUserId: string | null, channelReplySenderDisplayName: string | null, channelReplyMessageContent: string, channelReplyHasAttachments: boolean, channelReplyThreadParentSenderId: string | null, channelReplyChannelType: GraphqlNotificationChannelType, channelReplyChannelName: string, channelReplySenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: number, commentedOnDocumentThreadId: number, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlCommentedOnDocumentMetadata', commentedOnDocumentDocumentName: string, commentedOnDocumentOwner: string, commentedOnDocumentFileType: string | null, commentedOnDocumentSubType: GraphqlNotificationDocumentSubType | null, commentedOnDocumentCommentId: string, commentedOnDocumentThreadId: string, commentedOnDocumentText: string, commentedOnDocumentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlDocumentMentionMetadata', documentMentionDocumentName: string, documentMentionOwner: string, documentMentionFileType: string | null, documentMentionSubType: GraphqlNotificationDocumentSubType | null, documentMentionMessageId: string, documentMentionMessageContent: string, documentMentionHasAttachments: boolean, documentMentionThreadId: string | null, documentMentionSenderDisplayName: string | null, documentMentionChannelType: GraphqlNotificationChannelType, documentMentionChannelName: string, documentMentionSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlGithubPrCheckRunMetadata', githubPrCheckRunForeignEntityId: string, githubPrCheckRunGithubKey: string, githubPrCheckRunOwner: string, githubPrCheckRunRepo: string, githubPrCheckRunNumber: string, githubPrCheckRunUrl: string, githubPrCheckRunDisplayName: string, githubPrCheckRunTitle: string, githubPrCheckRunSenderGithubLogin: string | null, githubPrCheckRunSenderGithubUserId: string | null, githubPrCheckRunSenderGithubAvatarUrl: string | null, githubPrCheckRunCheckRunGithubId: string, githubPrCheckRunCheckName: string, githubPrCheckRunCheckStatus: string, githubPrCheckRunConclusion: string, githubPrCheckRunState: GraphqlGithubPrCheckRunState, githubPrCheckRunCheckUrl: string, githubPrCheckRunCompletedAt: string }
| { __typename: 'GraphqlGithubPrCommentMetadata', githubPrCommentForeignEntityId: string, githubPrCommentGithubKey: string, githubPrCommentOwner: string, githubPrCommentRepo: string, githubPrCommentNumber: string, githubPrCommentUrl: string, githubPrCommentDisplayName: string, githubPrCommentTitle: string, githubPrCommentSenderGithubLogin: string | null, githubPrCommentSenderGithubUserId: string | null, githubPrCommentSenderGithubAvatarUrl: string | null, githubPrCommentCommentKind: GraphqlGithubPrCommentKind, githubPrCommentCommentGithubId: string | null, githubPrCommentCommentUrl: string | null, githubPrCommentCommentSnippet: string }
@@ -11210,10 +11210,10 @@ type SoupNotificationsEntityFields_GraphqlSoupReminder_Fragment = { __typename:
| { __typename: 'GraphqlGithubReviewRequestedMetadata', githubReviewRequestedForeignEntityId: string, githubReviewRequestedGithubKey: string, githubReviewRequestedOwner: string, githubReviewRequestedRepo: string, githubReviewRequestedNumber: string, githubReviewRequestedUrl: string, githubReviewRequestedDisplayName: string, githubReviewRequestedTitle: string, githubReviewRequestedSenderGithubLogin: string | null, githubReviewRequestedSenderGithubUserId: string | null, githubReviewRequestedSenderGithubAvatarUrl: string | null, githubReviewRequestedRequestedReviewerGithubLogin: string | null, githubReviewRequestedRequestedReviewerGithubUserId: string | null }
| { __typename: 'GraphqlInboxReauthRequiredMetadata', inboxReauthRequiredEmailAddress: string }
| { __typename: 'GraphqlInviteToTeamMetadata', inviteToTeamTeamName: string, inviteToTeamTeamId: string, inviteToTeamTeamInviteId: string, inviteToTeamInvitedBy: string, inviteToTeamRole: string | null, inviteToTeamSenderProfilePictureUrl: string | null }
- | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: number, mentionedInDocumentCommentThreadId: number, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlMentionedInDocumentCommentMetadata', mentionedInDocumentCommentDocumentName: string, mentionedInDocumentCommentOwner: string, mentionedInDocumentCommentFileType: string | null, mentionedInDocumentCommentSubType: GraphqlNotificationDocumentSubType | null, mentionedInDocumentCommentMentionId: string, mentionedInDocumentCommentCommentId: string, mentionedInDocumentCommentThreadId: string, mentionedInDocumentCommentText: string, mentionedInDocumentCommentSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlNewEmailMetadata', newEmailSender: string | null, newEmailToEmail: string, newEmailThreadId: string, newEmailSubject: string, newEmailSnippet: string }
| { __typename: 'GraphqlReminderMetadata', reminderReminderId: string, reminderDescription: string }
- | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: number, repliedToDocumentCommentThreadThreadId: number, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
+ | { __typename: 'GraphqlRepliedToDocumentCommentThreadMetadata', repliedToDocumentCommentThreadDocumentName: string, repliedToDocumentCommentThreadOwner: string, repliedToDocumentCommentThreadFileType: string | null, repliedToDocumentCommentThreadSubType: GraphqlNotificationDocumentSubType | null, repliedToDocumentCommentThreadCommentId: string, repliedToDocumentCommentThreadThreadId: string, repliedToDocumentCommentThreadText: string, repliedToDocumentCommentThreadSenderProfilePictureUrl: string | null }
| { __typename: 'GraphqlTaskAssignedMetadata', taskAssignedTaskId: string, taskAssignedTaskName: string | null, taskAssignedSubType: GraphqlNotificationDocumentSubType | null, taskAssignedAssignedBy: string, taskAssignedSenderProfilePictureUrl: string | null }
}> };
diff --git a/apps/web/src/lib/service-clients/service-storage/openapi.json b/apps/web/src/lib/service-clients/service-storage/openapi.json
index cdffaeba2f..2400f6d0ba 100644
--- a/apps/web/src/lib/service-clients/service-storage/openapi.json
+++ b/apps/web/src/lib/service-clients/service-storage/openapi.json
@@ -10862,56 +10862,78 @@
}
}
},
- "/pins": {
+ "/messages/{parent_type}/{parent_id}": {
"get": {
- "tags": ["pins::get_pins"],
- "summary": "Gets the users pinned items",
- "operationId": "get_pins_handler",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPinsResponse"
- }
- }
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Read a bounded timeline with lazy thread previews.",
+ "operationId": "message_timeline",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "500": {
+ {
+ "name": "selection",
+ "in": "query",
+ "description": "Serialized MessageTimelineQuery; absent selects the latest roots.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/MessagePage"
}
}
}
}
}
},
- "patch": {
- "tags": ["pins::reorder_pins"],
- "summary": "Saves the updated order of the pins for the user",
- "operationId": "reorder_pins_handler",
+ "post": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Create a root message or reply.",
+ "operationId": "entity_message_create",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ReorderPinRequest"
- }
+ "$ref": "#/components/schemas/PostMessage"
}
}
},
@@ -10923,65 +10945,148 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/items/{id}": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Resolve a message within its parent.",
+ "operationId": "entity_message_get_message",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "404": {
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ },
+ "delete": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Tombstone one message while preserving replies.",
+ "operationId": "entity_message_delete_message",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "description": "Client nonce.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
}
}
- }
- },
- "/pins/{pinned_item_id}": {
- "post": {
- "tags": ["pins::add_pin"],
- "summary": "Pins the item for the user",
- "operationId": "add_pin_handler",
+ },
+ "patch": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Edit an owned message.",
+ "operationId": "entity_message_edit",
"parameters": [
{
- "name": "pinned_item_id",
+ "name": "parent_type",
"in": "path",
- "description": "ID of the pinned item",
"required": true,
"schema": {
"type": "string"
}
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AddPinRequest"
+ "$ref": "#/components/schemas/MessagePatch"
}
}
},
@@ -10993,63 +11098,51 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
- }
- }
- }
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "500": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
}
}
- },
- "delete": {
- "tags": ["pins::remove_pin"],
- "summary": "Deletes the pin for the user",
- "operationId": "remove_pin_handler",
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/items/{id}/reactions": {
+ "post": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Change the caller's reaction.",
+ "operationId": "entity_message_react",
"parameters": [
{
- "name": "pinned_item_id",
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
"in": "path",
- "description": "ID of the pinned item",
"required": true,
"schema": {
"type": "string"
}
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PinRequest"
+ "$ref": "#/components/schemas/ReactionInput"
}
}
},
@@ -11061,37 +11154,130 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/legacy/{legacy_id}": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Resolve an old link under current parent permissions.",
+ "operationId": "entity_message_legacy",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "404": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "legacy_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ {
+ "name": "thread",
+ "in": "query",
+ "description": "Resolve a thread id instead of a comment id.",
+ "required": false,
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/references": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Read source channel threads mentioning this document under both parents' permissions.",
+ "operationId": "entity_message_references",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "limit",
+ "in": "query",
+ "description": "Maximum number of roots.",
+ "required": false,
+ "schema": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "minimum": 0
+ }
+ },
+ {
+ "name": "created_at",
+ "in": "query",
+ "description": "Last root's creation timestamp.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"],
+ "format": "date-time"
+ }
+ },
+ {
+ "name": "cursor_id",
+ "in": "query",
+ "description": "Last root's UUID.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ReferencedThreadPage"
}
}
}
@@ -11099,65 +11285,211 @@
}
}
},
- "/projects": {
+ "/messages/{parent_type}/{parent_id}/threads/{id}": {
"get": {
- "tags": ["project"],
- "summary": "List projects visible to the authenticated user.",
- "operationId": "get_projects_handler",
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Open a specific discussion from a link or annotation.",
+ "operationId": "entity_message_get_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectsResponse"
+ "$ref": "#/components/schemas/MessageThread"
}
}
}
+ }
+ }
+ },
+ "delete": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Explicitly remove a discussion.",
+ "operationId": "entity_message_delete_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "401": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "description": "Client nonce.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ThreadState"
}
}
}
+ }
+ }
+ },
+ "patch": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Update a discussion's lifecycle and placement.",
+ "operationId": "entity_message_patch_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ThreadPatch"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ThreadState"
}
}
}
}
}
- },
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/typing": {
"post": {
- "tags": ["project"],
- "summary": "Create a project, optionally beneath an existing project.",
- "operationId": "create_project_handler",
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Broadcast typing within an authorized discussion.",
+ "operationId": "entity_message_typing",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateProjectRequest"
+ "$ref": "#/components/schemas/TypingInput"
}
}
},
"required": true
},
+ "responses": {
+ "204": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/pins": {
+ "get": {
+ "tags": ["pins::get_pins"],
+ "summary": "Gets the users pinned items",
+ "operationId": "get_pins_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateProjectResponse"
+ "$ref": "#/components/schemas/GetPinsResponse"
}
}
}
@@ -11183,54 +11515,31 @@
}
}
}
- }
- },
- "/projects/pending": {
- "get": {
- "tags": ["project"],
- "summary": "List pending root projects owned by the authenticated user.",
- "operationId": "get_pending_projects_handler",
+ },
+ "patch": {
+ "tags": ["pins::reorder_pins"],
+ "summary": "Saves the updated order of the pins for the user",
+ "operationId": "reorder_pins_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ReorderPinRequest"
+ }
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "array",
- "items": {
- "allOf": [
- {
- "$ref": "#/components/schemas/Project"
- },
- {
- "type": "object",
- "required": ["documentStatuses"],
- "properties": {
- "documentStatuses": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ProjectDocumentStatus"
- }
- }
- }
- }
- ]
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11245,6 +11554,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11258,16 +11577,27 @@
}
}
},
- "/projects/preview": {
+ "/pins/{pinned_item_id}": {
"post": {
- "tags": ["project"],
- "summary": "Get previews for a batch of project IDs.",
- "operationId": "get_batch_project_preview",
+ "tags": ["pins::add_pin"],
+ "summary": "Pins the item for the user",
+ "operationId": "add_pin_handler",
+ "parameters": [
+ {
+ "name": "pinned_item_id",
+ "in": "path",
+ "description": "ID of the pinned item",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetBatchProjectPreviewRequest"
+ "$ref": "#/components/schemas/AddPinRequest"
}
}
},
@@ -11279,7 +11609,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetBatchProjectPreviewResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11294,6 +11624,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11305,18 +11645,27 @@
}
}
}
- }
- },
- "/projects/upload": {
- "post": {
- "tags": ["projects_hex::inbound::axum_router::upload_folder"],
- "summary": "Upload a folder tree and create its upload destinations.",
- "operationId": "upload_folder_handler",
+ },
+ "delete": {
+ "tags": ["pins::remove_pin"],
+ "summary": "Deletes the pin for the user",
+ "operationId": "remove_pin_handler",
+ "parameters": [
+ {
+ "name": "pinned_item_id",
+ "in": "path",
+ "description": "ID of the pinned item",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UploadFolderRequest"
+ "$ref": "#/components/schemas/PinRequest"
}
}
},
@@ -11328,33 +11677,7 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "object",
- "required": ["fileSystem", "destinationMap"],
- "properties": {
- "destinationMap": {
- "$ref": "#/components/schemas/HashMap",
- "description": "maps document id to presigned url (external) or s3 info (internal)"
- },
- "fileSystem": {
- "$ref": "#/components/schemas/FileSystemNodeWithIds",
- "description": "file system with project ids and document ids"
- }
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11392,52 +11715,18 @@
}
}
},
- "/projects/upload_extract": {
- "post": {
+ "/projects": {
+ "get": {
"tags": ["project"],
- "summary": "Create a request for extracting an uploaded folder archive.",
- "operationId": "upload_extract_folder_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadExtractFolderRequest"
- }
- }
- },
- "required": true
- },
+ "summary": "List projects visible to the authenticated user.",
+ "operationId": "get_projects_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "object",
- "required": ["requestId", "presignedUrl"],
- "properties": {
- "presignedUrl": {
- "type": "string"
- },
- "requestId": {
- "type": "string"
- }
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/GetProjectsResponse"
}
}
}
@@ -11452,16 +11741,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -11473,31 +11752,28 @@
}
}
}
- }
- },
- "/projects/{id}": {
- "get": {
- "tags": ["projects_hex::inbound::axum_router::get_project"],
- "summary": "Get project metadata.",
- "operationId": "get_project_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ },
+ "post": {
+ "tags": ["project"],
+ "summary": "Create a project, optionally beneath an existing project.",
+ "operationId": "create_project_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateProjectRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectResponse"
+ "$ref": "#/components/schemas/CreateProjectResponse"
}
}
}
@@ -11523,22 +11799,13 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/projects/pending": {
+ "get": {
"tags": ["project"],
- "summary": "Soft-delete a project and all of its children.",
- "operationId": "delete_project_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
+ "summary": "List pending root projects owned by the authenticated user.",
+ "operationId": "get_pending_projects_handler",
"responses": {
"200": {
"description": "",
@@ -11551,35 +11818,25 @@
"data": {
"oneOf": [
{
- "type": "object",
- "description": "Identifiers affected by a recursive project soft deletion.",
- "required": [
- "project_ids",
- "document_ids",
- "chat_ids"
- ],
- "properties": {
- "chat_ids": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Deleted chats."
- },
- "document_ids": {
- "type": "array",
- "items": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Project"
},
- "description": "Deleted documents."
- },
- "project_ids": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Deleted projects, including the requested root."
- }
+ {
+ "type": "object",
+ "required": ["documentStatuses"],
+ "properties": {
+ "documentStatuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProjectDocumentStatus"
+ }
+ }
+ }
+ }
+ ]
}
}
],
@@ -11617,29 +11874,28 @@
}
}
},
- "/projects/{id}/access_level": {
- "get": {
+ "/projects/preview": {
+ "post": {
"tags": ["project"],
- "summary": "Get the caller's project access level.",
- "operationId": "get_project_user_access_level",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "summary": "Get previews for a batch of project IDs.",
+ "operationId": "get_batch_project_preview",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetBatchProjectPreviewRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AccessLevel"
+ "$ref": "#/components/schemas/GetBatchProjectPreviewResponse"
}
}
}
@@ -11654,16 +11910,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -11677,29 +11923,54 @@
}
}
},
- "/projects/{id}/content": {
- "get": {
- "tags": ["project"],
- "summary": "Get a project's immediate children.",
- "operationId": "get_project_content_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "/projects/upload": {
+ "post": {
+ "tags": ["projects_hex::inbound::axum_router::upload_folder"],
+ "summary": "Upload a folder tree and create its upload destinations.",
+ "operationId": "upload_folder_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadFolderRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectContentResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "required": ["fileSystem", "destinationMap"],
+ "properties": {
+ "destinationMap": {
+ "$ref": "#/components/schemas/HashMap",
+ "description": "maps document id to presigned url (external) or s3 info (internal)"
+ },
+ "fileSystem": {
+ "$ref": "#/components/schemas/FileSystemNodeWithIds",
+ "description": "file system with project ids and document ids"
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11714,6 +11985,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11727,29 +12008,52 @@
}
}
},
- "/projects/{id}/permanent": {
- "delete": {
+ "/projects/upload_extract": {
+ "post": {
"tags": ["project"],
- "summary": "Permanently delete a soft-deleted project and all of its children.",
- "operationId": "permanently_delete_project",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "summary": "Create a request for extracting an uploaded folder archive.",
+ "operationId": "upload_extract_folder_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadExtractFolderRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "required": ["requestId", "presignedUrl"],
+ "properties": {
+ "presignedUrl": {
+ "type": "string"
+ },
+ "requestId": {
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11787,11 +12091,11 @@
}
}
},
- "/projects/{id}/permissions": {
+ "/projects/{id}": {
"get": {
- "tags": ["project"],
- "summary": "Get a project's share permissions.",
- "operationId": "get_project_permissions_v2",
+ "tags": ["projects_hex::inbound::axum_router::get_project"],
+ "summary": "Get project metadata.",
+ "operationId": "get_project_handler",
"parameters": [
{
"name": "id",
@@ -11809,12 +12113,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SharePermissionV2"
+ "$ref": "#/components/schemas/GetProjectResponse"
}
}
}
},
- "404": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -11835,13 +12139,11 @@
}
}
}
- }
- },
- "/projects/{id}/revert_delete": {
- "put": {
+ },
+ "delete": {
"tags": ["project"],
- "summary": "Restore a soft-deleted project and its children.",
- "operationId": "revert_delete_project",
+ "summary": "Soft-delete a project and all of its children.",
+ "operationId": "delete_project_handler",
"parameters": [
{
"name": "id",
@@ -11859,7 +12161,51 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Identifiers affected by a recursive project soft deletion.",
+ "required": [
+ "project_ids",
+ "document_ids",
+ "chat_ids"
+ ],
+ "properties": {
+ "chat_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted chats."
+ },
+ "document_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted documents."
+ },
+ "project_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted projects, including the requested root."
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11874,17 +12220,7 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "500": {
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -11897,23 +12233,34 @@
}
}
},
- "/recents/deleted": {
+ "/projects/{id}/access_level": {
"get": {
- "tags": ["recents"],
- "summary": "Gets the users recently deleted items.",
- "operationId": "recently_deleted",
+ "tags": ["project"],
+ "summary": "Get the caller's project access level.",
+ "operationId": "get_project_user_access_level",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TypedSuccessResponse"
+ "$ref": "#/components/schemas/AccessLevel"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -11923,7 +12270,7 @@
}
}
},
- "401": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -11946,87 +12293,17 @@
}
}
},
- "/reminders": {
+ "/projects/{id}/content": {
"get": {
- "tags": ["reminders"],
- "summary": "List the caller's reminders, soonest firing first.",
- "operationId": "list_reminders",
+ "tags": ["project"],
+ "summary": "Get a project's immediate children.",
+ "operationId": "get_project_content_handler",
"parameters": [
{
- "name": "entityType",
- "in": "query",
- "description": "Restrict to reminders attached to an entity of these types.",
- "required": false,
- "schema": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The type of an entity in Macro",
- "enum": [
- "user",
- "chat",
- "channel",
- "channel_message",
- "document",
- "project",
- "email_thread",
- "calendar_event",
- "team",
- "call",
- "foreign_entity",
- "static_file",
- "crm_company",
- "crm_contact",
- "reminder",
- "skill",
- "agent_session",
- "scheduled_action",
- "initiative"
- ]
- }
- },
- "style": "form",
- "explode": true
- },
- {
- "name": "entityId",
- "in": "query",
- "description": "Restrict to reminders attached to these entity ids.",
- "required": false,
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "style": "form",
- "explode": true
- },
- {
- "name": "includeCompleted",
- "in": "query",
- "description": "Include reminders that have already fired.",
- "required": false,
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "limit",
- "in": "query",
- "description": "Page size. Defaults to 100; larger values are capped at 500. A value\nthat is not a non-negative integer is rejected by the query extractor.",
- "required": false,
- "schema": {
- "type": "integer",
- "format": "int32",
- "minimum": 0
- }
- },
- {
- "name": "cursor",
- "in": "query",
- "description": "`nextCursor` from a previous page.",
- "required": false,
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
"schema": {
"type": "string"
}
@@ -12038,117 +12315,137 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RemindersList"
+ "$ref": "#/components/schemas/GetProjectContentResponse"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "401": {
- "description": "Missing or invalid credentials",
+ "500": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
- },
- "500": {
+ }
+ }
+ }
+ },
+ "/projects/{id}/permanent": {
+ "delete": {
+ "tags": ["project"],
+ "summary": "Permanently delete a soft-deleted project and all of its children.",
+ "operationId": "permanently_delete_project",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
- }
- }
- },
- "post": {
- "tags": ["reminders"],
- "summary": "Create a reminder, optionally attached to an entity the caller can view.",
- "operationId": "create_reminder",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateReminderRequest"
- }
- }
},
- "required": true
- },
- "responses": {
- "201": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "400": {
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "401": {
- "description": "Missing or invalid credentials",
+ "500": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
- },
- "403": {
- "description": "No access to the requested entity",
+ }
+ }
+ }
+ },
+ "/projects/{id}/permissions": {
+ "get": {
+ "tags": ["project"],
+ "summary": "Get a project's share permissions.",
+ "operationId": "get_project_permissions_v2",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/SharePermissionV2"
}
}
}
},
"404": {
- "description": "The requested entity does not exist",
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "422": {
- "description": "Malformed request body (plain text)"
- },
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12156,20 +12453,19 @@
}
}
},
- "/reminders/{id}": {
- "get": {
- "tags": ["reminders"],
- "summary": "Fetch one of the caller's reminders.",
- "operationId": "get_reminder",
+ "/projects/{id}/revert_delete": {
+ "put": {
+ "tags": ["project"],
+ "summary": "Restore a soft-deleted project and its children.",
+ "operationId": "revert_delete_project",
"parameters": [
{
"name": "id",
"in": "path",
- "description": "The reminder id.",
+ "description": "ID of the project",
"required": true,
"schema": {
- "type": "string",
- "format": "uuid"
+ "type": "string"
}
}
],
@@ -12179,17 +12475,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
"401": {
- "description": "Missing or invalid credentials",
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12199,7 +12495,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12209,49 +12505,46 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
}
}
- },
- "delete": {
- "tags": ["reminders"],
- "summary": "Delete one of the caller's reminders.",
- "operationId": "delete_reminder",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "The reminder id.",
- "required": true,
- "schema": {
- "type": "string",
- "format": "uuid"
- }
- }
- ],
+ }
+ },
+ "/recents/deleted": {
+ "get": {
+ "tags": ["recents"],
+ "summary": "Gets the users recently deleted items.",
+ "operationId": "recently_deleted",
"responses": {
- "204": {
- "description": "Reminder deleted"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TypedSuccessResponse"
+ }
+ }
+ }
},
- "401": {
- "description": "Missing or invalid credentials",
+ "400": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "404": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12261,46 +12554,107 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
}
}
- },
- "patch": {
+ }
+ },
+ "/reminders": {
+ "get": {
"tags": ["reminders"],
- "summary": "Modify one of the caller's reminders.",
- "operationId": "update_reminder",
+ "summary": "List the caller's reminders, soonest firing first.",
+ "operationId": "list_reminders",
"parameters": [
{
- "name": "id",
- "in": "path",
- "description": "The reminder id.",
- "required": true,
+ "name": "entityType",
+ "in": "query",
+ "description": "Restrict to reminders attached to an entity of these types.",
+ "required": false,
"schema": {
- "type": "string",
- "format": "uuid"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateReminderRequest"
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The type of an entity in Macro",
+ "enum": [
+ "user",
+ "chat",
+ "channel",
+ "channel_message",
+ "document",
+ "project",
+ "email_thread",
+ "calendar_event",
+ "team",
+ "call",
+ "foreign_entity",
+ "static_file",
+ "crm_company",
+ "crm_contact",
+ "reminder",
+ "skill",
+ "agent_session",
+ "scheduled_action",
+ "initiative"
+ ]
+ }
+ },
+ "style": "form",
+ "explode": true
+ },
+ {
+ "name": "entityId",
+ "in": "query",
+ "description": "Restrict to reminders attached to these entity ids.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
+ },
+ "style": "form",
+ "explode": true
+ },
+ {
+ "name": "includeCompleted",
+ "in": "query",
+ "description": "Include reminders that have already fired.",
+ "required": false,
+ "schema": {
+ "type": "boolean"
}
},
- "required": true
- },
+ {
+ "name": "limit",
+ "in": "query",
+ "description": "Page size. Defaults to 100; larger values are capped at 500. A value\nthat is not a non-negative integer is rejected by the query extractor.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0
+ }
+ },
+ {
+ "name": "cursor",
+ "in": "query",
+ "description": "`nextCursor` from a previous page.",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/RemindersList"
}
}
}
@@ -12325,19 +12679,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ErrorResponse"
- }
- }
- }
- },
- "422": {
- "description": "Malformed request body (plain text)"
- },
"500": {
"description": "",
"content": {
@@ -12349,24 +12690,33 @@
}
}
}
- }
- },
- "/saved_views": {
- "get": {
- "tags": ["saved_views"],
- "operationId": "get_views_handler",
+ },
+ "post": {
+ "tags": ["reminders"],
+ "summary": "Create a reminder, optionally attached to an entity the caller can view.",
+ "operationId": "create_reminder",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReminderRequest"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
- "200": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ViewsResponse"
+ "$ref": "#/components/schemas/Reminder"
}
}
}
},
- "401": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -12376,8 +12726,8 @@
}
}
},
- "500": {
- "description": "",
+ "401": {
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
@@ -12385,35 +12735,19 @@
}
}
}
- }
- }
- },
- "post": {
- "tags": ["saved_views"],
- "operationId": "create_view_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateViewRequest"
- }
- }
},
- "required": true
- },
- "responses": {
- "200": {
- "description": "",
+ "403": {
+ "description": "No access to the requested entity",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/View"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
- "description": "",
+ "404": {
+ "description": "The requested entity does not exist",
"content": {
"application/json": {
"schema": {
@@ -12422,6 +12756,9 @@
}
}
},
+ "422": {
+ "description": "Malformed request body (plain text)"
+ },
"500": {
"description": "",
"content": {
@@ -12435,26 +12772,36 @@
}
}
},
- "/saved_views/exclude_default": {
- "post": {
- "tags": ["saved_views"],
- "operationId": "exclude_default_view_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ExcludeDefaultViewRequest"
- }
+ "/reminders/{id}": {
+ "get": {
+ "tags": ["reminders"],
+ "summary": "Fetch one of the caller's reminders.",
+ "operationId": "get_reminder",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The reminder id.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
}
- },
- "required": true
- },
+ }
+ ],
"responses": {
"200": {
- "description": ""
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Reminder"
+ }
+ }
+ }
},
"401": {
- "description": "",
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
@@ -12463,7 +12810,7 @@
}
}
},
- "500": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -12472,30 +12819,50 @@
}
}
}
- }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
}
- }
- },
- "/saved_views/{saved_view_id}": {
+ },
"delete": {
- "tags": ["saved_views"],
- "operationId": "delete_view_handler",
+ "tags": ["reminders"],
+ "summary": "Delete one of the caller's reminders.",
+ "operationId": "delete_reminder",
"parameters": [
{
- "name": "saved_view_id",
+ "name": "id",
"in": "path",
- "description": "The id of the saved view to delete",
+ "description": "The reminder id.",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "format": "uuid"
}
}
],
"responses": {
- "200": {
- "description": ""
+ "204": {
+ "description": "Reminder deleted"
},
"401": {
+ "description": "Missing or invalid credentials",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -12518,16 +12885,18 @@
}
},
"patch": {
- "tags": ["saved_views"],
- "operationId": "patch_view_handler",
+ "tags": ["reminders"],
+ "summary": "Modify one of the caller's reminders.",
+ "operationId": "update_reminder",
"parameters": [
{
- "name": "saved_view_id",
+ "name": "id",
"in": "path",
- "description": "The id of the saved view to patch",
+ "description": "The reminder id.",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "format": "uuid"
}
}
],
@@ -12535,7 +12904,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ViewPatch"
+ "$ref": "#/components/schemas/UpdateReminderRequest"
}
}
},
@@ -12543,19 +12912,16 @@
},
"responses": {
"200": {
- "description": ""
- },
- "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/Reminder"
}
}
}
},
- "500": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -12564,94 +12930,36 @@
}
}
}
- }
- }
- }
- },
- "/sync_service/wakeup": {
- "post": {
- "tags": ["sync_service"],
- "operationId": "bulk_wakeup_sync_service_documents",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BulkWakeupRequest"
- }
- }
- },
- "required": true
- },
- "responses": {
- "202": {
- "description": "Wakeups accepted for fire-and-forget dispatch",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BulkWakeupResponse"
- }
- }
- }
},
"401": {
- "description": "Authentication required (JSON error response)"
- }
- }
- }
- },
- "/threads/{thread_id}": {
- "patch": {
- "tags": ["threads"],
- "summary": "Edits the share permissions of a thread.",
- "operationId": "edit_thread_v2",
- "parameters": [
- {
- "name": "thread_id",
- "in": "path",
- "description": "thread ID",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PatchThreadRequestV2"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "description": "",
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
+ "422": {
+ "description": "Malformed request body (plain text)"
+ },
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12659,18 +12967,17 @@
}
}
},
- "/user-api-keys": {
+ "/saved_views": {
"get": {
- "tags": ["user-api-keys"],
- "summary": "List the caller's API keys.",
- "operationId": "list_user_api_keys",
+ "tags": ["saved_views"],
+ "operationId": "get_views_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserApiKeysList"
+ "$ref": "#/components/schemas/ViewsResponse"
}
}
}
@@ -12698,31 +13005,40 @@
}
},
"post": {
- "tags": ["user-api-keys"],
- "summary": "Mint a new API key for the caller.",
- "operationId": "create_user_api_key",
+ "tags": ["saved_views"],
+ "operationId": "create_view_handler",
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateUserApiKeyRequest"
+ "$ref": "#/components/schemas/CreateViewRequest"
}
}
},
"required": true
},
"responses": {
- "201": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreatedUserApiKey"
+ "$ref": "#/components/schemas/View"
}
}
}
},
- "400": {
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -12731,6 +13047,27 @@
}
}
}
+ }
+ }
+ }
+ },
+ "/saved_views/exclude_default": {
+ "post": {
+ "tags": ["saved_views"],
+ "operationId": "exclude_default_view_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ExcludeDefaultViewRequest"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "description": ""
},
"401": {
"description": "",
@@ -12755,25 +13092,24 @@
}
}
},
- "/user-api-keys/{id}": {
+ "/saved_views/{saved_view_id}": {
"delete": {
- "tags": ["user-api-keys"],
- "summary": "Delete one of the caller's API keys.",
- "operationId": "delete_user_api_key",
+ "tags": ["saved_views"],
+ "operationId": "delete_view_handler",
"parameters": [
{
- "name": "id",
+ "name": "saved_view_id",
"in": "path",
- "description": "Opaque key identifier.",
+ "description": "The id of the saved view to delete",
"required": true,
"schema": {
- "$ref": "#/components/schemas/UserApiKeyId"
+ "type": "string"
}
}
],
"responses": {
- "204": {
- "description": "API key deleted"
+ "200": {
+ "description": ""
},
"401": {
"description": "",
@@ -12785,16 +13121,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -12806,79 +13132,99 @@
}
}
}
- }
- },
- "/user_document_view_location/{document_id}": {
- "get": {
- "tags": [
- "user_document_view_location::get_user_document_view_location"
- ],
- "summary": "Gets a UserPdfDocumentLocation entry",
- "operationId": "get_user_document_view_location",
+ },
+ "patch": {
+ "tags": ["saved_views"],
+ "operationId": "patch_view_handler",
"parameters": [
{
- "name": "document_id",
+ "name": "saved_view_id",
"in": "path",
- "description": "Document ID",
+ "description": "The id of the saved view to patch",
"required": true,
"schema": {
"type": "string"
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ViewPatch"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
+ "description": ""
+ },
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserDocumentViewLocationResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
+ "500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
+ }
+ }
+ }
+ },
+ "/sync_service/wakeup": {
+ "post": {
+ "tags": ["sync_service"],
+ "operationId": "bulk_wakeup_sync_service_documents",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BulkWakeupRequest"
}
}
},
- "500": {
- "description": "",
+ "required": true
+ },
+ "responses": {
+ "202": {
+ "description": "Wakeups accepted for fire-and-forget dispatch",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/BulkWakeupResponse"
}
}
}
+ },
+ "401": {
+ "description": "Authentication required (JSON error response)"
}
}
- },
- "post": {
- "tags": [
- "user_document_view_location::upsert_user_document_view_location"
- ],
- "operationId": "upsert_user_document_view_location",
+ }
+ },
+ "/threads/{thread_id}": {
+ "patch": {
+ "tags": ["threads"],
+ "summary": "Edits the share permissions of a thread.",
+ "operationId": "edit_thread_v2",
"parameters": [
{
- "name": "document_id",
+ "name": "thread_id",
"in": "path",
- "description": "Document ID",
+ "description": "thread ID",
"required": true,
"schema": {
"type": "string"
@@ -12889,7 +13235,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UpsertUserDocumentViewLocationRequest"
+ "$ref": "#/components/schemas/PatchThreadRequestV2"
}
}
},
@@ -12901,12 +13247,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmptyResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -12916,7 +13262,7 @@
}
}
},
- "401": {
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -12925,43 +13271,142 @@
}
}
}
+ }
+ }
+ }
+ },
+ "/user-api-keys": {
+ "get": {
+ "tags": ["user-api-keys"],
+ "summary": "List the caller's API keys.",
+ "operationId": "list_user_api_keys",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserApiKeysList"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
},
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
+ "post": {
+ "tags": ["user-api-keys"],
+ "summary": "Mint a new API key for the caller.",
+ "operationId": "create_user_api_key",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateUserApiKeyRequest"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreatedUserApiKey"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/user-api-keys/{id}": {
"delete": {
- "tags": [
- "user_document_view_location::delete_user_document_view_location"
- ],
- "summary": "Deletes a document location for the user",
- "operationId": "delete_user_document_view_location",
+ "tags": ["user-api-keys"],
+ "summary": "Delete one of the caller's API keys.",
+ "operationId": "delete_user_api_key",
"parameters": [
{
- "name": "document_id",
+ "name": "id",
"in": "path",
- "description": "Document ID",
+ "description": "Opaque key identifier.",
"required": true,
"schema": {
- "type": "string"
+ "$ref": "#/components/schemas/UserApiKeyId"
}
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "API key deleted"
+ },
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmptyResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12971,7 +13416,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12979,11 +13424,13 @@
}
}
},
- "/v2/documents/{document_id}/permissions": {
+ "/user_document_view_location/{document_id}": {
"get": {
- "tags": ["document"],
- "summary": "Gets the current documents share permissions",
- "operationId": "get_document_permissions_v2",
+ "tags": [
+ "user_document_view_location::get_user_document_view_location"
+ ],
+ "summary": "Gets a UserPdfDocumentLocation entry",
+ "operationId": "get_user_document_view_location",
"parameters": [
{
"name": "document_id",
@@ -13001,7 +13448,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetDocumentPermissionsResponseDataV2"
+ "$ref": "#/components/schemas/UserDocumentViewLocationResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericResponse"
}
}
}
@@ -13027,18 +13484,17 @@
}
}
}
- }
- },
- "/v2/projects/{id}": {
- "patch": {
- "tags": ["project"],
- "summary": "Edit project metadata and sharing settings.",
- "operationId": "edit_project_v2",
+ },
+ "post": {
+ "tags": [
+ "user_document_view_location::upsert_user_document_view_location"
+ ],
+ "operationId": "upsert_user_document_view_location",
"parameters": [
{
- "name": "id",
+ "name": "document_id",
"in": "path",
- "description": "ID of the project",
+ "description": "Document ID",
"required": true,
"schema": {
"type": "string"
@@ -13049,7 +13505,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PatchProjectRequestV2"
+ "$ref": "#/components/schemas/UpsertUserDocumentViewLocationRequest"
}
}
},
@@ -13061,7 +13517,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/EmptyResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -13087,26 +13553,176 @@
}
}
}
- }
- },
- "/webhook/events/stream": {
- "get": {
- "tags": ["webhook"],
- "summary": "Stream matching broker events to the caller over Server-Sent Events.",
- "operationId": "stream_events",
+ },
+ "delete": {
+ "tags": [
+ "user_document_view_location::delete_user_document_view_location"
+ ],
+ "summary": "Deletes a document location for the user",
+ "operationId": "delete_user_document_view_location",
"parameters": [
{
- "name": "scope",
- "in": "query",
- "description": "Personal or team workspace whose webhook lifecycle events are delivered.",
+ "name": "document_id",
+ "in": "path",
+ "description": "Document ID",
"required": true,
"schema": {
- "$ref": "#/components/schemas/WebhookScope"
+ "type": "string"
}
- },
- {
- "name": "filters",
- "in": "query",
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/EmptyResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v2/documents/{document_id}/permissions": {
+ "get": {
+ "tags": ["document"],
+ "summary": "Gets the current documents share permissions",
+ "operationId": "get_document_permissions_v2",
+ "parameters": [
+ {
+ "name": "document_id",
+ "in": "path",
+ "description": "Document ID",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetDocumentPermissionsResponseDataV2"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v2/projects/{id}": {
+ "patch": {
+ "tags": ["project"],
+ "summary": "Edit project metadata and sharing settings.",
+ "operationId": "edit_project_v2",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PatchProjectRequestV2"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SuccessResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/webhook/events/stream": {
+ "get": {
+ "tags": ["webhook"],
+ "summary": "Stream matching broker events to the caller over Server-Sent Events.",
+ "operationId": "stream_events",
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "query",
+ "description": "Personal or team workspace whose webhook lifecycle events are delivered.",
+ "required": true,
+ "schema": {
+ "$ref": "#/components/schemas/WebhookScope"
+ }
+ },
+ {
+ "name": "filters",
+ "in": "query",
"description": "URL-encoded JSON array of webhook filters, identical to the persisted\nwebhook `filters` field.",
"required": false,
"schema": {
@@ -15310,6 +15926,73 @@
}
}
},
+ "AttachmentChange": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Keep current attachments.",
+ "required": ["type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["preserve"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Replace all attachments.",
+ "required": ["value", "type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["replace"]
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "Replace all attachments."
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Remove stored attachment identities and append new references.",
+ "required": ["value", "type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["delta"]
+ },
+ "value": {
+ "type": "object",
+ "description": "Remove stored attachment identities and append new references.",
+ "required": ["remove", "add"],
+ "properties": {
+ "add": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "New attachments to append."
+ },
+ "remove": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Existing attachment UUIDs to remove."
+ }
+ }
+ }
+ }
+ }
+ ],
+ "description": "Attachment changes interpreted by the common command boundary."
+ },
"AttendeeResponseStatus": {
"type": "string",
"description": "RSVP state for an attendee.",
@@ -15606,6 +16289,21 @@
],
"description": "Bot owner."
},
+ "BotSenderProfile": {
+ "type": "object",
+ "description": "Public bot profile attached to bot-authored messages.",
+ "required": ["name"],
+ "properties": {
+ "avatar_url": {
+ "type": ["string", "null"],
+ "description": "Bot avatar URL."
+ },
+ "name": {
+ "type": "string",
+ "description": "Bot display name."
+ }
+ }
+ },
"BotToken": {
"type": "object",
"description": "Bot token metadata.",
@@ -17889,6 +18587,24 @@
}
}
},
+ "CountedReaction": {
+ "type": "object",
+ "description": "Reaction emoji and the users who added it.",
+ "required": ["emoji", "users"],
+ "properties": {
+ "emoji": {
+ "type": "string",
+ "description": "Emoji being reacted with."
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "User identifiers."
+ }
+ }
+ },
"CreateAgentRequest": {
"type": "object",
"description": "Request to create a persisted AI agent.",
@@ -19941,6 +20657,10 @@
}
}
},
+ "DocumentId": {
+ "type": "string",
+ "description": "A validated document identifier. Historical document ids need not be UUIDs."
+ },
"DocumentInteractionMetadata": {
"type": "object",
"description": "Metadata for [`DocumentTopicEvent::Interaction`].",
@@ -23290,6 +24010,17 @@
"type": "integer",
"enum": [1, 2, 3]
},
+ "ImportedAuthor": {
+ "type": "object",
+ "description": "Display attribution for a comment imported from an external document.",
+ "required": ["name"],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Original author text; never interpreted as an authenticated principal."
+ }
+ }
+ },
"InFlightTurnSummary": {
"type": "object",
"description": "A turn the runtime never answered: the session stopped underneath it.",
@@ -23660,11 +24391,581 @@
"mentionId": {
"type": "string"
},
- "users": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Message": {
+ "type": "object",
+ "description": "Shared message representation for channel timelines and entity discussions.",
+ "required": [
+ "id",
+ "parent",
+ "sender_id",
+ "mentions",
+ "content",
+ "created_at",
+ "updated_at",
+ "attachments",
+ "reactions"
+ ],
+ "properties": {
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageAttachment"
+ },
+ "description": "Attached entities."
+ },
+ "bot_profile": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/BotSenderProfile",
+ "description": "Public bot name and avatar for rendering shared message authors."
+ }
+ ]
+ },
+ "content": {
+ "type": "string",
+ "description": "Macro Markdown body."
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time."
+ },
+ "deleted_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Message tombstone, independent of thread deletion."
+ },
+ "edited_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Last content edit, if any."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Message UUID."
+ },
+ "imported_author": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/ImportedAuthor",
+ "description": "Original external author, when imported."
+ }
+ ]
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Tracked mentions, retained when a caller changes attachments only."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Entity that owns this conversation."
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CountedReaction"
+ },
+ "description": "Aggregated reactions."
+ },
+ "sender_id": {
+ "type": "string",
+ "description": "Authenticated actor or owner of imported content."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root message UUID for replies; absent on roots."
+ },
+ "triggered_by": {
+ "type": ["string", "null"],
+ "description": "User who triggered a bot-authored message."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last persisted update."
+ }
+ }
+ },
+ "MessageAttachment": {
+ "type": "object",
+ "description": "An entity attached to a message.",
+ "required": ["id", "entity_type", "entity_id", "created_at"],
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "When the attachment was added."
+ },
+ "entity_id": {
+ "type": "string",
+ "description": "Attached entity identifier."
+ },
+ "entity_type": {
+ "type": "string",
+ "description": "Attached entity type."
+ },
+ "height": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media height."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Attachment UUID."
+ },
+ "width": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media width."
+ }
+ }
+ },
+ "MessageChange": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "A message was posted.",
+ "required": ["notification_policy", "message", "mentions", "type"],
+ "properties": {
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Mentions included in this post."
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted message."
+ },
+ "notification_policy": {
+ "$ref": "#/components/schemas/PostMessageNotificationPolicy",
+ "description": "Trusted notification policy carried with the committed change."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["posted"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Message content and references were edited.",
+ "required": [
+ "notification_policy",
+ "message",
+ "mentions",
+ "previous_attachments",
+ "type"
+ ],
+ "properties": {
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Complete replacement mention set."
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted replacement message."
+ },
+ "notification_policy": {
+ "$ref": "#/components/schemas/PatchMessageNotificationPolicy",
+ "description": "Trusted notification policy for the edited content."
+ },
+ "previous_attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageAttachment"
+ },
+ "description": "Attachment identities before the edit, for channel change delivery."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["edited"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "One message was tombstoned; its thread may remain live.",
+ "required": ["message", "type"],
+ "properties": {
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted tombstone."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["message_deleted"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "The authenticated actor added or removed a reaction.",
+ "required": ["message", "type"],
+ "properties": {
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted message."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["reaction_changed"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Thread resolution, placement, or deletion changed.",
+ "required": ["state", "type"],
+ "properties": {
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Persisted thread state."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["thread_updated"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Transient typing indication.",
+ "required": ["active", "type"],
+ "properties": {
+ "active": {
+ "type": "boolean",
+ "description": "Whether the user is currently typing."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root being replied to, or no root for the parent composer."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["typing"]
+ }
+ }
+ }
+ ],
+ "description": "Kind of message change; notification policy only runs for posted messages."
+ },
+ "MessageCursor": {
+ "type": "object",
+ "description": "Cursor for a chronological parent timeline.",
+ "required": ["created_at", "id"],
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last root creation time."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Last root UUID, used to break timestamp ties."
+ }
+ }
+ },
+ "MessageDirection": {
+ "type": "string",
+ "description": "Direction through a parent timeline, retaining channel cursor semantics.",
+ "enum": ["older", "newer"]
+ },
+ "MessageEvent": {
+ "type": "object",
+ "description": "A committed message or thread change sent to delivery adapters.",
+ "required": ["parent", "actor", "change"],
+ "properties": {
+ "actor": {
+ "type": "string",
+ "description": "User or bot who initiated the operation."
+ },
+ "change": {
+ "$ref": "#/components/schemas/MessageChange",
+ "description": "Persisted change."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Mutation nonce for optimistic reconciliation."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Changed parent, used for subscriptions and cache invalidation."
+ }
+ }
+ },
+ "MessageListItem": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Message",
+ "description": "The same canonical message returned by item reads and writes."
+ },
+ {
+ "type": "object",
+ "required": ["state", "thread"],
+ "properties": {
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Thread metadata, independent of the first message's lifecycle."
+ },
+ "thread": {
+ "$ref": "#/components/schemas/MessageThreadPreview",
+ "description": "Bounded reply preview; full replies load on expansion."
+ }
+ }
+ }
+ ],
+ "description": "Root message with its small thread preview, independent of its parent type."
+ },
+ "MessagePage": {
+ "type": "object",
+ "description": "Bidirectional, bounded timeline page, ordered newest root first.",
+ "required": ["items"],
+ "properties": {
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageListItem"
+ },
+ "description": "Root messages with bounded previews."
+ },
+ "next_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Continue to older roots."
+ }
+ ]
+ },
+ "previous_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Continue to newer roots."
+ }
+ ]
+ }
+ }
+ },
+ "MessageParent": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "A channel, including direct messages.",
+ "required": ["id", "type"],
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "A channel, including direct messages."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["channel"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "A document, including tasks and PDFs.",
+ "required": ["id", "type"],
+ "properties": {
+ "id": {
+ "$ref": "#/components/schemas/DocumentId",
+ "description": "A document, including tasks and PDFs."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["document"]
+ }
+ }
+ }
+ ],
+ "description": "The entity whose permissions and lifecycle govern a message."
+ },
+ "MessagePatch": {
+ "type": "object",
+ "description": "Partial updates share the same authorship, reference, and delivery rules as edits.",
+ "properties": {
+ "attachments": {
+ "$ref": "#/components/schemas/AttachmentChange",
+ "description": "Attachment change, without adapter-side message reads."
+ },
+ "content": {
+ "type": ["string", "null"],
+ "description": "Replacement body; absent preserves current content."
+ },
+ "mentions": {
+ "type": ["array", "null"],
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Replacement authored mentions; absent preserves current mentions."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client mutation nonce."
+ }
+ }
+ },
+ "MessageThread": {
+ "type": "object",
+ "description": "A discussion with its root and ordered replies, including root tombstones.",
+ "required": ["state", "root", "replies"],
+ "properties": {
+ "replies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "description": "Replies in display order."
+ },
+ "root": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Root message, which may be a tombstone."
+ },
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Shared thread lifecycle and anchor state."
+ }
+ }
+ },
+ "MessageThreadPreview": {
+ "type": "object",
+ "description": "Thread counts and its oldest three live replies.",
+ "required": ["reply_count", "preview"],
+ "properties": {
+ "latest_reply_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Creation time of the latest live reply."
+ },
+ "preview": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "description": "Bounded preview using the canonical message shape."
+ },
+ "reply_count": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total live reply count."
+ }
+ }
+ },
+ "MessageTimelineQuery": {
+ "type": "object",
+ "description": "Root selection shared by channel timelines and document discussions.",
+ "properties": {
+ "activity_after": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Include roots or live replies created at or after this time."
+ },
+ "activity_before": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Include roots or live replies created before this time."
+ },
+ "anchored": {
+ "type": ["boolean", "null"],
+ "description": "Select anchored or unanchored roots; absent includes both."
+ },
+ "around": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Center on the root containing this message."
+ },
+ "cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Stable creation-time and UUID cursor."
+ }
+ ]
+ },
+ "direction": {
+ "$ref": "#/components/schemas/MessageDirection",
+ "description": "Which side of the cursor to fetch."
+ },
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Restrict roots to this set, for selected source threads."
+ },
+ "include_deleted_threads": {
+ "type": "boolean",
+ "description": "Include whole-thread tombstones when reconciling persisted document marks."
+ },
+ "limit": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Page size, clamped by the application to 1..=100.",
+ "minimum": 0
+ }
+ }
+ },
+ "NewAttachment": {
+ "type": "object",
+ "description": "An attachment to add to a message.",
+ "required": ["entity_type", "entity_id"],
+ "properties": {
+ "entity_id": {
+ "type": "string",
+ "description": "Attached entity identifier."
+ },
+ "entity_type": {
+ "type": "string",
+ "description": "Attached entity type."
+ },
+ "height": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media height."
+ },
+ "width": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media width."
}
}
},
@@ -23693,6 +24994,92 @@
}
}
},
+ "NewThreadAnchor": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Attach a discussion to a stable Markdown mark.",
+ "required": ["mark_id", "type"],
+ "properties": {
+ "mark_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Serialized mark identifier."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["markdown"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Attach an independently existing highlight on this document.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Highlight annotation identifier."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_highlight"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Atomically create a placeable annotation with the root message.",
+ "required": [
+ "anchor_id",
+ "page",
+ "x_pct",
+ "y_pct",
+ "width_pct",
+ "height_pct",
+ "type"
+ ],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Client-generated annotation identifier used by optimistic rendering."
+ },
+ "height_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Height as a fraction of the page height."
+ },
+ "page": {
+ "type": "integer",
+ "format": "int32",
+ "description": "PDF page number."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_placeable"]
+ },
+ "width_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Width as a fraction of the page width."
+ },
+ "x_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Horizontal position as a fraction of the page width."
+ },
+ "y_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Vertical position as a fraction of the page height."
+ }
+ }
+ }
+ ],
+ "description": "Location supplied when creating a document discussion."
+ },
"NotificationFilters": {
"type": "object",
"description": "Notification-level filters that apply to an entity type.",
@@ -23839,6 +25226,11 @@
}
}
},
+ "PatchMessageNotificationPolicy": {
+ "type": "string",
+ "description": "Internal notification behavior for a patched channel message.",
+ "enum": ["Default", "NotifyAsPostedMessage"]
+ },
"PatchMessageRequest": {
"type": "object",
"description": "Request to patch a channel message.",
@@ -24159,6 +25551,10 @@
"type": "integer",
"format": "int32"
},
+ "rootId": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ },
"text": {
"type": "string"
},
@@ -24291,7 +25687,6 @@
"uuid",
"documentId",
"owner",
- "threadId",
"page",
"originalPage",
"originalIndex",
@@ -24328,6 +25723,10 @@
"type": "integer",
"format": "int32"
},
+ "rootId": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ },
"rotation": {
"type": "number",
"format": "double"
@@ -24336,7 +25735,7 @@
"type": "boolean"
},
"threadId": {
- "type": "integer",
+ "type": ["integer", "null"],
"format": "int64"
},
"uuid": {
@@ -24551,6 +25950,56 @@
],
"description": "Request body for grouped soup queries with AST filters."
},
+ "PostMessage": {
+ "type": "object",
+ "description": "Create a root or reply. Thread state may only be supplied on a root.",
+ "required": ["content"],
+ "properties": {
+ "anchor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/NewThreadAnchor",
+ "description": "Optional document location for a new discussion."
+ }
+ ]
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "Initial attachments."
+ },
+ "content": {
+ "type": "string",
+ "description": "Macro Markdown body."
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Mentions tracked by the editor."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce for optimistic reconciliation."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root to reply to, if this is a reply."
+ }
+ }
+ },
+ "PostMessageNotificationPolicy": {
+ "type": "string",
+ "description": "Internal notification behavior for a posted channel message.",
+ "enum": ["Default", "MentionsOnly", "Silent"]
+ },
"PostMessageRequest": {
"type": "object",
"description": "Request to send a channel message.",
@@ -25199,6 +26648,25 @@
"description": "Reaction mutation action.",
"enum": ["Add", "Remove"]
},
+ "ReactionInput": {
+ "type": "object",
+ "description": "Reaction mutation for the authenticated user.",
+ "required": ["emoji", "add"],
+ "properties": {
+ "add": {
+ "type": "boolean",
+ "description": "Add when true, remove when false."
+ },
+ "emoji": {
+ "type": "string",
+ "description": "Emoji."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce."
+ }
+ }
+ },
"RecentlyDeletedResponseData": {
"type": "object",
"required": ["items"],
@@ -25212,6 +26680,55 @@
}
}
},
+ "ReferencedThread": {
+ "type": "object",
+ "description": "A source channel thread that mentions the requested document.",
+ "required": ["parent", "root_id", "can_reply"],
+ "properties": {
+ "can_reply": {
+ "type": "boolean",
+ "description": "Whether this viewer currently has permission to reply in the source channel."
+ },
+ "channel_name": {
+ "type": ["string", "null"],
+ "description": "Source channel's current display name, returned only after access checks."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Source parent used by the common message reader and mutations."
+ },
+ "root_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Source root identity; discovery does not copy its message content."
+ }
+ }
+ },
+ "ReferencedThreadPage": {
+ "type": "object",
+ "description": "Authorized source threads, deduplicated by root.",
+ "required": ["threads"],
+ "properties": {
+ "next_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Last visible root; no private thread identifiers are exposed through cursors."
+ }
+ ]
+ },
+ "threads": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ReferencedThread"
+ },
+ "description": "Accessible channel discussions mentioning the document."
+ }
+ }
+ },
"Reminder": {
"type": "object",
"description": "A reminder belonging to a user.\n\n`user_id` is deliberately absent: a reminder is only ever read by its owner,\nso the field would be redundant on the wire.",
@@ -26027,12 +27544,12 @@
},
"SimpleMention": {
"type": "object",
- "description": "Simple entity mention attached to a message.",
+ "description": "A mention tracked in a message body.",
"required": ["entity_type", "entity_id"],
"properties": {
"entity_id": {
"type": "string",
- "description": "Mentioned entity id."
+ "description": "Mentioned entity identifier."
},
"entity_type": {
"type": "string",
@@ -28017,6 +29534,59 @@
}
}
},
+ "ThreadAnchor": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Stable Lexical mark identity, independent of transient node keys.",
+ "required": ["mark_id", "type"],
+ "properties": {
+ "mark_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Mark UUID serialized in the document."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["markdown"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "An independently existing PDF highlight.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Highlight annotation UUID."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_highlight"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "A comment-only placeable PDF annotation.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Placeable annotation UUID."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_placeable"]
+ }
+ }
+ }
+ ],
+ "description": "A thread's location within its document. Geometry remains annotation-owned."
+ },
"ThreadOrigin": {
"type": "object",
"description": "The channel thread a session was opened from, when it was.",
@@ -28039,6 +29609,24 @@
}
}
},
+ "ThreadPatch": {
+ "type": "object",
+ "description": "Partial changes to the lifecycle and placement of a document discussion.",
+ "properties": {
+ "detach_anchor": {
+ "type": "boolean",
+ "description": "Move a Markdown discussion to the document when its marked text is removed."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce for the shared thread update event."
+ },
+ "resolved": {
+ "type": ["boolean", "null"],
+ "description": "Resolve or reopen the discussion; absent preserves its state."
+ }
+ }
+ },
"ThreadResponse": {
"type": "object",
"required": ["data"],
@@ -28051,6 +29639,58 @@
}
}
},
+ "ThreadState": {
+ "type": "object",
+ "description": "State belonging to a whole thread, keyed by its root message.",
+ "required": [
+ "root_id",
+ "user_id",
+ "resolved",
+ "created_at",
+ "updated_at"
+ ],
+ "properties": {
+ "anchor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/ThreadAnchor",
+ "description": "No anchor means a discussion on the entire parent. Deleted Markdown\nthreads retain their mark identity so closed documents can reconcile it."
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time of the discussion."
+ },
+ "deleted_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Explicit deletion of the entire thread, distinct from root deletion."
+ },
+ "resolved": {
+ "type": "boolean",
+ "description": "Whether this discussion has been resolved."
+ },
+ "root_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Root message UUID; there is no separate thread identity."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last state change."
+ },
+ "user_id": {
+ "type": "string",
+ "description": "User who owns this discussion, including imported discussions."
+ }
+ }
+ },
"TranscriptSegmentRequest": {
"type": "object",
"description": "A transcript segment from LiveKit Inference STT.",
@@ -28304,6 +29944,26 @@
"description": "Typing indicator action.",
"enum": ["start", "stop"]
},
+ "TypingInput": {
+ "type": "object",
+ "description": "Transient typing update.",
+ "required": ["active"],
+ "properties": {
+ "active": {
+ "type": "boolean",
+ "description": "Whether the caller is typing."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client mutation nonce."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root being replied to, absent for the parent composer."
+ }
+ }
+ },
"UnthreadedPdfUuidRequest": {
"oneOf": [
{
diff --git a/crates/agent_harness/Cargo.toml b/crates/agent_harness/Cargo.toml
index bbfed59cb4..27770a538f 100644
--- a/crates/agent_harness/Cargo.toml
+++ b/crates/agent_harness/Cargo.toml
@@ -49,6 +49,7 @@ macro_authorization = { path = "../macro_authorization", features = ["axum"] }
macro_tower_layers = { path = "../macro_tower_layers" }
macro_user_id = { path = "../macro_user_id" }
macro_uuid = { path = "../macro_uuid" }
+messages = { path = "../messages" }
model-entity = { path = "../model-entity" }
model_notifications = { path = "../model_notifications" }
notification = { path = "../notification" }
diff --git a/crates/agent_harness/src/outbound/channel_announcer.rs b/crates/agent_harness/src/outbound/channel_announcer.rs
index 08e48d7754..757023ec8a 100644
--- a/crates/agent_harness/src/outbound/channel_announcer.rs
+++ b/crates/agent_harness/src/outbound/channel_announcer.rs
@@ -17,10 +17,11 @@ mod test;
use std::sync::Arc;
use channel_sender::ChannelSender;
-use channels::domain::models::{PostMessageNotificationPolicy, PostMessageRequest};
+use channels::domain::models::PostMessageRequest;
use channels::domain::ports::ChannelService;
use lexical_client::LexicalClient;
use lexical_client::parse_markdown::{AgentAnnouncementChip, AgentAnnouncementReplyTarget};
+use messages::domain::models::PostMessageNotificationPolicy;
use crate::domain::error::{HarnessError, Result};
use crate::domain::model::{AnnouncedMessage, SessionAnnouncement};
diff --git a/crates/agent_trigger/Cargo.toml b/crates/agent_trigger/Cargo.toml
index 0fa83fd55f..686af9418c 100644
--- a/crates/agent_trigger/Cargo.toml
+++ b/crates/agent_trigger/Cargo.toml
@@ -41,5 +41,6 @@ workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
agent_session = { path = "../agent_session", features = ["test-utils"] }
bot_id = { path = "../bot_id", features = ["test-utils"] }
+messages = { path = "../messages" }
mockall = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
diff --git a/crates/agent_trigger/src/domain/service/test.rs b/crates/agent_trigger/src/domain/service/test.rs
index 13bc8b88b0..04fbecdd90 100644
--- a/crates/agent_trigger/src/domain/service/test.rs
+++ b/crates/agent_trigger/src/domain/service/test.rs
@@ -5,12 +5,13 @@ use agent_session::domain::model::{AgentSession, AgentSessionId, ChannelSession,
use agent_session::domain::ports::MockAgentSessionRepo;
use bots::domain::models::{Agent, AgentChannelScope, AgentMcpServers, Bot, BotKind, BotOwner};
use channel_sender::ChannelSender;
-use channels::domain::models::{ChannelType, SimpleMention};
+use channels::domain::models::ChannelType;
use chrono::Utc;
use macro_event_broker::MacroEvent;
use macro_user_id::cowlike::CowLike;
use macro_user_id::user_id::MacroUserIdStr;
use macro_uuid::Uuid;
+use messages::domain::models::SimpleMention;
use crate::domain::broker_events::{
AgentTriggerTopicEvent, ExistingAgentSessionEvent, NewAgentSessionEvent,
diff --git a/crates/ai_tools/Cargo.toml b/crates/ai_tools/Cargo.toml
index 54905e4b87..ff1ef5d47c 100644
--- a/crates/ai_tools/Cargo.toml
+++ b/crates/ai_tools/Cargo.toml
@@ -52,6 +52,7 @@ macro_aws_config = { path = "../macro_aws_config" }
macro_db_client = { path = "../macro_db_client" }
macro_env_var = { path = "../macro_env_var" }
macro_event_broker = { path = "../macro_event_broker" }
+messages = { path = "../messages", features = ["broker", "delivery"] }
macro_queues = { path = "../macro_queues" }
macro_user_id = { path = "../macro_user_id" }
mcp_client = { path = "../mcp_client" }
diff --git a/crates/ai_tools/src/tool_context.rs b/crates/ai_tools/src/tool_context.rs
index 8784bd4f3e..33c4878a5a 100644
--- a/crates/ai_tools/src/tool_context.rs
+++ b/crates/ai_tools/src/tool_context.rs
@@ -196,10 +196,44 @@ pub fn build_channel_tool_context_without_side_effects(
pool: sqlx::PgPool,
lexical_client: Arc<lexical_client::LexicalClient>,
) -> ToolChannelToolContext {
+ let messages = Arc::new(shared_message_service(
+ pool.clone(),
+ messages::domain::ports::NoMessageEventPublisher,
+ lexical_client.clone(),
+ ));
build_channel_tool_context_with_dispatcher(
pool,
std::sync::Arc::new(NoopChannelEventDispatcher),
lexical_client,
+ messages,
+ )
+}
+
+/// Shared message service used by agent tools: the same persistence, reference
+/// authorization, and group-mention policy as the channel HTTP API, over the
+/// delivery `effects` a host composed.
+pub fn shared_message_service<E: messages::domain::ports::MessageEventPublisher>(
+ pool: sqlx::PgPool,
+ effects: E,
+ lexical_client: Arc<lexical_client::LexicalClient>,
+) -> messages::domain::service::MessageService<
+ messages::outbound::pg_message_repo::PgMessageRepository,
+ E,
+> {
+ messages::domain::service::MessageService::new(
+ messages::outbound::pg_message_repo::PgMessageRepository::new(pool.clone()),
+ effects,
+ )
+ .with_group_recipients(channels::domain::group_mentions::ChannelGroupRecipients(
+ PgChannelsRepo::new(pool.clone()),
+ ))
+ .with_mention_extractor(LexicalMentionExtractor::new(lexical_client))
+ .with_references(
+ messages::outbound::entity_access_audience::EntityAccessMessageReferences(
+ entity_access::domain::service::EntityAccessServiceImpl::new(
+ entity_access::outbound::PgAccessRepository::new(pool),
+ ),
+ ),
)
}
@@ -241,16 +275,37 @@ pub fn build_channel_tool_context_with_side_effects(
});
let side_effects = ChannelSideEffectService::new(
PgChannelSideEffectContext::new(pool.clone()),
- ConnectionGatewayChannelRealtimePublisher::new(clients.connection_gateway),
+ ConnectionGatewayChannelRealtimePublisher::new(clients.connection_gateway.clone()),
NotificationChannelSender::new(notification_ingress),
ContactsChannelDispatcher::new(contacts_ingress),
)
- .with_macro_event_broker(clients.macro_event_broker);
- build_channel_tool_context_with_dispatcher(
- pool,
- Arc::new(SpawnedChannelEventDispatcher::new(side_effects)),
- lexical_client,
- )
+ .with_macro_event_broker(clients.macro_event_broker.clone());
+ let dispatcher: ToolChannelEventDispatcher =
+ Arc::new(SpawnedChannelEventDispatcher::new(side_effects));
+ let access = entity_access::domain::service::EntityAccessServiceImpl::new(
+ entity_access::outbound::PgAccessRepository::new(pool.clone()),
+ );
+ let effects = messages::domain::effects::MessageEffects::new(
+ messages::outbound::broker::BrokerMessagePublisher::new(clients.macro_event_broker),
+ messages::domain::ports::NoMessageEventPublisher,
+ channels::domain::message_delivery::ChannelMessageDelivery::new(
+ PgChannelsRepo::new(pool.clone()),
+ dispatcher.clone(),
+ channels::outbound::pg_channel_reference_share_permissions::PgChannelReferenceSharePermissions::new(
+ pool.clone(),
+ Arc::new(access),
+ ),
+ messages::outbound::connection_gateway::ConnectionGatewayMessages(
+ clients.connection_gateway,
+ ),
+ ),
+ );
+ let messages = Arc::new(shared_message_service(
+ pool.clone(),
+ effects,
+ lexical_client.clone(),
+ ));
+ build_channel_tool_context_with_dispatcher(pool, dispatcher, lexical_client, messages)
}
/// Build the channel AI tool context wired to `dispatcher`, so messages sent by
@@ -260,8 +315,10 @@ pub fn build_channel_tool_context_with_dispatcher(
pool: sqlx::PgPool,
dispatcher: ToolChannelEventDispatcher,
lexical_client: Arc<lexical_client::LexicalClient>,
+ messages: Arc<dyn messages::domain::api::MessageCommands>,
) -> ToolChannelToolContext {
ChannelToolContext::new(
+ messages,
ChannelServiceImpl::with_dependencies(
PgChannelsRepo::new(pool.clone()),
dispatcher,
diff --git a/crates/bots/Cargo.toml b/crates/bots/Cargo.toml
index c9f3e5d36b..4a5a3a0f87 100644
--- a/crates/bots/Cargo.toml
+++ b/crates/bots/Cargo.toml
@@ -28,7 +28,7 @@ inbound = [
"ports",
]
outbound = ["dep:sqlx", "dep:macro_uuid", "ports"]
-ports = ["dep:entity_access", "entity_access/ports", "dep:tokio"]
+ports = ["dep:entity_access", "entity_access/ports", "dep:tokio", "messages/ports"]
test-utils = ["dep:mockall", "ports"]
[dependencies]
@@ -44,6 +44,7 @@ chrono = { workspace = true }
entity_access = { path = "../entity_access", optional = true, default-features = false }
hex = { workspace = true }
macro_authorization = { path = "../macro_authorization", optional = true, default-features = false }
+messages = { path = "../messages" }
macro_event_broker = { path = "../macro_event_broker", default-features = false }
mockall = { workspace = true, optional = true }
macro_event_topics = { path = "../macro_event_topics" }
diff --git a/crates/bots/src/domain/ports.rs b/crates/bots/src/domain/ports.rs
index a23faec48d..7d38e89be3 100644
--- a/crates/bots/src/domain/ports.rs
+++ b/crates/bots/src/domain/ports.rs
@@ -338,6 +338,16 @@ pub trait BotService: Send + Sync + 'static {
channel_id: Uuid,
) -> impl Future<Output = Result<(), BotError>> + Send;
+ /// Authorize an autonomous bot's channel messages using its active channel
+ /// membership alone. The receipt names no acting user and reaches no other entity.
+ fn channel_message_access(
+ &self,
+ bot_id: BotId,
+ channel_id: Uuid,
+ ) -> impl Future<
+ Output = Result<EntityAccessReceipt<messages::domain::service::MessageWrite>, BotError>,
+ > + Send;
+
/// Authenticate a raw bearer token.
fn authenticate_token(
&self,
diff --git a/crates/bots/src/domain/service.rs b/crates/bots/src/domain/service.rs
index 205cefabd2..74291ab1dc 100644
--- a/crates/bots/src/domain/service.rs
+++ b/crates/bots/src/domain/service.rs
@@ -14,7 +14,10 @@ use super::{
};
use bot_token::HashedBotToken;
use chrono::{DateTime, Utc};
-use entity_access::domain::models::{EntityAccessReceipt, EntityType, MemberParticipantRole};
+use entity_access::domain::models::{
+ BotReceiptScope, Entity, EntityAccessReceipt, EntityPermission, EntityType,
+ MemberParticipantRole, ParticipantRole,
+};
use macro_event_broker::MacroEventBroker;
use macro_user_id::user_id::MacroUserIdStr;
use uuid::Uuid;
@@ -826,6 +829,26 @@ where
}
}
+ async fn channel_message_access(
+ &self,
+ bot_id: BotId,
+ channel_id: Uuid,
+ ) -> Result<EntityAccessReceipt<messages::domain::service::MessageWrite>, BotError> {
+ self.ensure_bot_in_channel(bot_id, channel_id).await?;
+ EntityAccessReceipt::try_new_bot(
+ bot_id.into_storage_id(),
+ BotReceiptScope::Channel { channel_id },
+ Entity {
+ entity_id: channel_id.to_string(),
+ entity_type: EntityType::Channel,
+ },
+ EntityPermission::ChannelRole {
+ role: ParticipantRole::Member,
+ },
+ )
+ .map_err(|_| BotError::Unauthorized)
+ }
+
async fn authenticate_token(&self, token: &str) -> Result<AuthenticatedBot, BotError> {
let candidate = self
.repo
diff --git a/crates/bots/src/inbound/axum_router/tests.rs b/crates/bots/src/inbound/axum_router/tests.rs
index df60c1e0e8..7f2ae83994 100644
--- a/crates/bots/src/inbound/axum_router/tests.rs
+++ b/crates/bots/src/inbound/axum_router/tests.rs
@@ -232,6 +232,17 @@ impl BotService for TestBotService {
unimplemented!()
}
+ async fn channel_message_access(
+ &self,
+ _bot_id: BotId,
+ _channel_id: Uuid,
+ ) -> Result<
+ entity_access::domain::models::EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ BotError,
+ > {
+ unimplemented!()
+ }
+
async fn ensure_bot_in_channel(
&self,
_bot_id: BotId,
diff --git a/crates/bots/src/inbound/channel_webhook_router.rs b/crates/bots/src/inbound/channel_webhook_router.rs
index c36a9b1d48..ec08348d07 100644
--- a/crates/bots/src/inbound/channel_webhook_router.rs
+++ b/crates/bots/src/inbound/channel_webhook_router.rs
@@ -18,10 +18,6 @@ use axum::{
response::IntoResponse,
routing::post,
};
-use channels::domain::{
- models::{PostMessageRequest, PostMessageResponse, Sender},
- ports::{ChannelMutationErr, ChannelService},
-};
use entity_access::{
domain::{
models::{EntityAccessReceipt, MemberParticipantRole},
@@ -34,49 +30,28 @@ use macro_authorization::{
MacroAuthorizationService, MacroAuthorizationState, OptionalMacroAuthorizationExtractor,
};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::{
+ api::MessageCommands,
+ models::{MessageAttribution, PostMessage},
+ ports::MessageError,
+ service::MessageWrite,
+};
use model_error_response::ErrorResponse;
-use std::{future::Future, marker::PhantomData, sync::Arc};
+use std::{marker::PhantomData, sync::Arc};
use uuid::Uuid;
/// Header used to authenticate channel bot webhook requests.
pub const CHANNEL_BOT_TOKEN_HEADER: &str = "x-macro-channel-bot-token";
-/// Narrow adapter for posting channel messages from bot webhooks.
-pub trait ChannelMessagePoster: Clone + Send + Sync + 'static {
- /// Post a message to a channel.
- fn post_message(
- &self,
- actor: Sender,
- channel_id: Uuid,
- req: PostMessageRequest,
- ) -> impl Future<Output = Result<PostMessageResponse, ChannelMutationErr>> + Send;
-}
-
-impl<S> ChannelMessagePoster for Arc<S>
-where
- S: ChannelService,
-{
- fn post_message(
- &self,
- actor: Sender,
- channel_id: Uuid,
- req: PostMessageRequest,
- ) -> impl Future<Output = Result<PostMessageResponse, ChannelMutationErr>> + Send {
- ChannelService::post_message(self.as_ref(), actor, channel_id, req)
- }
-}
-
/// State for the channel bot webhook router.
-pub struct ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth> {
+pub struct ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth> {
bot_service: Arc<BotSvc>,
- channel_poster: Arc<ChannelPoster>,
+ channel_poster: Arc<dyn MessageCommands>,
access_service: Arc<AccessSvc>,
authorization_state: MacroAuthorizationState<Auth>,
}
-impl<BotSvc, ChannelPoster, AccessSvc, Auth> Clone
- for ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>
-{
+impl<BotSvc, AccessSvc, Auth> Clone for ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth> {
fn clone(&self) -> Self {
Self {
bot_service: self.bot_service.clone(),
@@ -87,47 +62,39 @@ impl<BotSvc, ChannelPoster, AccessSvc, Auth> Clone
}
}
-impl<BotSvc, ChannelPoster, AccessSvc, Auth>
- ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>
+impl<BotSvc, AccessSvc, Auth> ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>
where
BotSvc: BotService,
- ChannelPoster: ChannelMessagePoster,
AccessSvc: EntityAccessService,
{
/// Create a router state.
pub fn new(
bot_service: BotSvc,
- channel_poster: ChannelPoster,
+ channel_poster: Arc<dyn MessageCommands>,
access_service: AccessSvc,
authorization_state: MacroAuthorizationState<Auth>,
) -> Self {
Self {
bot_service: Arc::new(bot_service),
- channel_poster: Arc::new(channel_poster),
+ channel_poster,
access_service: Arc::new(access_service),
authorization_state,
}
}
}
-impl<BotSvc, ChannelPoster, AccessSvc, Auth>
- FromRef<ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>>
+impl<BotSvc, AccessSvc, Auth> FromRef<ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>>
for Arc<AccessSvc>
{
- fn from_ref(
- state: &ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>,
- ) -> Self {
+ fn from_ref(state: &ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>) -> Self {
state.access_service.clone()
}
}
-impl<BotSvc, ChannelPoster, AccessSvc, Auth>
- FromRef<ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>>
+impl<BotSvc, AccessSvc, Auth> FromRef<ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>>
for MacroAuthorizationState<Auth>
{
- fn from_ref(
- state: &ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>,
- ) -> Self {
+ fn from_ref(state: &ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>) -> Self {
state.authorization_state.clone()
}
}
@@ -174,12 +141,11 @@ pub struct ChannelPath {
}
/// Create the authenticated channel-scoped bot creation router.
-pub fn channel_scoped_bot_router<BotSvc, ChannelPoster, AccessSvc, Auth, T>(
- state: ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>,
+pub fn channel_scoped_bot_router<BotSvc, AccessSvc, Auth, T>(
+ state: ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>,
) -> Router<T>
where
BotSvc: BotService,
- ChannelPoster: ChannelMessagePoster,
AccessSvc: EntityAccessService,
Auth: MacroAuthorizationService,
T: Send + Sync,
@@ -187,18 +153,17 @@ where
Router::new()
.route(
"/channels/{channel_id}/bots/scoped",
- post(create_channel_scoped_bot_handler::<BotSvc, ChannelPoster, AccessSvc, Auth>),
+ post(create_channel_scoped_bot_handler::<BotSvc, AccessSvc, Auth>),
)
.with_state(state)
}
/// Create the unauthenticated channel bot webhook router.
-pub fn channel_bot_webhook_router<BotSvc, ChannelPoster, AccessSvc, Auth, T>(
- state: ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>,
+pub fn channel_bot_webhook_router<BotSvc, AccessSvc, Auth, T>(
+ state: ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>,
) -> Router<T>
where
BotSvc: BotService,
- ChannelPoster: ChannelMessagePoster,
AccessSvc: EntityAccessService,
Auth: MacroAuthorizationService,
T: Send + Sync,
@@ -206,7 +171,7 @@ where
Router::new()
.route(
"/channels/{channel_id}/webhook",
- post(post_channel_webhook_handler::<BotSvc, ChannelPoster, AccessSvc, Auth>),
+ post(post_channel_webhook_handler::<BotSvc, AccessSvc, Auth>),
)
.with_state(state)
}
@@ -239,15 +204,14 @@ fn caller_from_receipt(
)
)]
#[tracing::instrument(err, skip_all)]
-pub async fn create_channel_scoped_bot_handler<BotSvc, ChannelPoster, AccessSvc, Auth>(
- State(state): State<ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>>,
+pub async fn create_channel_scoped_bot_handler<BotSvc, AccessSvc, Auth>(
+ State(state): State<ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>>,
access: ChannelAccessLevelExtractor<MemberParticipantRole, AccessSvc, Auth>,
Path(path): Path<ChannelPath>,
Json(req): Json<CreateChannelScopedBotRequest>,
) -> Result<(StatusCode, Json<CreateChannelScopedBotResponse>), ChannelBotWebhookHandlerErr>
where
BotSvc: BotService,
- ChannelPoster: ChannelMessagePoster,
AccessSvc: EntityAccessService,
Auth: MacroAuthorizationService,
{
@@ -294,8 +258,8 @@ where
private_interfaces,
reason = "the public handler is referenced by DSS OpenAPI while its route-specific extractor stays private"
)]
-pub async fn post_channel_webhook_handler<BotSvc, ChannelPoster, AccessSvc, Auth>(
- State(state): State<ChannelBotWebhookRouterState<BotSvc, ChannelPoster, AccessSvc, Auth>>,
+pub async fn post_channel_webhook_handler<BotSvc, AccessSvc, Auth>(
+ State(state): State<ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>>,
Path(path): Path<ChannelPath>,
ChannelWebhookAuthorizationExtractor {
authentication: preferred_authentication,
@@ -306,48 +270,29 @@ pub async fn post_channel_webhook_handler<BotSvc, ChannelPoster, AccessSvc, Auth
) -> Result<(StatusCode, Json<ChannelWebhookResponse>), ChannelBotWebhookHandlerErr>
where
BotSvc: BotService,
- ChannelPoster: ChannelMessagePoster,
AccessSvc: EntityAccessService,
Auth: MacroAuthorizationService,
{
tracing::Span::current().record("channel_id", tracing::field::display(path.channel_id));
let content = parse_webhook_content(&headers, body)?;
- let bot_id = match preferred_authentication {
- Some(authentication) => {
- record_preferred_bot(&authentication);
- state
- .bot_service
- .ensure_bot_in_channel(authentication.bot_id, path.channel_id)
- .await?;
- authentication.bot_id
- }
- None => {
- let bot_auth_token = channel_bot_token(&headers)?;
- let authenticated = state
- .bot_service
- .authenticate_channel_token(path.channel_id, bot_auth_token)
- .await?;
- tracing::Span::current()
- .record("bot_id", tracing::field::display(authenticated.bot_id));
- authenticated.bot_id
- }
- };
+ let access =
+ webhook_access(&state, path.channel_id, preferred_authentication, &headers).await?;
- let response = state
+ let message = state
.channel_poster
- .post_message(
- Sender::new_from_bot(bot_id),
- path.channel_id,
- PostMessageRequest {
+ .post(
+ access,
+ PostMessage {
+ // External webhook bot posting on its own; no triggering user.
+ attribution: MessageAttribution::Unprompted,
+ notification_policy: Default::default(),
content,
- mentions: Vec::new(),
thread_id: None,
+ anchor: None,
+ mentions: Vec::new(),
attachments: Vec::new(),
nonce: None,
- notification_policy: Default::default(),
- // External webhook bot posting on its own; no triggering user.
- triggered_by: None,
},
)
.await?;
@@ -355,7 +300,7 @@ where
Ok((
StatusCode::OK,
Json(ChannelWebhookResponse {
- message_id: response.id,
+ message_id: message.id.to_string(),
}),
))
}
@@ -436,27 +381,25 @@ pub enum ChannelBotWebhookHandlerErr {
/// Bot service error.
#[error(transparent)]
Bot(#[from] BotError),
- /// Channel mutation error.
+ /// Shared message error.
#[error(transparent)]
- Channel(#[from] ChannelMutationErr),
+ Message(#[from] MessageError),
}
impl IntoResponse for ChannelBotWebhookHandlerErr {
fn into_response(self) -> axum::response::Response {
let status = match &self {
- Self::BadRequest(_) | Self::Bot(BotError::BadRequest(_)) => StatusCode::BAD_REQUEST,
- Self::Bot(BotError::Unauthorized)
- | Self::Channel(ChannelMutationErr::Unauthorized(_)) => StatusCode::UNAUTHORIZED,
- Self::Channel(ChannelMutationErr::Forbidden(_)) => StatusCode::FORBIDDEN,
- Self::Bot(BotError::NotFound(_)) | Self::Channel(ChannelMutationErr::NotFound(_)) => {
+ Self::BadRequest(_)
+ | Self::Bot(BotError::BadRequest(_))
+ | Self::Message(MessageError::Invalid(_)) => StatusCode::BAD_REQUEST,
+ Self::Bot(BotError::Unauthorized) => StatusCode::UNAUTHORIZED,
+ Self::Message(MessageError::Forbidden) => StatusCode::FORBIDDEN,
+ Self::Bot(BotError::NotFound(_)) | Self::Message(MessageError::NotFound) => {
StatusCode::NOT_FOUND
}
- Self::Channel(ChannelMutationErr::BadRequest(_)) => StatusCode::BAD_REQUEST,
- Self::Bot(BotError::Repo(_))
- | Self::Channel(ChannelMutationErr::Repo(_))
- | Self::Channel(ChannelMutationErr::Gateway(_))
- | Self::Channel(ChannelMutationErr::Notification(_))
- | Self::Channel(ChannelMutationErr::Contacts(_)) => StatusCode::INTERNAL_SERVER_ERROR,
+ Self::Bot(BotError::Repo(_)) | Self::Message(MessageError::Repository(_)) => {
+ StatusCode::INTERNAL_SERVER_ERROR
+ }
};
if status == StatusCode::INTERNAL_SERVER_ERROR {
@@ -472,3 +415,33 @@ impl IntoResponse for ChannelBotWebhookHandlerErr {
.into_response()
}
}
+
+/// Capability for a bot that authenticated with a preferred bot token or a legacy
+/// channel token. Both paths authorize the post by the bot's own channel
+/// membership; a verified acting user never becomes the message's attribution.
+async fn webhook_access<BotSvc: BotService, AccessSvc, Auth>(
+ state: &ChannelBotWebhookRouterState<BotSvc, AccessSvc, Auth>,
+ channel_id: Uuid,
+ preferred: Option<BotAuthentication>,
+ headers: &HeaderMap,
+) -> Result<EntityAccessReceipt<MessageWrite>, ChannelBotWebhookHandlerErr> {
+ let bot_id = match preferred {
+ Some(authentication) => {
+ record_preferred_bot(&authentication);
+ authentication.bot_id
+ }
+ None => {
+ let authenticated = state
+ .bot_service
+ .authenticate_channel_token(channel_id, channel_bot_token(headers)?)
+ .await?;
+ tracing::Span::current()
+ .record("bot_id", tracing::field::display(authenticated.bot_id));
+ authenticated.bot_id
+ }
+ };
+ Ok(state
+ .bot_service
+ .channel_message_access(bot_id, channel_id)
+ .await?)
+}
diff --git a/crates/bots/src/inbound/channel_webhook_router/tests.rs b/crates/bots/src/inbound/channel_webhook_router/tests.rs
index 6cc1bf93c7..8b50ec4dc9 100644
--- a/crates/bots/src/inbound/channel_webhook_router/tests.rs
+++ b/crates/bots/src/inbound/channel_webhook_router/tests.rs
@@ -9,7 +9,7 @@ use axum::{
body::Body,
http::{Request, StatusCode, header},
};
-use channels::domain::models::PostMessageResponse;
+use channels::domain::models::{PostMessageRequest, Sender};
use entity_access::domain::models::TeamRole;
use entity_access::domain::{
models::{
@@ -110,7 +110,10 @@ impl TestBotService {
expected_token: token.to_string(),
bot_id,
},
- TestMembershipMode::Unauthorized,
+ TestMembershipMode::Ok {
+ expected_channel_id: channel_id,
+ expected_bot_id: bot_id,
+ },
)
}
@@ -304,6 +307,26 @@ impl BotService for TestBotService {
}
}
+ async fn channel_message_access(
+ &self,
+ bot_id: BotId,
+ channel_id: Uuid,
+ ) -> Result<EntityAccessReceipt<messages::domain::service::MessageWrite>, BotError> {
+ self.ensure_bot_in_channel(bot_id, channel_id).await?;
+ EntityAccessReceipt::try_new_bot(
+ bot_id.into_storage_id(),
+ entity_access::domain::models::BotReceiptScope::Channel { channel_id },
+ entity_access::domain::models::Entity {
+ entity_id: channel_id.to_string(),
+ entity_type: EntityType::Channel,
+ },
+ EntityPermission::ChannelRole {
+ role: EntityParticipantRole::Member,
+ },
+ )
+ .map_err(|_| BotError::Unauthorized)
+ }
+
async fn authenticate_token(&self, _token: &str) -> Result<AuthenticatedBot, BotError> {
unimplemented!()
}
@@ -471,33 +494,110 @@ impl TestChannelPoster {
}
}
-impl ChannelMessagePoster for TestChannelPoster {
- fn post_message(
+#[async_trait::async_trait]
+impl messages::domain::api::MessageCommands for TestChannelPoster {
+ async fn post(
&self,
- actor: Sender,
- channel_id: Uuid,
- req: PostMessageRequest,
- ) -> impl Future<Output = Result<PostMessageResponse, ChannelMutationErr>> + Send {
- let calls = self.calls.clone();
- let mode = self.mode;
- async move {
- calls
- .lock()
- .expect("posted message mutex poisoned")
- .push(PostedMessage {
- actor,
- channel_id,
- req,
- });
-
- match mode {
- TestPostMode::Ok => Ok(PostMessageResponse {
- id: Uuid::new_v4().to_string(),
- nonce: None,
- }),
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ input: messages::domain::models::PostMessage,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ let actor = match access.auth() {
+ entity_access::domain::models::EntityAccessAuth::Bot(bot) => {
+ Sender::new_from_bot(bot.bot_id())
}
+ _ => panic!("webhook posts are always bot authored"),
+ };
+ let channel_id: Uuid = access.entity().entity_id.parse().unwrap();
+ let triggered_by = access
+ .acting_user_id()
+ .map(|user| user.as_ref().to_string());
+ self.calls
+ .lock()
+ .expect("posted message mutex poisoned")
+ .push(PostedMessage {
+ actor: actor.clone(),
+ channel_id,
+ req: PostMessageRequest {
+ content: input.content.clone(),
+ mentions: input.mentions.clone(),
+ thread_id: input.thread_id,
+ attachments: Vec::new(),
+ nonce: input.nonce.clone(),
+ notification_policy: input.notification_policy,
+ triggered_by: triggered_by.clone(),
+ },
+ });
+ match self.mode {
+ TestPostMode::Ok => Ok(messages::domain::models::Message {
+ id: Uuid::new_v4(),
+ parent: messages::domain::models::MessageParent::Channel(channel_id),
+ thread_id: input.thread_id,
+ sender_id: actor,
+ imported_author: None,
+ bot_profile: None,
+ mentions: Vec::new(),
+ triggered_by,
+ content: input.content,
+ created_at: chrono::Utc::now(),
+ updated_at: chrono::Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: Vec::new(),
+ reactions: Vec::new(),
+ }),
}
}
+ async fn patch(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: messages::domain::ports::MessagePatch,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn delete(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn react(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: String,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn typing(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Option<Uuid>,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<(), messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn patch_thread(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: messages::domain::models::ThreadPatch,
+ ) -> Result<messages::domain::models::ThreadState, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn delete_thread(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::ThreadState, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
}
#[derive(Clone)]
@@ -634,7 +734,7 @@ fn router(
) -> Router {
channel_scoped_bot_router(ChannelBotWebhookRouterState::new(
service,
- poster,
+ Arc::new(poster),
TestAccessService::new(role),
authorization_state(TestBotAuthorizer::rejecting(
MacroAuthorizationError::InvalidCredentials,
@@ -654,7 +754,7 @@ fn webhook_router_with_authorizer(
) -> Router {
channel_bot_webhook_router(ChannelBotWebhookRouterState::new(
service,
- poster,
+ Arc::new(poster),
TestAccessService::new(EntityParticipantRole::Member),
authorization_state(bot_authorizer),
))
diff --git a/crates/bots/src/inbound/toolset/test.rs b/crates/bots/src/inbound/toolset/test.rs
index b016e4fb9b..e77ec584ec 100644
--- a/crates/bots/src/inbound/toolset/test.rs
+++ b/crates/bots/src/inbound/toolset/test.rs
@@ -226,6 +226,17 @@ impl BotService for ToolTestBotService {
unimplemented!()
}
+ async fn channel_message_access(
+ &self,
+ _bot_id: BotId,
+ _channel_id: Uuid,
+ ) -> Result<
+ entity_access::domain::models::EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ BotError,
+ > {
+ unimplemented!()
+ }
+
async fn ensure_bot_in_channel(
&self,
_bot_id: BotId,
diff --git a/crates/channel_bots/Cargo.toml b/crates/channel_bots/Cargo.toml
index 5ecd12b536..b5a4ac5cab 100644
--- a/crates/channel_bots/Cargo.toml
+++ b/crates/channel_bots/Cargo.toml
@@ -14,11 +14,14 @@ async-trait = { workspace = true }
bot_id = { path = "../bot_id" }
calendar_events = { path = "../calendar_events" }
channels = { path = "../channels", features = ["inbound", "outbound"] }
+entity_access = { path = "../entity_access", default-features = false, features = ["ports"] }
chrono = { workspace = true }
chrono-tz = { workspace = true }
futures = { workspace = true }
macro_user_id = { path = "../macro_user_id" }
+messages = { path = "../messages", features = ["ports"] }
prompt = { path = "../prompt" }
+rootcause = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["rt", "sync"] }
diff --git a/crates/channel_bots/src/domain/ports.rs b/crates/channel_bots/src/domain/ports.rs
index 9997eb94b5..31efe1837d 100644
--- a/crates/channel_bots/src/domain/ports.rs
+++ b/crates/channel_bots/src/domain/ports.rs
@@ -2,7 +2,9 @@
use async_trait::async_trait;
use channels::domain::side_effects::ChannelBotTrigger;
+use entity_access::domain::models::EntityAccessReceipt;
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::{models::MessageParent, service::MessageWrite};
use super::models::{BotInvocation, TranscriptMessage};
@@ -41,3 +43,15 @@ pub trait InferredTriggerClassifier: Send + Sync {
thread: &[TranscriptMessage],
) -> anyhow::Result<bool>;
}
+
+/// Current parent capabilities for built-in agent replies.
+#[async_trait]
+pub trait ConversationAccess: Send + Sync {
+ /// Mint Macro AI's write capability on behalf of the invoking user, immediately
+ /// before a reply is persisted, so a revoked membership stops the reply.
+ async fn bot_write(
+ &self,
+ user: &MacroUserIdStr<'static>,
+ parent: &MessageParent,
+ ) -> Result<EntityAccessReceipt<MessageWrite>, rootcause::Report>;
+}
diff --git a/crates/channel_bots/src/domain/service.rs b/crates/channel_bots/src/domain/service.rs
index 6b9c00a90e..7471a572d0 100644
--- a/crates/channel_bots/src/domain/service.rs
+++ b/crates/channel_bots/src/domain/service.rs
@@ -4,15 +4,19 @@ use std::collections::HashSet;
use std::fmt::Write as _;
use std::sync::Arc;
-use channels::domain::models::{
- ParticipantRole, PatchMessageNotificationPolicy, PatchMessageRequest,
- PostMessageNotificationPolicy, PostMessageRequest, Sender,
+use channels::domain::ports::ChannelService;
+use messages::domain::{
+ api::MessageCommands,
+ models::{
+ MessageAttribution, MessageParent, PatchMessageNotificationPolicy, PostMessage,
+ PostMessageNotificationPolicy,
+ },
+ ports::{MessageError, MessagePatch},
};
-use channels::domain::ports::{ChannelMutationErr, ChannelService};
use uuid::Uuid;
use super::models::{BotEvent, BotTrigger};
-use super::ports::{AgentResponder, UserTimeZones};
+use super::ports::{AgentResponder, ConversationAccess, UserTimeZones};
use super::sender_label;
/// How many channel messages to include around the trigger.
@@ -130,6 +134,8 @@ fn current_time_block(now: chrono::DateTime<chrono::Utc>, time_zone: Option<&str
/// edits that same message with the final answer.
pub struct MacroAiHandler<C, R, Z> {
channels: Arc<C>,
+ messages: Arc<dyn MessageCommands>,
+ access: Arc<dyn ConversationAccess>,
responder: Arc<R>,
time_zones: Arc<Z>,
}
@@ -140,10 +146,19 @@ where
R: AgentResponder,
Z: UserTimeZones,
{
- /// Create a Macro AI handler.
- pub fn new(channels: Arc<C>, responder: Arc<R>, time_zones: Arc<Z>) -> Self {
+ /// Create a Macro AI handler that reads channel context through `channels`
+ /// and replies through the shared message commands.
+ pub fn new(
+ channels: Arc<C>,
+ messages: Arc<dyn MessageCommands>,
+ access: Arc<dyn ConversationAccess>,
+ responder: Arc<R>,
+ time_zones: Arc<Z>,
+ ) -> Self {
Self {
channels,
+ messages,
+ access,
responder,
time_zones,
}
@@ -313,30 +328,36 @@ where
/// React to a Macro AI mention.
#[tracing::instrument(skip(self, event), fields(channel_id = %event.channel_id), err)]
pub(crate) async fn handle(&self, event: &BotEvent) -> anyhow::Result<()> {
- let actor = Sender::new_from_bot(bot_id::MACRO_AI_BOT_ID);
+ let parent = MessageParent::Channel(event.channel_id);
// 1. Gather conversational context (before posting, so our own
// "thinking" message is not included).
let prompt = self.build_prompt(event).await;
- // 2. Post the immediate "thinking" message in the thread.
+ // 2. Post the immediate "thinking" message in the thread. The capability
+ // carries the requesting user, so the message records who triggered it.
+ let access = self
+ .access
+ .bot_write(&event.requesting_user, &parent)
+ .await
+ .map_err(|error| anyhow::anyhow!(error.to_string()))?;
let thinking = self
- .channels
- .post_message(
- actor.clone(),
- event.channel_id,
- PostMessageRequest {
+ .messages
+ .post(
+ access,
+ PostMessage {
+ attribution: MessageAttribution::ActingUser,
+ notification_policy: PostMessageNotificationPolicy::Silent,
content: THINKING_MESSAGE.to_string(),
- mentions: Vec::new(),
thread_id: Some(event.reply_thread_id),
+ anchor: None,
+ mentions: Vec::new(),
attachments: Vec::new(),
nonce: None,
- notification_policy: PostMessageNotificationPolicy::Silent,
- triggered_by: Some(event.requesting_user.as_ref().to_string()),
},
)
.await?;
- let message_id = Uuid::parse_str(&thinking.id)?;
+ let message_id = thinking.id;
// 3. Run the agent loop to produce the reply.
let reply = match self
@@ -355,26 +376,26 @@ where
// 4. Replace the "thinking" message with the answer. A NotFound here
// means a participant deleted the thinking message while the agent
// ran — treat that as the user not wanting a response.
+ let access = self
+ .access
+ .bot_write(&event.requesting_user, &parent)
+ .await
+ .map_err(|error| anyhow::anyhow!(error.to_string()))?;
match self
- .channels
- .patch_message(
- actor,
- ParticipantRole::Member,
- event.channel_id,
+ .messages
+ .patch(
+ access,
message_id,
- PatchMessageRequest {
+ MessagePatch {
content: Some(reply),
- mentions: None,
- attachment_ids_to_delete: None,
- attachments_to_add: None,
- nonce: None,
notification_policy: PatchMessageNotificationPolicy::NotifyAsPostedMessage,
+ ..Default::default()
},
)
.await
{
- Ok(()) => Ok(()),
- Err(ChannelMutationErr::NotFound(_)) => {
+ Ok(_) => Ok(()),
+ Err(MessageError::NotFound) => {
tracing::info!(%message_id, "thinking message was deleted; dropping bot response");
Ok(())
}
diff --git a/crates/channel_bots/src/domain/service/tests.rs b/crates/channel_bots/src/domain/service/tests.rs
index 0c5fcb9505..7922e9e2ba 100644
--- a/crates/channel_bots/src/domain/service/tests.rs
+++ b/crates/channel_bots/src/domain/service/tests.rs
@@ -3,24 +3,194 @@ use std::sync::{Arc, Mutex};
use async_trait::async_trait;
use channels::domain::models::{
AttachmentEntityReference, ChannelAttachmentType, ChannelContextMessage, ChannelMessageFilters,
- ChannelParticipant, MessagePageDirection, MutatedMessage, PatchMessageNotificationPolicy,
- PatchMessageRequest, PostMessageNotificationPolicy, PostMessageRequest, PostMessageResponse,
- ResolvedChannelMessage, Sender, ThreadReply,
+ ChannelParticipant, MessagePageDirection, MutatedMessage, PatchMessageRequest,
+ PostMessageRequest, PostMessageResponse, ResolvedChannelMessage, Sender, ThreadReply,
};
use channels::domain::ports::{
- ChannelAttachmentsPage, ChannelMessagesErr, ChannelMessagesQueryResult, ChannelService,
+ ChannelAttachmentsPage, ChannelMessagesErr, ChannelMessagesQueryResult, ChannelMutationErr,
+ ChannelService,
};
use chrono::{TimeZone as _, Utc};
+use entity_access::domain::models::{
+ BotReceiptScope, Entity, EntityAccessReceipt, EntityPermission, EntityType, ParticipantRole,
+};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::{PatchMessageNotificationPolicy, PostMessageNotificationPolicy};
+use messages::domain::{
+ models::{Message, MessageParent, ThreadPatch, ThreadState},
+ ports::{MessageError, MessagePatch},
+ service::MessageWrite,
+};
use models_pagination::{CreatedAt, Query};
use uuid::Uuid;
use super::*;
use crate::domain::{
models::{BotEvent, BotTrigger},
- ports::{AgentResponder, UserTimeZones},
+ ports::{AgentResponder, ConversationAccess, UserTimeZones},
};
+/// Mints Macro AI write capabilities for whichever user asked.
+struct GrantingAccess;
+
+#[async_trait]
+impl ConversationAccess for GrantingAccess {
+ async fn bot_write(
+ &self,
+ user: &MacroUserIdStr<'static>,
+ parent: &MessageParent,
+ ) -> Result<EntityAccessReceipt<MessageWrite>, rootcause::Report> {
+ Ok(EntityAccessReceipt::try_new_bot(
+ bot_id::MACRO_AI_BOT_ID.into_storage_id(),
+ BotReceiptScope::User {
+ acting_user: user.clone(),
+ },
+ Entity {
+ entity_id: parent.entity_id(),
+ entity_type: EntityType::Channel,
+ },
+ EntityPermission::ChannelRole {
+ role: ParticipantRole::Member,
+ },
+ )?)
+ }
+}
+
+/// Records the shared message writes the handler makes.
+struct RecordingMessages {
+ thinking_deleted: bool,
+ posted: Mutex<Vec<(EntityAccessReceipt<MessageWrite>, PostMessage)>>,
+ patched: Mutex<Vec<(EntityAccessReceipt<MessageWrite>, Uuid, MessagePatch)>>,
+}
+
+impl RecordingMessages {
+ fn new(thinking_deleted: bool) -> Self {
+ Self {
+ thinking_deleted,
+ posted: Mutex::new(Vec::new()),
+ patched: Mutex::new(Vec::new()),
+ }
+ }
+
+ fn posted_policies(&self) -> Vec<PostMessageNotificationPolicy> {
+ self.posted
+ .lock()
+ .unwrap()
+ .iter()
+ .map(|(_, input)| input.notification_policy)
+ .collect()
+ }
+
+ fn patched_contents(&self) -> Vec<String> {
+ self.patched
+ .lock()
+ .unwrap()
+ .iter()
+ .filter_map(|(_, _, patch)| patch.content.clone())
+ .collect()
+ }
+
+ fn patched_policies(&self) -> Vec<PatchMessageNotificationPolicy> {
+ self.patched
+ .lock()
+ .unwrap()
+ .iter()
+ .map(|(_, _, patch)| patch.notification_policy)
+ .collect()
+ }
+}
+
+fn shared_message(access: &EntityAccessReceipt<MessageWrite>, content: &str) -> Message {
+ Message {
+ id: Uuid::new_v4(),
+ parent: MessageParent::parse("channel", &access.entity().entity_id).unwrap(),
+ thread_id: None,
+ sender_id: Sender::new_from_bot(bot_id::MACRO_AI_BOT_ID),
+ imported_author: None,
+ bot_profile: None,
+ mentions: Vec::new(),
+ triggered_by: access
+ .acting_user_id()
+ .map(|user| user.as_ref().to_string()),
+ content: content.to_string(),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: Vec::new(),
+ reactions: Vec::new(),
+ }
+}
+
+#[async_trait]
+impl MessageCommands for RecordingMessages {
+ async fn post(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ input: PostMessage,
+ ) -> Result<Message, MessageError> {
+ let message = shared_message(&access, &input.content);
+ self.posted.lock().unwrap().push((access, input));
+ Ok(message)
+ }
+ async fn patch(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ input: MessagePatch,
+ ) -> Result<Message, MessageError> {
+ if self.thinking_deleted {
+ return Err(MessageError::NotFound);
+ }
+ let message = shared_message(&access, input.content.as_deref().unwrap_or_default());
+ self.patched.lock().unwrap().push((access, id, input));
+ Ok(message)
+ }
+ async fn delete(
+ &self,
+ _: EntityAccessReceipt<MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<Message, MessageError> {
+ unimplemented!()
+ }
+ async fn react(
+ &self,
+ _: EntityAccessReceipt<MessageWrite>,
+ _: Uuid,
+ _: String,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<Message, MessageError> {
+ unimplemented!()
+ }
+ async fn typing(
+ &self,
+ _: EntityAccessReceipt<MessageWrite>,
+ _: Option<Uuid>,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<(), MessageError> {
+ unimplemented!()
+ }
+ async fn patch_thread(
+ &self,
+ _: EntityAccessReceipt<MessageWrite>,
+ _: Uuid,
+ _: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ unimplemented!()
+ }
+ async fn delete_thread(
+ &self,
+ _: EntityAccessReceipt<MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<ThreadState, MessageError> {
+ unimplemented!()
+ }
+}
+
/// Time zone fake with a fixed answer.
struct FixedTimeZones(Option<&'static str>);
@@ -141,26 +311,9 @@ impl AgentResponder for TestResponder {
}
}
-/// Channel service fake for the post-thinking-then-patch flow. Posting always
-/// succeeds; patching either records the content or reports the message as
-/// missing (deleted while the agent ran).
-struct MutationChannelService {
- thinking_deleted: bool,
- posted_policies: Mutex<Vec<PostMessageNotificationPolicy>>,
- patched: Mutex<Vec<String>>,
- patched_policies: Mutex<Vec<PatchMessageNotificationPolicy>>,
-}
-
-impl MutationChannelService {
- fn new(thinking_deleted: bool) -> Self {
- Self {
- thinking_deleted,
- posted_policies: Mutex::new(Vec::new()),
- patched: Mutex::new(Vec::new()),
- patched_policies: Mutex::new(Vec::new()),
- }
- }
-}
+/// Channel service fake for the post-thinking-then-patch flow: reads return no
+/// context and the legacy write methods are never reached.
+struct MutationChannelService;
impl ChannelService for MutationChannelService {
async fn set_channel_picture(
@@ -249,47 +402,20 @@ impl ChannelService for MutationChannelService {
&self,
_actor: Sender,
_channel_id: Uuid,
- req: PostMessageRequest,
+ _req: PostMessageRequest,
) -> impl Future<Output = Result<PostMessageResponse, ChannelMutationErr>> + Send {
- self.posted_policies
- .lock()
- .unwrap()
- .push(req.notification_policy);
- async move {
- Ok(PostMessageResponse {
- id: Uuid::new_v4().to_string(),
- nonce: None,
- })
- }
+ async move { unimplemented!("replies go through the shared message commands") }
}
fn patch_message(
&self,
_actor: Sender,
- _actor_role: ParticipantRole,
+ _actor_role: channels::domain::models::ParticipantRole,
_channel_id: Uuid,
_message_id: Uuid,
- req: PatchMessageRequest,
+ _req: PatchMessageRequest,
) -> impl Future<Output = Result<(), ChannelMutationErr>> + Send {
- self.patched_policies
- .lock()
- .unwrap()
- .push(req.notification_policy);
- if !self.thinking_deleted {
- self.patched
- .lock()
- .unwrap()
- .extend(req.content.clone().into_iter());
- }
- let thinking_deleted = self.thinking_deleted;
- async move {
- if thinking_deleted {
- return Err(ChannelMutationErr::NotFound(
- "message not found".to_string(),
- ));
- }
- Ok(())
- }
+ async move { unimplemented!("replies go through the shared message commands") }
}
}
@@ -392,9 +518,12 @@ fn bot_event(
#[tokio::test]
async fn handle_patches_thinking_message_with_reply() {
let channel_id = Uuid::new_v4();
- let channels = Arc::new(MutationChannelService::new(false));
+ let channels = Arc::new(MutationChannelService);
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(FixedResponder("the answer")),
eastern_time_zones(),
);
@@ -411,15 +540,23 @@ async fn handle_patches_thinking_message_with_reply() {
.unwrap();
assert_eq!(
- channels.posted_policies.lock().unwrap().clone(),
+ messages.posted_policies(),
vec![PostMessageNotificationPolicy::Silent]
);
+ let posted = messages.posted.lock().unwrap();
+ assert_eq!(
+ posted[0].0.acting_user_id().map(|user| user.as_ref()),
+ Some("macro|[email protected]")
+ );
+ assert_eq!(posted[0].0.entity().entity_id, channel_id.to_string());
assert_eq!(
- channels.patched.lock().unwrap().clone(),
- vec!["the answer".to_string()]
+ posted[0].1.attribution,
+ messages::domain::models::MessageAttribution::ActingUser
);
+ drop(posted);
+ assert_eq!(messages.patched_contents(), vec!["the answer".to_string()]);
assert_eq!(
- channels.patched_policies.lock().unwrap().clone(),
+ messages.patched_policies(),
vec![PatchMessageNotificationPolicy::NotifyAsPostedMessage]
);
}
@@ -427,9 +564,12 @@ async fn handle_patches_thinking_message_with_reply() {
#[tokio::test]
async fn handle_drops_reply_when_thinking_message_was_deleted() {
let channel_id = Uuid::new_v4();
- let channels = Arc::new(MutationChannelService::new(true));
+ let channels = Arc::new(MutationChannelService);
+ let messages = Arc::new(RecordingMessages::new(true));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(FixedResponder("the answer")),
eastern_time_zones(),
);
@@ -445,7 +585,8 @@ async fn handle_drops_reply_when_thinking_message_was_deleted() {
.await
.unwrap();
- assert!(channels.patched.lock().unwrap().is_empty());
+ assert!(messages.patched.lock().unwrap().is_empty());
+ assert_eq!(messages.posted.lock().unwrap().len(), 1);
}
#[tokio::test]
@@ -468,8 +609,11 @@ async fn top_level_prompt_marks_trigger_inline_in_channel_context() {
],
thread_replies: Vec::new(),
});
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(TestResponder),
eastern_time_zones(),
);
@@ -542,8 +686,11 @@ async fn thread_prompt_puts_thread_first_and_demotes_channel_noise() {
"@macro can you make a task out of this?",
)],
});
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(TestResponder),
eastern_time_zones(),
);
@@ -614,8 +761,11 @@ async fn inferred_thread_prompt_does_not_claim_a_mention() {
thread_reply(trigger_id, "macro|[email protected]", "it fires twice"),
],
});
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(TestResponder),
eastern_time_zones(),
);
@@ -653,8 +803,11 @@ async fn thread_prompt_includes_trigger_when_reply_fetch_fails_to_return_it() {
)],
thread_replies: Vec::new(),
});
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels.clone(),
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(TestResponder),
eastern_time_zones(),
);
@@ -679,7 +832,14 @@ async fn prompt_carries_the_current_time_in_the_users_zone() {
around_messages: Vec::new(),
thread_replies: Vec::new(),
});
- let handler = MacroAiHandler::new(channels, Arc::new(TestResponder), eastern_time_zones());
+ let messages = Arc::new(RecordingMessages::new(false));
+ let handler = MacroAiHandler::new(
+ channels,
+ messages.clone(),
+ Arc::new(GrantingAccess),
+ Arc::new(TestResponder),
+ eastern_time_zones(),
+ );
let event = mention_event(
Uuid::new_v4(),
Uuid::new_v4(),
@@ -702,8 +862,11 @@ async fn prompt_says_the_time_zone_is_unknown_without_a_calendar() {
around_messages: Vec::new(),
thread_replies: Vec::new(),
});
+ let messages = Arc::new(RecordingMessages::new(false));
let handler = MacroAiHandler::new(
channels,
+ messages.clone(),
+ Arc::new(GrantingAccess),
Arc::new(TestResponder),
Arc::new(FixedTimeZones(None)),
);
diff --git a/crates/channel_bots/src/inbound/bot_trigger_router.rs b/crates/channel_bots/src/inbound/bot_trigger_router.rs
index 81d41d1a6c..26970634de 100644
--- a/crates/channel_bots/src/inbound/bot_trigger_router.rs
+++ b/crates/channel_bots/src/inbound/bot_trigger_router.rs
@@ -9,9 +9,10 @@ use tracing::Instrument as _;
use crate::domain::{
models::BotEvent,
- ports::{AgentResponder, TriggerDetector, UserTimeZones},
+ ports::{AgentResponder, ConversationAccess, TriggerDetector, UserTimeZones},
service::MacroAiHandler,
};
+use messages::domain::api::MessageCommands;
/// Resolves the bot invocations for a candidate channel message and runs their
/// handlers.
@@ -47,9 +48,18 @@ where
Z: UserTimeZones,
{
/// Create a router with the built-in system bots registered.
- pub fn new(channels: Arc<C>, responder: Arc<R>, detector: Arc<D>, time_zones: Arc<Z>) -> Self {
+ pub fn new(
+ channels: Arc<C>,
+ messages: Arc<dyn MessageCommands>,
+ access: Arc<dyn ConversationAccess>,
+ responder: Arc<R>,
+ detector: Arc<D>,
+ time_zones: Arc<Z>,
+ ) -> Self {
Self {
- macro_ai: Arc::new(MacroAiHandler::new(channels, responder, time_zones)),
+ macro_ai: Arc::new(MacroAiHandler::new(
+ channels, messages, access, responder, time_zones,
+ )),
detector,
}
}
diff --git a/crates/channel_bots/src/outbound/conversation.rs b/crates/channel_bots/src/outbound/conversation.rs
new file mode 100644
index 0000000000..ddfb530fa9
--- /dev/null
+++ b/crates/channel_bots/src/outbound/conversation.rs
@@ -0,0 +1,39 @@
+//! Current parent capabilities for built-in agent replies.
+use crate::domain::ports::ConversationAccess;
+use async_trait::async_trait;
+use entity_access::domain::{
+ models::{BotAccessScope, EntityAccessReceipt, EntityType},
+ ports::EntityAccessService,
+};
+use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::{models::MessageParent, service::MessageWrite};
+use std::sync::Arc;
+
+/// Mint current parent capabilities through the standard access service.
+pub struct EntityAccessConversation<A>(pub Arc<A>);
+
+fn entity_type(parent: &MessageParent) -> EntityType {
+ match parent {
+ MessageParent::Channel(_) => EntityType::Channel,
+ MessageParent::Document(_) => EntityType::Document,
+ }
+}
+
+#[async_trait]
+impl<A: EntityAccessService> ConversationAccess for EntityAccessConversation<A> {
+ async fn bot_write(
+ &self,
+ user: &MacroUserIdStr<'static>,
+ parent: &MessageParent,
+ ) -> Result<EntityAccessReceipt<MessageWrite>, rootcause::Report> {
+ Ok(self
+ .0
+ .generate_bot_entity_access_receipt(
+ bot_id::MACRO_AI_BOT_ID,
+ BotAccessScope::user(user.clone()),
+ &parent.entity_id(),
+ entity_type(parent),
+ )
+ .await?)
+ }
+}
diff --git a/crates/channel_bots/src/outbound/mod.rs b/crates/channel_bots/src/outbound/mod.rs
index ee836943e4..7269c95e9f 100644
--- a/crates/channel_bots/src/outbound/mod.rs
+++ b/crates/channel_bots/src/outbound/mod.rs
@@ -1,6 +1,8 @@
//! Outbound adapters for channel bot dependencies.
mod agent_loop_responder;
+/// Current parent capabilities for built-in agent replies.
+pub mod conversation;
mod fast_model_trigger_classifier;
mod primary_calendar_time_zones;
diff --git a/crates/channels/Cargo.toml b/crates/channels/Cargo.toml
index fc2255f487..cedf449a46 100644
--- a/crates/channels/Cargo.toml
+++ b/crates/channels/Cargo.toml
@@ -79,8 +79,21 @@ entity_mutation = [
"entity_access/ports",
"ports",
]
-ports = ["dep:entity_access", "dep:tokio", "entity_access/ports"]
-schema = ["channel_sender/schema", "dep:utoipa", "macro_user_id/schema", "item_filters/schema"]
+ports = [
+ "dep:async-trait",
+ "dep:entity_access",
+ "dep:rootcause",
+ "dep:tokio",
+ "entity_access/ports",
+ "messages/ports",
+]
+schema = [
+ "channel_sender/schema",
+ "dep:utoipa",
+ "item_filters/schema",
+ "macro_user_id/schema",
+ "messages/schema",
+]
[dependencies]
activity = { path = "../activity", default-features = false }
@@ -110,6 +123,7 @@ macro_event_broker = { path = "../macro_event_broker", default-features = false
macro_event_topics = { path = "../macro_event_topics" }
macro_user_id = { path = "../macro_user_id" }
macro_uuid = { path = "../macro_uuid", optional = true }
+messages = { path = "../messages" }
model-entity = { path = "../model-entity", optional = true }
model-error-response = { path = "../model-error-response", optional = true }
model_notifications = { path = "../model_notifications", optional = true }
@@ -140,6 +154,7 @@ workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
bot_id = { path = "../bot_id", features = ["test-utils"] }
+messages = { path = "../messages", features = ["test-utils"] }
http-body-util = { workspace = true }
kafka_util = { path = "../kafka_util" }
macro_db_migrator = { path = "../macro_db_migrator" }
diff --git a/crates/channels/src/domain/broker_events.rs b/crates/channels/src/domain/broker_events.rs
index 8dba8f0cd4..23125a0ac8 100644
--- a/crates/channels/src/domain/broker_events.rs
+++ b/crates/channels/src/domain/broker_events.rs
@@ -15,7 +15,8 @@ use macro_user_id::user_id::MacroUserIdStr;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
-use crate::domain::models::{ChannelType, MutatedAttachment, SimpleMention};
+use crate::domain::models::{ChannelType, MutatedAttachment};
+use messages::domain::models::SimpleMention;
/// Attachment payload carried by channel wire events.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
diff --git a/crates/channels/src/domain/events.rs b/crates/channels/src/domain/events.rs
index c420e85e34..aa816a673f 100644
--- a/crates/channels/src/domain/events.rs
+++ b/crates/channels/src/domain/events.rs
@@ -2,11 +2,11 @@
use crate::domain::models::{
ChannelMetadata, ChannelParticipant, ChannelType, CountedReaction, EntityMention,
- MutatedAttachment, MutatedMessage, PostMessageNotificationPolicy, Sender, SimpleMention,
- TypingAction,
+ MutatedAttachment, MutatedMessage, Sender, TypingAction,
};
use channel_sender::ChannelSender;
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::{PostMessageNotificationPolicy, SimpleMention};
use uuid::Uuid;
/// Notification context for a patched message that should notify like a new post.
diff --git a/crates/channels/src/domain/group_mentions.rs b/crates/channels/src/domain/group_mentions.rs
new file mode 100644
index 0000000000..f3da7b1df7
--- /dev/null
+++ b/crates/channels/src/domain/group_mentions.rs
@@ -0,0 +1,30 @@
+//! Channel policy for resolving authored group mentions into human recipients.
+use super::ports::ChannelRepo;
+use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::ports::{MessageError, MessageGroupRecipients};
+use uuid::Uuid;
+
+/// Current active human members, independent of the composing client's cached roster.
+#[derive(Clone)]
+pub struct ChannelGroupRecipients<R>(pub R);
+
+#[async_trait::async_trait]
+impl<R: ChannelRepo> MessageGroupRecipients for ChannelGroupRecipients<R> {
+ async fn channel_members(
+ &self,
+ channel: Uuid,
+ ) -> Result<Vec<MacroUserIdStr<'static>>, MessageError> {
+ let participants = self.0.get_participants(channel).await.map_err(|error| {
+ let error: anyhow::Error = error.into();
+ MessageError::Repository(rootcause::report!(error).into())
+ })?;
+ Ok(participants
+ .into_iter()
+ .filter(|participant| participant.left_at.is_none())
+ .filter_map(|participant| MacroUserIdStr::try_from(participant.user_id).ok())
+ .collect())
+ }
+}
+
+#[cfg(test)]
+mod test;
diff --git a/crates/channels/src/domain/group_mentions/test.rs b/crates/channels/src/domain/group_mentions/test.rs
new file mode 100644
index 0000000000..2232882b54
--- /dev/null
+++ b/crates/channels/src/domain/group_mentions/test.rs
@@ -0,0 +1,37 @@
+use super::*;
+use crate::domain::{
+ models::{ChannelParticipant, ParticipantRole},
+ ports::MockChannelRepo,
+};
+#[tokio::test]
+async fn here_includes_active_humans_and_excludes_departed_users_and_bots() {
+ let mut repo = MockChannelRepo::new();
+ repo.expect_get_participants()
+ .once()
+ .returning(|channel_id| {
+ Box::pin(async move {
+ Ok([
+ ("macro|[email protected]".to_string(), false),
+ ("macro|[email protected]".to_string(), true),
+ (bot_id::MACRO_AI_BOT_ID.into_storage_id().to_string(), false),
+ ]
+ .into_iter()
+ .map(|(user_id, left)| ChannelParticipant {
+ channel_id,
+ user_id,
+ role: ParticipantRole::Member,
+ joined_at: chrono::Utc::now(),
+ left_at: left.then(chrono::Utc::now),
+ })
+ .collect())
+ })
+ });
+ let members = ChannelGroupRecipients(repo)
+ .channel_members(Uuid::from_u128(1))
+ .await
+ .unwrap();
+ assert_eq!(
+ members.iter().map(|u| u.as_ref()).collect::<Vec<_>>(),
+ ["macro|[email protected]"]
+ );
+}
diff --git a/crates/channels/src/domain/message_commands.rs b/crates/channels/src/domain/message_commands.rs
new file mode 100644
index 0000000000..69927fe184
--- /dev/null
+++ b/crates/channels/src/domain/message_commands.rs
@@ -0,0 +1,205 @@
+//! Channel request translation into the shared message command boundary.
+use super::{
+ models::{
+ DeleteMessageQuery, NewChannelAttachment, PatchMessageRequest, PostMessageRequest,
+ PostMessageResponse, PostReactionRequest, PostTypingRequest, ReactionAction, TypingAction,
+ },
+ ports::{ChannelMessageCommands, ChannelMutationErr},
+};
+use entity_access::domain::models::{EntityAccessReceipt, EntityType};
+use messages::domain::{
+ api::MessageCommands,
+ models::{MessageAttribution, NewAttachment, PostMessage},
+ ports::{AttachmentChange, MessageError, MessagePatch},
+ service::MessageWrite,
+};
+use std::sync::Arc;
+use uuid::Uuid;
+
+#[cfg(test)]
+mod test;
+
+/// Adapter for the existing channel message endpoints and internal channel writers.
+#[derive(Clone)]
+pub struct ChannelMessageAdapter {
+ messages: Arc<dyn MessageCommands>,
+}
+
+impl ChannelMessageAdapter {
+ /// Construct a channel writer over the shared message commands.
+ pub fn new(messages: Arc<dyn MessageCommands>) -> Self {
+ Self { messages }
+ }
+
+ fn messages(
+ &self,
+ access: &EntityAccessReceipt<MessageWrite>,
+ ) -> Result<&dyn MessageCommands, ChannelMutationErr> {
+ if access.entity().entity_type != EntityType::Channel {
+ return Err(ChannelMutationErr::BadRequest(
+ "expected a channel capability".into(),
+ ));
+ }
+ Ok(self.messages.as_ref())
+ }
+}
+
+#[async_trait::async_trait]
+impl ChannelMessageCommands for ChannelMessageAdapter {
+ #[tracing::instrument(err, skip(self, access, req))]
+ async fn post_message(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ req: PostMessageRequest,
+ ) -> Result<PostMessageResponse, ChannelMutationErr> {
+ let nonce = req.nonce.clone();
+ let message = self
+ .messages(&access)?
+ .post(
+ access,
+ PostMessage {
+ attribution: if req.triggered_by.is_some() {
+ MessageAttribution::ActingUser
+ } else {
+ MessageAttribution::Unprompted
+ },
+ content: req.content,
+ thread_id: req.thread_id,
+ anchor: None,
+ mentions: req.mentions,
+ attachments: shared_attachments(req.attachments),
+ nonce: req.nonce,
+ notification_policy: req.notification_policy,
+ },
+ )
+ .await
+ .map_err(shared_message_error)?;
+ Ok(PostMessageResponse {
+ id: message.id.to_string(),
+ nonce,
+ })
+ }
+
+ #[tracing::instrument(err, skip(self, access, req))]
+ async fn patch_message(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ message_id: Uuid,
+ req: PatchMessageRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ let attachments =
+ if req.attachment_ids_to_delete.is_some() || req.attachments_to_add.is_some() {
+ AttachmentChange::Delta {
+ remove: req
+ .attachment_ids_to_delete
+ .unwrap_or_default()
+ .into_iter()
+ .map(|id| id.parse::<Uuid>())
+ .collect::<Result<Vec<_>, _>>()
+ .map_err(|e| ChannelMutationErr::BadRequest(e.to_string()))?,
+ add: shared_attachments(req.attachments_to_add.unwrap_or_default()),
+ }
+ } else {
+ AttachmentChange::Preserve
+ };
+ self.messages(&access)?
+ .patch(
+ access,
+ message_id,
+ MessagePatch {
+ content: req.content,
+ mentions: req.mentions,
+ attachments,
+ nonce: req.nonce,
+ notification_policy: req.notification_policy,
+ },
+ )
+ .await
+ .map_err(shared_message_error)?;
+ Ok(())
+ }
+
+ #[tracing::instrument(err, skip(self, access, query))]
+ async fn delete_message(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ message_id: Uuid,
+ query: DeleteMessageQuery,
+ ) -> Result<(), ChannelMutationErr> {
+ self.messages(&access)?
+ .delete(access, message_id, query.nonce)
+ .await
+ .map_err(shared_message_error)?;
+ Ok(())
+ }
+
+ #[tracing::instrument(err, skip(self, access, req))]
+ async fn post_reaction(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ req: PostReactionRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ let message_id = req
+ .message_id
+ .parse()
+ .map_err(|e: uuid::Error| ChannelMutationErr::BadRequest(e.to_string()))?;
+ self.messages(&access)?
+ .react(
+ access,
+ message_id,
+ req.emoji,
+ matches!(req.action, ReactionAction::Add),
+ req.nonce,
+ )
+ .await
+ .map_err(shared_message_error)?;
+ Ok(())
+ }
+
+ #[tracing::instrument(err, skip(self, access, req))]
+ async fn post_typing(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ req: PostTypingRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ let thread_id = req
+ .thread_id
+ .as_deref()
+ .map(Uuid::parse_str)
+ .transpose()
+ .map_err(|e| ChannelMutationErr::BadRequest(e.to_string()))?;
+ self.messages(&access)?
+ .typing(
+ access,
+ thread_id,
+ matches!(req.action, TypingAction::Start),
+ req.nonce,
+ )
+ .await
+ .map_err(shared_message_error)?;
+ Ok(())
+ }
+}
+
+fn shared_attachments(attachments: Vec<NewChannelAttachment>) -> Vec<NewAttachment> {
+ attachments
+ .into_iter()
+ .map(|attachment| NewAttachment {
+ entity_type: attachment.entity_type,
+ entity_id: attachment.entity_id,
+ width: attachment.width,
+ height: attachment.height,
+ })
+ .collect()
+}
+
+fn shared_message_error(error: MessageError) -> ChannelMutationErr {
+ match error {
+ MessageError::NotFound => ChannelMutationErr::NotFound("message not found".into()),
+ MessageError::Forbidden => ChannelMutationErr::Unauthorized("message access denied".into()),
+ MessageError::Invalid(message) => ChannelMutationErr::BadRequest(message.into()),
+ MessageError::Repository(report) => {
+ ChannelMutationErr::Repo(anyhow::anyhow!(report.to_string()))
+ }
+ }
+}
diff --git a/crates/channels/src/domain/message_commands/test.rs b/crates/channels/src/domain/message_commands/test.rs
new file mode 100644
index 0000000000..04b3b1483e
--- /dev/null
+++ b/crates/channels/src/domain/message_commands/test.rs
@@ -0,0 +1,252 @@
+use super::*;
+use crate::domain::models::{NewChannelAttachment, Sender};
+use chrono::Utc;
+use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::{PostMessageNotificationPolicy, SimpleMention};
+
+fn sender(id: &str) -> Sender {
+ id.to_string().try_into().unwrap()
+}
+
+fn macro_id(id: &str) -> MacroUserIdStr<'static> {
+ id.to_string().try_into().unwrap()
+}
+
+fn shared_message_fixture() -> messages::domain::models::Message {
+ messages::domain::models::Message {
+ id: Uuid::from_u128(501),
+ parent: messages::domain::models::MessageParent::Channel(Uuid::from_u128(500)),
+ thread_id: None,
+ sender_id: sender("macro|[email protected]"),
+ bot_profile: None,
+ triggered_by: None,
+ imported_author: None,
+ content: "original".into(),
+ mentions: vec![SimpleMention {
+ entity_type: "document".into(),
+ entity_id: "doc".into(),
+ }],
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: vec![],
+ reactions: vec![],
+ }
+}
+
+fn message_capability() -> EntityAccessReceipt<MessageWrite> {
+ EntityAccessReceipt::try_new_authenticated_user(
+ macro_id("macro|[email protected]"),
+ entity_access::domain::models::Entity {
+ entity_type: EntityType::Channel,
+ entity_id: Uuid::from_u128(500).to_string(),
+ },
+ entity_access::domain::models::EntityPermission::ChannelRole {
+ role: entity_access::domain::models::ParticipantRole::Member,
+ },
+ )
+ .unwrap()
+}
+
+#[tokio::test]
+async fn channel_posts_use_common_service_with_verified_identity_and_notification_policy() {
+ let mut messages = messages::domain::api::MockMessageServiceApi::new();
+ messages.expect_post().once().returning(|access, input| {
+ assert_eq!(
+ access.get_authenticated_user().unwrap().as_ref(),
+ );
+ assert_eq!(access.entity().entity_id, Uuid::from_u128(500).to_string());
+ assert_eq!(input.thread_id, Some(Uuid::from_u128(502)));
+ assert_eq!(input.content, "reply");
+ assert_eq!(
+ input.notification_policy,
+ PostMessageNotificationPolicy::MentionsOnly
+ );
+ assert_eq!(input.nonce.as_deref(), Some("client-nonce"));
+ assert_eq!(input.attribution, MessageAttribution::Unprompted);
+ assert!(input.anchor.is_none());
+ Ok(shared_message_fixture())
+ });
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ let response = service
+ .post_message(
+ message_capability(),
+ PostMessageRequest {
+ content: "reply".into(),
+ mentions: vec![],
+ attachments: vec![],
+ thread_id: Some(Uuid::from_u128(502)),
+ nonce: Some("client-nonce".into()),
+ notification_policy: PostMessageNotificationPolicy::MentionsOnly,
+ triggered_by: None,
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(response.id, Uuid::from_u128(501).to_string());
+ assert_eq!(response.nonce.as_deref(), Some("client-nonce"));
+}
+
+#[tokio::test]
+async fn bot_posts_with_a_triggering_user_keep_acting_user_attribution() {
+ let mut messages = messages::domain::api::MockMessageServiceApi::new();
+ messages.expect_post().once().returning(|_, input| {
+ assert_eq!(input.attribution, MessageAttribution::ActingUser);
+ Ok(shared_message_fixture())
+ });
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ service
+ .post_message(
+ message_capability(),
+ PostMessageRequest {
+ content: "answer".into(),
+ mentions: vec![],
+ attachments: vec![],
+ thread_id: None,
+ nonce: None,
+ notification_policy: Default::default(),
+ triggered_by: Some("macro|[email protected]".into()),
+ },
+ )
+ .await
+ .unwrap();
+}
+
+#[tokio::test]
+async fn channel_attachment_delta_preserves_unreplaced_content_mentions_and_attachments() {
+ let mut messages = messages::domain::api::MockMessageServiceApi::new();
+ messages.expect_patch().once().returning(|_, id, input| {
+ assert_eq!(id, Uuid::from_u128(501));
+ assert!(input.content.is_none());
+ assert!(input.mentions.is_none());
+ let AttachmentChange::Delta { remove, add } = input.attachments else {
+ panic!("expected typed delta")
+ };
+ assert_eq!(remove, vec![Uuid::from_u128(601)]);
+ assert_eq!(add[0].entity_id, "new");
+ Ok(shared_message_fixture())
+ });
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ service
+ .patch_message(
+ message_capability(),
+ Uuid::from_u128(501),
+ PatchMessageRequest {
+ content: None,
+ mentions: None,
+ attachment_ids_to_delete: Some(vec![Uuid::from_u128(601).to_string()]),
+ attachments_to_add: Some(vec![NewChannelAttachment {
+ entity_type: "document".into(),
+ entity_id: "new".into(),
+ width: None,
+ height: None,
+ }]),
+ nonce: None,
+ notification_policy: Default::default(),
+ },
+ )
+ .await
+ .unwrap();
+}
+
+#[tokio::test]
+async fn channel_delete_and_reaction_forward_common_authorship_and_parent_errors() {
+ let mut messages = messages::domain::api::MockMessageServiceApi::new();
+ messages
+ .expect_delete()
+ .once()
+ .returning(|_, _, _| Err(messages::domain::ports::MessageError::Forbidden));
+ messages
+ .expect_react()
+ .once()
+ .returning(|_, _, _, _, _| Err(messages::domain::ports::MessageError::NotFound));
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ assert!(matches!(
+ service
+ .delete_message(
+ message_capability(),
+ Uuid::from_u128(501),
+ DeleteMessageQuery::default()
+ )
+ .await,
+ Err(ChannelMutationErr::Unauthorized(_))
+ ));
+ assert!(matches!(
+ service
+ .post_reaction(
+ message_capability(),
+ PostReactionRequest {
+ message_id: Uuid::from_u128(501).to_string(),
+ emoji: "👍".into(),
+ action: ReactionAction::Add,
+ nonce: None
+ }
+ )
+ .await,
+ Err(ChannelMutationErr::NotFound(_))
+ ));
+}
+
+#[tokio::test]
+async fn typing_translates_action_and_thread() {
+ let mut messages = messages::domain::api::MockMessageServiceApi::new();
+ messages
+ .expect_typing()
+ .once()
+ .returning(|_, root, active, nonce| {
+ assert_eq!(root, Some(Uuid::from_u128(502)));
+ assert!(!active);
+ assert_eq!(nonce.as_deref(), Some("t1"));
+ Ok(())
+ });
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ service
+ .post_typing(
+ message_capability(),
+ PostTypingRequest {
+ action: TypingAction::Stop,
+ thread_id: Some(Uuid::from_u128(502).to_string()),
+ nonce: Some("t1".into()),
+ },
+ )
+ .await
+ .unwrap();
+ assert!(matches!(
+ service
+ .post_typing(
+ message_capability(),
+ PostTypingRequest {
+ action: TypingAction::Start,
+ thread_id: Some("not-a-uuid".into()),
+ nonce: None,
+ }
+ )
+ .await,
+ Err(ChannelMutationErr::BadRequest(_))
+ ));
+}
+
+#[tokio::test]
+async fn channel_adapter_cannot_use_a_document_capability() {
+ let messages = messages::domain::api::MockMessageServiceApi::new();
+ let service = ChannelMessageAdapter::new(Arc::new(messages));
+ let access = EntityAccessReceipt::try_new_authenticated_user(
+ macro_id("macro|[email protected]"),
+ entity_access::domain::models::Entity {
+ entity_type: EntityType::Document,
+ entity_id: "doc".into(),
+ },
+ entity_access::domain::models::EntityPermission::AccessLevel {
+ access_level: entity_access::domain::models::AccessLevel::Owner,
+ },
+ )
+ .unwrap();
+ assert!(matches!(
+ service
+ .delete_message(access, Uuid::from_u128(501), DeleteMessageQuery::default())
+ .await,
+ Err(ChannelMutationErr::BadRequest(_))
+ ));
+}
diff --git a/crates/channels/src/domain/message_delivery.rs b/crates/channels/src/domain/message_delivery.rs
new file mode 100644
index 0000000000..e5e1419c1a
--- /dev/null
+++ b/crates/channels/src/domain/message_delivery.rs
@@ -0,0 +1,309 @@
+//! Channel side effects for messages committed by the shared message service.
+use super::{
+ events::{ChannelEvent, MessageChangedNotificationContext},
+ models::{
+ ChannelMetadata, CountedReaction, MutatedAttachment, MutatedMessage, ReferencedShareItem,
+ Sender, TypingAction,
+ },
+ ports::{ChannelEventDispatcher, ChannelReferenceSharePermissions, ChannelRepo},
+};
+use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::{
+ delivery::MessageRealtime,
+ models::{Message, MessageAttachment, MessageParent, PatchMessageNotificationPolicy},
+ ports::{MessageChange, MessageEvent, MessageEventPublisher},
+};
+use uuid::Uuid;
+
+#[cfg(test)]
+mod test;
+
+/// Preserves channel notifications, activity, sharing, indexing, bot triggers, and
+/// the realtime payloads the deployed channel client listens to when the shared
+/// message service commits a channel message, and adds the common
+/// `message_update` payload beside them.
+#[derive(Clone)]
+pub struct ChannelMessageDelivery<R, E, P, G> {
+ repo: R,
+ events: E,
+ permissions: P,
+ realtime: G,
+}
+
+impl<R, E, P, G> ChannelMessageDelivery<R, E, P, G> {
+ /// Compose existing channel policies with the shared realtime transport.
+ pub fn new(repo: R, events: E, permissions: P, realtime: G) -> Self {
+ Self {
+ repo,
+ events,
+ permissions,
+ realtime,
+ }
+ }
+}
+
+fn persisted(channel_id: Uuid, message: &Message) -> MutatedMessage {
+ MutatedMessage {
+ id: message.id,
+ channel_id,
+ thread_id: message.thread_id,
+ sender_id: message.sender_id.clone(),
+ triggered_by: message.triggered_by.clone(),
+ content: message.content.clone(),
+ created_at: message.created_at,
+ updated_at: message.updated_at,
+ edited_at: message.edited_at,
+ deleted_at: message.deleted_at,
+ }
+}
+
+fn attachment_rows(
+ channel_id: Uuid,
+ message_id: Uuid,
+ values: &[MessageAttachment],
+) -> Vec<MutatedAttachment> {
+ values
+ .iter()
+ .map(|attachment| MutatedAttachment {
+ id: attachment.id,
+ channel_id,
+ message_id,
+ entity_type: attachment.entity_type.clone(),
+ entity_id: attachment.entity_id.clone(),
+ width: attachment.width,
+ height: attachment.height,
+ created_at: attachment.created_at,
+ })
+ .collect()
+}
+
+fn repo_error(error: impl Into<anyhow::Error>) -> rootcause::Report {
+ rootcause::report!("channel message delivery failed: {}", error.into())
+}
+
+impl<R, E, P, G> ChannelMessageDelivery<R, E, P, G>
+where
+ R: ChannelRepo,
+ E: ChannelEventDispatcher,
+ P: ChannelReferenceSharePermissions,
+ G: MessageRealtime,
+{
+ async fn channel_metadata(
+ &self,
+ channel_id: Uuid,
+ actor: &Sender,
+ ) -> Result<ChannelMetadata, rootcause::Report> {
+ if let Some(user) = actor.as_user() {
+ return self
+ .repo
+ .get_channel_metadata(channel_id, user.clone())
+ .await
+ .map_err(repo_error);
+ }
+ let info = self
+ .repo
+ .get_channel_info(channel_id)
+ .await
+ .map_err(repo_error)?;
+ Ok(ChannelMetadata {
+ channel_type: info.channel_type,
+ channel_name: info.name.unwrap_or_default(),
+ })
+ }
+}
+
+impl<R, E, P, G> MessageEventPublisher for ChannelMessageDelivery<R, E, P, G>
+where
+ R: ChannelRepo,
+ E: ChannelEventDispatcher,
+ P: ChannelReferenceSharePermissions,
+ G: MessageRealtime,
+{
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ let MessageParent::Channel(channel_id) = event.parent else {
+ return Err(rootcause::report!(
+ "channel delivery requires a channel parent"
+ ));
+ };
+ let actor: Sender = event.actor.clone().try_into()?;
+ let participants = self
+ .repo
+ .get_participants(channel_id)
+ .await
+ .map_err(repo_error)?;
+ let recipients: Vec<MacroUserIdStr<'static>> = participants
+ .iter()
+ .filter_map(|participant| MacroUserIdStr::try_from(participant.user_id.clone()).ok())
+ .collect();
+ let live_users = participants
+ .iter()
+ .map(|participant| participant.user_id.clone())
+ .collect();
+ let mut side_effect_error = None;
+ // Sharing and activity failures must not suppress events for a committed message.
+ if let MessageChange::Posted {
+ message, mentions, ..
+ }
+ | MessageChange::Edited {
+ message, mentions, ..
+ } = &event.change
+ {
+ if let Some(user) = actor.as_user() {
+ let items = message
+ .attachments
+ .iter()
+ .filter_map(|attachment| {
+ ReferencedShareItem::from_raw(
+ attachment.entity_id.clone(),
+ &attachment.entity_type,
+ )
+ })
+ .chain(mentions.iter().filter_map(|mention| {
+ ReferencedShareItem::from_raw(
+ mention.entity_id.clone(),
+ &mention.entity_type,
+ )
+ }))
+ .collect::<Vec<_>>();
+ if !items.is_empty()
+ && let Err(error) = self
+ .permissions
+ .update_channel_share_permissions_for_referenced_items(
+ user.clone(),
+ channel_id,
+ items,
+ )
+ .await
+ {
+ side_effect_error = Some(repo_error(error));
+ }
+ if let Err(error) = self.repo.upsert_activity(actor.clone(), channel_id).await {
+ side_effect_error = Some(repo_error(error));
+ }
+ }
+ if let Err(error) = self.repo.touch_channel_updated_at(channel_id).await {
+ side_effect_error = Some(repo_error(error));
+ }
+ }
+ match &event.change {
+ MessageChange::Posted {
+ message,
+ mentions,
+ notification_policy,
+ } => {
+ let metadata = self.channel_metadata(channel_id, &actor).await?;
+ self.events.dispatch(ChannelEvent::MessagePosted {
+ channel_id,
+ metadata,
+ participants: participants.clone(),
+ message: persisted(channel_id, message),
+ mentions: mentions.clone(),
+ has_attachments: !message.attachments.is_empty(),
+ attachments: attachment_rows(channel_id, message.id, &message.attachments),
+ nonce: event.nonce.clone(),
+ notification_policy: *notification_policy,
+ });
+ }
+ MessageChange::Edited {
+ message,
+ mentions,
+ notification_policy,
+ previous_attachments,
+ } => {
+ let posted_notification = if *notification_policy
+ == PatchMessageNotificationPolicy::NotifyAsPostedMessage
+ {
+ Some(MessageChangedNotificationContext {
+ metadata: self.channel_metadata(channel_id, &actor).await?,
+ participants: participants.clone(),
+ mentions: mentions.clone(),
+ has_attachments: !message.attachments.is_empty(),
+ })
+ } else {
+ None
+ };
+ let current = attachment_rows(channel_id, message.id, &message.attachments);
+ let previous = attachment_rows(channel_id, message.id, previous_attachments);
+ let added: Vec<_> = current
+ .iter()
+ .filter(|attachment| !previous.iter().any(|p| p.id == attachment.id))
+ .cloned()
+ .collect();
+ let removed: Vec<_> = previous
+ .into_iter()
+ .filter(|attachment| !current.iter().any(|c| c.id == attachment.id))
+ .collect();
+ if !added.is_empty() || !removed.is_empty() {
+ self.events.dispatch(ChannelEvent::AttachmentsChanged {
+ channel_id,
+ actor: actor.clone(),
+ message_id: message.id,
+ attachments: current,
+ added,
+ removed,
+ recipients: recipients.clone(),
+ nonce: event.nonce.clone(),
+ });
+ }
+ self.events.dispatch(ChannelEvent::MessageChanged {
+ channel_id,
+ actor: actor.clone(),
+ message: persisted(channel_id, message),
+ recipients: recipients.clone(),
+ nonce: event.nonce.clone(),
+ posted_notification,
+ });
+ }
+ MessageChange::MessageDeleted { message } => {
+ self.events.dispatch(ChannelEvent::MessageDeleted {
+ channel_id,
+ actor: actor.clone(),
+ message: persisted(channel_id, message),
+ recipients: recipients.clone(),
+ nonce: event.nonce.clone(),
+ });
+ }
+ MessageChange::ReactionChanged { message } => {
+ if actor.as_user().is_some()
+ && let Err(error) = self.repo.upsert_activity(actor.clone(), channel_id).await
+ {
+ side_effect_error = Some(repo_error(error));
+ }
+ self.events.dispatch(ChannelEvent::ReactionChanged {
+ channel_id,
+ actor: actor.clone(),
+ message_id: message.id,
+ reactions: message
+ .reactions
+ .iter()
+ .map(|reaction| CountedReaction {
+ emoji: reaction.emoji.clone(),
+ users: reaction.users.clone(),
+ })
+ .collect(),
+ recipients: recipients.clone(),
+ nonce: event.nonce.clone(),
+ });
+ }
+ MessageChange::Typing { thread_id, active } => {
+ self.events.dispatch(ChannelEvent::TypingChanged {
+ channel_id,
+ actor: actor.clone(),
+ action: if *active {
+ TypingAction::Start
+ } else {
+ TypingAction::Stop
+ },
+ thread_id: *thread_id,
+ recipients: recipients.clone(),
+ nonce: event.nonce.clone(),
+ });
+ }
+ MessageChange::ThreadUpdated { .. } => {}
+ }
+ if let Err(error) = self.realtime.send(&event, live_users).await {
+ side_effect_error = Some(error);
+ }
+ side_effect_error.map_or(Ok(()), Err)
+ }
+}
diff --git a/crates/channels/src/domain/message_delivery/test.rs b/crates/channels/src/domain/message_delivery/test.rs
new file mode 100644
index 0000000000..335b5fe9a7
--- /dev/null
+++ b/crates/channels/src/domain/message_delivery/test.rs
@@ -0,0 +1,323 @@
+use super::*;
+use crate::domain::{
+ models::{ChannelInfo, ChannelParticipant, ChannelType, ParticipantRole},
+ ports::MockChannelRepo,
+};
+use chrono::Utc;
+use messages::domain::models::SimpleMention;
+use std::{
+ collections::HashSet,
+ sync::{Arc, Mutex},
+};
+
+#[derive(Clone, Default)]
+struct Log {
+ events: Arc<Mutex<Vec<ChannelEvent>>>,
+ live: Arc<Mutex<Vec<(String, HashSet<String>)>>>,
+ shares: Arc<Mutex<usize>>,
+ fail_live: bool,
+}
+
+impl ChannelEventDispatcher for Log {
+ fn dispatch(&self, event: ChannelEvent) {
+ self.events.lock().unwrap().push(event);
+ }
+}
+
+impl MessageRealtime for Log {
+ async fn subscribers(&self, _: &MessageParent) -> Result<HashSet<String>, rootcause::Report> {
+ Ok(HashSet::new())
+ }
+ async fn send(
+ &self,
+ event: &MessageEvent,
+ users: HashSet<String>,
+ ) -> Result<(), rootcause::Report> {
+ let kind = serde_json::to_value(event).unwrap()["change"]["type"]
+ .as_str()
+ .unwrap()
+ .to_owned();
+ self.live.lock().unwrap().push((kind, users));
+ if self.fail_live {
+ return Err(rootcause::report!("realtime unavailable"));
+ }
+ Ok(())
+ }
+}
+
+impl ChannelReferenceSharePermissions for Log {
+ type Err = anyhow::Error;
+ async fn update_channel_share_permissions_for_referenced_items(
+ &self,
+ _: MacroUserIdStr<'static>,
+ _: Uuid,
+ _: Vec<ReferencedShareItem>,
+ ) -> Result<(), Self::Err> {
+ *self.shares.lock().unwrap() += 1;
+ anyhow::bail!("sharing temporarily unavailable")
+ }
+}
+
+const CHANNEL: Uuid = Uuid::from_u128(2);
+const MEMBER: &str = "macro|[email protected]";
+const SENDER: &str = "macro|[email protected]";
+
+fn repo() -> MockChannelRepo {
+ let mut repo = MockChannelRepo::new();
+ repo.expect_get_participants().returning(|channel_id| {
+ Box::pin(async move {
+ Ok([SENDER, MEMBER]
+ .into_iter()
+ .map(|user_id| ChannelParticipant {
+ channel_id,
+ user_id: user_id.to_owned(),
+ role: ParticipantRole::Member,
+ joined_at: Utc::now(),
+ left_at: None,
+ })
+ .collect())
+ })
+ });
+ repo.expect_upsert_activity()
+ .returning(|_, _| Box::pin(async { Ok(()) }));
+ repo.expect_touch_channel_updated_at()
+ .returning(|_| Box::pin(async { Ok(()) }));
+ repo.expect_get_channel_metadata().returning(|_, _| {
+ Box::pin(async {
+ Ok(ChannelMetadata {
+ channel_type: ChannelType::Private,
+ channel_name: "Test".into(),
+ })
+ })
+ });
+ repo.expect_get_channel_info().returning(|id| {
+ Box::pin(async move {
+ Ok(ChannelInfo {
+ id,
+ name: Some("Test".into()),
+ channel_type: ChannelType::Private,
+ org_id: None,
+ team_id: None,
+ })
+ })
+ });
+ repo
+}
+
+fn message() -> Message {
+ Message {
+ id: Uuid::from_u128(1),
+ parent: MessageParent::Channel(CHANNEL),
+ thread_id: None,
+ sender_id: SENDER.to_owned().try_into().unwrap(),
+ triggered_by: None,
+ bot_profile: None,
+ mentions: vec![],
+ imported_author: None,
+ content: "Message".into(),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ reactions: vec![],
+ attachments: vec![MessageAttachment {
+ id: Uuid::from_u128(4),
+ entity_type: "document".into(),
+ entity_id: Uuid::from_u128(3).to_string(),
+ width: None,
+ height: None,
+ created_at: Utc::now(),
+ }],
+ }
+}
+
+fn event(change: MessageChange) -> MessageEvent {
+ MessageEvent {
+ parent: MessageParent::Channel(CHANNEL),
+ actor: SENDER.to_owned(),
+ nonce: Some("n1".into()),
+ change,
+ }
+}
+
+fn mentions() -> Vec<SimpleMention> {
+ vec![SimpleMention {
+ entity_type: "document".into(),
+ entity_id: Uuid::from_u128(3).to_string(),
+ }]
+}
+
+fn live_users() -> HashSet<String> {
+ [SENDER, MEMBER].map(str::to_owned).into()
+}
+
+#[tokio::test]
+async fn a_post_emits_the_legacy_channel_event_and_the_common_payload() {
+ let log = Log::default();
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ assert!(
+ delivery
+ .publish(event(MessageChange::Posted {
+ notification_policy: Default::default(),
+ message: message(),
+ mentions: mentions(),
+ }))
+ .await
+ .is_err(),
+ "the sharing failure is reported after every other effect ran"
+ );
+ assert_eq!(*log.shares.lock().unwrap(), 1);
+ let events = log.events.lock().unwrap();
+ let [
+ ChannelEvent::MessagePosted {
+ channel_id,
+ message,
+ attachments,
+ has_attachments,
+ nonce,
+ participants,
+ ..
+ },
+ ] = events.as_slice()
+ else {
+ panic!("expected one posted event, got {events:?}");
+ };
+ assert_eq!(*channel_id, CHANNEL);
+ assert_eq!(message.id, Uuid::from_u128(1));
+ assert_eq!(message.channel_id, CHANNEL);
+ assert!(has_attachments);
+ assert_eq!(attachments[0].channel_id, CHANNEL);
+ assert_eq!(nonce.as_deref(), Some("n1"));
+ assert_eq!(participants.len(), 2);
+ assert_eq!(
+ *log.live.lock().unwrap(),
+ vec![("posted".to_owned(), live_users())]
+ );
+}
+
+#[tokio::test]
+async fn edits_emit_attachment_changes_before_the_message_change() {
+ let log = Log::default();
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ let previous = MessageAttachment {
+ id: Uuid::from_u128(5),
+ entity_type: "document".into(),
+ entity_id: Uuid::from_u128(6).to_string(),
+ width: None,
+ height: None,
+ created_at: Utc::now(),
+ };
+ assert!(
+ delivery
+ .publish(event(MessageChange::Edited {
+ notification_policy: PatchMessageNotificationPolicy::NotifyAsPostedMessage,
+ message: message(),
+ mentions: vec![],
+ previous_attachments: vec![previous],
+ }))
+ .await
+ .is_err(),
+ "the attachment's sharing failure is reported after the events were dispatched"
+ );
+ let events = log.events.lock().unwrap();
+ let [
+ ChannelEvent::AttachmentsChanged { added, removed, .. },
+ ChannelEvent::MessageChanged {
+ posted_notification,
+ ..
+ },
+ ] = events.as_slice()
+ else {
+ panic!("expected attachment and message events, got {events:?}");
+ };
+ assert_eq!(added[0].id, Uuid::from_u128(4));
+ assert_eq!(removed[0].id, Uuid::from_u128(5));
+ assert!(posted_notification.is_some());
+ assert_eq!(log.live.lock().unwrap()[0].0, "edited");
+}
+
+#[tokio::test]
+async fn deletions_reactions_and_typing_map_to_their_legacy_events() {
+ let log = Log::default();
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ for change in [
+ MessageChange::MessageDeleted { message: message() },
+ MessageChange::ReactionChanged { message: message() },
+ MessageChange::Typing {
+ thread_id: Some(Uuid::from_u128(9)),
+ active: false,
+ },
+ ] {
+ delivery.publish(event(change)).await.unwrap();
+ }
+ let events = log.events.lock().unwrap();
+ assert!(matches!(
+ events.as_slice(),
+ [
+ ChannelEvent::MessageDeleted { .. },
+ ChannelEvent::ReactionChanged { .. },
+ ChannelEvent::TypingChanged {
+ action: TypingAction::Stop,
+ thread_id: Some(thread),
+ ..
+ },
+ ] if *thread == Uuid::from_u128(9)
+ ));
+ assert_eq!(
+ log.live
+ .lock()
+ .unwrap()
+ .iter()
+ .map(|(kind, _)| kind.as_str())
+ .collect::<Vec<_>>(),
+ ["message_deleted", "reaction_changed", "typing"]
+ );
+}
+
+#[tokio::test]
+async fn thread_updates_stay_off_the_channel_side_effect_path() {
+ let log = Log::default();
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ delivery
+ .publish(event(MessageChange::ThreadUpdated {
+ state: messages::domain::models::ThreadState {
+ root_id: Uuid::from_u128(1),
+ user_id: SENDER.into(),
+ resolved: true,
+ anchor: None,
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ deleted_at: None,
+ },
+ }))
+ .await
+ .unwrap();
+ assert!(log.events.lock().unwrap().is_empty());
+ assert_eq!(log.live.lock().unwrap().len(), 1);
+}
+
+#[tokio::test]
+async fn realtime_failure_is_reported_after_legacy_effects_were_dispatched() {
+ let log = Log {
+ fail_live: true,
+ ..Default::default()
+ };
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ assert!(
+ delivery
+ .publish(event(MessageChange::MessageDeleted { message: message() }))
+ .await
+ .is_err()
+ );
+ assert_eq!(log.events.lock().unwrap().len(), 1);
+}
+
+#[tokio::test]
+async fn document_events_are_rejected() {
+ let log = Log::default();
+ let delivery = ChannelMessageDelivery::new(repo(), log.clone(), log.clone(), log.clone());
+ let mut event = event(MessageChange::MessageDeleted { message: message() });
+ event.parent = MessageParent::parse("document", "doc").unwrap();
+ assert!(delivery.publish(event).await.is_err());
+ assert!(log.events.lock().unwrap().is_empty());
+}
diff --git a/crates/channels/src/domain/mod.rs b/crates/channels/src/domain/mod.rs
index 51909fc305..a79c07ce1d 100644
--- a/crates/channels/src/domain/mod.rs
+++ b/crates/channels/src/domain/mod.rs
@@ -9,11 +9,20 @@ pub mod dm;
pub mod entity_mutation;
/// Domain events emitted by channel workflows.
pub mod events;
+/// Channel audience policy for authored group mentions.
+#[cfg(feature = "ports")]
+pub mod group_mentions;
/// Legacy channel list service implementation.
#[cfg(feature = "list")]
pub mod list_service;
/// Kafka event models for the `macro.mentions` topic.
pub mod mention_events;
+/// Channel compatibility commands over the shared message application.
+#[cfg(feature = "ports")]
+pub mod message_commands;
+/// Channel side effects for messages committed by the shared message service.
+#[cfg(feature = "ports")]
+pub mod message_delivery;
/// Domain models for channel messages.
pub mod models;
#[cfg(feature = "ports")]
diff --git a/crates/channels/src/domain/models.rs b/crates/channels/src/domain/models.rs
index ba6221f5b4..227a463912 100644
--- a/crates/channels/src/domain/models.rs
+++ b/crates/channels/src/domain/models.rs
@@ -8,6 +8,9 @@ use item_filters::ast::{
#[cfg(any(feature = "list", feature = "outbound"))]
use macro_user_id::email::ReadEmailParts;
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::{
+ PatchMessageNotificationPolicy, PostMessageNotificationPolicy, SimpleMention,
+};
use models_pagination::{CreatedAt, CursorVal, Identify, SortOn};
#[cfg(feature = "list")]
use models_pagination::{Query, SimpleSortMethod};
@@ -776,26 +779,6 @@ pub struct NewChannelAttachment {
pub height: Option<i32>,
}
-/// Simple entity mention attached to a message.
-#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
-#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
-pub struct SimpleMention {
- /// Mentioned entity type.
- pub entity_type: String,
- /// Mentioned entity id.
- pub entity_id: String,
-}
-
-impl SimpleMention {
- /// Construct a tracked mention of a Macro user.
- pub fn user(user_id: &MacroUserIdStr<'_>) -> Self {
- Self {
- entity_type: "user".to_string(),
- entity_id: user_id.as_ref().to_string(),
- }
- }
-}
-
/// Shareable entity type referenced by a channel message.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ReferencedShareItemType {
@@ -890,28 +873,6 @@ impl ReferencedShareItem {
}
}
-/// Internal notification behavior for a posted channel message.
-#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
-pub enum PostMessageNotificationPolicy {
- /// Apply the normal channel notification rules.
- #[default]
- Default,
- /// Notify tracked mentions without reply, channel-message, or channel-invite notifications.
- MentionsOnly,
- /// Do not send notifications for this post. Realtime/search side effects still run.
- Silent,
-}
-
-/// Internal notification behavior for a patched channel message.
-#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
-pub enum PatchMessageNotificationPolicy {
- /// Apply the normal edit behavior: realtime/search only, no notifications.
- #[default]
- Default,
- /// Notify as though the patched message content had just been posted.
- NotifyAsPostedMessage,
-}
-
/// Request to send a channel message.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[cfg_attr(feature = "inbound", derive(utoipa::ToSchema))]
diff --git a/crates/channels/src/domain/ports.rs b/crates/channels/src/domain/ports.rs
index a8c86a061a..bdaec8395b 100644
--- a/crates/channels/src/domain/ports.rs
+++ b/crates/channels/src/domain/ports.rs
@@ -10,8 +10,8 @@ use crate::domain::models::{
MessageAttachment, MessagePageDirection, MutatedAttachment, MutatedMessage,
NewChannelAttachment, PatchChannelRequest, PatchMessageRequest, PostMessageRequest,
PostMessageResponse, PostReactionRequest, PostTypingRequest, ReferencedShareItem,
- RemoveParticipantsRequest, ResolvedChannelMessage, Sender, SimpleMention, ThreadData,
- ThreadReply, ThreadReplyRow, TopLevelMessageRow,
+ RemoveParticipantsRequest, ResolvedChannelMessage, Sender, ThreadData, ThreadReply,
+ ThreadReplyRow, TopLevelMessageRow,
};
#[cfg(feature = "list")]
use crate::domain::models::{
@@ -31,6 +31,7 @@ use channel_sender::ChannelSender;
use chrono::{DateTime, Utc};
use entity_access::domain::models::{EntityAccessReceipt, MemberParticipantRole};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::SimpleMention;
use models_pagination::{CreatedAt, Query};
use std::collections::{HashMap, HashSet};
use uuid::Uuid;
@@ -1206,6 +1207,47 @@ pub trait ChannelMentionExtractor: Send + Sync + 'static {
) -> impl Future<Output = Result<Vec<SimpleMention>, Self::Err>> + Send;
}
+/// Channel message writes expressed in the existing channel request shapes.
+///
+/// Implemented over the shared message commands, so every channel writer
+/// (HTTP, tools, webhooks, built-in bots) shares one persistence and delivery
+/// path with document discussions.
+#[async_trait::async_trait]
+pub trait ChannelMessageCommands: Send + Sync + 'static {
+ /// Post through the common message policy.
+ async fn post_message(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ req: PostMessageRequest,
+ ) -> Result<PostMessageResponse, ChannelMutationErr>;
+ /// Apply partial message changes.
+ async fn patch_message(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ message_id: Uuid,
+ req: PatchMessageRequest,
+ ) -> Result<(), ChannelMutationErr>;
+ /// Delete under common authorship rules.
+ async fn delete_message(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ message_id: Uuid,
+ query: DeleteMessageQuery,
+ ) -> Result<(), ChannelMutationErr>;
+ /// Change the verified actor's reaction.
+ async fn post_reaction(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ req: PostReactionRequest,
+ ) -> Result<(), ChannelMutationErr>;
+ /// Broadcast the verified actor's typing state.
+ async fn post_typing(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ req: PostTypingRequest,
+ ) -> Result<(), ChannelMutationErr>;
+}
+
/// Errors that can occur while mutating channels.
#[derive(Debug, thiserror::Error)]
pub enum ChannelMutationErr {
diff --git a/crates/channels/src/domain/service.rs b/crates/channels/src/domain/service.rs
index 8cbd00c725..7ab97a944d 100644
--- a/crates/channels/src/domain/service.rs
+++ b/crates/channels/src/domain/service.rs
@@ -8,11 +8,10 @@ use crate::domain::{
ChannelPreviewData, ChannelType, CreateEntityMentionOptions, DeleteMessageQuery,
EntityMention, GetOrCreateAction, GetOrCreateChannelResponse, GetOrCreateDmRequest,
GetOrCreatePrivateRequest, MessagePageDirection, NewChannelAttachment, ParticipantRole,
- PatchChannelRequest, PatchMessageNotificationPolicy, PatchMessageRequest,
- PostMessageRequest, PostMessageResponse, PostReactionRequest, PostTypingRequest,
- ReactionAction, ReferencedShareItem, RemoveParticipantsRequest, ResolvedChannelMessage,
- Sender, SimpleMention, ThreadInfo, ThreadReply, ThreadReplyRow, TopLevelMessageRow,
- WithChannelId,
+ PatchChannelRequest, PatchMessageRequest, PostMessageRequest, PostMessageResponse,
+ PostReactionRequest, PostTypingRequest, ReactionAction, ReferencedShareItem,
+ RemoveParticipantsRequest, ResolvedChannelMessage, Sender, ThreadInfo, ThreadReply,
+ ThreadReplyRow, TopLevelMessageRow, WithChannelId,
},
ports::{
ChannelAttachmentsPage, ChannelEventDispatcher, ChannelMentionExtractor,
@@ -26,6 +25,7 @@ use bot_id::cowlike::CowLike;
use channel_sender::ChannelSender;
use entity_access::domain::models::{EntityAccessReceipt, EntityType, MemberParticipantRole};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::{PatchMessageNotificationPolicy, SimpleMention};
use models_pagination::{CreatedAt, PaginateOn, Query};
use std::collections::{HashMap, HashSet};
use uuid::Uuid;
diff --git a/crates/channels/src/domain/service/test.rs b/crates/channels/src/domain/service/test.rs
index 8816ce949c..cc463bede2 100644
--- a/crates/channels/src/domain/service/test.rs
+++ b/crates/channels/src/domain/service/test.rs
@@ -10,8 +10,8 @@ use crate::domain::{
GetOrCreateDmRequest, MessageAttachment, MessagePageDirection, MutatedAttachment,
MutatedMessage, NewChannelAttachment, ParticipantRole, PatchChannelRequest,
PatchMessageRequest, PostMessageRequest, PostReactionRequest, ReactionAction,
- ReferencedShareItem, ReferencedShareItemType, ResolvedChannelMessage, Sender,
- SimpleMention, ThreadData, ThreadReplyRow, TopLevelMessageRow,
+ ReferencedShareItem, ReferencedShareItemType, ResolvedChannelMessage, Sender, ThreadData,
+ ThreadReplyRow, TopLevelMessageRow,
},
ports::{
ChannelEventDispatcher, ChannelMentionExtractor, ChannelReferenceSharePermissions,
diff --git a/crates/channels/src/domain/side_effects.rs b/crates/channels/src/domain/side_effects.rs
index 149062b3c2..c7ea7728c3 100644
--- a/crates/channels/src/domain/side_effects.rs
+++ b/crates/channels/src/domain/side_effects.rs
@@ -12,8 +12,7 @@ use crate::domain::{
mention_events::{EntityRef, MentionMacroEvent, MentionMetadata},
models::{
BotId, BotSenderProfile, ChannelMetadata, ChannelParticipant, ChannelType, CountedReaction,
- MutatedAttachment, MutatedMessage, PostMessageNotificationPolicy, SimpleMention,
- TypingAction,
+ MutatedAttachment, MutatedMessage, TypingAction,
},
ports::{
ChannelContactsDispatcher, ChannelEventDispatcher, ChannelEventHandler,
@@ -23,6 +22,7 @@ use crate::domain::{
use bot_id::BotIdStr;
use macro_event_broker::{MacroEventBroker, NoopMacroEventBroker};
use macro_user_id::{cowlike::CowLike, user_id::MacroUserIdStr};
+use messages::domain::models::{PostMessageNotificationPolicy, SimpleMention};
use std::collections::HashSet;
use tokio::sync::mpsc::UnboundedSender;
use tracing::Instrument as _;
diff --git a/crates/channels/src/inbound/axum_router.rs b/crates/channels/src/inbound/axum_router.rs
index 304ab0ea6d..2e8f08686a 100644
--- a/crates/channels/src/inbound/axum_router.rs
+++ b/crates/channels/src/inbound/axum_router.rs
@@ -23,8 +23,8 @@ pub use crate::domain::models::{
};
pub use crate::domain::models::{ChannelMessageFilters, NotificationFilters};
use crate::domain::ports::{
- ChannelMessagesErr, ChannelMessagesPage, ChannelMessagesQueryResult, ChannelMutationErr,
- ChannelService,
+ ChannelMessageCommands, ChannelMessagesErr, ChannelMessagesPage, ChannelMessagesQueryResult,
+ ChannelMutationErr, ChannelService,
};
use axum::{
Json, Router,
@@ -38,9 +38,8 @@ use chrono::{DateTime, Utc};
use entity_access::{
domain::{
models::{
- AccessError, AccessLevel, AdminParticipantRole, EntityAccessAuth, EntityAccessReceipt,
- EntityPermission, EntityType, MemberParticipantRole, OwnerParticipantRole,
- RequiredPermission, ViewOnly,
+ AccessError, AccessLevel, AdminParticipantRole, EntityAccessReceipt, EntityType,
+ MemberParticipantRole, OwnerParticipantRole, RequiredPermission, ViewOnly,
},
ports::EntityAccessService,
},
@@ -62,6 +61,7 @@ use uuid::Uuid;
/// State for the channels router.
pub struct ChannelsRouterState<S, Svc, Auth> {
service: Arc<S>,
+ messages: Arc<dyn ChannelMessageCommands>,
access_service: Arc<Svc>,
authorization_state: MacroAuthorizationState<Auth>,
}
@@ -70,6 +70,7 @@ impl<S, Svc, Auth> Clone for ChannelsRouterState<S, Svc, Auth> {
fn clone(&self) -> Self {
Self {
service: self.service.clone(),
+ messages: self.messages.clone(),
access_service: self.access_service.clone(),
authorization_state: self.authorization_state.clone(),
}
@@ -77,14 +78,17 @@ impl<S, Svc, Auth> Clone for ChannelsRouterState<S, Svc, Auth> {
}
impl<S: ChannelService, Svc: EntityAccessService, Auth> ChannelsRouterState<S, Svc, Auth> {
- /// Create a router state wrapping the channel service, entity access service, and authorization state.
+ /// Create a router state wrapping the channel service, the message writer,
+ /// the entity access service, and the authorization state.
pub fn new(
+ messages: Arc<dyn ChannelMessageCommands>,
service: S,
access_service: Svc,
authorization_state: MacroAuthorizationState<Auth>,
) -> Self {
Self {
service: Arc::new(service),
+ messages,
access_service: Arc::new(access_service),
authorization_state,
}
@@ -93,14 +97,16 @@ impl<S: ChannelService, Svc: EntityAccessService, Auth> ChannelsRouterState<S, S
/// Create a router state from an already-shared channel service.
///
/// Used when the channel service must also be shared with other components
- /// (such as the bot trigger dispatcher) that post messages through it.
+ /// (such as the bot trigger dispatcher) that read channels through it.
pub fn from_arc(
+ messages: Arc<dyn ChannelMessageCommands>,
service: Arc<S>,
access_service: Svc,
authorization_state: MacroAuthorizationState<Auth>,
) -> Self {
Self {
service,
+ messages,
access_service: Arc::new(access_service),
authorization_state,
}
@@ -140,16 +146,12 @@ fn notification_user_id_from_receipt<T: RequiredPermission>(
Ok(Some(user.clone()))
}
-fn actor_from_receipt<T: RequiredPermission>(
- receipt: &EntityAccessReceipt<T>,
-) -> Result<Sender, ChannelsHandlerErr> {
- match receipt.auth() {
- EntityAccessAuth::Authenticated(user_id) => Ok(Sender::new_from_user(user_id.clone())),
- EntityAccessAuth::Bot(bot_id) => Ok(Sender::new_from_bot(bot_id.bot_id())),
- EntityAccessAuth::Unauthenticated | EntityAccessAuth::Internal => Err(
- ChannelsHandlerErr::BadRequest("authenticated actor required"),
- ),
- }
+fn message_access(
+ receipt: EntityAccessReceipt<MemberParticipantRole>,
+) -> Result<EntityAccessReceipt<messages::domain::service::MessageWrite>, ChannelsHandlerErr> {
+ receipt
+ .try_into_requirement()
+ .map_err(|_| ChannelsHandlerErr::Unauthorized("channel membership required"))
}
fn user_actor_from_receipt<T: RequiredPermission>(
@@ -162,19 +164,6 @@ fn user_actor_from_receipt<T: RequiredPermission>(
.map_err(|_| ChannelsHandlerErr::BadRequest("authenticated user required"))
}
-fn role_from_receipt<T: RequiredPermission>(
- receipt: &EntityAccessReceipt<T>,
-) -> Result<ParticipantRole, ChannelsHandlerErr> {
- match receipt.entity_permission() {
- EntityPermission::ChannelRole { role } => Ok(match role {
- entity_access::domain::models::ParticipantRole::Owner => ParticipantRole::Owner,
- entity_access::domain::models::ParticipantRole::Admin => ParticipantRole::Admin,
- entity_access::domain::models::ParticipantRole::Member => ParticipantRole::Member,
- }),
- _ => Err(ChannelsHandlerErr::BadRequest("channel role required")),
- }
-}
-
const MAX_MESSAGE_ID_FILTERS: usize = 100;
/// Query parameters for the messages endpoint.
@@ -605,9 +594,10 @@ pub async fn post_message_handler<
access: ChannelAccessLevelExtractor<MemberParticipantRole, Svc, Auth>,
Json(req): Json<PostMessageRequest>,
) -> Result<(StatusCode, Json<PostMessageResponse>), ChannelsHandlerErr> {
- let channel_id = channel_id_from_receipt(&access.entity_access_receipt)?;
- let actor = actor_from_receipt(&access.entity_access_receipt)?;
- let res = state.service.post_message(actor, channel_id, req).await?;
+ let res = state
+ .messages
+ .post_message(message_access(access.entity_access_receipt)?, req)
+ .await?;
Ok((StatusCode::OK, Json(res)))
}
@@ -642,11 +632,13 @@ pub async fn patch_message_handler<
Path(path): Path<ThreadRepliesPath>,
Json(req): Json<PatchMessageRequest>,
) -> Result<(StatusCode, String), ChannelsHandlerErr> {
- let actor = actor_from_receipt(&access.entity_access_receipt)?;
- let role = role_from_receipt(&access.entity_access_receipt)?;
state
- .service
- .patch_message(actor, role, path.channel_id, path.message_id, req)
+ .messages
+ .patch_message(
+ message_access(access.entity_access_receipt)?,
+ path.message_id,
+ req,
+ )
.await?;
Ok((StatusCode::OK, "message sent".to_string()))
}
@@ -682,11 +674,13 @@ pub async fn delete_message_handler<
Path(path): Path<ThreadRepliesPath>,
Query(query): Query<DeleteMessageQuery>,
) -> Result<(StatusCode, String), ChannelsHandlerErr> {
- let actor = actor_from_receipt(&access.entity_access_receipt)?;
- let role = role_from_receipt(&access.entity_access_receipt)?;
state
- .service
- .delete_message(actor, role, path.channel_id, path.message_id, query)
+ .messages
+ .delete_message(
+ message_access(access.entity_access_receipt)?,
+ path.message_id,
+ query,
+ )
.await?;
Ok((StatusCode::OK, "message sent".to_string()))
}
@@ -720,9 +714,10 @@ pub async fn post_reaction_handler<
access: ChannelAccessLevelExtractor<MemberParticipantRole, Svc, Auth>,
Json(req): Json<PostReactionRequest>,
) -> Result<(StatusCode, String), ChannelsHandlerErr> {
- let channel_id = channel_id_from_receipt(&access.entity_access_receipt)?;
- let actor = actor_from_receipt(&access.entity_access_receipt)?;
- state.service.post_reaction(actor, channel_id, req).await?;
+ state
+ .messages
+ .post_reaction(message_access(access.entity_access_receipt)?, req)
+ .await?;
Ok((StatusCode::OK, "Reaction added".to_string()))
}
@@ -755,9 +750,10 @@ pub async fn post_typing_handler<
access: ChannelAccessLevelExtractor<MemberParticipantRole, Svc, Auth>,
Json(req): Json<PostTypingRequest>,
) -> Result<(StatusCode, String), ChannelsHandlerErr> {
- let channel_id = channel_id_from_receipt(&access.entity_access_receipt)?;
- let actor = actor_from_receipt(&access.entity_access_receipt)?;
- state.service.post_typing(actor, channel_id, req).await?;
+ state
+ .messages
+ .post_typing(message_access(access.entity_access_receipt)?, req)
+ .await?;
Ok((StatusCode::OK, "message sent".to_string()))
}
diff --git a/crates/channels/src/inbound/axum_router/test.rs b/crates/channels/src/inbound/axum_router/test.rs
index d6968f77e0..2fa3e0c206 100644
--- a/crates/channels/src/inbound/axum_router/test.rs
+++ b/crates/channels/src/inbound/axum_router/test.rs
@@ -18,8 +18,8 @@ use axum::{
use entity_access::domain::models::TeamRole;
use entity_access::domain::{
models::{
- AccessError, AccessLevel, BotAccessScope, BotId, BotReceiptScope, Entity,
- EntityAccessReceipt, EntityPermission, EntityType, MemberParticipantRole,
+ AccessError, AccessLevel, BotAccessScope, BotId, Entity, EntityAccessReceipt,
+ EntityPermission, EntityType, MemberParticipantRole,
ParticipantRole as EntityParticipantRole, RequiredPermission, UserTeamInfo,
},
ports::EntityAccessService,
@@ -262,29 +262,6 @@ impl EntityAccessService for TestAccessService {
}
}
-#[test]
-fn bot_actor_from_receipt_uses_canonical_principal() {
- let bot_id = BotId::new_from_uuid(uuid::uuid!("00000000-0000-0000-0000-000000000123"));
- let receipt = EntityAccessReceipt::<MemberParticipantRole>::try_new_bot(
- bot_id.into_storage_id(),
- BotReceiptScope::Team {
- team_id: Uuid::new_v4(),
- },
- Entity {
- entity_id: Uuid::new_v4().to_string(),
- entity_type: EntityType::Channel,
- },
- EntityPermission::ChannelRole {
- role: EntityParticipantRole::Member,
- },
- )
- .unwrap();
-
- let sender = actor_from_receipt(&receipt).unwrap();
-
- assert_eq!(sender.as_ref(), bot_id.into_storage_id().as_ref());
-}
-
// --- Mock services (business logic only, no auth concerns) ---
struct MockService;
@@ -719,6 +696,67 @@ struct RecordingMutationService {
pictures: Arc<Mutex<Vec<(String, Option<Uuid>)>>>,
joins: Arc<Mutex<Vec<(Sender, Uuid)>>>,
posts: Arc<Mutex<Vec<(Sender, Uuid, PostMessageRequest)>>>,
+ typing: Arc<Mutex<Vec<(Sender, Uuid, PostTypingRequest)>>>,
+}
+
+fn recorded_actor(
+ access: &EntityAccessReceipt<messages::domain::service::MessageWrite>,
+) -> (Sender, Uuid) {
+ let actor = match access.auth() {
+ entity_access::domain::models::EntityAccessAuth::Bot(bot) => {
+ Sender::new_from_bot(bot.bot_id())
+ }
+ _ => Sender::new_from_user(access.get_authenticated_user().unwrap().clone()),
+ };
+ (actor, access.entity().entity_id.parse().unwrap())
+}
+
+#[async_trait::async_trait]
+impl crate::domain::ports::ChannelMessageCommands for RecordingMutationService {
+ async fn post_message(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ req: PostMessageRequest,
+ ) -> Result<PostMessageResponse, ChannelMutationErr> {
+ let (actor, channel_id) = recorded_actor(&access);
+ self.posts.lock().unwrap().push((actor, channel_id, req));
+ Ok(PostMessageResponse {
+ id: Uuid::new_v4().to_string(),
+ nonce: Some("n1".to_string()),
+ })
+ }
+ async fn patch_message(
+ &self,
+ _access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _message_id: Uuid,
+ _req: PatchMessageRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ Ok(())
+ }
+ async fn delete_message(
+ &self,
+ _access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _message_id: Uuid,
+ _query: DeleteMessageQuery,
+ ) -> Result<(), ChannelMutationErr> {
+ Ok(())
+ }
+ async fn post_reaction(
+ &self,
+ _access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _req: PostReactionRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ Ok(())
+ }
+ async fn post_typing(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ req: PostTypingRequest,
+ ) -> Result<(), ChannelMutationErr> {
+ let (actor, channel_id) = recorded_actor(&access);
+ self.typing.lock().unwrap().push((actor, channel_id, req));
+ Ok(())
+ }
}
impl ChannelService for RecordingMutationService {
@@ -1006,6 +1044,7 @@ async fn attach_bearer(mut request: Request<Body>) -> Request<Body> {
fn mock_router() -> Router {
channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
TestAccessService::allow(),
authorization_state(),
@@ -1015,6 +1054,7 @@ fn mock_router() -> Router {
fn error_router() -> Router {
channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
ErrorService,
TestAccessService::allow(),
authorization_state(),
@@ -1024,6 +1064,7 @@ fn error_router() -> Router {
fn denied_router() -> Router {
channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
TestAccessService::deny(),
authorization_state(),
@@ -1033,6 +1074,7 @@ fn denied_router() -> Router {
fn not_found_router() -> Router {
channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
TestAccessService::not_found(),
authorization_state(),
@@ -1048,6 +1090,7 @@ fn join_by_code_router(
let joined_users = service.joined_users.clone();
let (authorization_state, validator) = authorization_state_with_default(default_user_id);
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::deny(),
authorization_state,
@@ -1126,6 +1169,7 @@ async fn standard_internal_headers_propagate_organization_to_entity_access() {
let channel_id = Uuid::new_v4();
let access_service = TestAccessService::allow();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
access_service.clone(),
authorization_state(),
@@ -1193,6 +1237,7 @@ async fn bearer_organization_is_propagated_to_entity_access() {
let access_service = TestAccessService::allow();
let (authorization_state, validator) = authorization_state_with_default(None);
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
access_service.clone(),
authorization_state,
@@ -1227,6 +1272,7 @@ async fn active_participant_can_get_persisted_channel_join_code() {
let service = JoinLinkService::new(channel_id, join_code, vec![]);
let requested_channel_ids = service.requested_channel_ids.clone();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::allow(),
authorization_state(),
@@ -1258,6 +1304,7 @@ async fn non_participant_cannot_get_channel_join_code() {
let service = JoinLinkService::new(channel_id, Uuid::new_v4(), vec![]);
let requested_channel_ids = service.requested_channel_ids.clone();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::deny(),
authorization_state(),
@@ -1291,6 +1338,7 @@ async fn non_private_channels_cannot_get_join_codes() {
non_private_channels.iter().map(|(_, id)| *id).collect(),
);
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::allow(),
authorization_state(),
@@ -1320,6 +1368,7 @@ async fn non_private_channels_cannot_get_join_codes() {
async fn join_channel_by_code_handles_malformed_and_unknown_codes() {
let service = JoinLinkService::new(Uuid::new_v4(), Uuid::new_v4(), vec![]);
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::deny(),
authorization_state(),
@@ -1358,6 +1407,7 @@ async fn authenticated_user_can_join_by_code_without_channel_access() {
let service = JoinLinkService::new(Uuid::new_v4(), join_code, vec![]);
let joined_users = service.joined_users.clone();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::deny(),
authorization_state(),
@@ -1398,6 +1448,7 @@ async fn channel_view_only_user_can_join_channel_by_id() {
let joins = mutation_service.joins.clone();
let access_service = TestAccessService::channel_view_only();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
mutation_service,
access_service.clone(),
authorization_state(),
@@ -1435,6 +1486,7 @@ async fn user_without_channel_access_cannot_join_channel_by_id() {
let mutation_service = RecordingMutationService::default();
let joins = mutation_service.joins.clone();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
mutation_service,
TestAccessService::deny(),
authorization_state(),
@@ -1460,6 +1512,7 @@ async fn malformed_channel_id_does_not_invoke_join_service() {
let joins = mutation_service.joins.clone();
let access_service = TestAccessService::channel_view_only();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
mutation_service,
access_service.clone(),
authorization_state(),
@@ -1493,7 +1546,8 @@ async fn post_message_route_uses_entity_access_and_mutation_service() {
let mutation_service = RecordingMutationService::default();
let posts = mutation_service.posts.clone();
let router = channels_router(ChannelsRouterState::new(
- mutation_service,
+ Arc::new(mutation_service),
+ MockService,
TestAccessService::allow(),
authorization_state(),
))
@@ -1669,6 +1723,7 @@ async fn participants_returns_empty_list() {
#[tokio::test]
async fn participants_returns_data_with_correct_shape() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
ParticipantsService,
TestAccessService::allow(),
authorization_state(),
@@ -1923,6 +1978,7 @@ async fn messages_around_returns_empty_page() {
#[tokio::test]
async fn messages_around_omits_previous_cursor_when_no_newer_page() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
AroundHasItemsService {
has_more_newer: false,
},
@@ -1951,6 +2007,7 @@ async fn messages_around_omits_previous_cursor_when_no_newer_page() {
#[tokio::test]
async fn messages_around_returns_previous_cursor_when_newer_page_exists() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
AroundHasItemsService {
has_more_newer: true,
},
@@ -1979,6 +2036,7 @@ async fn messages_around_returns_previous_cursor_when_newer_page_exists() {
#[tokio::test]
async fn messages_around_returns_404_when_not_found() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
NotFoundService,
TestAccessService::allow(),
authorization_state(),
@@ -2112,6 +2170,7 @@ impl ChannelService for std::sync::Arc<CapturingService> {
async fn post_messages_empty_body_uses_default_filters() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2140,6 +2199,7 @@ async fn post_messages_empty_body_uses_default_filters() {
async fn post_messages_forwards_message_ids_filter() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2169,6 +2229,7 @@ async fn post_messages_forwards_message_ids_filter() {
async fn post_messages_forwards_last_activity_filter() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2203,6 +2264,7 @@ async fn post_messages_forwards_last_activity_filter() {
async fn post_messages_forwards_notification_filter_for_authenticated_user() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2244,6 +2306,7 @@ async fn post_messages_forwards_notification_filter_for_authenticated_user() {
#[tokio::test]
async fn post_messages_rejects_oversized_filter_list() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
MockService,
TestAccessService::allow(),
authorization_state(),
@@ -2290,6 +2353,7 @@ async fn thread_replies_returns_empty_list() {
#[tokio::test]
async fn thread_replies_returns_404_when_not_found() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
NotFoundService,
TestAccessService::allow(),
authorization_state(),
@@ -2362,6 +2426,7 @@ async fn message_context_returns_flat_context_response() {
async fn catch_up_forwards_exclusive_after_and_older_direction() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2398,6 +2463,7 @@ async fn catch_up_forwards_exclusive_after_and_older_direction() {
async fn catch_up_rejects_missing_or_invalid_after() {
let svc = CapturingService::new();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
svc.clone(),
TestAccessService::allow(),
authorization_state(),
@@ -2660,6 +2726,7 @@ impl ChannelService for ActivityService {
#[tokio::test]
async fn get_activity_returns_user_activities() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
ActivityService::default(),
TestAccessService::allow(),
authorization_state(),
@@ -2683,6 +2750,7 @@ async fn post_activity_records_and_returns_activity() {
let service = ActivityService::default();
let posts = service.posts.clone();
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
TestAccessService::allow(),
authorization_state(),
@@ -2718,6 +2786,7 @@ async fn post_activity_records_and_returns_activity() {
#[tokio::test]
async fn post_activity_rejects_non_members() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
ActivityService::default(),
TestAccessService::deny(),
authorization_state(),
@@ -2743,6 +2812,7 @@ async fn post_activity_rejects_non_members() {
#[tokio::test]
async fn post_activity_rejects_invalid_channel_id() {
let router = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
ActivityService::default(),
TestAccessService::allow(),
authorization_state(),
@@ -2777,6 +2847,7 @@ async fn picture_endpoint_requires_channel_admin_and_passes_the_verified_channel
let mut access = TestAccessService::allow();
access.channel_role = role;
let app = channels_router(ChannelsRouterState::new(
+ Arc::new(RecordingMutationService::default()),
service,
access,
authorization_state(),
diff --git a/crates/channels/src/inbound/toolset.rs b/crates/channels/src/inbound/toolset.rs
index 1016d5a730..e2c9a0b4d4 100644
--- a/crates/channels/src/inbound/toolset.rs
+++ b/crates/channels/src/inbound/toolset.rs
@@ -23,12 +23,13 @@ use ai_toolset::{AsyncToolCollection, RequestContext, ToolCallError};
use bot_id::BotId;
use entity_access::domain::{
models::{
- AccessError, AccessLevel, AdminParticipantRole, EntityAccessReceipt, EntityType,
- MemberParticipantRole, RequiredPermission,
+ AccessError, AccessLevel, AdminParticipantRole, BotAccessScope, EntityAccessReceipt,
+ EntityType, MemberParticipantRole, RequiredPermission,
},
ports::EntityAccessService,
};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::{api::MessageCommands, service::MessageWrite};
use std::sync::Arc;
use uuid::Uuid;
@@ -44,6 +45,8 @@ where
Svc: ChannelService,
AccessSvc: EntityAccessService,
{
+ /// Shared message writer used to send channel messages on the user's behalf.
+ pub messages: Arc<dyn MessageCommands>,
/// Channel message service used to read timelines, resolve messages, and fetch threads.
pub service: Arc<Svc>,
/// Entity access service used to ensure the caller is a channel member.
@@ -60,6 +63,7 @@ where
{
fn clone(&self) -> Self {
Self {
+ messages: self.messages.clone(),
service: self.service.clone(),
entity_access_service: self.entity_access_service.clone(),
actor: self.actor,
@@ -73,14 +77,36 @@ where
AccessSvc: EntityAccessService,
{
/// Create a new channel tool context.
- pub fn new(service: Svc, entity_access_service: AccessSvc) -> Self {
+ pub fn new(
+ messages: Arc<dyn MessageCommands>,
+ service: Svc,
+ entity_access_service: AccessSvc,
+ ) -> Self {
Self {
+ messages,
service: Arc::new(service),
entity_access_service: Arc::new(entity_access_service),
actor: bot_id::MACRO_AI_BOT_ID,
}
}
+ /// Mint the bot's channel write capability on behalf of the requesting user.
+ pub async fn require_channel_message_write(
+ &self,
+ request_context: &RequestContext,
+ channel_id: Uuid,
+ ) -> Result<EntityAccessReceipt<MessageWrite>, ToolCallError> {
+ self.entity_access_service
+ .generate_bot_entity_access_receipt::<MessageWrite>(
+ self.actor,
+ BotAccessScope::user(request_context.user_id.clone()),
+ &channel_id.to_string(),
+ EntityType::Channel,
+ )
+ .await
+ .map_err(|error| channel_receipt_error(ChannelReceiptKind::Member, error))
+ }
+
/// Set the bot these tools act as.
pub fn with_actor(mut self, actor: BotId) -> Self {
self.actor = actor;
diff --git a/crates/channels/src/inbound/toolset/send_channel_message.rs b/crates/channels/src/inbound/toolset/send_channel_message.rs
index b13949a45e..3de6d99423 100644
--- a/crates/channels/src/inbound/toolset/send_channel_message.rs
+++ b/crates/channels/src/inbound/toolset/send_channel_message.rs
@@ -5,10 +5,13 @@ use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use uuid::Uuid;
-use crate::domain::models::{PostMessageNotificationPolicy, PostMessageRequest, Sender};
use crate::domain::ports::ChannelService;
use crate::inbound::toolset::ChannelToolContext;
use entity_access::domain::ports::EntityAccessService;
+use messages::domain::{
+ models::{MessageAttribution, PostMessage, PostMessageNotificationPolicy},
+ ports::MessageError,
+};
#[derive(Debug, Clone, Deserialize, Serialize, JsonSchema)]
#[schemars(
@@ -57,36 +60,38 @@ where
.require_channel_member(&request_context, self.channel_id)
.await?;
- // AI sends as the tool actor bot; the triggering user is recorded
- // separately so the client can render a "from <user>" pill.
- let actor = Sender::new_from_bot(service_context.actor);
- let triggered_by = Some(request_context.user_id.as_ref().to_string());
-
- let req = PostMessageRequest {
- content: self.content.clone(),
- mentions: vec![],
- attachments: vec![],
- nonce: None,
- notification_policy: PostMessageNotificationPolicy::Default,
- thread_id: self.thread_id,
- triggered_by,
- };
+ // AI sends as the tool actor bot; the capability carries the requesting
+ // user so the message records who triggered it and the client can render
+ // a "from <user>" pill.
+ let access = service_context
+ .require_channel_message_write(&request_context, self.channel_id)
+ .await?;
service_context
- .service
- .post_message(actor, self.channel_id, req)
+ .messages
+ .post(
+ access,
+ PostMessage {
+ attribution: MessageAttribution::ActingUser,
+ notification_policy: PostMessageNotificationPolicy::Default,
+ content: self.content.clone(),
+ thread_id: self.thread_id,
+ anchor: None,
+ mentions: vec![],
+ attachments: vec![],
+ nonce: None,
+ },
+ )
.await
.map_err(tool_err("failed to send message"))
- .map(|response| SendChannelMessageResponse {
+ .map(|message| SendChannelMessageResponse {
channel_id: self.channel_id,
- message_id: response.id,
+ message_id: message.id.to_string(),
})
}
}
-fn tool_err(
- description: &'static str,
-) -> impl FnOnce(crate::domain::ports::ChannelMutationErr) -> ToolCallError {
+fn tool_err(description: &'static str) -> impl FnOnce(MessageError) -> ToolCallError {
move |err| ToolCallError {
description: description.to_string(),
internal_error: anyhow::Error::new(err),
diff --git a/crates/channels/src/inbound/toolset/test.rs b/crates/channels/src/inbound/toolset/test.rs
index 92a0a938d7..471fb42a26 100644
--- a/crates/channels/src/inbound/toolset/test.rs
+++ b/crates/channels/src/inbound/toolset/test.rs
@@ -35,6 +35,107 @@ use uuid::Uuid;
const TEST_USER_ID: &str = "macro|[email protected]";
+type PostedSharedMessage = (
+ EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ messages::domain::models::PostMessage,
+);
+
+#[derive(Clone, Default)]
+struct RecordingMessages {
+ posts: Arc<Mutex<Vec<PostedSharedMessage>>>,
+}
+
+#[async_trait::async_trait]
+impl messages::domain::api::MessageCommands for RecordingMessages {
+ async fn post(
+ &self,
+ access: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ input: messages::domain::models::PostMessage,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ let parent =
+ messages::domain::models::MessageParent::parse("channel", &access.entity().entity_id)
+ .unwrap();
+ let sender = match access.auth() {
+ entity_access::domain::models::EntityAccessAuth::Bot(bot) => {
+ Sender::new_from_bot(bot.bot_id())
+ }
+ _ => Sender::new_from_user(user_id()),
+ };
+ let message = messages::domain::models::Message {
+ id: Uuid::new_v4(),
+ parent,
+ thread_id: input.thread_id,
+ sender_id: sender,
+ imported_author: None,
+ bot_profile: None,
+ mentions: vec![],
+ triggered_by: access
+ .acting_user_id()
+ .map(|user| user.as_ref().to_string()),
+ content: input.content.clone(),
+ created_at: chrono::Utc::now(),
+ updated_at: chrono::Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: vec![],
+ reactions: vec![],
+ };
+ self.posts.lock().unwrap().push((access, input));
+ Ok(message)
+ }
+ async fn patch(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: messages::domain::ports::MessagePatch,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn delete(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn react(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: String,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::Message, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn typing(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Option<Uuid>,
+ _: bool,
+ _: Option<String>,
+ ) -> Result<(), messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn patch_thread(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: messages::domain::models::ThreadPatch,
+ ) -> Result<messages::domain::models::ThreadState, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+ async fn delete_thread(
+ &self,
+ _: EntityAccessReceipt<messages::domain::service::MessageWrite>,
+ _: Uuid,
+ _: Option<String>,
+ ) -> Result<messages::domain::models::ThreadState, messages::domain::ports::MessageError> {
+ unimplemented!()
+ }
+}
+
fn user_id() -> MacroUserIdStr<'static> {
MacroUserIdStr::try_from(TEST_USER_ID.to_string()).expect("valid macro user id")
}
@@ -300,12 +401,29 @@ impl EntityAccessService for ToolTestAccessService {
async fn generate_bot_entity_access_receipt<T: RequiredPermission>(
&self,
- _bot_id: entity_access::domain::models::BotId,
- _scope: BotAccessScope,
- _entity_id: &str,
- _entity_type: EntityType,
+ bot_id: entity_access::domain::models::BotId,
+ scope: BotAccessScope,
+ entity_id: &str,
+ entity_type: EntityType,
) -> Result<EntityAccessReceipt<T>, AccessError> {
- Err(AccessError::internal("test access failure"))
+ self.receipt_calls.fetch_add(1, Ordering::SeqCst);
+ if let Some(error) = self.receipt_error {
+ return Err(match error {
+ ReceiptFail::Unauthorized => AccessError::Unauthorized,
+ ReceiptFail::NotFound => AccessError::NotFound("missing"),
+ });
+ }
+ EntityAccessReceipt::try_new_bot(
+ bot_id.into_storage_id(),
+ (&scope).into(),
+ entity_access::domain::models::Entity {
+ entity_id: entity_id.to_string(),
+ entity_type,
+ },
+ EntityPermission::ChannelRole {
+ role: entity_access::domain::models::ParticipantRole::Member,
+ },
+ )
}
async fn get_access_level(
@@ -514,7 +632,11 @@ async fn create_private_channel_does_not_resolve_a_team() {
..ToolTestChannelService::default()
};
let created = service.created.clone();
- let context = ChannelToolContext::new(service, NoOpEntityAccessService);
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ service,
+ NoOpEntityAccessService,
+ );
let response = CreateChannel {
name: " Planning ".to_string(),
@@ -551,6 +673,7 @@ async fn create_team_channel_injects_the_caller_when_participants_are_empty() {
let service = ToolTestChannelService::default();
let created = service.created.clone();
let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
service,
ToolTestAccessService {
team: Some(UserTeamInfo {
@@ -601,6 +724,7 @@ async fn create_private_channel_uses_the_context_actor_for_the_user() {
tool.call(
ServiceContext(ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
default_service,
NoOpEntityAccessService,
)),
@@ -610,8 +734,12 @@ async fn create_private_channel_uses_the_context_actor_for_the_user() {
.expect("default actor can create");
tool.call(
ServiceContext(
- ChannelToolContext::new(custom_service, NoOpEntityAccessService)
- .with_actor(BotId::TEST_A),
+ ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ custom_service,
+ NoOpEntityAccessService,
+ )
+ .with_actor(BotId::TEST_A),
),
RequestContext::new(user_id()),
)
@@ -644,7 +772,11 @@ async fn create_private_channel_uses_the_context_actor_for_the_user() {
async fn create_team_channel_fails_when_the_user_has_no_team() {
let service = ToolTestChannelService::default();
let created = service.created.clone();
- let context = ChannelToolContext::new(service, ToolTestAccessService::default());
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ service,
+ ToolTestAccessService::default(),
+ );
let error = CreateChannel {
name: "Team Sync".to_string(),
@@ -661,8 +793,11 @@ async fn create_team_channel_fails_when_the_user_has_no_team() {
#[tokio::test]
async fn create_channel_rejects_an_empty_name() {
- let context =
- ChannelToolContext::new(ToolTestChannelService::default(), NoOpEntityAccessService);
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ ToolTestChannelService::default(),
+ NoOpEntityAccessService,
+ );
let error = CreateChannel {
name: " ".to_string(),
@@ -679,6 +814,7 @@ async fn create_channel_rejects_an_empty_name() {
#[tokio::test]
async fn create_channel_surfaces_domain_errors() {
let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
ToolTestChannelService {
create_error: Some("participants must be a non-empty list of 'macro|<email>'".into()),
..ToolTestChannelService::default()
@@ -712,7 +848,7 @@ async fn rename_channel_requires_admin_and_patches_only_the_name() {
let patches = service.patches.clone();
let access = ToolTestAccessService::default();
let receipt_calls = access.receipt_calls.clone();
- let context = ChannelToolContext::new(service, access);
+ let context = ChannelToolContext::new(Arc::new(RecordingMessages::default()), service, access);
let response = RenameChannel {
channel_id,
@@ -736,6 +872,7 @@ async fn rename_channel_requires_admin_and_patches_only_the_name() {
#[tokio::test]
async fn rename_channel_rejects_non_admins() {
let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
ToolTestChannelService::default(),
ToolTestAccessService {
receipt_error: Some(ReceiptFail::Unauthorized),
@@ -760,6 +897,7 @@ async fn rename_channel_rejects_non_admins() {
#[tokio::test]
async fn rename_channel_surfaces_dm_rename_rejection() {
let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
ToolTestChannelService {
patch_error: Some("cannot change channel_name for direct message channels".into()),
..ToolTestChannelService::default()
@@ -784,8 +922,8 @@ async fn rename_channel_surfaces_dm_rename_rejection() {
#[tokio::test]
async fn send_channel_message_posts_as_the_context_actor_for_the_user() {
let channel_id = Uuid::new_v4();
- let service = ToolTestChannelService::default();
- let posts = service.posts.clone();
+ let messages = RecordingMessages::default();
+ let posts = messages.posts.clone();
let tool = SendChannelMessage {
content: "hello".to_string(),
@@ -795,7 +933,8 @@ async fn send_channel_message_posts_as_the_context_actor_for_the_user() {
tool.call(
ServiceContext(ChannelToolContext::new(
- service.clone(),
+ Arc::new(messages.clone()),
+ ToolTestChannelService::default(),
ToolTestAccessService::default(),
)),
RequestContext::new(user_id()),
@@ -804,8 +943,12 @@ async fn send_channel_message_posts_as_the_context_actor_for_the_user() {
.expect("member can post");
tool.call(
ServiceContext(
- ChannelToolContext::new(service, ToolTestAccessService::default())
- .with_actor(BotId::TEST_A),
+ ChannelToolContext::new(
+ Arc::new(messages),
+ ToolTestChannelService::default(),
+ ToolTestAccessService::default(),
+ )
+ .with_actor(BotId::TEST_A),
),
RequestContext::new(user_id()),
)
@@ -813,18 +956,27 @@ async fn send_channel_message_posts_as_the_context_actor_for_the_user() {
.expect("member can post");
let posts = posts.lock().expect("post lock");
- let [(default_actor, _, default_req), (custom_actor, _, _)] = posts.as_slice() else {
+ let [(default_access, default_input), (custom_access, _)] = posts.as_slice() else {
panic!("expected two posts, got {}", posts.len());
};
+ let bot_of =
+ |access: &EntityAccessReceipt<messages::domain::service::MessageWrite>| match access.auth()
+ {
+ entity_access::domain::models::EntityAccessAuth::Bot(bot) => Some(bot.bot_id()),
+ _ => None,
+ };
+ assert_eq!(bot_of(default_access), Some(bot_id::MACRO_AI_BOT_ID));
+ assert_eq!(default_access.entity().entity_id, channel_id.to_string());
assert_eq!(
- default_actor.as_bot().map(|id| id.bot_id()),
- Some(bot_id::MACRO_AI_BOT_ID)
+ default_access.acting_user_id().map(|user| user.as_ref()),
+ Some(TEST_USER_ID)
);
- assert_eq!(default_req.triggered_by.as_deref(), Some(TEST_USER_ID));
assert_eq!(
- custom_actor.as_bot().map(|id| id.bot_id()),
- Some(BotId::TEST_A)
+ default_input.attribution,
+ messages::domain::models::MessageAttribution::ActingUser
);
+ assert_eq!(default_input.content, "hello");
+ assert_eq!(bot_of(custom_access), Some(BotId::TEST_A));
}
#[tokio::test]
@@ -832,7 +984,11 @@ async fn manage_participants_adds_canonical_ids() {
let channel_id = Uuid::new_v4();
let service = ToolTestChannelService::default();
let adds = service.adds.clone();
- let context = ChannelToolContext::new(service, ToolTestAccessService::default());
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ service,
+ ToolTestAccessService::default(),
+ );
let response = ManageChannelParticipants {
channel_id,
@@ -859,7 +1015,11 @@ async fn manage_participants_canonicalizes_remove_ids() {
let channel_id = Uuid::new_v4();
let service = ToolTestChannelService::default();
let removes = service.removes.clone();
- let context = ChannelToolContext::new(service, ToolTestAccessService::default());
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ service,
+ ToolTestAccessService::default(),
+ );
ManageChannelParticipants {
channel_id,
@@ -878,7 +1038,11 @@ async fn manage_participants_canonicalizes_remove_ids() {
async fn manage_participants_rejects_an_empty_list_before_the_service() {
let service = ToolTestChannelService::default();
let adds = service.adds.clone();
- let context = ChannelToolContext::new(service, ToolTestAccessService::default());
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ service,
+ ToolTestAccessService::default(),
+ );
let error = ManageChannelParticipants {
channel_id: Uuid::new_v4(),
@@ -895,8 +1059,11 @@ async fn manage_participants_rejects_an_empty_list_before_the_service() {
#[tokio::test]
async fn manage_participants_requires_membership() {
- let context =
- ChannelToolContext::new(ToolTestChannelService::default(), NoOpEntityAccessService);
+ let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
+ ToolTestChannelService::default(),
+ NoOpEntityAccessService,
+ );
let error = ManageChannelParticipants {
channel_id: Uuid::new_v4(),
@@ -913,6 +1080,7 @@ async fn manage_participants_requires_membership() {
#[tokio::test]
async fn manage_participants_distinguishes_missing_channels() {
let context = ChannelToolContext::new(
+ Arc::new(RecordingMessages::default()),
ToolTestChannelService::default(),
ToolTestAccessService {
receipt_error: Some(ReceiptFail::NotFound),
diff --git a/crates/channels/src/outbound/pg_channels_repo.rs b/crates/channels/src/outbound/pg_channels_repo.rs
index ed5eec2eb0..7fd01c3f22 100644
--- a/crates/channels/src/outbound/pg_channels_repo.rs
+++ b/crates/channels/src/outbound/pg_channels_repo.rs
@@ -16,7 +16,7 @@ use crate::domain::{
GetChannelsParams, GetThreadReplyRowsParams, LatestMessage, MessageAttachment,
MessagePageDirection, MutatedAttachment, MutatedMessage, NameLookup, NewChannelAttachment,
ParticipantRole, PatchChannelRequest, RecentChannelMessage, ReferencedShareItemType,
- ResolvedChannelMessage, SimpleMention, ThreadData, ThreadInfo, ThreadReply, ThreadReplyRow,
+ ResolvedChannelMessage, ThreadData, ThreadInfo, ThreadReply, ThreadReplyRow,
TopLevelMessageRow, UserName, fallback_user_name,
},
ports::{ChannelRepo, TopLevelMessagesQueryResult},
@@ -32,6 +32,7 @@ use item_filters::ast::{
channel::{ChannelLiteral, ChannelThreadLiteral},
};
use macro_user_id::{cowlike::CowLike, user_id::MacroUserIdStr};
+use messages::domain::models::SimpleMention;
use models_pagination::{CreatedAt, Query};
#[cfg(feature = "list")]
use recursion::CollapsibleExt;
@@ -2144,7 +2145,7 @@ impl ChannelRepo for PgChannelsRepo {
let rows = sqlx::query_as!(
ChannelAttachmentRow,
r#"
- SELECT a.id, a.channel_id, a.message_id, m.sender_id,
+ SELECT a.id, a.channel_id AS "channel_id!", a.message_id, m.sender_id,
a.entity_type, a.entity_id,
a.width AS "width?", a.height AS "height?", a.created_at
FROM comms_attachments a
@@ -2340,7 +2341,7 @@ impl ChannelRepo for PgChannelsRepo {
AttachmentChannelReference,
r#"
SELECT
- a.channel_id AS "channel_id: uuid::Uuid",
+ a.channel_id AS "channel_id!: uuid::Uuid",
c.name AS "channel_name?", -- Option<String>
a.message_id AS "message_id: uuid::Uuid",
m.thread_id AS "thread_id?: uuid::Uuid",
@@ -3353,7 +3354,7 @@ impl ChannelRepo for PgChannelsRepo {
height
)
VALUES ($1, $2, $3, $4, $5, $6, $7)
- RETURNING id, message_id, channel_id, entity_type, entity_id, width, height, created_at
+ RETURNING id, message_id, channel_id AS "channel_id!", entity_type, entity_id, width, height, created_at
"#,
macro_uuid::generate_uuid_v7(),
message_id,
@@ -3377,7 +3378,7 @@ impl ChannelRepo for PgChannelsRepo {
Ok(sqlx::query_as!(
MutatedAttachmentRow,
r#"
- SELECT id, message_id, channel_id, entity_type, entity_id, width, height, created_at
+ SELECT id, message_id, channel_id AS "channel_id!", entity_type, entity_id, width, height, created_at
FROM comms_attachments
WHERE message_id = $1
"#,
diff --git a/crates/comms_db_client/src/attachments/get_attachment_references.rs b/crates/comms_db_client/src/attachments/get_attachment_references.rs
index 2d961f03f7..cdd158762a 100644
--- a/crates/comms_db_client/src/attachments/get_attachment_references.rs
+++ b/crates/comms_db_client/src/attachments/get_attachment_references.rs
@@ -72,7 +72,7 @@ pub async fn get_attachment_references(
ChannelReference,
r#"
SELECT
- a.channel_id AS "channel_id: uuid::Uuid",
+ a.channel_id AS "channel_id!: uuid::Uuid",
c.name AS "channel_name?", -- Option<String>
a.message_id AS "message_id: uuid::Uuid",
m.thread_id AS "thread_id?: uuid::Uuid",
diff --git a/crates/documents/src/domain/service.rs b/crates/documents/src/domain/service.rs
index a164036d3c..c02217decc 100644
--- a/crates/documents/src/domain/service.rs
+++ b/crates/documents/src/domain/service.rs
@@ -197,7 +197,9 @@ fn published_document_actors(auth: &EntityAccessAuth) -> PublishedDocumentActors
on_behalf_of: Some(acting_user.clone()),
actor_user_id: None,
},
- BotReceiptScope::Team { .. } => PublishedDocumentActors::default(),
+ BotReceiptScope::Team { .. } | BotReceiptScope::Channel { .. } => {
+ PublishedDocumentActors::default()
+ }
},
EntityAccessAuth::Unauthenticated | EntityAccessAuth::Internal => {
PublishedDocumentActors::default()
diff --git a/crates/entity_access/src/domain/models.rs b/crates/entity_access/src/domain/models.rs
index 9239bd9be3..1871033151 100644
--- a/crates/entity_access/src/domain/models.rs
+++ b/crates/entity_access/src/domain/models.rs
@@ -83,6 +83,11 @@ impl BotAccessScope {
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
#[serde(tag = "scope", rename_all = "snake_case")]
pub enum BotReceiptScope {
+ /// An autonomous webhook authorized only by its active channel membership.
+ Channel {
+ /// The sole channel authorized by this receipt.
+ channel_id: Uuid,
+ },
/// Access was resolved as a verified acting user.
User {
/// The verified acting user's identifier.
@@ -100,7 +105,7 @@ impl BotReceiptScope {
pub fn acting_user_id(&self) -> Option<&MacroUserIdStr<'static>> {
match self {
Self::User { acting_user } => Some(acting_user),
- Self::Team { .. } => None,
+ Self::Team { .. } | Self::Channel { .. } => None,
}
}
@@ -108,7 +113,7 @@ impl BotReceiptScope {
pub fn team_id(&self) -> Option<Uuid> {
match self {
Self::Team { team_id } => Some(*team_id),
- Self::User { .. } => None,
+ Self::User { .. } | Self::Channel { .. } => None,
}
}
}
diff --git a/crates/entity_access/src/inbound/axum_extractors.rs b/crates/entity_access/src/inbound/axum_extractors.rs
index 554058eebc..123fec2aa3 100644
--- a/crates/entity_access/src/inbound/axum_extractors.rs
+++ b/crates/entity_access/src/inbound/axum_extractors.rs
@@ -20,6 +20,7 @@ mod foreign_entity;
mod history;
mod initiative;
mod pin;
+mod principal;
mod project;
mod reminder;
mod team;
@@ -36,6 +37,7 @@ pub use foreign_entity::ForeignEntityAccessLevelExtractor;
pub use history::HistoryAccessExtractor;
pub use initiative::InitiativeAccessExtractor;
pub use pin::PinAccessLevelExtractor;
+pub use principal::principal_entity_access_receipt;
pub use project::{ProjectAccessLevelExtractor, ProjectBodyAccessLevelExtractorV2};
pub use reminder::ReminderAccessExtractor;
pub use team::{MacroUserTeamExtractorV2, OptionalMacroUserTeamExtractorV2};
diff --git a/crates/entity_access/src/inbound/axum_extractors/principal.rs b/crates/entity_access/src/inbound/axum_extractors/principal.rs
new file mode 100644
index 0000000000..b147f81b5f
--- /dev/null
+++ b/crates/entity_access/src/inbound/axum_extractors/principal.rs
@@ -0,0 +1,44 @@
+//! Shared capability minting for authenticated entity-message adapters.
+
+use crate::domain::{
+ models::{AccessError, EntityAccessReceipt, EntityType, RequiredPermission},
+ ports::EntityAccessService,
+};
+use macro_authorization::MacroAuthorization;
+
+/// Mint a parent capability while preserving bot identity and its verified scope.
+/// Identity-less internal services and harness credentials cannot impersonate a message author.
+pub async fn principal_entity_access_receipt<T: RequiredPermission>(
+ service: &impl EntityAccessService,
+ principal: &MacroAuthorization,
+ entity_id: &str,
+ entity_type: EntityType,
+) -> Result<EntityAccessReceipt<T>, AccessError> {
+ match principal {
+ MacroAuthorization::Bot(authentication) => {
+ let scope = super::bot::map_bot_access_scope(authentication)
+ .map_err(|_| AccessError::Unauthorized)?;
+ service
+ .generate_bot_entity_access_receipt::<T>(
+ authentication.bot_id,
+ scope,
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ MacroAuthorization::User(user) | MacroAuthorization::Internal(Some(user)) => {
+ service
+ .generate_entity_access_receipt::<T>(
+ &user.macro_user_id,
+ user.user_context.organization_id.map(i64::from),
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ MacroAuthorization::Internal(None) | MacroAuthorization::Harness(_) => {
+ Err(AccessError::Unauthorized)
+ }
+ }
+}
diff --git a/crates/entity_access/src/outbound/pg_access_repo.rs b/crates/entity_access/src/outbound/pg_access_repo.rs
index ef72eb3b08..fb5aa2cd1c 100644
--- a/crates/entity_access/src/outbound/pg_access_repo.rs
+++ b/crates/entity_access/src/outbound/pg_access_repo.rs
@@ -66,12 +66,18 @@ impl AccessRepository for PgAccessRepository {
document_id: &str,
user_id: Option<&MacroUserId<Lowercase<'_>>>,
) -> Result<Option<AccessLevel>, AccessError> {
- let document_uuid = document_id
- .parse::<Uuid>()
- .map_err(|_| AccessError::BadRequest("Invalid document ID format"))?;
let source_ids = queries::get_user_source_ids(&self.pool, user_id)
.await
.map_err(anyhow_access_error)?;
+ let Ok(document_uuid) = document_id.parse::<Uuid>() else {
+ return Ok(queries::document_access::get_legacy_document_access(
+ &self.pool,
+ document_id,
+ &source_ids,
+ user_id,
+ )
+ .await?);
+ };
Ok(queries::document_access::get_document_access(
&self.pool,
&document_uuid,
diff --git a/crates/entity_access/src/outbound/pg_access_repo/queries/document_access.rs b/crates/entity_access/src/outbound/pg_access_repo/queries/document_access.rs
index 66ce6d13e6..b424fd0fdc 100644
--- a/crates/entity_access/src/outbound/pg_access_repo/queries/document_access.rs
+++ b/crates/entity_access/src/outbound/pg_access_repo/queries/document_access.rs
@@ -120,6 +120,50 @@ pub async fn get_document_access(
AND thread_access.source_id = ANY($2)
)
)
+
+ UNION ALL
+ -- Source 4: a file attached to a document discussion is visible to
+ -- current viewers of that document. Removing the attachment, the
+ -- discussion, or the parent grant removes this path; it never
+ -- shares the parent itself.
+ SELECT 'view' AS access_level
+ FROM comms_attachments a
+ JOIN comms_messages m ON m.id = a.message_id
+ JOIN comms_message_threads mt ON mt.root_id = COALESCE(m.thread_id, m.id)
+ JOIN "Document" parent_doc
+ ON m.parent_entity_type = 'document' AND parent_doc.id = m.parent_entity_id
+ LEFT JOIN "DocumentPermission" dp ON dp."documentId" = parent_doc.id
+ LEFT JOIN "SharePermission" sp ON sp.id = dp."sharePermissionId"
+ WHERE a.entity_type = 'document'
+ AND a.entity_id = $3
+ AND m.deleted_at IS NULL
+ AND mt.deleted_at IS NULL
+ AND parent_doc."deletedAt" IS NULL
+ AND (
+ parent_doc.owner = $4
+ OR EXISTS (
+ SELECT 1
+ FROM entity_access pa
+ WHERE pa.entity_type = 'document'
+ AND pa.entity_id::text = parent_doc.id
+ AND pa.source_id = ANY($2)
+ )
+ OR (
+ sp."linkShareAccessLevel" IS NOT NULL
+ AND (
+ sp."linkShare" = 'PUBLIC'
+ OR (
+ sp."linkShare" = 'TEAM'
+ AND EXISTS (
+ SELECT 1
+ FROM team_user tu
+ WHERE tu.user_id = parent_doc.owner
+ AND tu.team_id::text = ANY($2)
+ )
+ )
+ )
+ )
+ )
) AS combined_access
"#,
document_id,
@@ -289,3 +333,69 @@ async fn explain_document_email_attachments(
})
.collect())
}
+
+/// Historical document ids are not UUIDs and cannot occur in `entity_access`
+/// rows. Their ownership, link grants, channel grants, and project grants still
+/// live in the ordinary document and share tables.
+#[tracing::instrument(err, skip(pool, source_ids))]
+pub async fn get_legacy_document_access(
+ pool: &PgPool,
+ document_id: &str,
+ source_ids: &SourceIds,
+ user_id: Option<&MacroUserId<Lowercase<'_>>>,
+) -> Result<Option<AccessLevel>, sqlx::Error> {
+ let levels = sqlx::query_scalar!(
+ r#"
+ WITH RECURSIVE parent_projects AS (
+ SELECT p.id, p."parentId", p."userId"
+ FROM "Project" p
+ JOIN "Document" d ON d."projectId" = p.id
+ WHERE d.id = $1 AND d."deletedAt" IS NULL AND p."deletedAt" IS NULL
+ UNION
+ SELECT p.id, p."parentId", p."userId"
+ FROM "Project" p
+ JOIN parent_projects child ON p.id = child."parentId"
+ WHERE p."deletedAt" IS NULL
+ ), document_permissions AS (
+ SELECT d.owner, sp.id, sp."linkShare", sp."linkShareAccessLevel"
+ FROM "Document" d
+ LEFT JOIN "DocumentPermission" dp ON dp."documentId" = d.id
+ LEFT JOIN "SharePermission" sp ON sp.id = dp."sharePermissionId"
+ WHERE d.id = $1 AND d."deletedAt" IS NULL
+ )
+ SELECT 'owner'::text AS "level!" FROM document_permissions WHERE owner = $2
+ UNION ALL
+ SELECT "linkShareAccessLevel"::text FROM document_permissions p
+ WHERE "linkShareAccessLevel" IS NOT NULL
+ AND (
+ "linkShare" = 'PUBLIC'
+ OR (
+ "linkShare" = 'TEAM'
+ AND EXISTS (
+ SELECT 1 FROM team_user t
+ WHERE t.user_id = p.owner AND t.team_id::text = ANY($3)
+ )
+ )
+ )
+ UNION ALL
+ SELECT c.access_level::text FROM document_permissions p
+ JOIN "ChannelSharePermission" c ON c.share_permission_id = p.id
+ WHERE c.channel_id = ANY($3)
+ UNION ALL
+ SELECT 'edit'::text FROM parent_projects WHERE "userId" = $2
+ UNION ALL
+ SELECT a.access_level::text FROM entity_access a
+ JOIN parent_projects p ON a.entity_id::text = p.id
+ WHERE a.entity_type = 'project' AND a.source_id = ANY($3)
+ "#,
+ document_id,
+ user_id.map(AsRef::as_ref),
+ &source_ids.0,
+ )
+ .fetch_all(pool)
+ .await?;
+ Ok(levels
+ .iter()
+ .filter_map(|level| AccessLevel::from_str(level).ok())
+ .max())
+}
diff --git a/crates/graphql_notification/src/notification_event.rs b/crates/graphql_notification/src/notification_event.rs
index e98c48d0ad..16b5dafdfa 100644
--- a/crates/graphql_notification/src/notification_event.rs
+++ b/crates/graphql_notification/src/notification_event.rs
@@ -368,14 +368,16 @@ impl GraphqlMentionedInDocumentCommentMetadata {
&self.0.mention_id
}
- /// Comment identifier.
- async fn comment_id(&self) -> i64 {
- self.0.comment_id
+ /// Comment identifier: a legacy numeric comment id, or the message id in
+ /// the shared message store.
+ async fn comment_id(&self) -> String {
+ self.0.comment_id.to_string()
}
- /// Comment thread identifier.
- async fn thread_id(&self) -> i64 {
- self.0.thread_id
+ /// Comment thread identifier: a legacy numeric thread id, or the root
+ /// message id in the shared message store.
+ async fn thread_id(&self) -> String {
+ self.0.thread_id.to_string()
}
/// Comment text.
@@ -387,6 +389,10 @@ impl GraphqlMentionedInDocumentCommentMetadata {
async fn sender_profile_picture_url(&self) -> Option<&str> {
self.0.sender_profile_picture_url.as_deref()
}
+ /// Display name for a non-user sender.
+ async fn sender_display_name(&self) -> Option<&str> {
+ self.0.sender_display_name.as_deref()
+ }
}
/// GraphQL wrapper for document comment thread reply metadata.
@@ -415,14 +421,16 @@ impl GraphqlRepliedToDocumentCommentThreadMetadata {
self.0.sub_type.clone().map(Into::into)
}
- /// Comment identifier.
- async fn comment_id(&self) -> i64 {
- self.0.comment_id
+ /// Comment identifier: a legacy numeric comment id, or the message id in
+ /// the shared message store.
+ async fn comment_id(&self) -> String {
+ self.0.comment_id.to_string()
}
- /// Comment thread identifier.
- async fn thread_id(&self) -> i64 {
- self.0.thread_id
+ /// Comment thread identifier: a legacy numeric thread id, or the root
+ /// message id in the shared message store.
+ async fn thread_id(&self) -> String {
+ self.0.thread_id.to_string()
}
/// Reply text.
@@ -434,6 +442,10 @@ impl GraphqlRepliedToDocumentCommentThreadMetadata {
async fn sender_profile_picture_url(&self) -> Option<&str> {
self.0.sender_profile_picture_url.as_deref()
}
+ /// Display name for a non-user sender.
+ async fn sender_display_name(&self) -> Option<&str> {
+ self.0.sender_display_name.as_deref()
+ }
}
/// GraphQL wrapper for document comment metadata.
@@ -462,14 +474,16 @@ impl GraphqlCommentedOnDocumentMetadata {
self.0.sub_type.clone().map(Into::into)
}
- /// Comment identifier.
- async fn comment_id(&self) -> i64 {
- self.0.comment_id
+ /// Comment identifier: a legacy numeric comment id, or the message id in
+ /// the shared message store.
+ async fn comment_id(&self) -> String {
+ self.0.comment_id.to_string()
}
- /// Comment thread identifier.
- async fn thread_id(&self) -> i64 {
- self.0.thread_id
+ /// Comment thread identifier: a legacy numeric thread id, or the root
+ /// message id in the shared message store.
+ async fn thread_id(&self) -> String {
+ self.0.thread_id.to_string()
}
/// Comment text.
@@ -481,6 +495,10 @@ impl GraphqlCommentedOnDocumentMetadata {
async fn sender_profile_picture_url(&self) -> Option<&str> {
self.0.sender_profile_picture_url.as_deref()
}
+ /// Display name for a non-user sender.
+ async fn sender_display_name(&self) -> Option<&str> {
+ self.0.sender_display_name.as_deref()
+ }
}
/// GraphQL wrapper for channel invitation metadata.
diff --git a/crates/lexical_mention_extractor/Cargo.toml b/crates/lexical_mention_extractor/Cargo.toml
index fea575e6fa..d110e73a7c 100644
--- a/crates/lexical_mention_extractor/Cargo.toml
+++ b/crates/lexical_mention_extractor/Cargo.toml
@@ -10,4 +10,6 @@ channels = { path = "../channels", default-features = false, features = [
"ports",
] }
lexical_client = { path = "../lexical_client" }
+messages = { path = "../messages", features = ["ports"] }
+rootcause = { workspace = true }
workspace-hack = { version = "0.1", path = "../workspace-hack" }
diff --git a/crates/lexical_mention_extractor/src/lib.rs b/crates/lexical_mention_extractor/src/lib.rs
index b6345d287b..8ff0577067 100644
--- a/crates/lexical_mention_extractor/src/lib.rs
+++ b/crates/lexical_mention_extractor/src/lib.rs
@@ -1,11 +1,12 @@
#![deny(missing_docs)]
-//! Lexical-service adapter for extracting the mentions embedded in channel
+//! Lexical-service adapter for extracting the mentions embedded in raw
//! message content, implementing the `channels` domain's
-//! [`ChannelMentionExtractor`] port.
+//! [`ChannelMentionExtractor`] port and the `messages` domain's
+//! [`MessageMentionExtractor`] port.
-use channels::domain::models::SimpleMention;
use channels::domain::ports::ChannelMentionExtractor;
use lexical_client::LexicalClient;
+use messages::domain::{models::SimpleMention, ports::MessageMentionExtractor};
use std::sync::Arc;
/// Mention extractor backed by the lexical service `/mentions` endpoint.
@@ -19,12 +20,8 @@ impl LexicalMentionExtractor {
pub fn new(client: Arc<LexicalClient>) -> Self {
Self { client }
}
-}
-
-impl ChannelMentionExtractor for LexicalMentionExtractor {
- type Err = anyhow::Error;
- async fn extract_mentions(&self, content: &str) -> Result<Vec<SimpleMention>, Self::Err> {
+ async fn mentions(&self, content: &str) -> anyhow::Result<Vec<SimpleMention>> {
Ok(self
.client
.extract_mentions(content)
@@ -37,3 +34,30 @@ impl ChannelMentionExtractor for LexicalMentionExtractor {
.collect())
}
}
+
+impl ChannelMentionExtractor for LexicalMentionExtractor {
+ type Err = anyhow::Error;
+
+ async fn extract_mentions(&self, content: &str) -> Result<Vec<SimpleMention>, Self::Err> {
+ self.mentions(content).await
+ }
+}
+
+impl MessageMentionExtractor for LexicalMentionExtractor {
+ fn extract<'a>(
+ &'a self,
+ content: &'a str,
+ ) -> std::pin::Pin<
+ Box<
+ dyn Future<Output = Result<Vec<SimpleMention>, messages::domain::ports::MessageError>>
+ + Send
+ + 'a,
+ >,
+ > {
+ Box::pin(async move {
+ self.mentions(content).await.map_err(|error| {
+ messages::domain::ports::MessageError::Repository(rootcause::report!(error).into())
+ })
+ })
+ }
+}
diff --git a/crates/macro_db_client/migrations/20260917180546_messages_nullable_legacy_columns.sql b/crates/macro_db_client/migrations/20260917180546_messages_nullable_legacy_columns.sql
new file mode 100644
index 0000000000..5e0403b928
--- /dev/null
+++ b/crates/macro_db_client/migrations/20260917180546_messages_nullable_legacy_columns.sql
@@ -0,0 +1,13 @@
+-- Document-parent messages have no channel, so their attachments carry no
+-- channel_id. Channel writers keep filling the column; it goes away with
+-- channel_id on comms_messages in the last PR of the stack.
+ALTER TABLE comms_attachments
+ ALTER COLUMN channel_id DROP NOT NULL;
+
+-- A placeable PDF comment created through the shared message store is anchored
+-- by its root only. Legacy placeables keep their "threadId"; every row still
+-- points at exactly one discussion.
+ALTER TABLE "PdfPlaceableCommentAnchor"
+ ALTER COLUMN "threadId" DROP NOT NULL,
+ ADD CONSTRAINT "PdfPlaceableCommentAnchor_discussion_check"
+ CHECK ("threadId" IS NOT NULL OR root_id IS NOT NULL);
diff --git a/crates/macro_db_client/src/annotations/create_anchor.rs b/crates/macro_db_client/src/annotations/create_anchor.rs
index baa1879ffb..512b7ac615 100644
--- a/crates/macro_db_client/src/annotations/create_anchor.rs
+++ b/crates/macro_db_client/src/annotations/create_anchor.rs
@@ -111,7 +111,8 @@ pub async fn attach_pdf_highlight_anchor(
ph.uuid,
ph."documentId" as document_id,
ph.owner,
- updated."threadId" as thread_id,
+ updated."threadId" as thread_id,
+ ph.root_id,
ph.page,
ph.red,
ph.green,
@@ -128,7 +129,7 @@ pub async fn attach_pdf_highlight_anchor(
FROM updated
JOIN "PdfHighlightAnchor" ph ON updated.uuid = ph.uuid
JOIN "PdfHighlightRect" phr ON ph.uuid = phr."pdfHighlightAnchorId"
- GROUP BY ph.uuid, ph.owner, updated."threadId", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
+ GROUP BY ph.uuid, ph.owner, updated."threadId", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
"#,
thread_id,
uuid
@@ -222,7 +223,8 @@ async fn create_pdf_placeable_anchor(
uuid,
"documentId" as document_id,
owner,
- "threadId" as thread_id,
+ "threadId" as thread_id,
+ root_id,
page,
"originalPage" as original_page,
"originalIndex" as original_index,
@@ -338,7 +340,8 @@ async fn create_pdf_highlight_anchor(
ph.uuid,
ph."documentId" as document_id,
ph.owner,
- ph."threadId" as thread_id,
+ ph."threadId" as thread_id,
+ ph.root_id,
ph.page,
ph.red,
ph.green,
@@ -355,7 +358,7 @@ async fn create_pdf_highlight_anchor(
FROM "PdfHighlightAnchor" ph
JOIN "PdfHighlightRect" phr ON ph.uuid = phr."pdfHighlightAnchorId"
WHERE ph.uuid = $1
- GROUP BY ph.uuid, ph.owner, ph."threadId", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
+ GROUP BY ph.uuid, ph.owner, ph."threadId", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
"#,
anchor_uuid
)
@@ -409,7 +412,7 @@ mod create_comment_anchor_tests {
let anchor = result.unwrap();
assert_eq!(anchor.owner, "macro|[email protected]");
- assert_eq!(anchor.thread_id, 1001);
+ assert_eq!(anchor.thread_id, Some(1001));
assert_eq!(anchor.page, 1);
assert_eq!(anchor.original_page, 1);
assert_eq!(anchor.original_index, 0);
diff --git a/crates/macro_db_client/src/annotations/edit_anchor.rs b/crates/macro_db_client/src/annotations/edit_anchor.rs
index a0055c3754..3e52c258f9 100644
--- a/crates/macro_db_client/src/annotations/edit_anchor.rs
+++ b/crates/macro_db_client/src/annotations/edit_anchor.rs
@@ -93,7 +93,8 @@ async fn edit_pdf_free_comment_anchor(
uuid,
"documentId" as document_id,
owner,
- "threadId" as thread_id,
+ "threadId" as thread_id,
+ root_id,
page,
"originalPage" as original_page,
"originalIndex" as original_index,
diff --git a/crates/macro_db_client/src/annotations/get.rs b/crates/macro_db_client/src/annotations/get.rs
index ab967c9869..38f9f96670 100644
--- a/crates/macro_db_client/src/annotations/get.rs
+++ b/crates/macro_db_client/src/annotations/get.rs
@@ -180,7 +180,8 @@ pub async fn fetch_pdf_placeable_anchors(
pa.uuid,
pa."documentId" as document_id,
pa.owner,
- pa."threadId" as thread_id,
+ pa."threadId" as thread_id,
+ pa.root_id,
pa.page,
pa."originalPage" as original_page,
pa."originalIndex" as original_index,
@@ -194,7 +195,7 @@ pub async fn fetch_pdf_placeable_anchors(
pa."wasDeleted" as was_deleted,
pa."shouldLockOnSave" as should_lock_on_save
FROM "PdfPlaceableCommentAnchor" pa
- JOIN "Thread" t ON pa."threadId" = t.id
+ LEFT JOIN "Thread" t ON pa."threadId" = t.id
WHERE pa."documentId" = $1
AND t."deletedAt" IS NULL
"#,
@@ -215,7 +216,8 @@ pub async fn fetch_pdf_highlight_anchors(
ph.uuid,
ph."documentId" as document_id,
ph.owner,
- ph."threadId" as thread_id,
+ ph."threadId" as thread_id,
+ ph.root_id,
ph.page,
ph.red,
ph.green,
@@ -235,7 +237,7 @@ pub async fn fetch_pdf_highlight_anchors(
WHERE ph."documentId" = $1
AND ph."deletedAt" IS NULL
AND t."deletedAt" IS NULL
- GROUP BY ph.uuid, ph.owner, ph."threadId", ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
+ GROUP BY ph.uuid, ph.owner, ph."threadId", ph.root_id, ph.page, ph.red, ph.green, ph.blue, ph.alpha, ph.type, ph.text, ph."pageViewportWidth", ph."pageViewportHeight", ph."createdAt", ph."updatedAt", ph."deletedAt"
"#,
document_id
)
@@ -249,6 +251,47 @@ mod tests {
use sqlx::{Pool, Postgres, types::Uuid};
use std::collections::HashMap;
+ #[sqlx::test(fixtures(
+ path = "../../fixtures",
+ scripts("document_pdf_comments_and_highlights")
+ ))]
+ async fn placeables_on_shared_discussions_are_read_without_a_legacy_thread(
+ pool: Pool<Postgres>,
+ ) -> anyhow::Result<()> {
+ let root_id = Uuid::new_v4();
+ sqlx::query!(
+ "INSERT INTO comms_messages (id, parent_entity_type, parent_entity_id, sender_id, content) \
+ VALUES ($1, 'document', 'document-with-comments', 'macro|[email protected]', 'root')",
+ root_id
+ )
+ .execute(&pool)
+ .await?;
+ let anchor_id = Uuid::new_v4();
+ sqlx::query!(
+ r#"INSERT INTO "PdfPlaceableCommentAnchor" (
+ uuid, "documentId", owner, root_id, page, "originalPage", "originalIndex",
+ "xPct", "yPct", "widthPct", "heightPct", rotation,
+ "wasEdited", "wasDeleted", "shouldLockOnSave"
+ ) VALUES ($1, 'document-with-comments', 'macro|[email protected]', $2, 1, 1, -1, 0.1, 0.2, 0.3, 0.4, 0, false, false, false)"#,
+ anchor_id,
+ root_id
+ )
+ .execute(&pool)
+ .await?;
+
+ let anchors = get_pdf_anchors(&pool, "document-with-comments").await?;
+ let anchor = anchors
+ .iter()
+ .find_map(|anchor| match anchor {
+ PdfAnchor::Placeable(placeable) if placeable.uuid == anchor_id => Some(placeable),
+ _ => None,
+ })
+ .expect("placeable anchored to a shared discussion is listed");
+ assert_eq!(anchor.thread_id, None);
+ assert_eq!(anchor.root_id, Some(root_id));
+ Ok(())
+ }
+
// Test fetching highlights for a document with highlights and placeables
#[sqlx::test(fixtures(
path = "../../fixtures",
@@ -592,7 +635,7 @@ mod tests {
assert_eq!(anchor_1.y_pct, 0.3);
assert_eq!(anchor_1.width_pct, 0.1);
assert_eq!(anchor_1.height_pct, 0.05);
- assert_eq!(anchor_1.thread_id, 1001);
+ assert_eq!(anchor_1.thread_id, Some(1001));
assert_eq!(anchor_1.was_edited, false);
assert_eq!(anchor_1.should_lock_on_save, true);
diff --git a/crates/macro_db_client/src/document/build_pdf_modification_data.rs b/crates/macro_db_client/src/document/build_pdf_modification_data.rs
index 01ee0ab7c4..edc7f35095 100644
--- a/crates/macro_db_client/src/document/build_pdf_modification_data.rs
+++ b/crates/macro_db_client/src/document/build_pdf_modification_data.rs
@@ -387,7 +387,7 @@ mod build_pdf_modification_data_tests {
// Get all comment anchors
let anchors = sqlx::query!(
r#"
- SELECT pa."threadId", pa.uuid, pa.page, pa."originalPage", pa."originalIndex"
+ SELECT pa."threadId" AS "threadId!", pa.uuid, pa.page, pa."originalPage", pa."originalIndex"
FROM "PdfPlaceableCommentAnchor" pa
JOIN "Thread" t ON pa."threadId" = t.id
WHERE t."documentId" = 'document-with-comments'
diff --git a/crates/messages/Cargo.toml b/crates/messages/Cargo.toml
new file mode 100644
index 0000000000..b843d18e4b
--- /dev/null
+++ b/crates/messages/Cargo.toml
@@ -0,0 +1,67 @@
+[package]
+edition = "2024"
+name = "messages"
+publish = false
+version = "0.1.0"
+
+[features]
+annotations = ["dep:model", "ports"]
+broker = ["dep:macro_event_broker", "dep:macro_event_topics", "ports"]
+default = []
+delivery = [
+ "dep:connection_gateway_client",
+ "dep:model-entity",
+ "dep:model_notifications",
+ "dep:notification",
+ "dep:system_properties",
+ "outbound",
+]
+inbound = [
+ "dep:axum",
+ "dep:macro_authorization",
+ "entity_access/inbound",
+ "ports",
+ "schema",
+]
+json-schema = ["dep:schemars"]
+outbound = ["dep:macro_uuid", "dep:sqlx", "ports"]
+ports = ["dep:async-trait", "dep:entity_access", "dep:rootcause", "entity_access/ports"]
+schema = ["channel_sender/schema", "dep:utoipa"]
+test-utils = ["dep:mockall", "ports"]
+
+[dependencies]
+async-trait = { workspace = true, optional = true }
+axum = { workspace = true, optional = true }
+bot_id = { path = "../bot_id" }
+channel_sender = { path = "../channel_sender" }
+chrono = { workspace = true }
+connection_gateway_client = { path = "../connection_gateway_client", optional = true }
+entity_access = { path = "../entity_access", default-features = false, optional = true }
+macro_authorization = { path = "../macro_authorization", default-features = false, features = [
+ "axum",
+], optional = true }
+macro_event_broker = { path = "../macro_event_broker", default-features = false, optional = true }
+macro_event_topics = { path = "../macro_event_topics", optional = true }
+macro_user_id = { path = "../macro_user_id" }
+macro_uuid = { path = "../macro_uuid", optional = true }
+mockall = { workspace = true, optional = true }
+model = { path = "../model", optional = true }
+model-entity = { path = "../model-entity", optional = true }
+model_notifications = { path = "../model_notifications", optional = true }
+models_pagination = { path = "../models_pagination" }
+notification = { path = "../notification", optional = true }
+rootcause = { workspace = true, optional = true }
+schemars = { workspace = true, optional = true }
+serde = { workspace = true }
+serde_json = { workspace = true }
+sqlx = { workspace = true, optional = true }
+system_properties = { path = "../system_properties", optional = true }
+thiserror = { workspace = true }
+tracing = { workspace = true }
+utoipa = { workspace = true, optional = true }
+uuid = { workspace = true }
+workspace-hack = { version = "0.1", path = "../workspace-hack" }
+
+[dev-dependencies]
+macro_db_migrator = { path = "../macro_db_migrator" }
+tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
diff --git a/crates/messages/src/domain/annotations.rs b/crates/messages/src/domain/annotations.rs
new file mode 100644
index 0000000000..9b4408281c
--- /dev/null
+++ b/crates/messages/src/domain/annotations.rs
@@ -0,0 +1,225 @@
+//! Authorization for editing geometry and explicitly deleting PDF annotations.
+use super::{
+ models::{MessageParent, ThreadState},
+ ports::{MessageChange, MessageError, MessageEvent, MessageEventPublisher},
+ service::MessageWrite,
+};
+use entity_access::domain::{
+ models::{EntityAccessAuth, EntityAccessReceipt, EntityType, OwnerAccessLevel},
+ ports::EntityAccessService,
+};
+use macro_user_id::user_id::MacroUserIdStr;
+use model::annotations::{
+ delete::{DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse},
+ edit::{EditAnchorRequest, EditAnchorResponse},
+};
+use uuid::Uuid;
+
+/// Immutable ownership facts for an annotation.
+#[derive(Debug, Clone)]
+pub struct AnnotationTarget {
+ /// Annotation identity.
+ pub id: Uuid,
+ /// Document identity, including historical non-UUID IDs.
+ pub document_id: String,
+ /// Annotation creator.
+ pub owner: String,
+ /// Discussion attachment observed when authorization was granted.
+ pub thread_id: Option<Uuid>,
+ /// Creator of an attached discussion, if present.
+ pub thread_owner: Option<String>,
+}
+
+/// Capability issued only by the annotation domain policy.
+pub struct AnnotationMutation {
+ target: AnnotationTarget,
+}
+
+/// Committed annotation deletion and the shared discussion state changed with it.
+pub struct DeletedAnnotation {
+ /// Geometry response returned to the annotation editor.
+ pub response: DeleteUnthreadedAnchorResponse,
+ /// Discussion tombstone, when the annotation had a conversation.
+ pub thread: Option<ThreadState>,
+}
+impl AnnotationMutation {
+ /// Authorized annotation identity and ownership facts.
+ pub fn target(&self) -> &AnnotationTarget {
+ &self.target
+ }
+}
+
+/// PDF geometry persistence; adapters receive an authorized mutation capability.
+pub trait AnnotationRepository: Send + Sync {
+ /// Read current annotation ownership without performing a mutation.
+ fn target(
+ &self,
+ id: Uuid,
+ highlight: bool,
+ ) -> impl Future<Output = Result<AnnotationTarget, MessageError>> + Send;
+ /// Persist geometry changes for the exact authorized annotation.
+ fn edit(
+ &self,
+ access: AnnotationMutation,
+ input: EditAnchorRequest,
+ ) -> impl Future<Output = Result<EditAnchorResponse, MessageError>> + Send;
+ /// Delete an annotation and its discussion in one transaction.
+ fn delete(
+ &self,
+ access: AnnotationMutation,
+ input: DeleteUnthreadedAnchorRequest,
+ ) -> impl Future<Output = Result<DeletedAnnotation, MessageError>> + Send;
+}
+
+/// Existing PDF operations composed with current document access.
+pub struct AnnotationService<R, A, P> {
+ repo: R,
+ access: A,
+ events: P,
+}
+impl<R: AnnotationRepository, A: EntityAccessService, P: MessageEventPublisher>
+ AnnotationService<R, A, P>
+{
+ /// Compose persistence and access ports.
+ pub fn new(repo: R, access: A, events: P) -> Self {
+ Self {
+ repo,
+ access,
+ events,
+ }
+ }
+
+ async fn capability(
+ &self,
+ user: &MacroUserIdStr<'_>,
+ org: Option<i64>,
+ id: Uuid,
+ highlight: bool,
+ ) -> Result<AnnotationMutation, MessageError> {
+ let target = self.repo.target(id, highlight).await?;
+ let receipt = self
+ .access
+ .generate_entity_access_receipt::<MessageWrite>(
+ &user.0,
+ org,
+ &target.document_id,
+ EntityType::Document,
+ )
+ .await
+ .map_err(|error| match error {
+ entity_access::domain::models::AccessError::Unavailable(error)
+ | entity_access::domain::models::AccessError::Internal(error) => {
+ MessageError::Repository(error)
+ }
+ _ => MessageError::Forbidden,
+ })?;
+ authorize(receipt, target, highlight)
+ }
+
+ /// Change geometry after checking ownership and current comment permission.
+ pub async fn edit(
+ &self,
+ user: &MacroUserIdStr<'_>,
+ org: Option<i64>,
+ input: EditAnchorRequest,
+ ) -> Result<EditAnchorResponse, MessageError> {
+ let EditAnchorRequest::Pdf(model::annotations::edit::EditPdfAnchorRequest::FreeComment(
+ ref request,
+ )) = input;
+ if [
+ request.x_pct,
+ request.y_pct,
+ request.width_pct,
+ request.height_pct,
+ request.rotation,
+ ]
+ .into_iter()
+ .flatten()
+ .any(|v| !v.is_finite())
+ || request.width_pct.is_some_and(|v| v <= 0.0)
+ || request.height_pct.is_some_and(|v| v <= 0.0)
+ || request.page.is_some_and(|v| v < 0)
+ {
+ return Err(MessageError::Invalid("invalid annotation geometry"));
+ }
+ if request.page.is_none()
+ && request.original_page.is_none()
+ && request.original_index.is_none()
+ && request.x_pct.is_none()
+ && request.y_pct.is_none()
+ && request.width_pct.is_none()
+ && request.height_pct.is_none()
+ && request.rotation.is_none()
+ && request.allowable_edits.is_none()
+ && request.was_edited.is_none()
+ && request.was_deleted.is_none()
+ && request.should_lock_on_save.is_none()
+ {
+ return Err(MessageError::Invalid(
+ "at least one annotation field must be updated",
+ ));
+ }
+ let access = self.capability(user, org, request.uuid, false).await?;
+ self.repo.edit(access, input).await
+ }
+
+ /// Explicitly delete an annotation, including any attached discussion.
+ pub async fn delete(
+ &self,
+ user: &MacroUserIdStr<'_>,
+ org: Option<i64>,
+ input: DeleteUnthreadedAnchorRequest,
+ ) -> Result<DeleteUnthreadedAnchorResponse, MessageError> {
+ let DeleteUnthreadedAnchorRequest::Pdf(
+ model::annotations::delete::DeleteUnthreadedPdfAnchorRequest::Highlight(id),
+ ) = input;
+ let access = self.capability(user, org, id, true).await?;
+ let parent = MessageParent::parse("document", &access.target().document_id)
+ .map_err(|_| MessageError::NotFound)?;
+ let deleted = self.repo.delete(access, input).await?;
+ if let Some(state) = deleted.thread {
+ let event = MessageEvent {
+ parent,
+ actor: user.as_ref().to_owned(),
+ nonce: None,
+ change: MessageChange::ThreadUpdated { state },
+ };
+ // The deletion has committed; delivery failure must not ask callers to repeat it.
+ let _ = self.events.publish(event).await.inspect_err(|error| {
+ tracing::error!(error=?error, "failed to deliver committed annotation discussion deletion");
+ });
+ }
+ Ok(deleted.response)
+ }
+}
+
+fn authorize(
+ receipt: EntityAccessReceipt<MessageWrite>,
+ target: AnnotationTarget,
+ deleting: bool,
+) -> Result<AnnotationMutation, MessageError> {
+ let EntityAccessAuth::Authenticated(user) = receipt.auth() else {
+ return Err(MessageError::Forbidden);
+ };
+ if receipt.entity().entity_type != EntityType::Document
+ || receipt.entity().entity_id != target.document_id
+ {
+ return Err(MessageError::Forbidden);
+ }
+ MessageParent::parse("document", &target.document_id).map_err(|_| MessageError::NotFound)?;
+ let moderator = receipt.entity_permission().satisfies::<OwnerAccessLevel>();
+ if !moderator
+ && (target.owner != user.as_ref()
+ || (deleting
+ && target
+ .thread_owner
+ .as_ref()
+ .is_some_and(|owner| owner != user.as_ref())))
+ {
+ return Err(MessageError::Forbidden);
+ }
+ Ok(AnnotationMutation { target })
+}
+
+#[cfg(test)]
+mod test;
diff --git a/crates/messages/src/domain/annotations/test.rs b/crates/messages/src/domain/annotations/test.rs
new file mode 100644
index 0000000000..3c7a759f0d
--- /dev/null
+++ b/crates/messages/src/domain/annotations/test.rs
@@ -0,0 +1,60 @@
+use super::*;
+use entity_access::domain::models::{AccessLevel, Entity, EntityPermission};
+
+fn access(user: &str, document: &str, level: AccessLevel) -> EntityAccessReceipt<MessageWrite> {
+ EntityAccessReceipt::try_new(
+ EntityAccessAuth::Authenticated(user.to_owned().try_into().unwrap()),
+ Entity {
+ entity_id: document.into(),
+ entity_type: EntityType::Document,
+ },
+ EntityPermission::AccessLevel {
+ access_level: level,
+ },
+ )
+ .unwrap()
+}
+
+#[test]
+fn annotation_owner_cannot_delete_someone_elses_discussion() {
+ let user = "macro|[email protected]";
+ let target = AnnotationTarget {
+ id: Uuid::from_u128(1),
+ document_id: "legacy-document".into(),
+ owner: user.into(),
+ thread_id: Some(Uuid::from_u128(2)),
+ thread_owner: Some("macro|[email protected]".into()),
+ };
+ assert!(matches!(
+ authorize(
+ access(user, "legacy-document", AccessLevel::Comment),
+ target.clone(),
+ true
+ ),
+ Err(MessageError::Forbidden)
+ ));
+ assert!(
+ authorize(
+ access(user, "legacy-document", AccessLevel::Comment),
+ target.clone(),
+ false
+ )
+ .is_ok()
+ );
+ assert!(
+ authorize(
+ access(user, "legacy-document", AccessLevel::Owner),
+ target.clone(),
+ true
+ )
+ .is_ok()
+ );
+ assert!(matches!(
+ authorize(
+ access(user, "other-document", AccessLevel::Owner),
+ target,
+ true
+ ),
+ Err(MessageError::Forbidden)
+ ));
+}
diff --git a/crates/messages/src/domain/api.rs b/crates/messages/src/domain/api.rs
new file mode 100644
index 0000000000..ee8a0912c5
--- /dev/null
+++ b/crates/messages/src/domain/api.rs
@@ -0,0 +1,302 @@
+//! One capability-checked message boundary for every caller and parent.
+
+use super::{models::*, ports::*, service::*};
+use entity_access::domain::models::EntityAccessReceipt;
+use uuid::Uuid;
+
+/// Conversation reads under a verified parent capability.
+#[cfg_attr(feature = "test-utils", mockall::automock)]
+#[async_trait::async_trait]
+pub trait MessageReader: Send + Sync + 'static {
+ /// Read an individual message under its parent's view permission.
+ async fn get(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ ) -> Result<Message, MessageError>;
+ /// Read the root, state, and ordered replies of a discussion.
+ async fn get_thread(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ root: Uuid,
+ ) -> Result<MessageThread, MessageError>;
+ /// Read a page of discussions on an authorized parent.
+ async fn timeline(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError>;
+
+ /// Read live history preceding a prompt, scoped by its parent.
+ async fn preceding(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError>;
+ /// Read an old link under current parent access.
+ async fn resolve_legacy(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: i64,
+ is_thread: bool,
+ ) -> Result<Message, MessageError>;
+ /// Discover accessible source threads mentioning the authorized document.
+ async fn referenced_threads(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<ReferencedThreadPage, MessageError>;
+}
+
+/// Conversation mutations under a verified actor and parent capability.
+#[cfg_attr(feature = "test-utils", mockall::automock)]
+#[async_trait::async_trait]
+pub trait MessageCommands: Send + Sync + 'static {
+ /// Post as the principal carried by the verified capability.
+ async fn post(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ input: PostMessage,
+ ) -> Result<Message, MessageError>;
+ /// Apply partial body, mention, and attachment changes under the common policy.
+ async fn patch(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ input: MessagePatch,
+ ) -> Result<Message, MessageError>;
+ /// Tombstone a message under the common authorship and moderation policy.
+ async fn delete(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError>;
+ /// Change the authenticated actor's reaction.
+ async fn react(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ emoji: String,
+ add: bool,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError>;
+ /// Publish ephemeral typing to the authorized conversation.
+ async fn typing(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root: Option<Uuid>,
+ active: bool,
+ nonce: Option<String>,
+ ) -> Result<(), MessageError>;
+ /// Update document discussion state or detach removed Markdown text.
+ async fn patch_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError>;
+ /// Delete a discussion under the common moderation policy.
+ async fn delete_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<ThreadState, MessageError>;
+}
+
+/// Combined application boundary for adapters that need both reads and commands.
+pub trait MessageServiceApi: MessageReader + MessageCommands {}
+
+impl<T: MessageReader + MessageCommands> MessageServiceApi for T {}
+
+#[async_trait::async_trait]
+impl<R: MessageRepository, E: MessageEventPublisher> MessageReader for MessageService<R, E> {
+ async fn get(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ ) -> Result<Message, MessageError> {
+ MessageService::get(self, access, id).await
+ }
+ async fn get_thread(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ root: Uuid,
+ ) -> Result<MessageThread, MessageError> {
+ MessageService::get_thread(self, access, root).await
+ }
+ async fn timeline(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ MessageService::timeline(self, access, query).await
+ }
+
+ async fn preceding(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError> {
+ MessageService::preceding(self, access, id, limit).await
+ }
+ async fn resolve_legacy(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: i64,
+ is_thread: bool,
+ ) -> Result<Message, MessageError> {
+ MessageService::resolve_legacy(self, access, id, is_thread).await
+ }
+ async fn referenced_threads(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<ReferencedThreadPage, MessageError> {
+ MessageService::referenced_threads(self, access, cursor, limit).await
+ }
+}
+
+#[async_trait::async_trait]
+impl<R: MessageRepository, E: MessageEventPublisher> MessageCommands for MessageService<R, E> {
+ async fn post(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ input: PostMessage,
+ ) -> Result<Message, MessageError> {
+ MessageService::post(self, access, input).await
+ }
+ async fn patch(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ input: MessagePatch,
+ ) -> Result<Message, MessageError> {
+ MessageService::patch(self, access, id, input).await
+ }
+ async fn delete(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError> {
+ MessageService::delete(self, access, id, nonce).await
+ }
+ async fn react(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ emoji: String,
+ add: bool,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError> {
+ MessageService::react(self, access, id, emoji, add, nonce).await
+ }
+ async fn typing(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root: Option<Uuid>,
+ active: bool,
+ nonce: Option<String>,
+ ) -> Result<(), MessageError> {
+ MessageService::typing(self, access, root, active, nonce).await
+ }
+ async fn patch_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ MessageService::patch_thread(self, access, root_id, patch).await
+ }
+ async fn delete_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<ThreadState, MessageError> {
+ MessageService::delete_thread(self, access, root_id, nonce).await
+ }
+}
+
+#[cfg(feature = "test-utils")]
+mockall::mock! {
+ /// Test double for an adapter that uses both application capabilities.
+ pub MessageServiceApi {}
+ #[async_trait::async_trait]
+ impl MessageReader for MessageServiceApi {
+ /// Read an individual message under its parent's view permission.
+ async fn get(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ ) -> Result<Message, MessageError>;
+ /// Read the root, state, and ordered replies of a discussion.
+ async fn get_thread(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ root: Uuid,
+ ) -> Result<MessageThread, MessageError>;
+ /// Read a page of discussions on an authorized parent.
+ async fn timeline(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError>;
+
+ /// Read live history preceding a prompt, scoped by its parent.
+ async fn preceding(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError>;
+ /// Read an old link under current parent access.
+ async fn resolve_legacy(&self, access: EntityAccessReceipt<MessageView>, id: i64, is_thread: bool) -> Result<Message, MessageError>;
+ /// Discover accessible source threads mentioning the authorized document.
+ async fn referenced_threads(&self, access: EntityAccessReceipt<MessageView>, cursor: Option<MessageCursor>, limit: u16) -> Result<ReferencedThreadPage, MessageError>;
+ }
+ #[async_trait::async_trait]
+ impl MessageCommands for MessageServiceApi {
+ /// Post as the principal carried by the verified capability.
+ async fn post(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ input: PostMessage,
+ ) -> Result<Message, MessageError>;
+ /// Apply partial body, mention, and attachment changes under the common policy.
+ async fn patch(&self, access: EntityAccessReceipt<MessageWrite>, id: Uuid, input: MessagePatch) -> Result<Message, MessageError>;
+ /// Tombstone a message under the common authorship and moderation policy.
+ async fn delete(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError>;
+ /// Change the authenticated actor's reaction.
+ async fn react(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ emoji: String,
+ add: bool,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError>;
+ /// Publish ephemeral typing to the authorized conversation.
+ async fn typing(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root: Option<Uuid>,
+ active: bool,
+ nonce: Option<String>,
+ ) -> Result<(), MessageError>; /// Update document discussion state or detach removed Markdown text.
+ async fn patch_thread(&self, access: EntityAccessReceipt<MessageWrite>, root_id: Uuid, patch: ThreadPatch) -> Result<ThreadState, MessageError>;
+ /// Delete a discussion under the common moderation policy.
+ async fn delete_thread(&self, access: EntityAccessReceipt<MessageWrite>, root_id: Uuid, nonce: Option<String>) -> Result<ThreadState, MessageError>;
+ }
+}
diff --git a/crates/messages/src/domain/delivery.rs b/crates/messages/src/domain/delivery.rs
new file mode 100644
index 0000000000..0a73dec8eb
--- /dev/null
+++ b/crates/messages/src/domain/delivery.rs
@@ -0,0 +1,301 @@
+use super::{models::*, notification::*, ports::*};
+use std::collections::HashSet;
+
+#[cfg(test)]
+mod test;
+
+/// Parent and thread facts used when delivering a discussion event.
+#[derive(Debug, Clone)]
+pub struct DiscussionContext {
+ /// Document name.
+ pub name: String,
+ /// Authenticated parent owner.
+ pub owner: String,
+ /// Optional document extension.
+ pub file_type: Option<String>,
+ /// Whether the document is a task.
+ pub is_task: bool,
+ /// Prior authors in this thread.
+ pub participants: Vec<String>,
+ /// Current task assignees.
+ pub assignees: Vec<String>,
+ /// Optional sender avatar used by push notification attachments.
+ pub sender_profile_picture: Option<String>,
+ /// Current PUBLIC or TEAM document link access, if enabled.
+ pub link_share_access: Option<entity_access::domain::models::AccessLevel>,
+}
+
+/// Reads facts without deciding notification or access policy.
+pub trait DiscussionContextReader: Send + Sync + 'static {
+ /// Read the sender avatar, independently of notification policy.
+ fn sender_profile_picture(
+ &self,
+ _actor: &str,
+ ) -> impl Future<Output = Result<Option<String>, rootcause::Report>> + Send {
+ async { Ok(None) }
+ }
+ /// Load parent metadata, authors, and task assignments.
+ fn context(
+ &self,
+ parent: &MessageParent,
+ root: uuid::Uuid,
+ ) -> impl Future<Output = Result<DiscussionContext, rootcause::Report>> + Send;
+}
+
+/// Current parent access, rechecked before any content is delivered.
+pub trait MessageAudienceAccess: Send + Sync + 'static {
+ /// Return only candidates who can currently view this parent.
+ fn viewers(
+ &self,
+ parent: &MessageParent,
+ candidates: HashSet<String>,
+ ) -> impl Future<Output = Result<HashSet<String>, rootcause::Report>> + Send;
+}
+
+/// Live subscriptions and targeted event transport.
+pub trait MessageRealtime: Send + Sync + 'static {
+ /// Users watching the parent; these are candidates, not authorization evidence.
+ fn subscribers(
+ &self,
+ parent: &MessageParent,
+ ) -> impl Future<Output = Result<HashSet<String>, rootcause::Report>> + Send;
+ /// Send a change only to the verified users.
+ fn send(
+ &self,
+ event: &MessageEvent,
+ users: HashSet<String>,
+ ) -> impl Future<Output = Result<(), rootcause::Report>> + Send;
+}
+
+/// A notification whose semantic reason and audience have been selected.
+pub struct DiscussionNotification<'a> {
+ /// Committed message event.
+ pub event: &'a MessageEvent,
+ /// Message being announced.
+ pub message: &'a Message,
+ /// Parent display metadata.
+ pub context: &'a DiscussionContext,
+ /// Recipient with current view access.
+ pub recipient: String,
+ /// Contextual wording and routing.
+ pub reason: CommentNotificationReason,
+}
+
+/// Notification transport; it cannot grant access to mentioned users.
+pub trait DiscussionNotifier: Send + Sync + 'static {
+ /// Deliver an already-selected notification.
+ fn send(
+ &self,
+ notification: DiscussionNotification<'_>,
+ ) -> impl Future<Output = Result<(), rootcause::Report>> + Send;
+}
+
+/// Persists document visibility selected by the discussion mention policy.
+pub trait DiscussionMentionSharing: Send + Sync + 'static {
+ /// Record explicit access without lowering existing grants. The adapter must
+ /// recheck the observed link level before writing if it may have changed.
+ fn grant(
+ &self,
+ document: uuid::Uuid,
+ users: Vec<String>,
+ level: entity_access::domain::models::AccessLevel,
+ ) -> impl Future<Output = Result<(), rootcause::Report>> + Send;
+}
+
+/// Delivery compositions without document sharing.
+#[derive(Clone)]
+pub struct NoDiscussionSharing;
+impl DiscussionMentionSharing for NoDiscussionSharing {
+ async fn grant(
+ &self,
+ _: uuid::Uuid,
+ _: Vec<String>,
+ _: entity_access::domain::models::AccessLevel,
+ ) -> Result<(), rootcause::Report> {
+ Ok(())
+ }
+}
+
+/// Discussion delivery policy for document comments.
+#[derive(Clone)]
+pub struct DiscussionDelivery<C, A, R, N, S = NoDiscussionSharing> {
+ context: C,
+ access: A,
+ realtime: R,
+ notifications: N,
+ sharing: S,
+}
+
+impl<C, A, R, N> DiscussionDelivery<C, A, R, N> {
+ /// Compose delivery using fact, authorization, and transport ports.
+ pub fn new(context: C, access: A, realtime: R, notifications: N) -> Self {
+ Self {
+ context,
+ access,
+ realtime,
+ notifications,
+ sharing: NoDiscussionSharing,
+ }
+ }
+
+ /// Preserve explicit visibility for mentions on link-shared documents.
+ pub fn with_sharing<S: DiscussionMentionSharing>(
+ self,
+ sharing: S,
+ ) -> DiscussionDelivery<C, A, R, N, S> {
+ DiscussionDelivery {
+ context: self.context,
+ access: self.access,
+ realtime: self.realtime,
+ notifications: self.notifications,
+ sharing,
+ }
+ }
+}
+
+impl<
+ C: DiscussionContextReader,
+ A: MessageAudienceAccess,
+ R: MessageRealtime,
+ N: DiscussionNotifier,
+ S: DiscussionMentionSharing,
+> MessageEventPublisher for DiscussionDelivery<C, A, R, N, S>
+{
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ if !event.parent.is_discussion() {
+ return Err(rootcause::report!(
+ "discussion delivery requires a document parent"
+ ));
+ }
+ // Run notification delivery even if the transient transport is unavailable.
+ let realtime = async {
+ let candidates = self.realtime.subscribers(&event.parent).await?;
+ let viewers = self.access.viewers(&event.parent, candidates).await?;
+ self.realtime.send(&event, viewers).await
+ }
+ .await;
+ let notification = match &event.change {
+ MessageChange::Posted {
+ message,
+ mentions,
+ notification_policy,
+ } if *notification_policy != PostMessageNotificationPolicy::Silent => {
+ Some((message, mentions, *notification_policy))
+ }
+ MessageChange::Edited {
+ message,
+ mentions,
+ notification_policy: PatchMessageNotificationPolicy::NotifyAsPostedMessage,
+ ..
+ } => Some((message, mentions, PostMessageNotificationPolicy::Default)),
+ _ => None,
+ };
+ if let Some((message, mentions, policy)) = notification {
+ let mut context = self
+ .context
+ .context(&event.parent, message.root_id())
+ .await?;
+ context.sender_profile_picture = self
+ .context
+ .sender_profile_picture(&event.actor)
+ .await
+ .unwrap_or(None);
+ let mut audience = CommentAudience {
+ mentioned: mentions
+ .iter()
+ .filter(|m| m.entity_type == "user")
+ .map(|m| m.entity_id.clone())
+ .collect(),
+ participants: context.participants.clone(),
+ assignees: context.assignees.clone(),
+ owners: vec![context.owner.clone()],
+ ..Default::default()
+ };
+ // Only document link sharing confers explicit visibility on mention.
+ if let MessageParent::Document(_) = &event.parent
+ && let Some(level) = context.link_share_access
+ && !audience.mentioned.is_empty()
+ {
+ match uuid::Uuid::parse_str(&event.parent.entity_id()) {
+ Ok(document) => {
+ self.sharing
+ .grant(document, audience.mentioned.clone(), level)
+ .await?;
+ }
+ Err(_) => tracing::warn!(
+ document = %event.parent.entity_id(),
+ "mention access is not granted on a legacy document id"
+ ),
+ }
+ }
+ if policy == PostMessageNotificationPolicy::MentionsOnly {
+ audience.participants.clear();
+ audience.assignees.clear();
+ audience.owners.clear();
+ }
+ let candidates = audience
+ .mentioned
+ .iter()
+ .chain(&audience.participants)
+ .chain(&audience.assignees)
+ .chain(&audience.owners)
+ .cloned()
+ .collect();
+ audience.authorized = self.access.viewers(&event.parent, candidates).await?;
+ let recipients = comment_recipients(
+ &event.parent,
+ &event.actor,
+ message.thread_id.is_some(),
+ &audience,
+ );
+ let mut delivery_error = None;
+ for (recipient, reason) in recipients {
+ if let Err(error) = self
+ .notifications
+ .send(DiscussionNotification {
+ event: &event,
+ message,
+ context: &context,
+ recipient,
+ reason,
+ })
+ .await
+ {
+ delivery_error = Some(error);
+ }
+ }
+ if let Some(error) = delivery_error {
+ return Err(error);
+ }
+ }
+ realtime
+ }
+}
+
+/// Routes a committed event using its persisted parent, never client metadata.
+#[derive(Clone)]
+pub struct ParentMessagePublisher<C, D> {
+ channels: C,
+ discussions: D,
+}
+
+impl<C, D> ParentMessagePublisher<C, D> {
+ /// Compose channel behavior with entity discussion behavior.
+ pub fn new(channels: C, discussions: D) -> Self {
+ Self {
+ channels,
+ discussions,
+ }
+ }
+}
+
+impl<C: MessageEventPublisher, D: MessageEventPublisher> MessageEventPublisher
+ for ParentMessagePublisher<C, D>
+{
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ match event.parent {
+ MessageParent::Channel(_) => self.channels.publish(event).await,
+ _ => self.discussions.publish(event).await,
+ }
+ }
+}
diff --git a/crates/messages/src/domain/delivery/test.rs b/crates/messages/src/domain/delivery/test.rs
new file mode 100644
index 0000000000..988e837219
--- /dev/null
+++ b/crates/messages/src/domain/delivery/test.rs
@@ -0,0 +1,227 @@
+use super::*;
+use chrono::Utc;
+use std::sync::{Arc, Mutex};
+use uuid::Uuid;
+
+#[derive(Clone, Default)]
+struct DeliveryLog {
+ live: Arc<Mutex<HashSet<String>>>,
+ notices: Arc<Mutex<Vec<(String, CommentNotificationReason)>>>,
+ live_failure: bool,
+}
+impl MessageRealtime for DeliveryLog {
+ async fn subscribers(&self, _: &MessageParent) -> Result<HashSet<String>, rootcause::Report> {
+ Ok(["viewer", "revoked"].map(str::to_owned).into())
+ }
+ async fn send(
+ &self,
+ _: &MessageEvent,
+ users: HashSet<String>,
+ ) -> Result<(), rootcause::Report> {
+ if self.live_failure {
+ return Err(rootcause::report!("gateway unavailable"));
+ }
+ *self.live.lock().unwrap() = users;
+ Ok(())
+ }
+}
+impl DiscussionNotifier for DeliveryLog {
+ async fn send(
+ &self,
+ notification: DiscussionNotification<'_>,
+ ) -> Result<(), rootcause::Report> {
+ self.notices
+ .lock()
+ .unwrap()
+ .push((notification.recipient, notification.reason));
+ Ok(())
+ }
+}
+struct Access;
+impl MessageAudienceAccess for Access {
+ async fn viewers(
+ &self,
+ _: &MessageParent,
+ mut users: HashSet<String>,
+ ) -> Result<HashSet<String>, rootcause::Report> {
+ users.remove("revoked");
+ Ok(users)
+ }
+}
+struct Context;
+impl DiscussionContextReader for Context {
+ async fn context(
+ &self,
+ _: &MessageParent,
+ _: Uuid,
+ ) -> Result<DiscussionContext, rootcause::Report> {
+ Ok(DiscussionContext {
+ name: "Document".into(),
+ owner: "owner".into(),
+ file_type: None,
+ is_task: false,
+ participants: vec!["revoked".into(), "viewer".into()],
+ assignees: vec![],
+ sender_profile_picture: None,
+ link_share_access: Some(entity_access::domain::models::AccessLevel::View),
+ })
+ }
+}
+fn event() -> MessageEvent {
+ let actor = "macro|[email protected]".to_owned();
+ let parent = MessageParent::parse("document", "legacy-document").unwrap();
+ let message = Message {
+ id: Uuid::from_u128(3),
+ parent: parent.clone(),
+ thread_id: Some(Uuid::from_u128(2)),
+ sender_id: actor.clone().try_into().unwrap(),
+ bot_profile: None,
+ mentions: vec![],
+ imported_author: None,
+ triggered_by: None,
+ content: "A private discussion".into(),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: vec![],
+ reactions: vec![],
+ };
+ MessageEvent {
+ parent,
+ actor,
+ nonce: None,
+ change: MessageChange::Posted {
+ notification_policy: Default::default(),
+ message,
+ mentions: vec![
+ SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "viewer".into(),
+ },
+ SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "revoked".into(),
+ },
+ ],
+ },
+ }
+}
+
+#[tokio::test]
+async fn revoked_viewers_receive_neither_content_nor_notifications() {
+ let log = DeliveryLog::default();
+ DiscussionDelivery::new(Context, Access, log.clone(), log.clone())
+ .publish(event())
+ .await
+ .unwrap();
+ assert_eq!(
+ *log.live.lock().unwrap(),
+ HashSet::from(["viewer".to_owned()])
+ );
+ assert_eq!(
+ *log.notices.lock().unwrap(),
+ vec![
+ ("owner".into(), CommentNotificationReason::Owner),
+ ("viewer".into(), CommentNotificationReason::Mention),
+ ]
+ );
+}
+
+#[tokio::test]
+async fn realtime_outage_does_not_skip_notifications() {
+ let log = DeliveryLog {
+ live_failure: true,
+ ..Default::default()
+ };
+ assert!(
+ DiscussionDelivery::new(Context, Access, log.clone(), log.clone())
+ .publish(event())
+ .await
+ .is_err()
+ );
+ assert_eq!(log.notices.lock().unwrap().len(), 2);
+}
+
+#[tokio::test]
+async fn edits_and_reactions_only_publish_live_updates() {
+ let log = DeliveryLog::default();
+ let mut event = event();
+ let MessageChange::Posted { message, .. } = event.change else {
+ unreachable!()
+ };
+ event.change = MessageChange::ReactionChanged { message };
+ DiscussionDelivery::new(Context, Access, log.clone(), log.clone())
+ .publish(event)
+ .await
+ .unwrap();
+ assert!(!log.live.lock().unwrap().is_empty());
+ assert!(log.notices.lock().unwrap().is_empty());
+}
+
+#[derive(Clone, Default)]
+struct Shares(Arc<Mutex<Vec<Uuid>>>);
+impl DiscussionMentionSharing for Shares {
+ async fn grant(
+ &self,
+ document: Uuid,
+ _: Vec<String>,
+ _: entity_access::domain::models::AccessLevel,
+ ) -> Result<(), rootcause::Report> {
+ self.0.lock().unwrap().push(document);
+ Ok(())
+ }
+}
+
+#[tokio::test]
+async fn document_mentions_inherit_link_sharing_for_uuid_parents() {
+ let log = DeliveryLog::default();
+ let shares = Shares::default();
+ let delivery =
+ DiscussionDelivery::new(Context, Access, log.clone(), log).with_sharing(shares.clone());
+ delivery.publish(event()).await.unwrap();
+ assert!(shares.0.lock().unwrap().is_empty());
+ let mut document_event = event();
+ let document = Uuid::from_u128(22);
+ document_event.parent = MessageParent::parse("document", &document.to_string()).unwrap();
+ delivery.publish(document_event).await.unwrap();
+ assert_eq!(*shares.0.lock().unwrap(), vec![document]);
+}
+
+#[derive(Clone, Default)]
+struct Sink(Arc<Mutex<Vec<MessageParent>>>);
+impl MessageEventPublisher for Sink {
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ self.0.lock().unwrap().push(event.parent);
+ Ok(())
+ }
+}
+
+#[tokio::test]
+async fn document_events_never_reach_channel_delivery_and_vice_versa() {
+ let channels = Sink::default();
+ let discussions = Sink::default();
+ let publisher = ParentMessagePublisher::new(channels.clone(), discussions.clone());
+ let document = event();
+ let mut channel = event();
+ channel.parent = MessageParent::Channel(Uuid::from_u128(4));
+ publisher.publish(document.clone()).await.unwrap();
+ publisher.publish(channel.clone()).await.unwrap();
+ assert_eq!(*channels.0.lock().unwrap(), vec![channel.parent]);
+ assert_eq!(*discussions.0.lock().unwrap(), vec![document.parent]);
+}
+
+#[tokio::test]
+async fn channel_events_are_rejected_by_discussion_delivery() {
+ let log = DeliveryLog::default();
+ let mut channel = event();
+ channel.parent = MessageParent::Channel(Uuid::from_u128(4));
+ assert!(
+ DiscussionDelivery::new(Context, Access, log.clone(), log.clone())
+ .publish(channel)
+ .await
+ .is_err()
+ );
+ assert!(log.live.lock().unwrap().is_empty());
+ assert!(log.notices.lock().unwrap().is_empty());
+}
diff --git a/crates/messages/src/domain/effects.rs b/crates/messages/src/domain/effects.rs
new file mode 100644
index 0000000000..366f8b5b00
--- /dev/null
+++ b/crates/messages/src/domain/effects.rs
@@ -0,0 +1,53 @@
+//! Failure-isolated delivery of committed facts to independent targets.
+use super::ports::{MessageChange, MessageEvent, MessageEventPublisher};
+
+/// Fixed sibling effects: remote agents, local agents, and parent-specific delivery.
+/// Sharing and recipient ordering remain inside each parent's domain policy.
+#[derive(Clone)]
+pub struct MessageEffects<Remote, Local, Parent> {
+ remote_agents: Remote,
+ local_agents: Local,
+ parent: Parent,
+}
+impl<Remote, Local, Parent> MessageEffects<Remote, Local, Parent> {
+ /// Compose delivery targets without making one target responsible for another.
+ pub const fn new(remote_agents: Remote, local_agents: Local, parent: Parent) -> Self {
+ Self {
+ remote_agents,
+ local_agents,
+ parent,
+ }
+ }
+}
+impl<Remote: MessageEventPublisher, Local: MessageEventPublisher, Parent: MessageEventPublisher>
+ MessageEventPublisher for MessageEffects<Remote, Local, Parent>
+{
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ // Typing is ephemeral; it does not enter agent event delivery.
+ if matches!(event.change, MessageChange::Typing { .. }) {
+ return self.parent.publish(event).await;
+ }
+ let mut first_error = None;
+ for (target, result) in [
+ (
+ "remote_agents",
+ self.remote_agents.publish(event.clone()).await,
+ ),
+ (
+ "local_agents",
+ self.local_agents.publish(event.clone()).await,
+ ),
+ ("parent", self.parent.publish(event).await),
+ ] {
+ if let Err(error) = result.inspect_err(|error| {
+ tracing::error!(error=?error, target, "message delivery target failed");
+ }) {
+ first_error.get_or_insert(error);
+ }
+ }
+ first_error.map_or(Ok(()), Err)
+ }
+}
+
+#[cfg(test)]
+mod test;
diff --git a/crates/messages/src/domain/effects/test.rs b/crates/messages/src/domain/effects/test.rs
new file mode 100644
index 0000000000..7f8fdbe5d7
--- /dev/null
+++ b/crates/messages/src/domain/effects/test.rs
@@ -0,0 +1,71 @@
+use super::*;
+use crate::domain::models::MessageParent;
+use std::sync::{Arc, Mutex};
+
+struct Target {
+ id: usize,
+ fail: bool,
+ log: Arc<Mutex<Vec<usize>>>,
+}
+impl MessageEventPublisher for Target {
+ async fn publish(&self, _: MessageEvent) -> Result<(), rootcause::Report> {
+ self.log.lock().unwrap().push(self.id);
+ if self.fail {
+ Err(rootcause::report!("target unavailable"))
+ } else {
+ Ok(())
+ }
+ }
+}
+fn event(change: MessageChange) -> MessageEvent {
+ MessageEvent {
+ parent: MessageParent::parse("document", "doc").unwrap(),
+ actor: "macro|[email protected]".into(),
+ nonce: None,
+ change,
+ }
+}
+#[tokio::test]
+async fn every_committed_target_is_attempted_even_if_any_or_all_fail() {
+ for failed in [vec![], vec![0], vec![1], vec![2], vec![0, 1, 2]] {
+ let log = Arc::new(Mutex::new(Vec::new()));
+ let target = |id| Target {
+ id,
+ fail: failed.contains(&id),
+ log: log.clone(),
+ };
+ let effects = MessageEffects::new(target(0), target(1), target(2));
+ let result = effects
+ .publish(event(MessageChange::ThreadUpdated {
+ state: crate::domain::models::ThreadState {
+ root_id: uuid::Uuid::from_u128(1),
+ user_id: "macro|[email protected]".into(),
+ resolved: true,
+ anchor: None,
+ created_at: chrono::Utc::now(),
+ updated_at: chrono::Utc::now(),
+ deleted_at: None,
+ },
+ }))
+ .await;
+ assert_eq!(result.is_err(), !failed.is_empty());
+ assert_eq!(*log.lock().unwrap(), vec![0, 1, 2]);
+ }
+}
+#[tokio::test]
+async fn typing_only_reaches_the_parent_transport() {
+ let log = Arc::new(Mutex::new(Vec::new()));
+ let target = |id| Target {
+ id,
+ fail: id != 2,
+ log: log.clone(),
+ };
+ MessageEffects::new(target(0), target(1), target(2))
+ .publish(event(MessageChange::Typing {
+ thread_id: None,
+ active: true,
+ }))
+ .await
+ .unwrap();
+ assert_eq!(*log.lock().unwrap(), vec![2]);
+}
diff --git a/crates/messages/src/domain/events.rs b/crates/messages/src/domain/events.rs
new file mode 100644
index 0000000000..6dd6bcd659
--- /dev/null
+++ b/crates/messages/src/domain/events.rs
@@ -0,0 +1,182 @@
+//! Committed message facts shared by consumers independently of transport.
+//!
+//! One metadata struct per fact, mirroring the channel-only events on the
+//! `macro.channels` topic so consumers can move from those to the parent-aware
+//! facts without losing fields. Only `channel_type` is absent: it exists for
+//! channel parents alone and consumers resolve it from the parent.
+
+use super::models::{Message, MessageParent, SimpleMention};
+use channel_sender::ChannelSender;
+use chrono::{DateTime, Utc};
+use serde::{Deserialize, Serialize};
+use uuid::Uuid;
+
+/// An attachment persisted with a message.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessageEventAttachment {
+ /// Attachment row identifier.
+ pub attachment_id: Uuid,
+ /// Referenced entity type.
+ pub entity_type: String,
+ /// Referenced entity identifier.
+ pub entity_id: String,
+ /// Attachment creation timestamp.
+ pub created_at: DateTime<Utc>,
+}
+
+impl From<&super::models::MessageAttachment> for MessageEventAttachment {
+ fn from(attachment: &super::models::MessageAttachment) -> Self {
+ Self {
+ attachment_id: attachment.id,
+ entity_type: attachment.entity_type.clone(),
+ entity_id: attachment.entity_id.clone(),
+ created_at: attachment.created_at,
+ }
+ }
+}
+
+/// A committed post, independent of the surface presenting the conversation.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessagePostedMetadata {
+ /// Entity that owns the message and determines access to it.
+ pub parent: MessageParent,
+ /// Posted message identifier.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a new root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation, shared by roots and replies.
+ pub root_id: Uuid,
+ /// Author, including bot principals.
+ pub sender: ChannelSender<'static>,
+ /// User whose invocation produced a bot response.
+ pub triggered_by: Option<String>,
+ /// Macro Markdown body.
+ pub content: String,
+ /// Explicit mentions recorded with the post.
+ pub mentions: Vec<SimpleMention>,
+ /// Persisted attachments available to authorized consumers.
+ pub attachments: Vec<MessageEventAttachment>,
+ /// Message creation timestamp.
+ pub created_at: DateTime<Utc>,
+}
+
+impl MessagePostedMetadata {
+ /// Build the event from the persisted message, never from client parent claims.
+ pub fn from_message(message: &Message, mentions: Vec<SimpleMention>) -> Self {
+ Self {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ sender: message.sender_id.clone(),
+ triggered_by: message.triggered_by.clone(),
+ content: message.content.clone(),
+ mentions,
+ attachments: message
+ .attachments
+ .iter()
+ .map(MessageEventAttachment::from)
+ .collect(),
+ created_at: message.created_at,
+ }
+ }
+
+ /// Stable identity of the conversation, shared by roots and replies.
+ pub fn root_id(&self) -> Uuid {
+ self.root_id
+ }
+}
+
+/// One mentioned entity in a committed post; the full mention list travels on
+/// the posted fact.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessageMentionedMetadata {
+ /// Entity that owns the message.
+ pub parent: MessageParent,
+ /// The id of the message carrying the mention.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation.
+ pub root_id: Uuid,
+ /// Message author; may be a bot.
+ pub sender: ChannelSender<'static>,
+ /// Macro Markdown body.
+ pub content: String,
+ /// The mentioned entity this fact is about (`user`, `bot`, `document`, …).
+ pub mentioned: SimpleMention,
+ /// Message creation timestamp.
+ pub created_at: DateTime<Utc>,
+}
+
+/// A committed content edit.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessagePatchedMetadata {
+ /// Entity that owns the message.
+ pub parent: MessageParent,
+ /// The id of the patched message.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation.
+ pub root_id: Uuid,
+ /// Actor that patched the message.
+ pub actor: ChannelSender<'static>,
+ /// Macro Markdown body after the patch.
+ pub content: String,
+ /// Edit timestamp, when the patch marked the message edited.
+ pub edited_at: Option<DateTime<Utc>>,
+ /// Update timestamp reported by the repository.
+ pub updated_at: DateTime<Utc>,
+}
+
+/// A committed message tombstone.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessageDeletedMetadata {
+ /// Entity that owns the message.
+ pub parent: MessageParent,
+ /// The id of the deleted message.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation.
+ pub root_id: Uuid,
+ /// Actor that deleted the message; not necessarily the author.
+ pub actor: ChannelSender<'static>,
+ /// Tombstone timestamp reported by the repository.
+ pub deleted_at: Option<DateTime<Utc>>,
+}
+
+/// Attachments added to a message, on post or by a later edit.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessageAttachmentCreatedMetadata {
+ /// Entity that owns the message.
+ pub parent: MessageParent,
+ /// Message the attachments were added to.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation.
+ pub root_id: Uuid,
+ /// Actor that added the attachments.
+ pub actor: ChannelSender<'static>,
+ /// Attachments created by this mutation.
+ pub attachments: Vec<MessageEventAttachment>,
+}
+
+/// Attachments removed from a message by an edit.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+pub struct MessageAttachmentRemovedMetadata {
+ /// Entity that owns the message.
+ pub parent: MessageParent,
+ /// Message the attachments were removed from.
+ pub message_id: Uuid,
+ /// Root identifier for a reply; absent for a root.
+ pub thread_id: Option<Uuid>,
+ /// Stable identity of the conversation.
+ pub root_id: Uuid,
+ /// Actor that removed the attachments.
+ pub actor: ChannelSender<'static>,
+ /// Attachments removed by this mutation.
+ pub attachments: Vec<MessageEventAttachment>,
+}
diff --git a/crates/messages/src/domain/mentions.rs b/crates/messages/src/domain/mentions.rs
new file mode 100644
index 0000000000..b046b3367a
--- /dev/null
+++ b/crates/messages/src/domain/mentions.rs
@@ -0,0 +1,97 @@
+//! Parent-independent parsing of message mention identities.
+
+use super::models::SimpleMention;
+use bot_id::{BotId, BotIdStr};
+use std::collections::HashSet;
+
+/// Entity type used by message mentions that target a bot.
+pub const BOT_MENTION_ENTITY_TYPE: &str = "bot";
+
+/// Collect the bot ids mentioned in a message.
+///
+/// Bot mentions normally arrive tagged `bot`, but Macro AI is surfaced through
+/// the user-mention UI, so a `user` mention whose id is exactly the Macro AI
+/// bot is recognized as a bot mention too.
+///
+/// Ids must be in the canonical `bot|<uuid>` principal form; bare UUIDs are
+/// rejected (historical bare-UUID content is normalized by migration).
+///
+/// Shared by message consumers that resolve agent mentions.
+pub fn bot_mention_ids(mentions: &[SimpleMention]) -> Vec<BotId> {
+ let mut seen = HashSet::new();
+ mentions
+ .iter()
+ .filter_map(|mention| match mention.entity_type.as_str() {
+ BOT_MENTION_ENTITY_TYPE => BotIdStr::parse_from_str(&mention.entity_id)
+ .ok()
+ .map(|id| id.bot_id()),
+ "user" => BotIdStr::parse_from_str(&mention.entity_id)
+ .ok()
+ .map(|id| id.bot_id())
+ .filter(|id| *id == bot_id::MACRO_AI_BOT_ID),
+ _ => None,
+ })
+ .filter(|id| seen.insert(*id))
+ .collect()
+}
+
+/// Parsed message reference vocabulary; recognizing a kind never grants access.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum MessageReferenceKind {
+ /// A human principal, or the special Macro AI user mention.
+ User,
+ /// A canonical bot principal.
+ Bot,
+ /// A document.
+ Document,
+ /// A channel.
+ Channel,
+ /// An email thread (editors serialize this as `thread`).
+ EmailThread,
+ /// A call.
+ Call,
+ /// A calendar event.
+ CalendarEvent,
+ /// An AI chat.
+ Chat,
+ /// An AI coding agent session.
+ AgentSession,
+ /// A project.
+ Project,
+ /// Static image attachment.
+ StaticImage,
+ /// Static video attachment.
+ StaticVideo,
+ /// Authored channel group; recipients are resolved separately.
+ Group,
+ /// A CRM company.
+ CrmCompany,
+ /// A CRM contact.
+ CrmContact,
+ /// An automation reference; recognized separately from message authorization support.
+ Automation,
+}
+impl MessageReferenceKind {
+ /// Normalize reference aliases from editors and Markdown extractors.
+ pub fn parse(value: &str) -> Option<Self> {
+ Some(match value {
+ "user" => Self::User,
+ "bot" => Self::Bot,
+ "document" => Self::Document,
+ "channel" => Self::Channel,
+ "thread" | "email_thread" | "email" => Self::EmailThread,
+ "call" => Self::Call,
+ "calendar_event" => Self::CalendarEvent,
+ "chat" => Self::Chat,
+ "agent_session" => Self::AgentSession,
+ "project" => Self::Project,
+ "static/image" => Self::StaticImage,
+ "static/video" => Self::StaticVideo,
+ "group" => Self::Group,
+ "crm_company" => Self::CrmCompany,
+ "crm_contact" => Self::CrmContact,
+ "automation" => Self::Automation,
+ _ => return None,
+ })
+ }
+}
diff --git a/crates/messages/src/domain/mod.rs b/crates/messages/src/domain/mod.rs
new file mode 100644
index 0000000000..95f93a24ba
--- /dev/null
+++ b/crates/messages/src/domain/mod.rs
@@ -0,0 +1,26 @@
+/// Existing PDF annotation use cases and authorization.
+#[cfg(feature = "annotations")]
+pub mod annotations;
+/// Common application boundary used by HTTP, agents, and channel adapters.
+#[cfg(feature = "ports")]
+pub mod api;
+/// Contextual notifications and permission-aware realtime delivery.
+#[cfg(feature = "ports")]
+pub mod delivery;
+/// Independent delivery of committed facts.
+#[cfg(feature = "ports")]
+pub mod effects;
+/// Transport-independent committed message facts.
+pub mod events;
+/// Parent-independent mention identities.
+pub mod mentions;
+/// Shared message and thread models.
+pub mod models;
+/// Notification audience and semantic policy.
+pub mod notification;
+/// Repository and delivery boundaries.
+#[cfg(feature = "ports")]
+pub mod ports;
+/// Message authorization and use-case orchestration.
+#[cfg(feature = "ports")]
+pub mod service;
diff --git a/crates/messages/src/domain/models.rs b/crates/messages/src/domain/models.rs
new file mode 100644
index 0000000000..516f52a22a
--- /dev/null
+++ b/crates/messages/src/domain/models.rs
@@ -0,0 +1,441 @@
+use channel_sender::ChannelSender;
+use chrono::{DateTime, Utc};
+use serde::{Deserialize, Serialize};
+use uuid::Uuid;
+
+#[cfg(test)]
+mod test;
+
+/// A validated document identifier. Historical document ids need not be UUIDs.
+#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
+#[serde(try_from = "String", into = "String")]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct DocumentId(String);
+
+impl TryFrom<String> for DocumentId {
+ type Error = InvalidParent;
+
+ fn try_from(value: String) -> Result<Self, Self::Error> {
+ if value.is_empty() || value.trim() != value || value.chars().any(char::is_control) {
+ return Err(InvalidParent);
+ }
+ Ok(Self(value))
+ }
+}
+
+impl From<DocumentId> for String {
+ fn from(value: DocumentId) -> Self {
+ value.0
+ }
+}
+
+/// Invalid or unsupported message parent.
+#[derive(Debug, Clone, Copy, thiserror::Error)]
+#[error("invalid message parent")]
+pub struct InvalidParent;
+
+/// The entity whose permissions and lifecycle govern a message.
+#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
+#[serde(tag = "type", content = "id", rename_all = "snake_case")]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub enum MessageParent {
+ /// A channel, including direct messages.
+ Channel(Uuid),
+ /// A document, including tasks and PDFs.
+ Document(DocumentId),
+}
+
+impl MessageParent {
+ /// Parse a persisted or URL parent reference.
+ pub fn parse(entity_type: &str, entity_id: &str) -> Result<Self, InvalidParent> {
+ match entity_type {
+ "channel" => Ok(Self::Channel(entity_id.parse().map_err(|_| InvalidParent)?)),
+ "document" => Ok(Self::Document(entity_id.to_owned().try_into()?)),
+ _ => Err(InvalidParent),
+ }
+ }
+
+ /// Canonical parent type used in persistence and routes.
+ pub fn entity_type(&self) -> &'static str {
+ match self {
+ Self::Channel(_) => "channel",
+ Self::Document(_) => "document",
+ }
+ }
+
+ /// Canonical parent identifier.
+ pub fn entity_id(&self) -> String {
+ match self {
+ Self::Channel(id) => id.to_string(),
+ Self::Document(id) => id.0.clone(),
+ }
+ }
+
+ /// Whether messages are presented as comments on an entity.
+ pub fn is_discussion(&self) -> bool {
+ !matches!(self, Self::Channel(_))
+ }
+}
+
+/// A thread's location within its document. Geometry remains annotation-owned.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(tag = "type", rename_all = "snake_case", deny_unknown_fields)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub enum ThreadAnchor {
+ /// Stable Lexical mark identity, independent of transient node keys.
+ Markdown {
+ /// Mark UUID serialized in the document.
+ mark_id: Uuid,
+ },
+ /// An independently existing PDF highlight.
+ PdfHighlight {
+ /// Highlight annotation UUID.
+ anchor_id: Uuid,
+ },
+ /// A comment-only placeable PDF annotation.
+ PdfPlaceable {
+ /// Placeable annotation UUID.
+ anchor_id: Uuid,
+ },
+}
+
+/// Location supplied when creating a document discussion.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[serde(tag = "type", rename_all = "snake_case", deny_unknown_fields)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub enum NewThreadAnchor {
+ /// Attach a discussion to a stable Markdown mark.
+ Markdown {
+ /// Serialized mark identifier.
+ mark_id: Uuid,
+ },
+ /// Attach an independently existing highlight on this document.
+ PdfHighlight {
+ /// Highlight annotation identifier.
+ anchor_id: Uuid,
+ },
+ /// Atomically create a placeable annotation with the root message.
+ PdfPlaceable {
+ /// Client-generated annotation identifier used by optimistic rendering.
+ anchor_id: Uuid,
+ /// PDF page number.
+ page: i32,
+ /// Horizontal position as a fraction of the page width.
+ x_pct: f64,
+ /// Vertical position as a fraction of the page height.
+ y_pct: f64,
+ /// Width as a fraction of the page width.
+ width_pct: f64,
+ /// Height as a fraction of the page height.
+ height_pct: f64,
+ },
+}
+
+impl NewThreadAnchor {
+ /// Thread-owned reference after annotation geometry has been persisted.
+ pub fn reference(&self) -> ThreadAnchor {
+ match *self {
+ Self::Markdown { mark_id } => ThreadAnchor::Markdown { mark_id },
+ Self::PdfHighlight { anchor_id } => ThreadAnchor::PdfHighlight { anchor_id },
+ Self::PdfPlaceable { anchor_id, .. } => ThreadAnchor::PdfPlaceable { anchor_id },
+ }
+ }
+}
+
+/// State belonging to a whole thread, keyed by its root message.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct ThreadState {
+ /// Root message UUID; there is no separate thread identity.
+ pub root_id: Uuid,
+ /// User who owns this discussion, including imported discussions.
+ pub user_id: String,
+ /// Whether this discussion has been resolved.
+ pub resolved: bool,
+ /// No anchor means a discussion on the entire parent. Deleted Markdown
+ /// threads retain their mark identity so closed documents can reconcile it.
+ pub anchor: Option<ThreadAnchor>,
+ /// Creation time of the discussion.
+ pub created_at: DateTime<Utc>,
+ /// Last state change.
+ pub updated_at: DateTime<Utc>,
+ /// Explicit deletion of the entire thread, distinct from root deletion.
+ pub deleted_at: Option<DateTime<Utc>>,
+}
+
+/// Partial changes to the lifecycle and placement of a document discussion.
+#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct ThreadPatch {
+ /// Resolve or reopen the discussion; absent preserves its state.
+ pub resolved: Option<bool>,
+ /// Move a Markdown discussion to the document when its marked text is removed.
+ #[serde(default)]
+ pub detach_anchor: bool,
+ /// Client nonce for the shared thread update event.
+ pub nonce: Option<String>,
+}
+
+/// Public bot profile attached to bot-authored messages.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct BotSenderProfile {
+ /// Bot display name.
+ pub name: String,
+ /// Bot avatar URL.
+ pub avatar_url: Option<String>,
+}
+
+/// Display attribution for a comment imported from an external document.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct ImportedAuthor {
+ /// Original author text; never interpreted as an authenticated principal.
+ pub name: String,
+}
+
+/// Reaction emoji and the users who added it.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct CountedReaction {
+ /// Emoji being reacted with.
+ pub emoji: String,
+ /// User identifiers.
+ pub users: Vec<String>,
+}
+
+/// An entity attached to a message.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct MessageAttachment {
+ /// Attachment UUID.
+ pub id: Uuid,
+ /// Attached entity type.
+ pub entity_type: String,
+ /// Attached entity identifier.
+ pub entity_id: String,
+ /// Optional media width.
+ pub width: Option<i32>,
+ /// Optional media height.
+ pub height: Option<i32>,
+ /// When the attachment was added.
+ pub created_at: DateTime<Utc>,
+}
+
+/// An attachment to add to a message.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct NewAttachment {
+ /// Attached entity type.
+ pub entity_type: String,
+ /// Attached entity identifier.
+ pub entity_id: String,
+ /// Optional media width.
+ pub width: Option<i32>,
+ /// Optional media height.
+ pub height: Option<i32>,
+}
+
+/// A mention tracked in a message body.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct SimpleMention {
+ /// Mentioned entity type.
+ pub entity_type: String,
+ /// Mentioned entity identifier.
+ pub entity_id: String,
+}
+
+impl SimpleMention {
+ /// Construct a tracked mention of a Macro user.
+ pub fn user(user_id: &macro_user_id::user_id::MacroUserIdStr<'_>) -> Self {
+ Self {
+ entity_type: "user".to_string(),
+ entity_id: user_id.as_ref().to_string(),
+ }
+ }
+}
+
+impl std::fmt::Display for SimpleMention {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ write!(f, "{}:{}", self.entity_type, self.entity_id)
+ }
+}
+
+/// Shared message representation for channel timelines and entity discussions.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct Message {
+ /// Message UUID.
+ pub id: Uuid,
+ /// Entity that owns this conversation.
+ pub parent: MessageParent,
+ /// Root message UUID for replies; absent on roots.
+ pub thread_id: Option<Uuid>,
+ /// Authenticated actor or owner of imported content.
+ #[cfg_attr(feature = "schema", schema(value_type = String))]
+ #[cfg_attr(feature = "json-schema", schemars(with = "String"))]
+ pub sender_id: ChannelSender<'static>,
+ /// Original external author, when imported.
+ pub imported_author: Option<ImportedAuthor>,
+ /// Public bot name and avatar for rendering shared message authors.
+ pub bot_profile: Option<BotSenderProfile>,
+ /// Tracked mentions, retained when a caller changes attachments only.
+ pub mentions: Vec<SimpleMention>,
+ /// User who triggered a bot-authored message.
+ pub triggered_by: Option<String>,
+ /// Macro Markdown body.
+ pub content: String,
+ /// Creation time.
+ pub created_at: DateTime<Utc>,
+ /// Last persisted update.
+ pub updated_at: DateTime<Utc>,
+ /// Last content edit, if any.
+ pub edited_at: Option<DateTime<Utc>>,
+ /// Message tombstone, independent of thread deletion.
+ pub deleted_at: Option<DateTime<Utc>>,
+ /// Attached entities.
+ pub attachments: Vec<MessageAttachment>,
+ /// Aggregated reactions.
+ pub reactions: Vec<CountedReaction>,
+}
+
+impl Message {
+ /// Canonical thread identity for roots and replies alike.
+ pub fn root_id(&self) -> Uuid {
+ self.thread_id.unwrap_or(self.id)
+ }
+}
+
+/// A discussion with its root and ordered replies, including root tombstones.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct MessageThread {
+ /// Shared thread lifecycle and anchor state.
+ pub state: ThreadState,
+ /// Root message, which may be a tombstone.
+ pub root: Message,
+ /// Replies in display order.
+ pub replies: Vec<Message>,
+}
+
+/// Internal notification behavior for a posted channel message.
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Default, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub enum PostMessageNotificationPolicy {
+ /// Apply the normal channel notification rules.
+ #[default]
+ Default,
+ /// Notify tracked mentions without reply, channel-message, or channel-invite notifications.
+ MentionsOnly,
+ /// Do not send notifications for this post. Realtime/search side effects still run.
+ Silent,
+}
+
+/// Internal notification behavior for a patched channel message.
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Default, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub enum PatchMessageNotificationPolicy {
+ /// Apply the normal edit behavior: realtime/search only, no notifications.
+ #[default]
+ Default,
+ /// Notify as though the patched message content had just been posted.
+ NotifyAsPostedMessage,
+}
+
+/// Attribution of a trusted bot post, distinct from the scope used to authorize it.
+#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
+pub enum MessageAttribution {
+ /// A user invoked the agent; use the verified acting user from its capability.
+ #[default]
+ ActingUser,
+ /// Autonomous webhook delivery has no invoking user.
+ Unprompted,
+}
+
+/// Create a root or reply. Thread state may only be supplied on a root.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+#[cfg_attr(feature = "json-schema", derive(schemars::JsonSchema))]
+pub struct PostMessage {
+ /// Internal authorship context; clients cannot override attribution.
+ #[serde(skip)]
+ #[cfg_attr(feature = "schema", schema(ignore))]
+ pub attribution: MessageAttribution,
+ /// Notification behavior chosen by a trusted server caller.
+ #[serde(skip)]
+ #[cfg_attr(feature = "schema", schema(ignore))]
+ pub notification_policy: PostMessageNotificationPolicy,
+ /// Macro Markdown body.
+ pub content: String,
+ /// Root to reply to, if this is a reply.
+ pub thread_id: Option<Uuid>,
+ /// Optional document location for a new discussion.
+ pub anchor: Option<NewThreadAnchor>,
+ /// Mentions tracked by the editor.
+ #[serde(default)]
+ pub mentions: Vec<SimpleMention>,
+ /// Initial attachments.
+ #[serde(default)]
+ pub attachments: Vec<NewAttachment>,
+ /// Client nonce for optimistic reconciliation.
+ pub nonce: Option<String>,
+}
+
+/// Root message with its small thread preview, independent of its parent type.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessageListItem {
+ /// The same canonical message returned by item reads and writes.
+ #[serde(flatten)]
+ pub message: Message,
+ /// Thread metadata, independent of the first message's lifecycle.
+ pub state: ThreadState,
+ /// Bounded reply preview; full replies load on expansion.
+ pub thread: MessageThreadPreview,
+}
+
+/// Thread counts and its oldest three live replies.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessageThreadPreview {
+ /// Total live reply count.
+ pub reply_count: i64,
+ /// Creation time of the latest live reply.
+ pub latest_reply_at: Option<DateTime<Utc>>,
+ /// Bounded preview using the canonical message shape.
+ pub preview: Vec<Message>,
+}
+
+impl models_pagination::Identify for MessageListItem {
+ type Id = Uuid;
+ fn id(&self) -> Uuid {
+ self.message.id
+ }
+}
+impl models_pagination::SortOn<models_pagination::CreatedAt> for MessageListItem {
+ fn sort_on(
+ sort_type: models_pagination::CreatedAt,
+ ) -> impl FnMut(&Self) -> models_pagination::CursorVal<models_pagination::CreatedAt> {
+ move |item| models_pagination::CursorVal {
+ sort_type,
+ last_val: item.message.created_at,
+ }
+ }
+}
diff --git a/crates/messages/src/domain/models/test.rs b/crates/messages/src/domain/models/test.rs
new file mode 100644
index 0000000000..38aaf706ff
--- /dev/null
+++ b/crates/messages/src/domain/models/test.rs
@@ -0,0 +1,61 @@
+use super::*;
+
+#[test]
+fn parent_identifiers_are_validated_and_round_trip() {
+ for (kind, id) in [
+ ("channel", "0194e3b0-121a-7000-8000-000000000001"),
+ ("document", "legacy-document-id"),
+ ] {
+ let parent = MessageParent::parse(kind, id).unwrap();
+ assert_eq!(parent.entity_type(), kind);
+ assert_eq!(parent.entity_id(), id);
+ assert_eq!(
+ serde_json::from_value::<MessageParent>(serde_json::to_value(&parent).unwrap())
+ .unwrap(),
+ parent
+ );
+ }
+ for (kind, id) in [
+ ("user", "macro|[email protected]"),
+ ("channel", "not-a-uuid"),
+ ("email_thread", "not-a-uuid"),
+ ("document", ""),
+ ("document", " leading-space"),
+ ("document", "control\ncharacter"),
+ ] {
+ assert!(MessageParent::parse(kind, id).is_err());
+ }
+ assert!(serde_json::from_str::<MessageParent>(r#"{"type":"document","id":""}"#).is_err());
+}
+
+#[test]
+fn email_threads_are_not_message_parents() {
+ let id = "0194e3b0-121a-7000-8000-000000000002";
+ for kind in ["email_thread", "email"] {
+ assert!(MessageParent::parse(kind, id).is_err());
+ assert!(
+ serde_json::from_value::<MessageParent>(serde_json::json!({
+ "type": kind,
+ "id": id,
+ }))
+ .is_err()
+ );
+ }
+}
+
+#[test]
+fn anchors_require_a_known_kind_and_stable_uuid() {
+ let mark_id = Uuid::from_u128(123);
+ let anchor = ThreadAnchor::Markdown { mark_id };
+ assert_eq!(
+ serde_json::to_value(anchor).unwrap(),
+ serde_json::json!({ "type": "markdown", "mark_id": mark_id })
+ );
+ for invalid in [
+ serde_json::json!({ "type": "arbitrary", "anchor_id": mark_id }),
+ serde_json::json!({ "type": "markdown", "mark_id": "DISCUSSION:old" }),
+ serde_json::json!({ "type": "markdown", "mark_id": mark_id, "is_comment": false }),
+ ] {
+ assert!(serde_json::from_value::<ThreadAnchor>(invalid).is_err());
+ }
+}
diff --git a/crates/messages/src/domain/notification.rs b/crates/messages/src/domain/notification.rs
new file mode 100644
index 0000000000..8117722d7d
--- /dev/null
+++ b/crates/messages/src/domain/notification.rs
@@ -0,0 +1,76 @@
+use super::models::MessageParent;
+use std::collections::{BTreeMap, HashSet};
+
+#[cfg(test)]
+mod test;
+
+/// Semantic notification reason, independent of message storage.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum CommentNotificationReason {
+ /// Explicit user mention.
+ Mention,
+ /// Reply to a discussion the recipient contributed to.
+ Reply,
+ /// Comment on an assigned task.
+ Assignee,
+ /// Comment on an entity owned by the recipient.
+ Owner,
+}
+
+/// Facts used to select a document discussion's notification audience.
+#[derive(Debug, Default)]
+pub struct CommentAudience {
+ /// Explicitly mentioned users.
+ pub mentioned: Vec<String>,
+ /// Authors who have contributed to this thread.
+ pub participants: Vec<String>,
+ /// Task assignees; empty for non-task documents.
+ pub assignees: Vec<String>,
+ /// Document owners.
+ pub owners: Vec<String>,
+ /// Candidate users whose current parent view access was verified.
+ pub authorized: HashSet<String>,
+}
+
+/// Select at most one reason per authorized user in mention/reply/assignee/owner order.
+/// Channel messages use channel notification policy instead.
+pub fn comment_recipients(
+ parent: &MessageParent,
+ actor: &str,
+ is_reply: bool,
+ audience: &CommentAudience,
+) -> BTreeMap<String, CommentNotificationReason> {
+ let mut recipients = BTreeMap::new();
+ if !parent.is_discussion() {
+ return recipients;
+ }
+ let groups = [
+ (
+ &audience.mentioned,
+ CommentNotificationReason::Mention,
+ true,
+ ),
+ (
+ &audience.participants,
+ CommentNotificationReason::Reply,
+ is_reply,
+ ),
+ (
+ &audience.assignees,
+ CommentNotificationReason::Assignee,
+ matches!(parent, MessageParent::Document(_)),
+ ),
+ (&audience.owners, CommentNotificationReason::Owner, true),
+ ];
+ for (users, reason, enabled) in groups {
+ if !enabled {
+ continue;
+ }
+ for user in users {
+ if user != actor && audience.authorized.contains(user) {
+ recipients.entry(user.clone()).or_insert(reason);
+ }
+ }
+ }
+ recipients
+}
diff --git a/crates/messages/src/domain/notification/test.rs b/crates/messages/src/domain/notification/test.rs
new file mode 100644
index 0000000000..aacbea9ad8
--- /dev/null
+++ b/crates/messages/src/domain/notification/test.rs
@@ -0,0 +1,51 @@
+use super::*;
+use uuid::Uuid;
+
+fn audience() -> CommentAudience {
+ CommentAudience {
+ mentioned: vec!["actor".into(), "mentioned".into(), "revoked".into()],
+ participants: vec!["mentioned".into(), "participant".into()],
+ assignees: vec!["participant".into(), "assignee".into()],
+ owners: vec!["mentioned".into(), "owner".into()],
+ authorized: ["actor", "mentioned", "participant", "assignee", "owner"]
+ .into_iter()
+ .map(str::to_owned)
+ .collect(),
+ }
+}
+
+#[test]
+fn priority_deduplicates_and_excludes_actor_and_revoked_users() {
+ let parent = MessageParent::parse("document", "doc").unwrap();
+ let recipients = comment_recipients(&parent, "actor", true, &audience());
+ assert_eq!(recipients.len(), 4);
+ assert_eq!(recipients["mentioned"], CommentNotificationReason::Mention);
+ assert_eq!(recipients["participant"], CommentNotificationReason::Reply);
+ assert_eq!(recipients["assignee"], CommentNotificationReason::Assignee);
+ assert_eq!(recipients["owner"], CommentNotificationReason::Owner);
+ assert!(!recipients.contains_key("actor"));
+ assert!(!recipients.contains_key("revoked"));
+}
+
+#[test]
+fn roots_do_not_notify_participants() {
+ let parent = MessageParent::parse("document", "doc").unwrap();
+ let recipients = comment_recipients(
+ &parent,
+ "actor",
+ false,
+ &CommentAudience {
+ assignees: vec![],
+ ..audience()
+ },
+ );
+ assert_eq!(recipients.len(), 2);
+ assert_eq!(recipients["mentioned"], CommentNotificationReason::Mention);
+ assert_eq!(recipients["owner"], CommentNotificationReason::Owner);
+}
+
+#[test]
+fn channel_messages_do_not_generate_comment_notifications() {
+ let parent = MessageParent::Channel(Uuid::from_u128(1));
+ assert!(comment_recipients(&parent, "actor", true, &audience()).is_empty());
+}
diff --git a/crates/messages/src/domain/ports.rs b/crates/messages/src/domain/ports.rs
new file mode 100644
index 0000000000..a2d2f04250
--- /dev/null
+++ b/crates/messages/src/domain/ports.rs
@@ -0,0 +1,445 @@
+use super::models::*;
+use channel_sender::ChannelSender;
+use chrono::{DateTime, Utc};
+use serde::{Deserialize, Serialize};
+use uuid::Uuid;
+
+/// Message use-case failure.
+#[derive(Debug, thiserror::Error)]
+pub enum MessageError {
+ /// Parent, message, or thread does not exist or is deleted.
+ #[error("message or parent not found")]
+ NotFound,
+ /// Caller lacks the required capability or ownership.
+ #[error("not authorized for this message operation")]
+ Forbidden,
+ /// Invalid thread relation or anchor.
+ #[error("{0}")]
+ Invalid(&'static str),
+ /// Persistence or delivery failed.
+ #[error("message operation failed: {0}")]
+ Repository(rootcause::Report),
+}
+
+/// Cursor for a chronological parent timeline.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessageCursor {
+ /// Last root creation time.
+ pub created_at: DateTime<Utc>,
+ /// Last root UUID, used to break timestamp ties.
+ pub id: Uuid,
+}
+
+/// Direction through a parent timeline, retaining channel cursor semantics.
+#[derive(Debug, Clone, Copy, Default, Serialize, Deserialize, PartialEq, Eq)]
+#[serde(rename_all = "snake_case")]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub enum MessageDirection {
+ /// Most recent first, or older than the cursor.
+ #[default]
+ Older,
+ /// Newer than the cursor.
+ Newer,
+}
+
+/// Root selection shared by channel timelines and document discussions.
+#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessageTimelineQuery {
+ /// Stable creation-time and UUID cursor.
+ pub cursor: Option<MessageCursor>,
+ /// Which side of the cursor to fetch.
+ #[serde(default)]
+ pub direction: MessageDirection,
+ /// Center on the root containing this message.
+ pub around: Option<Uuid>,
+ /// Restrict roots to this set, for selected source threads.
+ #[serde(default)]
+ pub ids: Vec<Uuid>,
+ /// Select anchored or unanchored roots; absent includes both.
+ pub anchored: Option<bool>,
+ /// Include whole-thread tombstones when reconciling persisted document marks.
+ #[serde(default)]
+ pub include_deleted_threads: bool,
+ /// Include roots or live replies created at or after this time.
+ pub activity_after: Option<DateTime<Utc>>,
+ /// Include roots or live replies created before this time.
+ pub activity_before: Option<DateTime<Utc>>,
+ /// Page size, clamped by the application to 1..=100.
+ pub limit: Option<u16>,
+}
+
+pub use super::models::{MessageListItem, MessageThreadPreview};
+
+/// Bidirectional, bounded timeline page, ordered newest root first.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessagePage {
+ /// Root messages with bounded previews.
+ pub items: Vec<MessageListItem>,
+ /// Continue to older roots.
+ pub next_cursor: Option<MessageCursor>,
+ /// Continue to newer roots.
+ pub previous_cursor: Option<MessageCursor>,
+}
+
+/// A source channel thread that mentions the requested document.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct ReferencedThread {
+ /// Source parent used by the common message reader and mutations.
+ pub parent: MessageParent,
+ /// Source root identity; discovery does not copy its message content.
+ pub root_id: Uuid,
+ /// Source channel's current display name, returned only after access checks.
+ pub channel_name: Option<String>,
+ /// Whether this viewer currently has permission to reply in the source channel.
+ pub can_reply: bool,
+}
+
+/// Authorized source threads, deduplicated by root.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct ReferencedThreadPage {
+ /// Accessible channel discussions mentioning the document.
+ pub threads: Vec<ReferencedThread>,
+ /// Last visible root; no private thread identifiers are exposed through cursors.
+ pub next_cursor: Option<MessageCursor>,
+}
+
+/// Repository fact used to authorize a source before loading its messages.
+#[derive(Debug, Clone)]
+pub struct ReferencedThreadCandidate {
+ /// Channel that owns the source discussion.
+ pub channel_id: Uuid,
+ /// Canonical thread root.
+ pub root_id: Uuid,
+ /// Source display name.
+ pub channel_name: Option<String>,
+ /// Root's stable ordering timestamp.
+ pub created_at: DateTime<Utc>,
+}
+
+/// Authenticated create command; attribution fields are never client controlled.
+#[derive(Debug, Clone)]
+pub struct CreateMessage {
+ /// Parent with verified actor access.
+ pub parent: MessageParent,
+ /// Verified actor.
+ pub actor: ChannelSender<'static>,
+ /// User who triggered a bot message, if applicable.
+ pub triggered_by: Option<String>,
+ /// Parsed message input.
+ pub input: PostMessage,
+}
+
+/// Normalized content and reference update passed to persistence.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct EditMessage {
+ /// A bot may publish its final answer by editing a silent placeholder.
+ #[serde(skip)]
+ #[cfg_attr(feature = "schema", schema(ignore))]
+ pub notification_policy: PatchMessageNotificationPolicy,
+ /// Replacement body.
+ pub content: String,
+ /// Complete replacement mention set.
+ #[serde(default)]
+ pub mentions: Vec<SimpleMention>,
+ /// Replacement attachments; absent leaves attachments unchanged.
+ pub attachments: Option<Vec<NewAttachment>>,
+ /// Client mutation nonce.
+ pub nonce: Option<String>,
+}
+
+/// Attachment changes interpreted by the common command boundary.
+#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[serde(tag = "type", content = "value", rename_all = "snake_case")]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub enum AttachmentChange {
+ /// Keep current attachments.
+ #[default]
+ Preserve,
+ /// Replace all attachments.
+ Replace(Vec<NewAttachment>),
+ /// Remove stored attachment identities and append new references.
+ Delta {
+ /// Existing attachment UUIDs to remove.
+ remove: Vec<Uuid>,
+ /// New attachments to append.
+ add: Vec<NewAttachment>,
+ },
+}
+
+/// Partial updates share the same authorship, reference, and delivery rules as edits.
+#[derive(Debug, Clone, Default, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessagePatch {
+ /// Replacement body; absent preserves current content.
+ pub content: Option<String>,
+ /// Replacement authored mentions; absent preserves current mentions.
+ pub mentions: Option<Vec<SimpleMention>>,
+ /// Attachment change, without adapter-side message reads.
+ #[serde(default)]
+ pub attachments: AttachmentChange,
+ /// Client mutation nonce.
+ pub nonce: Option<String>,
+ /// Trusted notification behavior.
+ #[serde(skip)]
+ #[cfg_attr(feature = "schema", schema(ignore))]
+ pub notification_policy: PatchMessageNotificationPolicy,
+}
+/// A committed message or thread change sent to delivery adapters.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub struct MessageEvent {
+ /// Changed parent, used for subscriptions and cache invalidation.
+ pub parent: MessageParent,
+ /// User or bot who initiated the operation.
+ pub actor: String,
+ /// Mutation nonce for optimistic reconciliation.
+ pub nonce: Option<String>,
+ /// Persisted change.
+ pub change: MessageChange,
+}
+
+/// Kind of message change; notification policy only runs for posted messages.
+#[derive(Debug, Clone, Serialize, Deserialize)]
+#[serde(tag = "type", rename_all = "snake_case")]
+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]
+pub enum MessageChange {
+ /// A message was posted.
+ Posted {
+ /// Trusted notification policy carried with the committed change.
+ notification_policy: PostMessageNotificationPolicy,
+ /// Persisted message.
+ message: Message,
+ /// Mentions included in this post.
+ mentions: Vec<SimpleMention>,
+ },
+ /// Message content and references were edited.
+ Edited {
+ /// Trusted notification policy for the edited content.
+ notification_policy: PatchMessageNotificationPolicy,
+ /// Persisted replacement message.
+ message: Message,
+ /// Complete replacement mention set.
+ mentions: Vec<SimpleMention>,
+ /// Attachment identities before the edit, for channel change delivery.
+ previous_attachments: Vec<MessageAttachment>,
+ },
+ /// One message was tombstoned; its thread may remain live.
+ MessageDeleted {
+ /// Persisted tombstone.
+ message: Message,
+ },
+ /// The authenticated actor added or removed a reaction.
+ ReactionChanged {
+ /// Persisted message.
+ message: Message,
+ },
+ /// Thread resolution, placement, or deletion changed.
+ ThreadUpdated {
+ /// Persisted thread state.
+ state: ThreadState,
+ },
+ /// Transient typing indication.
+ Typing {
+ /// Root being replied to, or no root for the parent composer.
+ thread_id: Option<Uuid>,
+ /// Whether the user is currently typing.
+ active: bool,
+ },
+}
+
+/// Persistence boundary. Implementations enforce parent/thread integrity atomically.
+pub trait MessageRepository: Send + Sync + 'static {
+ /// Discover source identities without treating a mention as a grant of access.
+ fn referenced_threads(
+ &self,
+ document_id: &str,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> impl Future<Output = Result<Vec<ReferencedThreadCandidate>, MessageError>> + Send;
+ /// Whether the parent still exists and permits messaging lifecycle-wise.
+ fn parent_exists(
+ &self,
+ parent: &MessageParent,
+ ) -> impl Future<Output = Result<bool, MessageError>> + Send;
+ /// Read a message belonging to the specified parent, including root tombstones.
+ fn get(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ ) -> impl Future<Output = Result<Option<Message>, MessageError>> + Send;
+ /// Read thread state; returns deleted state so callers can reject writes.
+ fn thread(
+ &self,
+ parent: &MessageParent,
+ root_id: Uuid,
+ ) -> impl Future<Output = Result<Option<ThreadState>, MessageError>> + Send;
+ /// Ordered live replies for a root within its parent.
+ fn replies(
+ &self,
+ parent: &MessageParent,
+ root_id: Uuid,
+ ) -> impl Future<Output = Result<Vec<Message>, MessageError>> + Send;
+ /// Live messages before a prompt, in chronological order. Document context
+ /// stays within the prompt's thread; channel context includes the timeline.
+ fn preceding(
+ &self,
+ parent: &MessageParent,
+ message_id: Uuid,
+ limit: u16,
+ ) -> impl Future<Output = Result<Vec<Message>, MessageError>> + Send;
+ /// Read a bounded root page with reply previews under indexable parent predicates.
+ fn timeline(
+ &self,
+ parent: &MessageParent,
+ query: MessageTimelineQuery,
+ ) -> impl Future<Output = Result<MessagePage, MessageError>> + Send;
+
+ /// Atomically create a message, its initial references, and any new thread state.
+ fn create(
+ &self,
+ command: CreateMessage,
+ ) -> impl Future<Output = Result<Message, MessageError>> + Send;
+ /// Replace content and references atomically.
+ fn edit(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ command: EditMessage,
+ ) -> impl Future<Output = Result<Message, MessageError>> + Send;
+ /// Tombstone a single message, preserving its replies and anchor.
+ fn delete(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ ) -> impl Future<Output = Result<Message, MessageError>> + Send;
+ /// Add or remove the caller's reaction and return the current message.
+ fn react(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ user_id: &str,
+ emoji: &str,
+ add: bool,
+ ) -> impl Future<Output = Result<Message, MessageError>> + Send;
+ /// Apply authorized thread resolution or Markdown anchor detachment.
+ fn patch_thread(
+ &self,
+ parent: &MessageParent,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ ) -> impl Future<Output = Result<ThreadState, MessageError>> + Send;
+ /// Delete a discussion and clean up comment-only anchors, preserving standalone highlights.
+ fn delete_thread(
+ &self,
+ parent: &MessageParent,
+ root_id: Uuid,
+ ) -> impl Future<Output = Result<ThreadState, MessageError>> + Send;
+ /// Resolve an immutable old comment or thread id within its authorized parent.
+ fn resolve_legacy(
+ &self,
+ parent: &MessageParent,
+ id: i64,
+ is_thread: bool,
+ ) -> impl Future<Output = Result<Option<Uuid>, MessageError>> + Send;
+}
+
+/// Publish committed changes, deriving delivery policy from the persisted parent.
+pub trait MessageEventPublisher: Send + Sync + 'static {
+ /// Deliver a change through realtime and contextual notification adapters.
+ fn publish(
+ &self,
+ event: MessageEvent,
+ ) -> impl Future<Output = Result<(), rootcause::Report>> + Send;
+}
+
+/// Resolves access to referenced entities before a message transaction begins.
+/// Implementations must never grant access as a side effect of this check.
+pub trait MessageReferenceAccess: Send + Sync + 'static {
+ /// Whether this principal currently has write access to a referenced conversation.
+ fn can_write<'a>(
+ &'a self,
+ _auth: &'a entity_access::domain::models::EntityAccessAuth,
+ _entity_type: entity_access::domain::models::EntityType,
+ _entity_id: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<bool, MessageError>> + Send + 'a>> {
+ Box::pin(async { Ok(false) })
+ }
+ /// Whether this principal can view the referenced entity now.
+ fn can_view<'a>(
+ &'a self,
+ auth: &'a entity_access::domain::models::EntityAccessAuth,
+ entity_type: entity_access::domain::models::EntityType,
+ entity_id: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<bool, MessageError>> + Send + 'a>>;
+}
+
+/// Safe default for compositions that do not provide an entity access adapter.
+pub struct DenyMessageReferences;
+impl MessageReferenceAccess for DenyMessageReferences {
+ fn can_view<'a>(
+ &'a self,
+ _: &'a entity_access::domain::models::EntityAccessAuth,
+ _: entity_access::domain::models::EntityType,
+ _: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<bool, MessageError>> + Send + 'a>> {
+ Box::pin(async { Ok(false) })
+ }
+}
+
+/// Parses the tracked references in raw bot-authored Markdown.
+pub trait MessageMentionExtractor: Send + Sync + 'static {
+ /// Extract canonical entity and user/bot mentions from a message body.
+ fn extract<'a>(
+ &'a self,
+ content: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<Vec<SimpleMention>, MessageError>> + Send + 'a>>;
+}
+/// Message compositions that do not create raw bot Markdown.
+pub struct NoMessageMentionExtractor;
+impl MessageMentionExtractor for NoMessageMentionExtractor {
+ fn extract<'a>(
+ &'a self,
+ _: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<Vec<SimpleMention>, MessageError>> + Send + 'a>>
+ {
+ Box::pin(async { Ok(vec![]) })
+ }
+}
+
+/// Delivery disabled explicitly for tests and isolated callers.
+#[derive(Clone, Copy)]
+pub struct NoMessageEventPublisher;
+impl MessageEventPublisher for NoMessageEventPublisher {
+ async fn publish(&self, _event: MessageEvent) -> Result<(), rootcause::Report> {
+ Ok(())
+ }
+}
+
+/// Current human membership used to resolve authored channel group mentions.
+#[async_trait::async_trait]
+pub trait MessageGroupRecipients: Send + Sync + 'static {
+ /// Read active human members; callers have already verified the posting capability.
+ async fn channel_members(
+ &self,
+ channel: Uuid,
+ ) -> Result<Vec<macro_user_id::user_id::MacroUserIdStr<'static>>, MessageError>;
+}
+/// Reject group mentions in contexts that do not supply channel membership.
+pub struct NoMessageGroups;
+#[async_trait::async_trait]
+impl MessageGroupRecipients for NoMessageGroups {
+ async fn channel_members(
+ &self,
+ _: Uuid,
+ ) -> Result<Vec<macro_user_id::user_id::MacroUserIdStr<'static>>, MessageError> {
+ Err(MessageError::Invalid(
+ "channel group mentions are unavailable",
+ ))
+ }
+}
diff --git a/crates/messages/src/domain/service.rs b/crates/messages/src/domain/service.rs
new file mode 100644
index 0000000000..b7f3166806
--- /dev/null
+++ b/crates/messages/src/domain/service.rs
@@ -0,0 +1,792 @@
+use super::{mentions::MessageReferenceKind, models::*, ports::*};
+use channel_sender::ChannelSender;
+use entity_access::domain::models::{
+ AdminParticipantRole, CommentAccessLevel, EditAccessLevel, EntityAccessAuth,
+ EntityAccessReceipt, EntityPermission, EntityType, MemberParticipantRole, OwnerAccessLevel,
+ RequiredPermission, ViewAccessLevel, ViewOnly,
+};
+use uuid::Uuid;
+
+#[cfg(test)]
+mod test;
+
+/// Minimum view permission for any supported message parent.
+#[derive(Debug, Clone, Copy)]
+pub struct MessageView;
+
+impl RequiredPermission for MessageView {
+ fn is_satisfied_by(permission: &EntityPermission) -> bool {
+ permission.satisfies::<ViewAccessLevel>() || permission.satisfies::<ViewOnly>()
+ }
+}
+
+/// Minimum posting permission: channel member or document commenter.
+#[derive(Debug, Clone, Copy)]
+pub struct MessageWrite;
+
+impl RequiredPermission for MessageWrite {
+ fn is_satisfied_by(permission: &EntityPermission) -> bool {
+ permission.satisfies::<CommentAccessLevel>()
+ || permission.satisfies::<MemberParticipantRole>()
+ }
+}
+
+/// Shared message use cases. Parent management and delivery are separate capabilities.
+#[derive(Clone)]
+pub struct MessageService<R, E> {
+ repo: R,
+ events: E,
+ references: std::sync::Arc<dyn MessageReferenceAccess>,
+ mentions: std::sync::Arc<dyn MessageMentionExtractor>,
+ groups: std::sync::Arc<dyn MessageGroupRecipients>,
+}
+
+impl<R: MessageRepository, E: MessageEventPublisher> MessageService<R, E> {
+ /// Compose a service from persistence and delivery ports.
+ pub fn new(repo: R, events: E) -> Self {
+ Self {
+ repo,
+ events,
+ references: std::sync::Arc::new(DenyMessageReferences),
+ mentions: std::sync::Arc::new(NoMessageMentionExtractor),
+ groups: std::sync::Arc::new(NoMessageGroups),
+ }
+ }
+
+ /// Supply current channel membership for authored group mentions.
+ pub fn with_group_recipients(mut self, groups: impl MessageGroupRecipients) -> Self {
+ self.groups = std::sync::Arc::new(groups);
+ self
+ }
+
+ /// Supply the reference access boundary for attachments and entity mentions.
+ pub fn with_references(mut self, references: impl MessageReferenceAccess) -> Self {
+ self.references = std::sync::Arc::new(references);
+ self
+ }
+
+ /// Parse raw bot Markdown through the same reference boundary as editor messages.
+ pub fn with_mention_extractor(mut self, mentions: impl MessageMentionExtractor) -> Self {
+ self.mentions = std::sync::Arc::new(mentions);
+ self
+ }
+
+ /// Join accessible source discussions without copying or reparenting their messages.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn referenced_threads(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ mut cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<ReferencedThreadPage, MessageError> {
+ let document = parent_from_receipt(&access)?;
+ if !matches!(document, MessageParent::Document(_)) {
+ return Err(MessageError::Invalid(
+ "channel references require a document",
+ ));
+ }
+ self.ensure_parent(&document).await?;
+ let limit = usize::from(limit.clamp(1, 100));
+ let mut threads = Vec::new();
+ let mut visible_cursor = None;
+ loop {
+ let candidates = self
+ .repo
+ .referenced_threads(&document.entity_id(), cursor.clone(), 100)
+ .await?;
+ let exhausted = candidates.len() < 100;
+ for candidate in candidates {
+ cursor = Some(MessageCursor {
+ created_at: candidate.created_at,
+ id: candidate.root_id,
+ });
+ let parent = MessageParent::Channel(candidate.channel_id);
+ let id = parent.entity_id();
+ if !self
+ .references
+ .can_view(access.auth(), EntityType::Channel, &id)
+ .await?
+ {
+ continue;
+ }
+ if threads.len() == limit {
+ return Ok(ReferencedThreadPage {
+ threads,
+ next_cursor: visible_cursor,
+ });
+ }
+ let can_reply = self
+ .references
+ .can_write(access.auth(), EntityType::Channel, &id)
+ .await?;
+ threads.push(ReferencedThread {
+ parent,
+ root_id: candidate.root_id,
+ channel_name: candidate.channel_name,
+ can_reply,
+ });
+ visible_cursor = cursor.clone();
+ }
+ if exhausted {
+ return Ok(ReferencedThreadPage {
+ threads,
+ next_cursor: None,
+ });
+ }
+ }
+ }
+
+ /// Read the same bounded message timeline for either parent.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn timeline(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ mut query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ if query
+ .activity_after
+ .zip(query.activity_before)
+ .is_some_and(|(from, to)| from >= to)
+ {
+ return Err(MessageError::Invalid("activity start must precede end"));
+ }
+ if query.around.is_some()
+ && (!query.ids.is_empty()
+ || query.anchored.is_some()
+ || query.activity_after.is_some()
+ || query.activity_before.is_some())
+ {
+ return Err(MessageError::Invalid(
+ "centered windows cannot have filters",
+ ));
+ }
+ let parent = parent_from_receipt(&access)?;
+ self.ensure_parent(&parent).await?;
+ query.limit = Some(query.limit.unwrap_or(50).clamp(1, 100));
+ if query.ids.len() > 100 || (query.around.is_some() && query.cursor.is_some()) {
+ return Err(MessageError::Invalid("invalid timeline selection"));
+ }
+ self.repo.timeline(&parent, query).await
+ }
+
+ /// Read a message and its canonical root for navigation.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn get(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ self.ensure_parent(&parent).await?;
+ self.active_message(&parent, id, true).await
+ }
+
+ /// Open a specific discussion, including roots outside the current timeline page.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn get_thread(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ root_id: Uuid,
+ ) -> Result<MessageThread, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ self.ensure_parent(&parent).await?;
+ let state = self.active_thread(&parent, root_id).await?;
+ let root = self.active_message(&parent, root_id, true).await?;
+ let replies = self.repo.replies(&parent, root_id).await?;
+ Ok(MessageThread {
+ state,
+ root,
+ replies,
+ })
+ }
+
+ /// Load authorized history preceding a live prompt in this conversation.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn preceding(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ self.ensure_parent(&parent).await?;
+ self.active_message(&parent, id, false).await?;
+ self.repo.preceding(&parent, id, limit.clamp(1, 100)).await
+ }
+
+ /// Publish transient typing for an existing discussion.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn typing(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Option<Uuid>,
+ active: bool,
+ nonce: Option<String>,
+ ) -> Result<(), MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ self.ensure_parent(&parent).await?;
+ if let Some(root_id) = root_id {
+ self.active_thread(&parent, root_id).await?;
+ }
+ self.publish(MessageEvent {
+ parent,
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change: MessageChange::Typing {
+ thread_id: root_id,
+ active,
+ },
+ })
+ .await;
+ Ok(())
+ }
+
+ /// Post a root or reply with shared thread and anchor validation.
+ #[tracing::instrument(err, skip(self, access, input))]
+ pub async fn post(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ mut input: PostMessage,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ self.ensure_parent(&parent).await?;
+ if actor.as_bot().is_some() && input.mentions.is_empty() {
+ input.mentions = self.mentions.extract(&input.content).await?;
+ }
+ validate_post(&parent, &input)?;
+ self.validate_references(&access, &input.mentions, &input.attachments)
+ .await?;
+ if let Some(root) = input.thread_id {
+ self.active_thread(&parent, root).await?;
+ }
+ let notification_policy = input.notification_policy;
+ let nonce = input.nonce.clone();
+ let mentions = self.resolve_mentions(&parent, &input.mentions).await?;
+ let message = self
+ .repo
+ .create(CreateMessage {
+ parent: parent.clone(),
+ actor: actor.clone(),
+ triggered_by: access
+ .acting_user_id()
+ .filter(|_| {
+ actor.as_bot().is_some()
+ && input.attribution == MessageAttribution::ActingUser
+ })
+ .map(ToString::to_string),
+ input,
+ })
+ .await?;
+ self.publish(MessageEvent {
+ parent,
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change: MessageChange::Posted {
+ notification_policy,
+ message: message.clone(),
+ mentions,
+ },
+ })
+ .await;
+ Ok(message)
+ }
+
+ /// Apply partial updates without requiring callers to reconstruct a message.
+ #[tracing::instrument(err, skip(self, access, patch))]
+ pub async fn patch(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ patch: MessagePatch,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ self.ensure_parent(&parent).await?;
+ let current = self.active_message(&parent, id, false).await?;
+ if current.sender_id != actor
+ && !(matches!(parent, MessageParent::Channel(_))
+ && can_moderate(access.entity_permission()))
+ {
+ return Err(MessageError::Forbidden);
+ }
+ let attachments = match patch.attachments {
+ AttachmentChange::Preserve => None,
+ AttachmentChange::Replace(attachments) => Some(attachments),
+ AttachmentChange::Delta { remove, add } => {
+ let mut retained: Vec<_> = current
+ .attachments
+ .iter()
+ .filter(|attachment| !remove.contains(&attachment.id))
+ .map(|attachment| NewAttachment {
+ entity_type: attachment.entity_type.clone(),
+ entity_id: attachment.entity_id.clone(),
+ width: attachment.width,
+ height: attachment.height,
+ })
+ .collect();
+ retained.extend(add);
+ Some(retained)
+ }
+ };
+ let mentions = patch.mentions.unwrap_or_else(|| {
+ if patch.content.is_some() && actor.as_bot().is_some() {
+ Vec::new()
+ } else {
+ current.mentions.clone()
+ }
+ });
+ let mut input = EditMessage {
+ content: patch.content.unwrap_or_else(|| current.content.clone()),
+ mentions,
+ attachments,
+ nonce: patch.nonce,
+ notification_policy: patch.notification_policy,
+ };
+ if actor.as_bot().is_some() && input.mentions.is_empty() {
+ input.mentions = self.mentions.extract(&input.content).await?;
+ }
+ let has_attachments = input
+ .attachments
+ .as_ref()
+ .map_or(!current.attachments.is_empty(), |a| !a.is_empty());
+ if input.content.trim().is_empty() && !has_attachments {
+ return Err(MessageError::Invalid(
+ "a message needs content or an attachment",
+ ));
+ }
+ self.validate_references(
+ &access,
+ &input.mentions,
+ input.attachments.as_deref().unwrap_or_default(),
+ )
+ .await?;
+ let notification_policy = input.notification_policy;
+ let nonce = input.nonce.clone();
+ let mentions = self.resolve_mentions(&parent, &input.mentions).await?;
+ let message = self.repo.edit(&parent, id, input).await?;
+ self.publish(MessageEvent {
+ parent,
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change: MessageChange::Edited {
+ notification_policy,
+ message: message.clone(),
+ mentions,
+ previous_attachments: current.attachments,
+ },
+ })
+ .await;
+ Ok(message)
+ }
+
+ /// Delete one message. Root deletion does not delete its discussion.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn delete(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ self.ensure_parent(&parent).await?;
+ let current = self.active_message(&parent, id, false).await?;
+ let channel_bot =
+ matches!(parent, MessageParent::Channel(_)) && current.sender_id.as_bot().is_some();
+ if current.sender_id != actor && !can_moderate(access.entity_permission()) && !channel_bot {
+ return Err(MessageError::Forbidden);
+ }
+ let message = self.repo.delete(&parent, id).await?;
+ self.publish_message(
+ actor,
+ nonce,
+ &message,
+ MessageChange::MessageDeleted {
+ message: message.clone(),
+ },
+ )
+ .await;
+ Ok(message)
+ }
+
+ /// Add or remove a reaction owned by the authenticated caller.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn react(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ id: Uuid,
+ emoji: String,
+ add: bool,
+ nonce: Option<String>,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ self.ensure_parent(&parent).await?;
+ self.active_message(&parent, id, false).await?;
+ if emoji.is_empty() || emoji.chars().count() > 32 || emoji.chars().any(char::is_control) {
+ return Err(MessageError::Invalid("invalid reaction"));
+ }
+ let message = self
+ .repo
+ .react(&parent, id, actor.as_ref(), &emoji, add)
+ .await?;
+ self.publish_message(
+ actor,
+ nonce,
+ &message,
+ MessageChange::ReactionChanged {
+ message: message.clone(),
+ },
+ )
+ .await;
+ Ok(message)
+ }
+
+ /// Update a discussion; detaching document text requires edit access.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn patch_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ if !parent.is_discussion() {
+ return Err(MessageError::Invalid(
+ "only entity discussions support thread updates",
+ ));
+ }
+ self.ensure_parent(&parent).await?;
+ let thread = self.active_thread(&parent, root_id).await?;
+ if patch.resolved.is_none() && !patch.detach_anchor {
+ return Err(MessageError::Invalid("thread update must change a field"));
+ }
+ if patch.detach_anchor {
+ if !access.entity_permission().satisfies::<EditAccessLevel>() {
+ return Err(MessageError::Forbidden);
+ }
+ if !matches!(thread.anchor, None | Some(ThreadAnchor::Markdown { .. })) {
+ return Err(MessageError::Invalid(
+ "only Markdown text anchors can be detached",
+ ));
+ }
+ }
+ let nonce = patch.nonce.clone();
+ let state = self.repo.patch_thread(&parent, root_id, patch).await?;
+ self.publish(MessageEvent {
+ parent,
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change: MessageChange::ThreadUpdated {
+ state: state.clone(),
+ },
+ })
+ .await;
+ Ok(state)
+ }
+
+ /// Explicitly delete a discussion, including all its replies.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn delete_thread(
+ &self,
+ access: EntityAccessReceipt<MessageWrite>,
+ root_id: Uuid,
+ nonce: Option<String>,
+ ) -> Result<ThreadState, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ let actor = actor_from_receipt(&access, &parent)?;
+ if !parent.is_discussion() {
+ return Err(MessageError::Invalid(
+ "only entity discussions support whole-thread deletion",
+ ));
+ }
+ self.ensure_parent(&parent).await?;
+ let thread = self.active_thread(&parent, root_id).await?;
+ if thread.user_id != actor.as_ref() && !can_moderate(access.entity_permission()) {
+ return Err(MessageError::Forbidden);
+ }
+ let state = self.repo.delete_thread(&parent, root_id).await?;
+ self.publish(MessageEvent {
+ parent,
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change: MessageChange::ThreadUpdated {
+ state: state.clone(),
+ },
+ })
+ .await;
+ Ok(state)
+ }
+
+ /// Resolve an old link through the sole message store under current parent access.
+ #[tracing::instrument(err, skip(self, access))]
+ pub async fn resolve_legacy(
+ &self,
+ access: EntityAccessReceipt<MessageView>,
+ id: i64,
+ is_thread: bool,
+ ) -> Result<Message, MessageError> {
+ let parent = parent_from_receipt(&access)?;
+ self.ensure_parent(&parent).await?;
+ let id = self
+ .repo
+ .resolve_legacy(&parent, id, is_thread)
+ .await?
+ .ok_or(MessageError::NotFound)?;
+ self.active_message(&parent, id, true).await
+ }
+
+ async fn resolve_mentions(
+ &self,
+ parent: &MessageParent,
+ authored: &[SimpleMention],
+ ) -> Result<Vec<SimpleMention>, MessageError> {
+ let mut seen = std::collections::HashSet::new();
+ let mut resolved = Vec::new();
+ let mut group_members = None;
+ for mention in authored {
+ if MessageReferenceKind::parse(&mention.entity_type)
+ == Some(MessageReferenceKind::Group)
+ {
+ let MessageParent::Channel(channel) = parent else {
+ return Err(MessageError::Invalid("group mentions require a channel"));
+ };
+ if group_members.is_none() {
+ group_members = Some(self.groups.channel_members(*channel).await?);
+ }
+ for user in group_members.as_ref().unwrap() {
+ let user = SimpleMention::user(user);
+ if seen.insert((user.entity_type.clone(), user.entity_id.clone())) {
+ resolved.push(user);
+ }
+ }
+ } else if seen.insert((mention.entity_type.clone(), mention.entity_id.clone())) {
+ resolved.push(mention.clone());
+ }
+ }
+ Ok(resolved)
+ }
+
+ async fn validate_references(
+ &self,
+ access: &EntityAccessReceipt<MessageWrite>,
+ mentions: &[SimpleMention],
+ attachments: &[NewAttachment],
+ ) -> Result<(), MessageError> {
+ if attachments.len() > 10 || mentions.len() > 100 {
+ return Err(MessageError::Invalid("too many message references"));
+ }
+ for attachment in attachments {
+ if attachment.width.is_some_and(|n| n <= 0) || attachment.height.is_some_and(|n| n <= 0)
+ {
+ return Err(MessageError::Invalid("invalid attachment dimensions"));
+ }
+ }
+ let mut checked = std::collections::HashSet::new();
+ for (kind, id, mention) in mentions
+ .iter()
+ .map(|m| (m.entity_type.as_str(), m.entity_id.as_str(), true))
+ .chain(
+ attachments
+ .iter()
+ .map(|a| (a.entity_type.as_str(), a.entity_id.as_str(), false)),
+ )
+ {
+ if !checked.insert((kind, id, mention)) {
+ continue;
+ }
+ // Editors also emit display-only chips (dates, contacts, colors) as
+ // mentions. They name nothing that can be authorized, so they are
+ // stored as written, exactly as the channel writer did before.
+ let Some(kind) = MessageReferenceKind::parse(kind) else {
+ continue;
+ };
+ let entity_type = match kind {
+ MessageReferenceKind::User if mention => {
+ // Macro AI is surfaced through the user mention UI. Other bots
+ // use the explicit bot tag, which the trigger service authorizes.
+ let sender = ChannelSender::try_from(id)
+ .map_err(|_| MessageError::Invalid("invalid mentioned user"))?;
+ if sender
+ .as_bot()
+ .is_some_and(|bot| bot.bot_id() != bot_id::MACRO_AI_BOT_ID)
+ {
+ return Err(MessageError::Invalid("bot mentions require the bot tag"));
+ }
+ continue;
+ }
+ MessageReferenceKind::Bot if mention => {
+ bot_id::BotIdStr::try_from(id)
+ .map_err(|_| MessageError::Invalid("invalid mentioned bot"))?;
+ continue;
+ }
+ // Static media is already readable by any authenticated user who
+ // has its UUID, matching static_file_service's read policy.
+ MessageReferenceKind::StaticImage | MessageReferenceKind::StaticVideo
+ if !mention =>
+ {
+ Uuid::parse_str(id)
+ .map_err(|_| MessageError::Invalid("invalid media identifier"))?;
+ continue;
+ }
+ MessageReferenceKind::Group
+ if mention
+ && id == "here"
+ && access.entity().entity_type == EntityType::Channel =>
+ {
+ continue;
+ }
+ MessageReferenceKind::Automation => continue,
+ MessageReferenceKind::Document => EntityType::Document,
+ MessageReferenceKind::Channel => EntityType::Channel,
+ MessageReferenceKind::EmailThread => EntityType::EmailThread,
+ MessageReferenceKind::Call => EntityType::Call,
+ MessageReferenceKind::CalendarEvent => EntityType::CalendarEvent,
+ MessageReferenceKind::Chat => EntityType::Chat,
+ MessageReferenceKind::AgentSession => EntityType::AgentSession,
+ MessageReferenceKind::Project => EntityType::Project,
+ MessageReferenceKind::CrmCompany => EntityType::CrmCompany,
+ MessageReferenceKind::CrmContact => EntityType::CrmContact,
+ _ => return Err(MessageError::Invalid("unsupported message reference")),
+ };
+ if !self
+ .references
+ .can_view(access.auth(), entity_type, id)
+ .await?
+ {
+ return Err(MessageError::Forbidden);
+ }
+ }
+ Ok(())
+ }
+
+ async fn ensure_parent(&self, parent: &MessageParent) -> Result<(), MessageError> {
+ if !self.repo.parent_exists(parent).await? {
+ return Err(MessageError::NotFound);
+ }
+ Ok(())
+ }
+
+ async fn active_thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<ThreadState, MessageError> {
+ let thread = self
+ .repo
+ .thread(parent, root)
+ .await?
+ .ok_or(MessageError::NotFound)?;
+ if thread.deleted_at.is_some() {
+ return Err(MessageError::NotFound);
+ }
+ Ok(thread)
+ }
+
+ async fn active_message(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ tombstone: bool,
+ ) -> Result<Message, MessageError> {
+ let message = self
+ .repo
+ .get(parent, id)
+ .await?
+ .ok_or(MessageError::NotFound)?;
+ if message.parent != *parent || (!tombstone && message.deleted_at.is_some()) {
+ return Err(MessageError::NotFound);
+ }
+ self.active_thread(parent, message.root_id()).await?;
+ Ok(message)
+ }
+
+ async fn publish_message(
+ &self,
+ actor: ChannelSender<'static>,
+ nonce: Option<String>,
+ message: &Message,
+ change: MessageChange,
+ ) {
+ self.publish(MessageEvent {
+ parent: message.parent.clone(),
+ actor: actor.as_ref().to_owned(),
+ nonce,
+ change,
+ })
+ .await;
+ }
+
+ async fn publish(&self, event: MessageEvent) {
+ // The transaction has committed. Reporting failure to the caller would encourage
+ // duplicate posts; reconnect/refetch also reconciles a missed transient update.
+ let _ = self.events.publish(event).await.inspect_err(|e| {
+ tracing::error!(error=?e, "failed to deliver committed message event");
+ });
+ }
+}
+
+fn can_moderate(permission: &EntityPermission) -> bool {
+ permission.satisfies::<OwnerAccessLevel>() || permission.satisfies::<AdminParticipantRole>()
+}
+
+fn parent_from_receipt<P: RequiredPermission>(
+ access: &EntityAccessReceipt<P>,
+) -> Result<MessageParent, MessageError> {
+ let entity = access.entity();
+ let kind = match entity.entity_type {
+ EntityType::Channel => "channel",
+ EntityType::Document => "document",
+ _ => return Err(MessageError::Forbidden),
+ };
+ MessageParent::parse(kind, &entity.entity_id)
+ .map_err(|_| MessageError::Invalid("invalid message parent"))
+}
+
+fn actor_from_receipt<P: RequiredPermission>(
+ access: &EntityAccessReceipt<P>,
+ _parent: &MessageParent,
+) -> Result<ChannelSender<'static>, MessageError> {
+ let id = match access.auth() {
+ EntityAccessAuth::Authenticated(user) => user.as_ref(),
+ EntityAccessAuth::Bot(bot) => bot.bot_id_str().as_ref(),
+ _ => return Err(MessageError::Forbidden),
+ };
+ ChannelSender::try_from(id.to_owned()).map_err(|_| MessageError::Forbidden)
+}
+
+fn validate_post(parent: &MessageParent, input: &PostMessage) -> Result<(), MessageError> {
+ if input.content.trim().is_empty() && input.attachments.is_empty() {
+ return Err(MessageError::Invalid(
+ "a message needs content or an attachment",
+ ));
+ }
+ if input.anchor.is_some()
+ && (input.thread_id.is_some() || !matches!(parent, MessageParent::Document(_)))
+ {
+ return Err(MessageError::Invalid(
+ "only root document messages may have anchors",
+ ));
+ }
+ if let Some(NewThreadAnchor::PdfPlaceable {
+ page,
+ x_pct,
+ y_pct,
+ width_pct,
+ height_pct,
+ ..
+ }) = input.anchor
+ && (page < 0
+ || ![x_pct, y_pct, width_pct, height_pct]
+ .iter()
+ .all(|x| x.is_finite())
+ || width_pct <= 0.0
+ || height_pct <= 0.0)
+ {
+ return Err(MessageError::Invalid("invalid PDF comment geometry"));
+ }
+ Ok(())
+}
diff --git a/crates/messages/src/domain/service/test.rs b/crates/messages/src/domain/service/test.rs
new file mode 100644
index 0000000000..49562539e3
--- /dev/null
+++ b/crates/messages/src/domain/service/test.rs
@@ -0,0 +1,1323 @@
+use super::*;
+use chrono::Utc;
+use entity_access::domain::models::{AccessLevel, EntityAccessAuth};
+use std::sync::{Arc, Mutex};
+
+#[derive(Clone)]
+struct Repo {
+ message: Message,
+ state: ThreadState,
+ deletes: Arc<Mutex<Vec<Uuid>>>,
+ creates: Arc<Mutex<Vec<CreateMessage>>>,
+ edits: Arc<Mutex<Vec<EditMessage>>>,
+ references: Vec<ReferencedThreadCandidate>,
+}
+
+impl MessageRepository for Repo {
+ async fn referenced_threads(
+ &self,
+ _: &str,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<Vec<ReferencedThreadCandidate>, MessageError> {
+ Ok(self
+ .references
+ .iter()
+ .filter(|r| {
+ cursor
+ .as_ref()
+ .is_none_or(|c| (r.created_at, r.root_id) > (c.created_at, c.id))
+ })
+ .take(usize::from(limit))
+ .cloned()
+ .collect())
+ }
+ async fn preceding(
+ &self,
+ _: &MessageParent,
+ _: Uuid,
+ _: u16,
+ ) -> Result<Vec<Message>, MessageError> {
+ unimplemented!()
+ }
+ async fn replies(&self, _: &MessageParent, _: Uuid) -> Result<Vec<Message>, MessageError> {
+ Ok(vec![])
+ }
+ async fn parent_exists(&self, _: &MessageParent) -> Result<bool, MessageError> {
+ Ok(true)
+ }
+ async fn get(&self, parent: &MessageParent, id: Uuid) -> Result<Option<Message>, MessageError> {
+ Ok((self.message.parent == *parent && self.message.id == id).then(|| self.message.clone()))
+ }
+ async fn thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<Option<ThreadState>, MessageError> {
+ Ok(
+ (self.message.parent == *parent && self.state.root_id == root)
+ .then(|| self.state.clone()),
+ )
+ }
+ async fn timeline(
+ &self,
+ parent: &MessageParent,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ let included = self.message.parent == *parent
+ && (query.ids.is_empty() || query.ids.contains(&self.message.id));
+ Ok(MessagePage {
+ items: if included {
+ vec![MessageListItem {
+ message: self.message.clone(),
+ state: self.state.clone(),
+ thread: MessageThreadPreview {
+ reply_count: 0,
+ latest_reply_at: None,
+ preview: vec![],
+ },
+ }]
+ } else {
+ vec![]
+ },
+ next_cursor: None,
+ previous_cursor: None,
+ })
+ }
+ async fn create(&self, command: CreateMessage) -> Result<Message, MessageError> {
+ let mut message = self.message.clone();
+ message.parent = command.parent.clone();
+ message.sender_id = command.actor.clone();
+ message.content = command.input.content.clone();
+ message.mentions = command.input.mentions.clone();
+ message.triggered_by = command.triggered_by.clone();
+ message.thread_id = command.input.thread_id;
+ self.creates.lock().unwrap().push(command);
+ Ok(message)
+ }
+ async fn edit(
+ &self,
+ _: &MessageParent,
+ _: Uuid,
+ command: EditMessage,
+ ) -> Result<Message, MessageError> {
+ let mut message = self.message.clone();
+ message.content = command.content.clone();
+ message.mentions = command.mentions.clone();
+ self.edits.lock().unwrap().push(command);
+ Ok(message)
+ }
+ async fn delete(&self, _: &MessageParent, id: Uuid) -> Result<Message, MessageError> {
+ self.deletes.lock().unwrap().push(id);
+ let mut message = self.message.clone();
+ message.deleted_at = Some(Utc::now());
+ message.content.clear();
+ Ok(message)
+ }
+ async fn react(
+ &self,
+ _: &MessageParent,
+ _: Uuid,
+ _: &str,
+ _: &str,
+ _: bool,
+ ) -> Result<Message, MessageError> {
+ unimplemented!()
+ }
+ async fn patch_thread(
+ &self,
+ _: &MessageParent,
+ _: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ let mut state = self.state.clone();
+ if let Some(resolved) = patch.resolved {
+ state.resolved = resolved;
+ }
+ if patch.detach_anchor {
+ state.anchor = None;
+ }
+ Ok(state)
+ }
+ async fn delete_thread(&self, _: &MessageParent, _: Uuid) -> Result<ThreadState, MessageError> {
+ panic!("single-message deletion must never delete the thread")
+ }
+ async fn resolve_legacy(
+ &self,
+ _: &MessageParent,
+ _: i64,
+ _: bool,
+ ) -> Result<Option<Uuid>, MessageError> {
+ unimplemented!()
+ }
+}
+
+#[derive(Clone, Default)]
+struct Events(Arc<Mutex<Vec<MessageEvent>>>);
+impl MessageEventPublisher for Events {
+ async fn publish(&self, event: MessageEvent) -> Result<(), rootcause::Report> {
+ self.0.lock().unwrap().push(event);
+ Ok(())
+ }
+}
+
+fn fixture() -> Repo {
+ let id = Uuid::from_u128(1);
+ let user = "macro|[email protected]";
+ Repo {
+ message: Message {
+ id,
+ parent: MessageParent::parse("document", "doc").unwrap(),
+ thread_id: None,
+ sender_id: ChannelSender::try_from(user.to_owned()).unwrap(),
+ bot_profile: None,
+ mentions: vec![],
+ imported_author: Some(ImportedAuthor {
+ name: "External PDF author".into(),
+ }),
+ triggered_by: None,
+ content: "root".into(),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments: vec![],
+ reactions: vec![],
+ },
+ state: ThreadState {
+ root_id: id,
+ user_id: user.into(),
+ resolved: false,
+ anchor: Some(ThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(2),
+ }),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ deleted_at: None,
+ },
+ deletes: Arc::default(),
+ creates: Arc::default(),
+ edits: Arc::default(),
+ references: vec![],
+ }
+}
+
+fn access(user: &str, document: &str, level: AccessLevel) -> EntityAccessReceipt<MessageWrite> {
+ EntityAccessReceipt::try_new(
+ EntityAccessAuth::Authenticated(user.to_owned().try_into().unwrap()),
+ entity_access::domain::models::Entity {
+ entity_id: document.into(),
+ entity_type: EntityType::Document,
+ },
+ EntityPermission::AccessLevel {
+ access_level: level,
+ },
+ )
+ .unwrap()
+}
+
+#[tokio::test]
+async fn document_editor_can_detach_another_authors_mark_without_deleting_the_thread() {
+ let repo = fixture();
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let state = service
+ .patch_thread(
+ access("macro|[email protected]", "doc", AccessLevel::Edit),
+ repo.state.root_id,
+ ThreadPatch {
+ detach_anchor: true,
+ nonce: Some("removed-mark".into()),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert!(state.anchor.is_none());
+ assert!(state.deleted_at.is_none());
+ assert_eq!(state.user_id, repo.state.user_id);
+ assert!(repo.deletes.lock().unwrap().is_empty());
+ let events = events.0.lock().unwrap();
+ assert_eq!(events.len(), 1);
+ assert_eq!(events[0].nonce.as_deref(), Some("removed-mark"));
+ assert!(
+ matches!(&events[0].change, MessageChange::ThreadUpdated { state } if state.anchor.is_none() && state.deleted_at.is_none())
+ );
+}
+
+#[tokio::test]
+async fn commenters_can_resolve_but_cannot_detach_document_text() {
+ let repo = fixture();
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let result = service
+ .patch_thread(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ repo.state.root_id,
+ ThreadPatch {
+ detach_anchor: true,
+ ..Default::default()
+ },
+ )
+ .await;
+ assert!(matches!(result, Err(MessageError::Forbidden)));
+ assert!(events.0.lock().unwrap().is_empty());
+ let state = service
+ .patch_thread(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ repo.state.root_id,
+ ThreadPatch {
+ resolved: Some(true),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert!(state.resolved);
+ assert_eq!(state.anchor, repo.state.anchor);
+}
+
+#[tokio::test]
+async fn thread_patch_cannot_detach_pdf_annotations() {
+ let mut repo = fixture();
+ repo.state.anchor = Some(ThreadAnchor::PdfHighlight {
+ anchor_id: Uuid::from_u128(3),
+ });
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let result = service
+ .patch_thread(
+ access("macro|[email protected]", "doc", AccessLevel::Edit),
+ repo.state.root_id,
+ ThreadPatch {
+ detach_anchor: true,
+ ..Default::default()
+ },
+ )
+ .await;
+ assert!(matches!(result, Err(MessageError::Invalid(_))));
+ assert!(events.0.lock().unwrap().is_empty());
+}
+
+#[tokio::test]
+async fn root_deletion_tombstones_only_the_message_and_emits_shared_update() {
+ let repo = fixture();
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let message = service
+ .delete(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ repo.message.id,
+ Some("nonce".into()),
+ )
+ .await
+ .unwrap();
+ assert!(message.deleted_at.is_some());
+ assert_eq!(*repo.deletes.lock().unwrap(), vec![repo.message.id]);
+ assert!(repo.state.deleted_at.is_none());
+ assert!(repo.state.anchor.is_some());
+ let events = events.0.lock().unwrap();
+ assert_eq!(events.len(), 1);
+ assert!(
+ matches!(&events[0].change, MessageChange::MessageDeleted { message } if message.root_id() == repo.message.id)
+ );
+ assert_eq!(events[0].nonce.as_deref(), Some("nonce"));
+ assert!(matches!(
+ events[0].change,
+ MessageChange::MessageDeleted { .. }
+ ));
+}
+
+#[tokio::test]
+async fn other_commenter_cannot_delete_but_parent_owner_can_moderate() {
+ let repo = fixture();
+ let service = MessageService::new(repo.clone(), Events::default());
+ let denied = service
+ .delete(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ repo.message.id,
+ None,
+ )
+ .await;
+ assert!(matches!(denied, Err(MessageError::Forbidden)));
+ assert!(repo.deletes.lock().unwrap().is_empty());
+ service
+ .delete(
+ access("macro|[email protected]", "doc", AccessLevel::Owner),
+ repo.message.id,
+ None,
+ )
+ .await
+ .unwrap();
+}
+
+#[tokio::test]
+async fn receipt_for_another_parent_cannot_authorize_a_message() {
+ let repo = fixture();
+ let service = MessageService::new(repo.clone(), Events::default());
+ let denied = service
+ .delete(
+ access("macro|[email protected]", "different", AccessLevel::Owner),
+ repo.message.id,
+ None,
+ )
+ .await;
+ assert!(matches!(denied, Err(MessageError::NotFound)));
+ assert!(repo.deletes.lock().unwrap().is_empty());
+}
+
+#[test]
+fn email_access_cannot_authorize_message_operations() {
+ let receipt = EntityAccessReceipt::<MessageWrite>::try_new(
+ EntityAccessAuth::Authenticated("macro|[email protected]".to_owned().try_into().unwrap()),
+ entity_access::domain::models::Entity {
+ entity_id: Uuid::from_u128(1).to_string(),
+ entity_type: EntityType::EmailThread,
+ },
+ EntityPermission::AccessLevel {
+ access_level: AccessLevel::Owner,
+ },
+ )
+ .unwrap();
+ assert!(matches!(
+ parent_from_receipt(&receipt),
+ Err(MessageError::Forbidden)
+ ));
+}
+
+#[test]
+fn view_access_cannot_mint_a_write_receipt() {
+ assert!(!MessageWrite::is_satisfied_by(
+ &EntityPermission::AccessLevel {
+ access_level: AccessLevel::View
+ }
+ ));
+ assert!(!MessageWrite::is_satisfied_by(
+ &EntityPermission::ChannelViewOnly
+ ));
+ assert!(MessageView::is_satisfied_by(
+ &EntityPermission::ChannelViewOnly
+ ));
+}
+
+#[test]
+fn only_root_document_messages_can_have_anchors() {
+ let mut input = PostMessage {
+ attribution: Default::default(),
+ notification_policy: Default::default(),
+ content: "test".into(),
+ thread_id: None,
+ anchor: Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(1),
+ }),
+ mentions: vec![],
+ attachments: vec![],
+ nonce: None,
+ };
+ assert!(validate_post(&MessageParent::Channel(Uuid::from_u128(2)), &input).is_err());
+ let doc = MessageParent::parse("document", "doc").unwrap();
+ assert!(validate_post(&doc, &input).is_ok());
+ input.thread_id = Some(Uuid::from_u128(3));
+ assert!(validate_post(&doc, &input).is_err());
+}
+
+#[tokio::test]
+async fn inaccessible_references_are_rejected_before_persistence() {
+ let service = MessageService::new(fixture(), Events::default());
+ let attachment = NewAttachment {
+ entity_type: "document".into(),
+ entity_id: "private-document".into(),
+ width: None,
+ height: None,
+ };
+ let input = PostMessage {
+ attribution: Default::default(),
+ notification_policy: Default::default(),
+ content: "Look here".into(),
+ thread_id: None,
+ anchor: None,
+ mentions: vec![],
+ attachments: vec![attachment.clone()],
+ nonce: None,
+ };
+ // Repo::create is deliberately unimplemented: a rejected request must never reach it.
+ assert!(matches!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ input
+ )
+ .await,
+ Err(MessageError::Forbidden)
+ ));
+ let edit = MessagePatch {
+ content: Some("replacement".into()),
+ attachments: AttachmentChange::Replace(vec![attachment]),
+ ..Default::default()
+ };
+ assert!(matches!(
+ service
+ .patch(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ Uuid::from_u128(1),
+ edit
+ )
+ .await,
+ Err(MessageError::Forbidden)
+ ));
+}
+
+#[tokio::test]
+async fn user_mentions_do_not_require_or_grant_parent_sharing() {
+ let service = MessageService::new(fixture(), Events::default());
+ let mentions = [SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "macro|[email protected]".into(),
+ }];
+ // Mention identity validation is separate from delivery authorization. The
+ // delivery tests prove this recipient is excluded without parent access.
+ service
+ .validate_references(
+ &access("macro|[email protected]", "doc", AccessLevel::Comment),
+ &mentions,
+ &[],
+ )
+ .await
+ .unwrap();
+ let invalid = [SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "arbitrary-string".into(),
+ }];
+ assert!(matches!(
+ service
+ .validate_references(
+ &access("macro|[email protected]", "doc", AccessLevel::Comment),
+ &invalid,
+ &[]
+ )
+ .await,
+ Err(MessageError::Invalid(_))
+ ));
+}
+
+#[derive(Clone)]
+struct SourceAccess(Arc<Mutex<std::collections::HashSet<String>>>);
+impl MessageReferenceAccess for SourceAccess {
+ fn can_view<'a>(
+ &'a self,
+ _: &'a EntityAccessAuth,
+ kind: EntityType,
+ id: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<bool, MessageError>> + Send + 'a>> {
+ assert_eq!(kind, EntityType::Channel);
+ Box::pin(async move { Ok(self.0.lock().unwrap().contains(id)) })
+ }
+}
+
+#[tokio::test]
+async fn source_mentions_never_grant_channel_access_and_revocation_removes_the_thread() {
+ let mut repo = fixture();
+ let channel = Uuid::from_u128(20);
+ let private = Uuid::from_u128(21);
+ repo.message.parent = MessageParent::Channel(channel);
+ repo.state.anchor = None;
+ repo.references = vec![
+ ReferencedThreadCandidate {
+ channel_id: private,
+ root_id: Uuid::from_u128(0),
+ channel_name: Some("private name".into()),
+ created_at: repo.message.created_at,
+ },
+ ReferencedThreadCandidate {
+ channel_id: channel,
+ root_id: repo.message.id,
+ channel_name: Some("visible".into()),
+ created_at: repo.message.created_at,
+ },
+ ];
+ let grants = SourceAccess(Arc::new(Mutex::new(
+ [channel.to_string()].into_iter().collect(),
+ )));
+ let service = MessageService::new(repo, Events::default()).with_references(grants.clone());
+ let doc_access = || {
+ access("macro|[email protected]", "doc", AccessLevel::Comment)
+ .try_into_requirement()
+ .unwrap()
+ };
+ let page = service
+ .referenced_threads(doc_access(), None, 1)
+ .await
+ .unwrap();
+ assert_eq!(page.threads.len(), 1);
+ assert_eq!(page.threads[0].channel_name.as_deref(), Some("visible"));
+ assert_eq!(page.threads[0].parent, MessageParent::Channel(channel));
+ assert_eq!(page.threads[0].root_id, Uuid::from_u128(1));
+ assert!(!page.threads[0].can_reply);
+ assert!(page.next_cursor.is_none());
+ grants.0.lock().unwrap().clear();
+ assert!(
+ service
+ .referenced_threads(doc_access(), None, 1)
+ .await
+ .unwrap()
+ .threads
+ .is_empty()
+ );
+}
+
+#[tokio::test]
+async fn reference_discovery_pages_authorized_identities_without_reading_message_content() {
+ let mut repo = fixture();
+ let visible = Uuid::from_u128(20);
+ let private = Uuid::from_u128(21);
+ // The message reader fixture contains only an unrelated document root.
+ // Discovery must use the source facts, leaving hydration to the common reader.
+ repo.references = (1..=205)
+ .map(|id| ReferencedThreadCandidate {
+ channel_id: if id % 100 == 0 { visible } else { private },
+ root_id: Uuid::from_u128(id),
+ channel_name: Some(if id % 100 == 0 { "visible" } else { "private" }.into()),
+ created_at: repo.message.created_at,
+ })
+ .collect();
+ let grants = SourceAccess(Arc::new(Mutex::new(
+ [visible.to_string()].into_iter().collect(),
+ )));
+ let service = MessageService::new(repo, Events::default()).with_references(grants);
+ let receipt = || {
+ access("macro|[email protected]", "doc", AccessLevel::Comment)
+ .try_into_requirement()
+ .unwrap()
+ };
+ let first = service
+ .referenced_threads(receipt(), None, 1)
+ .await
+ .unwrap();
+ assert_eq!(first.threads.len(), 1);
+ assert_eq!(first.threads[0].root_id, Uuid::from_u128(100));
+ assert_eq!(first.threads[0].parent, MessageParent::Channel(visible));
+ assert_eq!(first.next_cursor.as_ref().unwrap().id, Uuid::from_u128(100));
+
+ let second = service
+ .referenced_threads(receipt(), first.next_cursor, 1)
+ .await
+ .unwrap();
+ assert_eq!(second.threads.len(), 1);
+ assert_eq!(second.threads[0].root_id, Uuid::from_u128(200));
+ assert!(second.next_cursor.is_none());
+}
+
+fn post_input() -> PostMessage {
+ PostMessage {
+ attribution: Default::default(),
+ notification_policy: Default::default(),
+ content: "@agent please help".into(),
+ thread_id: None,
+ anchor: None,
+ mentions: vec![],
+ attachments: vec![],
+ nonce: Some("client-nonce".into()),
+ }
+}
+
+fn channel_access() -> EntityAccessReceipt<MessageWrite> {
+ EntityAccessReceipt::try_new_authenticated_user(
+ "macro|[email protected]".to_string().try_into().unwrap(),
+ entity_access::domain::models::Entity {
+ entity_type: EntityType::Channel,
+ entity_id: Uuid::from_u128(20).to_string(),
+ },
+ EntityPermission::ChannelRole {
+ role: entity_access::domain::models::ParticipantRole::Member,
+ },
+ )
+ .unwrap()
+}
+
+#[derive(Clone)]
+struct ReferenceAccess {
+ allowed: bool,
+ checked: Arc<Mutex<Vec<(EntityType, String)>>>,
+}
+impl MessageReferenceAccess for ReferenceAccess {
+ fn can_view<'a>(
+ &'a self,
+ _: &'a EntityAccessAuth,
+ kind: EntityType,
+ id: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<bool, MessageError>> + Send + 'a>> {
+ Box::pin(async move {
+ self.checked.lock().unwrap().push((kind, id.into()));
+ Ok(self.allowed)
+ })
+ }
+}
+
+#[tokio::test]
+async fn editor_reference_tags_are_authorized_for_posts_and_edits() {
+ for (tag, entity_type) in [
+ ("thread", EntityType::EmailThread),
+ ("email", EntityType::EmailThread),
+ ("email_thread", EntityType::EmailThread),
+ ("call", EntityType::Call),
+ ("calendar_event", EntityType::CalendarEvent),
+ ] {
+ for allowed in [true, false] {
+ let mut repo = fixture();
+ repo.message.parent = MessageParent::Channel(Uuid::from_u128(20));
+ let references = ReferenceAccess {
+ allowed,
+ checked: Arc::default(),
+ };
+ let service = MessageService::new(repo.clone(), Events::default())
+ .with_references(references.clone());
+ let mut input = post_input();
+ input.mentions = vec![SimpleMention {
+ entity_type: tag.into(),
+ entity_id: Uuid::from_u128(30).to_string(),
+ }];
+ let posted = service.post(channel_access(), input.clone()).await;
+ let edited = service
+ .patch(
+ channel_access(),
+ repo.message.id,
+ MessagePatch {
+ content: Some(input.content),
+ mentions: Some(input.mentions.clone()),
+ ..Default::default()
+ },
+ )
+ .await;
+ for result in [posted, edited] {
+ if allowed {
+ let message = result.unwrap();
+ assert_eq!(message.mentions[0].entity_type, tag);
+ } else {
+ assert!(
+ matches!(result, Err(MessageError::Forbidden)),
+ "{tag}: {result:?}"
+ );
+ }
+ }
+ assert_eq!(repo.creates.lock().unwrap().len(), usize::from(allowed));
+ assert_eq!(repo.edits.lock().unwrap().len(), usize::from(allowed));
+ assert_eq!(
+ *references.checked.lock().unwrap(),
+ vec![(entity_type, Uuid::from_u128(30).to_string()); 2]
+ );
+ }
+ }
+}
+
+struct GroupMembers;
+#[async_trait::async_trait]
+impl MessageGroupRecipients for GroupMembers {
+ async fn channel_members(
+ &self,
+ channel: Uuid,
+ ) -> Result<Vec<macro_user_id::user_id::MacroUserIdStr<'static>>, MessageError> {
+ assert_eq!(channel, Uuid::from_u128(20));
+ Ok((0..300)
+ .map(|i| {
+ macro_user_id::user_id::MacroUserIdStr::try_from_email(&format!(
+ "participant-{i}@example.com"
+ ))
+ .unwrap()
+ })
+ .collect())
+ }
+}
+
+#[tokio::test]
+async fn a_group_remains_one_authored_reference_and_resolves_current_recipients_on_post_and_edit() {
+ let mut repo = fixture();
+ repo.message.parent = MessageParent::Channel(Uuid::from_u128(20));
+ let events = Events::default();
+ let service =
+ MessageService::new(repo.clone(), events.clone()).with_group_recipients(GroupMembers);
+ let mut input = post_input();
+ input.mentions = vec![
+ SimpleMention {
+ entity_type: "group".into(),
+ entity_id: "here".into(),
+ },
+ SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "macro|[email protected]".into(),
+ },
+ ];
+ let posted = service.post(channel_access(), input.clone()).await.unwrap();
+ assert_eq!(posted.mentions, input.mentions);
+ service
+ .patch(
+ channel_access(),
+ repo.message.id,
+ MessagePatch {
+ content: Some(input.content.clone()),
+ mentions: Some(input.mentions.clone()),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ for event in events.0.lock().unwrap().iter() {
+ let mentions = match &event.change {
+ MessageChange::Posted { mentions, .. } | MessageChange::Edited { mentions, .. } => {
+ mentions
+ }
+ _ => panic!("expected post or edit"),
+ };
+ assert_eq!(mentions.len(), 300);
+ assert!(mentions.iter().all(|mention| mention.entity_type == "user"));
+ }
+ assert_eq!(repo.edits.lock().unwrap()[0].mentions, input.mentions);
+ input.mentions[1].entity_id = "not-a-user".into();
+ assert!(matches!(
+ service.post(channel_access(), input.clone()).await,
+ Err(MessageError::Invalid("invalid mentioned user"))
+ ));
+ input.mentions[1] = SimpleMention {
+ entity_type: "document".into(),
+ entity_id: "private".into(),
+ };
+ assert!(matches!(
+ service.post(channel_access(), input.clone()).await,
+ Err(MessageError::Forbidden)
+ ));
+ input.mentions = vec![
+ SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "macro|[email protected]".into()
+ };
+ 101
+ ];
+ assert!(matches!(
+ service.post(channel_access(), input).await,
+ Err(MessageError::Invalid("too many message references"))
+ ));
+ assert_eq!(repo.creates.lock().unwrap().len(), 1);
+}
+
+#[tokio::test]
+async fn document_and_unknown_group_mentions_are_rejected_before_persistence() {
+ let repo = fixture();
+ let service = MessageService::new(repo.clone(), Events::default());
+ let mut input = post_input();
+ input.mentions = vec![SimpleMention {
+ entity_type: "group".into(),
+ entity_id: "here".into(),
+ }];
+ assert!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ input.clone()
+ )
+ .await
+ .is_err()
+ );
+ input.mentions[0].entity_id = "everyone".into();
+ assert!(service.post(channel_access(), input).await.is_err());
+ assert!(repo.creates.lock().unwrap().is_empty());
+}
+
+#[tokio::test]
+async fn partial_attachment_changes_preserve_unreplaced_body_mentions_and_attachment_metadata() {
+ let mut repo = fixture();
+ repo.message.mentions = vec![SimpleMention {
+ entity_type: "document".into(),
+ entity_id: "mentioned".into(),
+ }];
+ repo.message.attachments = [601, 602]
+ .map(|id| MessageAttachment {
+ id: Uuid::from_u128(id),
+ entity_type: "document".into(),
+ entity_id: id.to_string(),
+ width: Some(20),
+ height: Some(30),
+ created_at: Utc::now(),
+ })
+ .to_vec();
+ let service =
+ MessageService::new(repo.clone(), Events::default()).with_references(ReferenceAccess {
+ allowed: true,
+ checked: Arc::default(),
+ });
+ service
+ .patch(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ repo.message.id,
+ MessagePatch {
+ attachments: AttachmentChange::Delta {
+ remove: vec![Uuid::from_u128(601)],
+ add: vec![NewAttachment {
+ entity_type: "document".into(),
+ entity_id: "new".into(),
+ width: None,
+ height: None,
+ }],
+ },
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ let edits = repo.edits.lock().unwrap();
+ assert_eq!(edits[0].content, repo.message.content);
+ assert_eq!(edits[0].mentions, repo.message.mentions);
+ let attachments = edits[0].attachments.as_ref().unwrap();
+ assert_eq!(
+ attachments
+ .iter()
+ .map(|a| a.entity_id.as_str())
+ .collect::<Vec<_>>(),
+ ["602", "new"]
+ );
+ assert_eq!(attachments[0].width, Some(20));
+ assert_eq!(attachments[0].height, Some(30));
+}
+
+#[tokio::test]
+async fn human_can_post_canonical_agent_mentions_on_documents_and_channels() {
+ use entity_access::domain::models::{Entity, ParticipantRole};
+ for parent in [
+ MessageParent::parse("document", "doc").unwrap(),
+ MessageParent::Channel(Uuid::from_u128(20)),
+ ] {
+ let repo = fixture();
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let (entity_type, permission) = match parent {
+ MessageParent::Document(_) => (
+ EntityType::Document,
+ EntityPermission::AccessLevel {
+ access_level: AccessLevel::Comment,
+ },
+ ),
+ MessageParent::Channel(_) => (
+ EntityType::Channel,
+ EntityPermission::ChannelRole {
+ role: ParticipantRole::Member,
+ },
+ ),
+ };
+ let receipt = || {
+ EntityAccessReceipt::try_new_authenticated_user(
+ "macro|[email protected]".to_string().try_into().unwrap(),
+ Entity {
+ entity_type,
+ entity_id: parent.entity_id(),
+ },
+ permission,
+ )
+ .unwrap()
+ };
+ let mut input = post_input();
+ input.mentions = vec![
+ SimpleMention {
+ entity_type: "bot".into(),
+ entity_id: bot_id::MACRO_NEW_BOT_ID.into_storage_id().to_string(),
+ },
+ SimpleMention {
+ entity_type: "user".into(),
+ entity_id: bot_id::MACRO_AI_BOT_ID.into_storage_id().to_string(),
+ },
+ ];
+ let message = service.post(receipt(), input.clone()).await.unwrap();
+ assert_eq!(message.parent, parent);
+ assert_eq!(message.mentions.len(), 2);
+ assert!(message.triggered_by.is_none());
+ assert_eq!(
+ events.0.lock().unwrap()[0].nonce.as_deref(),
+ Some("client-nonce")
+ );
+ input.mentions[0].entity_id = bot_id::MACRO_NEW_BOT_ID.to_string();
+ assert!(matches!(
+ service.post(receipt(), input).await,
+ Err(MessageError::Invalid(_))
+ ));
+ assert_eq!(repo.creates.lock().unwrap().len(), 1);
+ }
+}
+
+struct RawBotMentions;
+impl MessageMentionExtractor for RawBotMentions {
+ fn extract<'a>(
+ &'a self,
+ _: &'a str,
+ ) -> std::pin::Pin<Box<dyn Future<Output = Result<Vec<SimpleMention>, MessageError>> + Send + 'a>>
+ {
+ Box::pin(async {
+ Ok(vec![SimpleMention {
+ entity_type: "user".into(),
+ entity_id: "macro|[email protected]".into(),
+ }])
+ })
+ }
+}
+
+#[tokio::test]
+async fn bot_posts_and_edits_extract_mentions_and_preserve_trusted_attribution_and_policy() {
+ use entity_access::domain::models::BotReceiptScope;
+ let receipt = || {
+ EntityAccessReceipt::try_new_bot(
+ bot_id::MACRO_AI_BOT_ID.into_storage_id(),
+ BotReceiptScope::User {
+ acting_user: "macro|[email protected]".to_string().try_into().unwrap(),
+ },
+ access("macro|[email protected]", "doc", AccessLevel::Comment)
+ .entity()
+ .clone(),
+ EntityPermission::AccessLevel {
+ access_level: AccessLevel::Comment,
+ },
+ )
+ .unwrap()
+ };
+ let mut repo = fixture();
+ repo.message.sender_id = ChannelSender::new_from_bot(bot_id::MACRO_AI_BOT_ID);
+ let events = Events::default();
+ let service =
+ MessageService::new(repo.clone(), events.clone()).with_mention_extractor(RawBotMentions);
+ let mut input = post_input();
+ input.notification_policy = PostMessageNotificationPolicy::Silent;
+ let posted = service.post(receipt(), input.clone()).await.unwrap();
+ assert_eq!(
+ posted.triggered_by.as_deref(),
+ Some("macro|[email protected]")
+ );
+ assert_eq!(posted.mentions.len(), 1);
+ input.attribution = MessageAttribution::Unprompted;
+ assert!(
+ service
+ .post(receipt(), input)
+ .await
+ .unwrap()
+ .triggered_by
+ .is_none()
+ );
+ service
+ .patch(
+ receipt(),
+ posted.id,
+ MessagePatch {
+ notification_policy: PatchMessageNotificationPolicy::NotifyAsPostedMessage,
+ content: Some("final @mention".into()),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(repo.edits.lock().unwrap()[0].mentions.len(), 1);
+ let events = events.0.lock().unwrap();
+ assert!(matches!(
+ events[0].change,
+ MessageChange::Posted {
+ notification_policy: PostMessageNotificationPolicy::Silent,
+ ..
+ }
+ ));
+ assert!(matches!(
+ events[2].change,
+ MessageChange::Edited {
+ notification_policy: PatchMessageNotificationPolicy::NotifyAsPostedMessage,
+ ..
+ }
+ ));
+}
+
+#[derive(Clone)]
+struct StrictRepo {
+ inner: Repo,
+ parent_exists: bool,
+}
+
+impl MessageRepository for StrictRepo {
+ async fn referenced_threads(
+ &self,
+ document: &str,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<Vec<ReferencedThreadCandidate>, MessageError> {
+ self.inner.referenced_threads(document, cursor, limit).await
+ }
+ async fn preceding(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError> {
+ self.inner.preceding(parent, id, limit).await
+ }
+ async fn replies(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<Vec<Message>, MessageError> {
+ self.inner.replies(parent, root).await
+ }
+ async fn parent_exists(&self, _: &MessageParent) -> Result<bool, MessageError> {
+ Ok(self.parent_exists)
+ }
+ async fn get(&self, parent: &MessageParent, id: Uuid) -> Result<Option<Message>, MessageError> {
+ self.inner.get(parent, id).await
+ }
+ async fn thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<Option<ThreadState>, MessageError> {
+ self.inner.thread(parent, root).await
+ }
+ async fn timeline(
+ &self,
+ parent: &MessageParent,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ self.inner.timeline(parent, query).await
+ }
+ async fn create(&self, command: CreateMessage) -> Result<Message, MessageError> {
+ self.inner.create(command).await
+ }
+ async fn edit(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ command: EditMessage,
+ ) -> Result<Message, MessageError> {
+ self.inner.edit(parent, id, command).await
+ }
+ async fn delete(&self, parent: &MessageParent, id: Uuid) -> Result<Message, MessageError> {
+ self.inner.delete(parent, id).await
+ }
+ async fn react(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ user: &str,
+ emoji: &str,
+ add: bool,
+ ) -> Result<Message, MessageError> {
+ self.inner.react(parent, id, user, emoji, add).await
+ }
+ async fn patch_thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ self.inner.patch_thread(parent, root, patch).await
+ }
+ async fn delete_thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<ThreadState, MessageError> {
+ self.inner.delete_thread(parent, root).await
+ }
+ async fn resolve_legacy(
+ &self,
+ parent: &MessageParent,
+ id: i64,
+ is_thread: bool,
+ ) -> Result<Option<Uuid>, MessageError> {
+ self.inner.resolve_legacy(parent, id, is_thread).await
+ }
+}
+
+#[tokio::test]
+async fn a_missing_parent_is_rejected_by_the_service_before_persistence() {
+ let repo = StrictRepo {
+ inner: fixture(),
+ parent_exists: false,
+ };
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let result = service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ post_input(),
+ )
+ .await;
+ assert!(matches!(result, Err(MessageError::NotFound)));
+ assert!(repo.inner.creates.lock().unwrap().is_empty());
+ assert!(events.0.lock().unwrap().is_empty());
+}
+
+#[tokio::test]
+async fn replies_must_target_a_live_root_in_the_same_parent() {
+ // The fixture root lives on document "doc"; a reply from another parent
+ // must fail in the service, before the repository sees a create.
+ let repo = fixture();
+ let events = Events::default();
+ let service = MessageService::new(repo.clone(), events.clone());
+ let mut cross_parent = post_input();
+ cross_parent.thread_id = Some(repo.message.id);
+ assert!(matches!(
+ service
+ .post(
+ access(
+ "other-doc",
+ AccessLevel::Comment
+ ),
+ cross_parent.clone(),
+ )
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ assert!(matches!(
+ service.post(channel_access(), cross_parent).await,
+ Err(MessageError::NotFound)
+ ));
+ // A reply cannot itself be replied to: only roots own thread state.
+ let mut nested = post_input();
+ nested.thread_id = Some(Uuid::from_u128(77));
+ assert!(matches!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ nested,
+ )
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ assert!(repo.creates.lock().unwrap().is_empty());
+ assert!(events.0.lock().unwrap().is_empty());
+}
+
+#[tokio::test]
+async fn anchors_are_only_accepted_on_document_roots() {
+ let mut repo = fixture();
+ repo.message.parent = MessageParent::Channel(Uuid::from_u128(20));
+ let service = MessageService::new(repo.clone(), Events::default());
+ let mut anchored = post_input();
+ anchored.anchor = Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(5),
+ });
+ assert!(matches!(
+ service.post(channel_access(), anchored.clone()).await,
+ Err(MessageError::Invalid(_))
+ ));
+ let repo = fixture();
+ let service = MessageService::new(repo.clone(), Events::default());
+ anchored.thread_id = Some(repo.message.id);
+ assert!(matches!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ anchored.clone(),
+ )
+ .await,
+ Err(MessageError::Invalid(_))
+ ));
+ anchored.thread_id = None;
+ anchored.anchor = Some(NewThreadAnchor::PdfPlaceable {
+ anchor_id: Uuid::from_u128(6),
+ page: 0,
+ x_pct: 0.1,
+ y_pct: 0.1,
+ width_pct: 0.0,
+ height_pct: 0.1,
+ });
+ assert!(matches!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ anchored,
+ )
+ .await,
+ Err(MessageError::Invalid(_))
+ ));
+ assert!(repo.creates.lock().unwrap().is_empty());
+}
+
+#[tokio::test]
+async fn tombstoned_messages_are_immutable() {
+ let mut repo = fixture();
+ repo.message.deleted_at = Some(Utc::now());
+ let service = MessageService::new(repo.clone(), Events::default());
+ let receipt = || access("macro|[email protected]", "doc", AccessLevel::Comment);
+ assert!(matches!(
+ service
+ .patch(
+ receipt(),
+ repo.message.id,
+ MessagePatch {
+ content: Some("edited".into()),
+ ..Default::default()
+ },
+ )
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ assert!(matches!(
+ service.delete(receipt(), repo.message.id, None).await,
+ Err(MessageError::NotFound)
+ ));
+ assert!(matches!(
+ service
+ .react(receipt(), repo.message.id, "👍".into(), true, None)
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ assert!(repo.edits.lock().unwrap().is_empty());
+ assert!(repo.deletes.lock().unwrap().is_empty());
+ // Reads still return the tombstone so clients can render it.
+ assert!(
+ service
+ .get(receipt().try_into_requirement().unwrap(), repo.message.id)
+ .await
+ .unwrap()
+ .deleted_at
+ .is_some()
+ );
+}
+
+#[tokio::test]
+async fn display_only_mention_kinds_are_stored_without_authorization() {
+ let repo = fixture();
+ let checks = ReferenceAccess {
+ allowed: false,
+ checked: Arc::default(),
+ };
+ let service =
+ MessageService::new(repo.clone(), Events::default()).with_references(checks.clone());
+ let mut input = post_input();
+ input.mentions = vec![
+ SimpleMention {
+ entity_type: "date".into(),
+ entity_id: "2026-09-15".into(),
+ },
+ SimpleMention {
+ entity_type: "automation".into(),
+ entity_id: Uuid::from_u128(9).to_string(),
+ },
+ ];
+ let posted = service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ input.clone(),
+ )
+ .await
+ .unwrap();
+ assert_eq!(posted.mentions, input.mentions);
+ assert!(checks.checked.lock().unwrap().is_empty());
+ input.mentions.push(SimpleMention {
+ entity_type: "agent_session".into(),
+ entity_id: Uuid::from_u128(10).to_string(),
+ });
+ assert!(matches!(
+ service
+ .post(
+ access("macro|[email protected]", "doc", AccessLevel::Comment),
+ input,
+ )
+ .await,
+ Err(MessageError::Forbidden)
+ ));
+ assert_eq!(
+ *checks.checked.lock().unwrap(),
+ vec![(EntityType::AgentSession, Uuid::from_u128(10).to_string())]
+ );
+}
diff --git a/crates/messages/src/inbound/axum_router.rs b/crates/messages/src/inbound/axum_router.rs
new file mode 100644
index 0000000000..9f30f645c2
--- /dev/null
+++ b/crates/messages/src/inbound/axum_router.rs
@@ -0,0 +1,494 @@
+use crate::domain::{api::MessageServiceApi, models::*, ports::*};
+use axum::{
+ Json, Router,
+ extract::{FromRef, Path, Query, State},
+ http::StatusCode,
+ response::{IntoResponse, Response},
+ routing::{get, post},
+};
+use entity_access::domain::{
+ models::{EntityAccessReceipt, EntityType, RequiredPermission},
+ ports::EntityAccessService,
+};
+use macro_authorization::{
+ AnyPrincipal, MacroAuthorizationExtractor, MacroAuthorizationService, MacroAuthorizationState,
+};
+use serde::{Deserialize, Serialize};
+use std::sync::Arc;
+use uuid::Uuid;
+
+/// Composition state for shared messages.
+pub struct MessagesRouterState<A, Auth> {
+ /// Shared message domain service.
+ pub service: Arc<dyn MessageServiceApi>,
+ /// Existing parent access boundary.
+ pub access: Arc<A>,
+ /// Authentication state.
+ pub authorization: MacroAuthorizationState<Auth>,
+}
+
+impl<A, Auth> Clone for MessagesRouterState<A, Auth> {
+ fn clone(&self) -> Self {
+ Self {
+ service: self.service.clone(),
+ access: self.access.clone(),
+ authorization: self.authorization.clone(),
+ }
+ }
+}
+
+impl<A, Auth> FromRef<MessagesRouterState<A, Auth>> for MacroAuthorizationState<Auth> {
+ fn from_ref(state: &MessagesRouterState<A, Auth>) -> Self {
+ state.authorization.clone()
+ }
+}
+
+/// Routes mounted at `/messages` by the service composition root.
+pub fn router<A, Auth, S>(state: MessagesRouterState<A, Auth>) -> Router<S>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService + Send + Sync + 'static,
+ S: Clone + Send + Sync + 'static,
+{
+ Router::new()
+ .route(
+ "/{parent_type}/{parent_id}",
+ get(timeline::<A, Auth>).post(create::<A, Auth>),
+ )
+ .route(
+ "/{parent_type}/{parent_id}/items/{id}",
+ get(get_message::<A, Auth>)
+ .patch(edit::<A, Auth>)
+ .delete(delete_message::<A, Auth>),
+ )
+ .route(
+ "/{parent_type}/{parent_id}/items/{id}/reactions",
+ post(react::<A, Auth>),
+ )
+ .route(
+ "/{parent_type}/{parent_id}/threads/{id}",
+ get(get_thread::<A, Auth>)
+ .patch(patch_thread::<A, Auth>)
+ .delete(delete_thread::<A, Auth>),
+ )
+ .route("/{parent_type}/{parent_id}/typing", post(typing::<A, Auth>))
+ .route(
+ "/{parent_type}/{parent_id}/legacy/{legacy_id}",
+ get(legacy::<A, Auth>),
+ )
+ .route(
+ "/{parent_type}/{parent_id}/references",
+ get(referenced_threads::<A, Auth>),
+ )
+ .with_state(state)
+}
+
+/// Query selection encoded as JSON to retain structured cursor and root ID types.
+#[derive(Debug, Default, Deserialize, utoipa::IntoParams)]
+pub struct TimelineQuery {
+ /// Serialized MessageTimelineQuery; absent selects the latest roots.
+ pub selection: Option<String>,
+}
+
+#[utoipa::path(operation_id = "message_timeline", get, path = "/messages/{parent_type}/{parent_id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), TimelineQuery), responses((status = 200, body = MessagePage)))]
+/// Read a bounded timeline with lazy thread previews.
+pub async fn timeline<A: EntityAccessService, Auth: MacroAuthorizationService>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Query(query): Query<TimelineQuery>,
+) -> Result<Json<MessagePage>, MessageHttpError> {
+ let query = query
+ .selection
+ .as_deref()
+ .map(serde_json::from_str::<MessageTimelineQuery>)
+ .transpose()
+ .map_err(|_| MessageError::Invalid("invalid timeline query"))?
+ .unwrap_or_default();
+ Ok(Json(
+ state
+ .service
+ .timeline(receipt(state.access.as_ref(), &user, &path).await?, query)
+ .await?,
+ ))
+}
+
+/// Parent path shared by every operation.
+#[derive(Debug, Deserialize)]
+pub struct ParentPath {
+ /// Parent entity type.
+ pub parent_type: String,
+ /// Parent entity id.
+ pub parent_id: String,
+ /// Message or root id for item routes.
+ pub id: Option<Uuid>,
+ /// Historical numeric id for link resolution.
+ pub legacy_id: Option<i64>,
+}
+
+/// HTTP failure mapping; business decisions are made by the domain service.
+pub struct MessageHttpError(MessageError);
+impl From<MessageError> for MessageHttpError {
+ fn from(value: MessageError) -> Self {
+ Self(value)
+ }
+}
+impl IntoResponse for MessageHttpError {
+ fn into_response(self) -> Response {
+ let (status, message) = match self.0 {
+ MessageError::NotFound => (StatusCode::NOT_FOUND, "message or parent not found"),
+ MessageError::Forbidden => (StatusCode::FORBIDDEN, "forbidden"),
+ MessageError::Invalid(message) => (StatusCode::BAD_REQUEST, message),
+ MessageError::Repository(error) => {
+ tracing::error!(error=?error, "message request failed");
+ (
+ StatusCode::INTERNAL_SERVER_ERROR,
+ "message operation failed",
+ )
+ }
+ };
+ (status, Json(serde_json::json!({ "message": message }))).into_response()
+ }
+}
+
+async fn receipt<P: RequiredPermission, A: EntityAccessService, Auth: MacroAuthorizationService>(
+ access: &A,
+ user: &MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ path: &ParentPath,
+) -> Result<EntityAccessReceipt<P>, MessageHttpError> {
+ let parent = MessageParent::parse(&path.parent_type, &path.parent_id)
+ .map_err(|_| MessageError::Invalid("invalid message parent"))?;
+ let kind = match parent {
+ MessageParent::Channel(_) => EntityType::Channel,
+ MessageParent::Document(_) => EntityType::Document,
+ };
+ entity_access::inbound::axum_extractors::principal_entity_access_receipt::<P>(
+ access,
+ &user.authorization,
+ &path.parent_id,
+ kind,
+ )
+ .await
+ .map_err(|error| match error {
+ entity_access::domain::models::AccessError::Unavailable(error)
+ | entity_access::domain::models::AccessError::Internal(error) => {
+ MessageError::Repository(error).into()
+ }
+ _ => MessageError::Forbidden.into(),
+ })
+}
+
+fn path_id(path: &ParentPath) -> Result<Uuid, MessageHttpError> {
+ path.id
+ .ok_or_else(|| MessageError::Invalid("message id required").into())
+}
+
+/// Timeline cursor parameters.
+#[derive(Debug, Default, Deserialize, utoipa::IntoParams)]
+pub struct PageQuery {
+ /// Maximum number of roots.
+ pub limit: Option<u16>,
+ /// Last root's creation timestamp.
+ pub created_at: Option<chrono::DateTime<chrono::Utc>>,
+ /// Last root's UUID.
+ pub cursor_id: Option<Uuid>,
+}
+
+#[utoipa::path(operation_id = "entity_message_create", post, path = "/messages/{parent_type}/{parent_id}", params(("parent_type" = String, Path), ("parent_id" = String, Path)), request_body = PostMessage, responses((status = 200, body = Message)))]
+/// Create a root message or reply.
+pub async fn create<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Json(input): Json<PostMessage>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .post(receipt(state.access.as_ref(), &user, &path).await?, input)
+ .await?,
+ ))
+}
+
+#[utoipa::path(operation_id = "entity_message_get_message", get, path = "/messages/{parent_type}/{parent_id}/items/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path)), responses((status = 200, body = Message)))]
+/// Resolve a message within its parent.
+pub async fn get_message<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .get(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ )
+ .await?,
+ ))
+}
+
+#[utoipa::path(operation_id = "entity_message_edit", patch, path = "/messages/{parent_type}/{parent_id}/items/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path)), request_body = MessagePatch, responses((status = 200, body = Message)))]
+/// Edit an owned message.
+pub async fn edit<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Json(input): Json<MessagePatch>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .patch(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ input,
+ )
+ .await?,
+ ))
+}
+
+/// Mutation nonce echoed to realtime listeners.
+#[derive(Debug, Default, Deserialize, utoipa::IntoParams)]
+pub struct NonceQuery {
+ /// Client nonce.
+ pub nonce: Option<String>,
+}
+
+#[utoipa::path(operation_id = "entity_message_delete_message", delete, path = "/messages/{parent_type}/{parent_id}/items/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path), NonceQuery), responses((status = 200, body = Message)))]
+/// Tombstone one message while preserving replies.
+pub async fn delete_message<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Query(query): Query<NonceQuery>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .delete(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ query.nonce,
+ )
+ .await?,
+ ))
+}
+
+/// Reaction mutation for the authenticated user.
+#[derive(Debug, Serialize, Deserialize, utoipa::ToSchema)]
+pub struct ReactionInput {
+ /// Emoji.
+ pub emoji: String,
+ /// Add when true, remove when false.
+ pub add: bool,
+ /// Client nonce.
+ pub nonce: Option<String>,
+}
+
+#[utoipa::path(operation_id = "entity_message_react", post, path = "/messages/{parent_type}/{parent_id}/items/{id}/reactions", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path)), request_body = ReactionInput, responses((status = 200, body = Message)))]
+/// Change the caller's reaction.
+pub async fn react<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Json(input): Json<ReactionInput>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .react(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ input.emoji,
+ input.add,
+ input.nonce,
+ )
+ .await?,
+ ))
+}
+
+#[utoipa::path(operation_id = "entity_message_get_thread", get, path = "/messages/{parent_type}/{parent_id}/threads/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path)), responses((status = 200, body = MessageThread)))]
+/// Open a specific discussion from a link or annotation.
+pub async fn get_thread<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+) -> Result<Json<MessageThread>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .get_thread(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ )
+ .await?,
+ ))
+}
+
+/// Transient typing update.
+#[derive(Debug, Deserialize, utoipa::ToSchema)]
+pub struct TypingInput {
+ /// Root being replied to, absent for the parent composer.
+ pub thread_id: Option<Uuid>,
+ /// Whether the caller is typing.
+ pub active: bool,
+ /// Client mutation nonce.
+ pub nonce: Option<String>,
+}
+
+#[utoipa::path(operation_id = "entity_message_typing", post, path = "/messages/{parent_type}/{parent_id}/typing", params(("parent_type" = String, Path), ("parent_id" = String, Path)), request_body = TypingInput, responses((status = 204)))]
+/// Broadcast typing within an authorized discussion.
+pub async fn typing<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Json(input): Json<TypingInput>,
+) -> Result<StatusCode, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ state
+ .service
+ .typing(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ input.thread_id,
+ input.active,
+ input.nonce,
+ )
+ .await?;
+ Ok(StatusCode::NO_CONTENT)
+}
+
+#[utoipa::path(operation_id = "entity_message_patch_thread", patch, path = "/messages/{parent_type}/{parent_id}/threads/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path)), request_body = ThreadPatch, responses((status = 200, body = ThreadState)))]
+/// Update a discussion's lifecycle and placement.
+pub async fn patch_thread<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Json(input): Json<ThreadPatch>,
+) -> Result<Json<ThreadState>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .patch_thread(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ input,
+ )
+ .await?,
+ ))
+}
+
+#[utoipa::path(operation_id = "entity_message_delete_thread", delete, path = "/messages/{parent_type}/{parent_id}/threads/{id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("id" = Uuid, Path), NonceQuery), responses((status = 200, body = ThreadState)))]
+/// Explicitly remove a discussion.
+pub async fn delete_thread<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Query(query): Query<NonceQuery>,
+) -> Result<Json<ThreadState>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ Ok(Json(
+ state
+ .service
+ .delete_thread(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ path_id(&path)?,
+ query.nonce,
+ )
+ .await?,
+ ))
+}
+
+/// Historical link kind.
+#[derive(Debug, Default, Deserialize, utoipa::IntoParams)]
+pub struct LegacyQuery {
+ /// Resolve a thread id instead of a comment id.
+ #[serde(default)]
+ pub thread: bool,
+}
+
+#[utoipa::path(operation_id = "entity_message_legacy", get, path = "/messages/{parent_type}/{parent_id}/legacy/{legacy_id}", params(("parent_type" = String, Path), ("parent_id" = String, Path), ("legacy_id" = i64, Path), LegacyQuery), responses((status = 200, body = Message)))]
+/// Resolve an old link under current parent permissions.
+pub async fn legacy<A, Auth>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Query(query): Query<LegacyQuery>,
+) -> Result<Json<Message>, MessageHttpError>
+where
+ A: EntityAccessService,
+ Auth: MacroAuthorizationService,
+{
+ let id = path
+ .legacy_id
+ .ok_or(MessageError::Invalid("legacy id required"))?;
+ Ok(Json(
+ state
+ .service
+ .resolve_legacy(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ id,
+ query.thread,
+ )
+ .await?,
+ ))
+}
+
+/// Read source channel threads mentioning this document under both parents' permissions.
+#[utoipa::path(operation_id = "entity_message_references", get, path = "/messages/{parent_type}/{parent_id}/references", params(("parent_type" = String, Path), ("parent_id" = String, Path), PageQuery), responses((status = 200, body = ReferencedThreadPage)))]
+pub async fn referenced_threads<A: EntityAccessService, Auth: MacroAuthorizationService>(
+ State(state): State<MessagesRouterState<A, Auth>>,
+ user: MacroAuthorizationExtractor<Auth, AnyPrincipal>,
+ Path(path): Path<ParentPath>,
+ Query(query): Query<PageQuery>,
+) -> Result<Json<ReferencedThreadPage>, MessageHttpError> {
+ let cursor = match (query.created_at, query.cursor_id) {
+ (Some(created_at), Some(id)) => Some(MessageCursor { created_at, id }),
+ (None, None) => None,
+ _ => return Err(MessageError::Invalid("both cursor fields are required").into()),
+ };
+ Ok(Json(
+ state
+ .service
+ .referenced_threads(
+ receipt(state.access.as_ref(), &user, &path).await?,
+ cursor,
+ query.limit.unwrap_or(50),
+ )
+ .await?,
+ ))
+}
diff --git a/crates/messages/src/inbound/mod.rs b/crates/messages/src/inbound/mod.rs
new file mode 100644
index 0000000000..872b3438b1
--- /dev/null
+++ b/crates/messages/src/inbound/mod.rs
@@ -0,0 +1,2 @@
+/// Parent-scoped message HTTP API.
+pub mod axum_router;
diff --git a/crates/messages/src/lib.rs b/crates/messages/src/lib.rs
new file mode 100644
index 0000000000..3d44e24366
--- /dev/null
+++ b/crates/messages/src/lib.rs
@@ -0,0 +1,11 @@
+#![deny(missing_docs)]
+//! Messages and anchored discussions on channels and documents.
+
+/// Transport-independent message models, policies, and services.
+pub mod domain;
+/// HTTP adapters for the shared message use cases.
+#[cfg(feature = "inbound")]
+pub mod inbound;
+/// Database and external delivery adapters.
+#[cfg(any(feature = "outbound", feature = "broker"))]
+pub mod outbound;
diff --git a/crates/messages/src/outbound/broker.rs b/crates/messages/src/outbound/broker.rs
new file mode 100644
index 0000000000..1d5ff92b0d
--- /dev/null
+++ b/crates/messages/src/outbound/broker.rs
@@ -0,0 +1,253 @@
+//! Broker envelopes and publication for committed message facts.
+
+use crate::domain::events::{
+ MessageAttachmentCreatedMetadata, MessageAttachmentRemovedMetadata, MessageDeletedMetadata,
+ MessageMentionedMetadata, MessagePatchedMetadata, MessagePostedMetadata,
+};
+use macro_event_broker::{Event, MacroEvent, TopicEvent};
+use macro_event_topics::MacroMessagesTopic;
+use serde::{Deserialize, Serialize};
+use uuid::Uuid;
+
+#[cfg(test)]
+mod test;
+
+/// Lifecycle events for the common message service, one per committed fact.
+/// Reactions and typing never reach the topic.
+#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
+#[serde(tag = "event_type", content = "metadata")]
+pub enum MessageTopicEvent {
+ /// A user or bot posted a root or reply.
+ #[serde(rename = "message.posted")]
+ Posted(MessagePostedMetadata),
+ /// A message's content was patched.
+ #[serde(rename = "message.patched")]
+ Patched(MessagePatchedMetadata),
+ /// A message was tombstoned.
+ #[serde(rename = "message.deleted")]
+ Deleted(MessageDeletedMetadata),
+ /// An entity (user, bot, document, …) was mentioned in a posted message.
+ #[serde(rename = "message.mentioned")]
+ Mentioned(MessageMentionedMetadata),
+ /// Attachments were added to a message.
+ #[serde(rename = "message.attachment_created")]
+ AttachmentCreated(MessageAttachmentCreatedMetadata),
+ /// Attachments were removed from a message.
+ #[serde(rename = "message.attachment_removed")]
+ AttachmentRemoved(MessageAttachmentRemovedMetadata),
+}
+
+impl TopicEvent for MessageTopicEvent {
+ type Topic = MacroMessagesTopic;
+ const SCHEMA_VERSION: u8 = 1;
+}
+
+/// Message facts keyed by thread root to preserve conversation ordering.
+#[derive(Debug, Clone)]
+pub struct MessageMacroEvent {
+ key: String,
+ event: Event<MessageTopicEvent>,
+}
+
+impl MessageMacroEvent {
+ fn new(root_id: Uuid, event: MessageTopicEvent) -> Self {
+ Self {
+ key: root_id.to_string(),
+ event: Event::new(event),
+ }
+ }
+
+ /// Wrap a persisted post for publication.
+ pub fn posted(metadata: MessagePostedMetadata) -> Self {
+ Self::new(metadata.root_id, MessageTopicEvent::Posted(metadata))
+ }
+
+ /// Wrap a persisted content edit for publication.
+ pub fn patched(metadata: MessagePatchedMetadata) -> Self {
+ Self::new(metadata.root_id, MessageTopicEvent::Patched(metadata))
+ }
+
+ /// Wrap a persisted tombstone for publication.
+ pub fn deleted(metadata: MessageDeletedMetadata) -> Self {
+ Self::new(metadata.root_id, MessageTopicEvent::Deleted(metadata))
+ }
+
+ /// Wrap one mentioned entity for publication.
+ pub fn mentioned(metadata: MessageMentionedMetadata) -> Self {
+ Self::new(metadata.root_id, MessageTopicEvent::Mentioned(metadata))
+ }
+
+ /// Wrap added attachments for publication.
+ pub fn attachment_created(metadata: MessageAttachmentCreatedMetadata) -> Self {
+ Self::new(
+ metadata.root_id,
+ MessageTopicEvent::AttachmentCreated(metadata),
+ )
+ }
+
+ /// Wrap removed attachments for publication.
+ pub fn attachment_removed(metadata: MessageAttachmentRemovedMetadata) -> Self {
+ Self::new(
+ metadata.root_id,
+ MessageTopicEvent::AttachmentRemoved(metadata),
+ )
+ }
+}
+
+impl MacroEvent for MessageMacroEvent {
+ type EventPayload = MessageTopicEvent;
+ fn key(&self) -> &str {
+ &self.key
+ }
+ fn event(&self) -> &Event<Self::EventPayload> {
+ &self.event
+ }
+ fn from_event(key: String, event: Event<Self::EventPayload>) -> Self {
+ Self { key, event }
+ }
+}
+
+/// Publishes committed message facts to the common event stream.
+#[derive(Clone)]
+pub struct BrokerMessagePublisher<Broker> {
+ broker: Broker,
+}
+
+impl<Broker> BrokerMessagePublisher<Broker> {
+ /// Construct a broker sink for committed message facts.
+ pub fn new(broker: Broker) -> Self {
+ Self { broker }
+ }
+}
+
+#[cfg(feature = "ports")]
+impl<Broker: macro_event_broker::MacroEventBroker> crate::domain::ports::MessageEventPublisher
+ for BrokerMessagePublisher<Broker>
+{
+ async fn publish(
+ &self,
+ event: crate::domain::ports::MessageEvent,
+ ) -> Result<(), rootcause::Report> {
+ // Facts are published independently of notification delivery: a
+ // notification failure cannot keep a committed change from consumers.
+ let mut first_error = None;
+ for fact in topic_events(&event) {
+ if let Err(error) = self.broker.send_event(&fact) {
+ tracing::error!(error=?error, key = fact.key(), "failed to publish message fact");
+ first_error.get_or_insert_with(|| rootcause::report!(error).into());
+ }
+ }
+ first_error.map_or(Ok(()), Err)
+ }
+}
+
+/// The topic facts a committed change produces, in publication order.
+#[cfg(feature = "ports")]
+pub fn topic_events(event: &crate::domain::ports::MessageEvent) -> Vec<MessageMacroEvent> {
+ use crate::domain::{events::MessageEventAttachment, ports::MessageChange};
+ let Ok(actor) = channel_sender::ChannelSender::try_from(event.actor.clone()) else {
+ return Vec::new();
+ };
+ match &event.change {
+ MessageChange::Posted {
+ message, mentions, ..
+ } => {
+ let posted = MessagePostedMetadata::from_message(message, mentions.clone());
+ let mut facts = vec![MessageMacroEvent::posted(posted.clone())];
+ if !posted.attachments.is_empty() {
+ facts.push(MessageMacroEvent::attachment_created(
+ MessageAttachmentCreatedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ actor: message.sender_id.clone(),
+ attachments: posted.attachments.clone(),
+ },
+ ));
+ }
+ let mut seen = std::collections::HashSet::new();
+ for mention in mentions {
+ if !seen.insert((mention.entity_type.as_str(), mention.entity_id.as_str())) {
+ continue;
+ }
+ facts.push(MessageMacroEvent::mentioned(MessageMentionedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ sender: message.sender_id.clone(),
+ content: message.content.clone(),
+ mentioned: mention.clone(),
+ created_at: message.created_at,
+ }));
+ }
+ facts
+ }
+ MessageChange::Edited {
+ message,
+ previous_attachments,
+ ..
+ } => {
+ let mut facts = vec![MessageMacroEvent::patched(MessagePatchedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ actor: actor.clone(),
+ content: message.content.clone(),
+ edited_at: message.edited_at,
+ updated_at: message.updated_at,
+ })];
+ let added: Vec<_> = message
+ .attachments
+ .iter()
+ .filter(|attachment| !previous_attachments.iter().any(|p| p.id == attachment.id))
+ .map(MessageEventAttachment::from)
+ .collect();
+ let removed: Vec<_> = previous_attachments
+ .iter()
+ .filter(|previous| !message.attachments.iter().any(|a| a.id == previous.id))
+ .map(MessageEventAttachment::from)
+ .collect();
+ if !added.is_empty() {
+ facts.push(MessageMacroEvent::attachment_created(
+ MessageAttachmentCreatedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ actor: actor.clone(),
+ attachments: added,
+ },
+ ));
+ }
+ if !removed.is_empty() {
+ facts.push(MessageMacroEvent::attachment_removed(
+ MessageAttachmentRemovedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ actor,
+ attachments: removed,
+ },
+ ));
+ }
+ facts
+ }
+ MessageChange::MessageDeleted { message } => {
+ vec![MessageMacroEvent::deleted(MessageDeletedMetadata {
+ parent: message.parent.clone(),
+ message_id: message.id,
+ thread_id: message.thread_id,
+ root_id: message.root_id(),
+ actor,
+ deleted_at: message.deleted_at,
+ })]
+ }
+ MessageChange::ReactionChanged { .. }
+ | MessageChange::ThreadUpdated { .. }
+ | MessageChange::Typing { .. } => Vec::new(),
+ }
+}
diff --git a/crates/messages/src/outbound/broker/test.rs b/crates/messages/src/outbound/broker/test.rs
new file mode 100644
index 0000000000..8c960935cf
--- /dev/null
+++ b/crates/messages/src/outbound/broker/test.rs
@@ -0,0 +1,225 @@
+use super::*;
+use crate::domain::{
+ models::{Message, MessageAttachment, MessageParent, SimpleMention},
+ ports::{MessageChange, MessageEvent, MessageEventPublisher},
+};
+use chrono::Utc;
+use macro_event_broker::{EventBrokerError, MacroEventBroker};
+use std::sync::{Arc, Mutex};
+
+#[derive(Clone, Default)]
+struct RecordingBroker {
+ published: Arc<Mutex<Vec<(String, String, serde_json::Value)>>>,
+}
+
+impl MacroEventBroker for RecordingBroker {
+ fn send_event<E: MacroEvent + ?Sized>(
+ &self,
+ event: &E,
+ ) -> Result<tokio::task::JoinHandle<Result<(), EventBrokerError>>, EventBrokerError> {
+ self.published.lock().unwrap().push((
+ event.topic().to_owned(),
+ event.key().to_owned(),
+ serde_json::to_value(event.event())?,
+ ));
+ Ok(tokio::spawn(async { Ok(()) }))
+ }
+}
+
+const ROOT: Uuid = Uuid::from_u128(1);
+const REPLY: Uuid = Uuid::from_u128(2);
+const SENDER: &str = "macro|[email protected]";
+
+fn attachment(id: u128) -> MessageAttachment {
+ MessageAttachment {
+ id: Uuid::from_u128(id),
+ entity_type: "document".into(),
+ entity_id: Uuid::from_u128(id + 100).to_string(),
+ width: None,
+ height: None,
+ created_at: Utc::now(),
+ }
+}
+
+fn reply(parent: MessageParent, attachments: Vec<MessageAttachment>) -> Message {
+ Message {
+ id: REPLY,
+ parent,
+ thread_id: Some(ROOT),
+ sender_id: SENDER.to_owned().try_into().unwrap(),
+ imported_author: None,
+ bot_profile: None,
+ mentions: vec![],
+ triggered_by: None,
+ content: "hello @someone".into(),
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ edited_at: None,
+ deleted_at: None,
+ attachments,
+ reactions: vec![],
+ }
+}
+
+fn event(parent: MessageParent, change: MessageChange) -> MessageEvent {
+ MessageEvent {
+ parent,
+ actor: SENDER.into(),
+ nonce: None,
+ change,
+ }
+}
+
+fn mention(kind: &str, id: &str) -> SimpleMention {
+ SimpleMention {
+ entity_type: kind.into(),
+ entity_id: id.into(),
+ }
+}
+
+async fn publish(
+ parent: MessageParent,
+ change: MessageChange,
+) -> Vec<(String, String, serde_json::Value)> {
+ let broker = RecordingBroker::default();
+ BrokerMessagePublisher::new(broker.clone())
+ .publish(event(parent, change))
+ .await
+ .unwrap();
+ broker.published.lock().unwrap().clone()
+}
+
+fn event_types(published: &[(String, String, serde_json::Value)]) -> Vec<String> {
+ published
+ .iter()
+ .map(|(_, _, payload)| payload["event_type"].as_str().unwrap().to_owned())
+ .collect()
+}
+
+#[tokio::test]
+async fn a_post_publishes_posted_attachment_and_one_mention_per_entity_for_both_parents() {
+ for parent in [
+ MessageParent::Channel(Uuid::from_u128(20)),
+ MessageParent::parse("document", "legacy-doc").unwrap(),
+ ] {
+ let published = publish(
+ parent.clone(),
+ MessageChange::Posted {
+ notification_policy: Default::default(),
+ message: reply(parent.clone(), vec![attachment(5)]),
+ mentions: vec![
+ mention("user", "macro|[email protected]"),
+ mention("document", "doc"),
+ mention("user", "macro|[email protected]"),
+ ],
+ },
+ )
+ .await;
+ assert_eq!(
+ event_types(&published),
+ [
+ "message.posted",
+ "message.attachment_created",
+ "message.mentioned",
+ "message.mentioned",
+ ]
+ );
+ assert!(
+ published
+ .iter()
+ .all(|(topic, key, _)| { *topic == "macro.messages" && *key == ROOT.to_string() })
+ );
+ let posted = &published[0].2["metadata"];
+ assert_eq!(posted["parent"], serde_json::to_value(&parent).unwrap());
+ assert_eq!(posted["message_id"], REPLY.to_string());
+ assert_eq!(posted["thread_id"], ROOT.to_string());
+ assert_eq!(posted["root_id"], ROOT.to_string());
+ assert_eq!(posted["sender"], SENDER);
+ assert_eq!(posted["mentions"].as_array().unwrap().len(), 3);
+ assert_eq!(
+ posted["attachments"][0]["attachment_id"],
+ Uuid::from_u128(5).to_string()
+ );
+ assert_eq!(
+ published[2].2["metadata"]["mentioned"]["entity_id"],
+ );
+ assert_eq!(
+ published[3].2["metadata"]["mentioned"]["entity_type"],
+ "document"
+ );
+ let round_trip: MessageTopicEvent = serde_json::from_value(published[0].2.clone()).unwrap();
+ assert!(matches!(round_trip, MessageTopicEvent::Posted(_)));
+ }
+}
+
+#[tokio::test]
+async fn an_edit_publishes_patched_and_attachment_deltas() {
+ let parent = MessageParent::parse("document", "legacy-doc").unwrap();
+ let mut edited = reply(parent.clone(), vec![attachment(5), attachment(6)]);
+ edited.edited_at = Some(Utc::now());
+ let published = publish(
+ parent,
+ MessageChange::Edited {
+ notification_policy: Default::default(),
+ message: edited,
+ mentions: vec![mention("user", "macro|[email protected]")],
+ previous_attachments: vec![attachment(6), attachment(7)],
+ },
+ )
+ .await;
+ assert_eq!(
+ event_types(&published),
+ [
+ "message.patched",
+ "message.attachment_created",
+ "message.attachment_removed",
+ ]
+ );
+ assert!(published[0].2["metadata"]["edited_at"].is_string());
+ assert_eq!(published[0].2["metadata"]["actor"], SENDER);
+ assert_eq!(
+ published[1].2["metadata"]["attachments"][0]["attachment_id"],
+ Uuid::from_u128(5).to_string()
+ );
+ assert_eq!(
+ published[2].2["metadata"]["attachments"][0]["attachment_id"],
+ Uuid::from_u128(7).to_string()
+ );
+}
+
+#[tokio::test]
+async fn deletions_publish_and_reactions_typing_and_thread_state_stay_off_the_topic() {
+ let parent = MessageParent::Channel(Uuid::from_u128(20));
+ let mut deleted = reply(parent.clone(), vec![]);
+ deleted.deleted_at = Some(Utc::now());
+ let published = publish(
+ parent.clone(),
+ MessageChange::MessageDeleted { message: deleted },
+ )
+ .await;
+ assert_eq!(event_types(&published), ["message.deleted"]);
+ assert_eq!(published[0].2["metadata"]["root_id"], ROOT.to_string());
+ for change in [
+ MessageChange::ReactionChanged {
+ message: reply(parent.clone(), vec![]),
+ },
+ MessageChange::Typing {
+ thread_id: Some(ROOT),
+ active: true,
+ },
+ MessageChange::ThreadUpdated {
+ state: crate::domain::models::ThreadState {
+ root_id: ROOT,
+ user_id: SENDER.into(),
+ resolved: true,
+ anchor: None,
+ created_at: Utc::now(),
+ updated_at: Utc::now(),
+ deleted_at: None,
+ },
+ },
+ ] {
+ assert!(publish(parent.clone(), change).await.is_empty());
+ }
+}
diff --git a/crates/messages/src/outbound/connection_gateway.rs b/crates/messages/src/outbound/connection_gateway.rs
new file mode 100644
index 0000000000..a393a14deb
--- /dev/null
+++ b/crates/messages/src/outbound/connection_gateway.rs
@@ -0,0 +1,52 @@
+use crate::domain::{delivery::MessageRealtime, models::MessageParent, ports::MessageEvent};
+use connection_gateway_client::client::ConnectionGatewayClient;
+use model_entity::{Entity, EntityType};
+use std::collections::HashSet;
+
+/// Shared event transport targeting individually authorized users.
+#[derive(Clone)]
+pub struct ConnectionGatewayMessages(pub std::sync::Arc<ConnectionGatewayClient>);
+
+fn entity(parent: &MessageParent) -> Entity<'static> {
+ let kind = match parent {
+ MessageParent::Channel(_) => EntityType::Channel,
+ MessageParent::Document(_) => EntityType::Document,
+ };
+ kind.with_entity_string(parent.entity_id())
+}
+
+impl MessageRealtime for ConnectionGatewayMessages {
+ async fn subscribers(
+ &self,
+ parent: &MessageParent,
+ ) -> Result<HashSet<String>, rootcause::Report> {
+ self.0
+ .track_entity_users(entity(parent))
+ .await
+ .map(|users| users.into_iter().collect())
+ .map_err(|e| rootcause::report!("failed to read message subscribers: {e}"))
+ }
+
+ async fn send(
+ &self,
+ event: &MessageEvent,
+ users: HashSet<String>,
+ ) -> Result<(), rootcause::Report> {
+ if users.is_empty() {
+ return Ok(());
+ }
+ let targets = users
+ .into_iter()
+ .map(|u| EntityType::User.with_entity_string(u))
+ .collect();
+ self.0
+ .batch_send_message(
+ "message_update".into(),
+ serde_json::to_value(event)?,
+ targets,
+ )
+ .await
+ .map_err(|e| rootcause::report!("failed to send message event: {e}"))?;
+ Ok(())
+ }
+}
diff --git a/crates/messages/src/outbound/entity_access_audience.rs b/crates/messages/src/outbound/entity_access_audience.rs
new file mode 100644
index 0000000000..e20a89dcad
--- /dev/null
+++ b/crates/messages/src/outbound/entity_access_audience.rs
@@ -0,0 +1,174 @@
+use crate::domain::{delivery::MessageAudienceAccess, models::MessageParent, service::MessageView};
+use entity_access::domain::{
+ models::{AccessError, EntityType},
+ ports::EntityAccessService,
+};
+use macro_user_id::user_id::MacroUserIdStr;
+use std::collections::HashSet;
+
+/// Uses the existing access service to mint fresh view capabilities for delivery.
+#[derive(Clone)]
+pub struct EntityAccessMessageAudience<A>(pub A);
+
+impl<A: EntityAccessService> MessageAudienceAccess for EntityAccessMessageAudience<A> {
+ async fn viewers(
+ &self,
+ parent: &MessageParent,
+ candidates: HashSet<String>,
+ ) -> Result<HashSet<String>, rootcause::Report> {
+ let kind = match parent {
+ MessageParent::Channel(_) => EntityType::Channel,
+ MessageParent::Document(_) => EntityType::Document,
+ };
+ let mut viewers = HashSet::new();
+ for candidate in candidates {
+ let Ok(user) = MacroUserIdStr::try_from(candidate.clone()) else {
+ continue;
+ };
+ // No organization is asserted on behalf of a recipient. The access
+ // service resolves current direct, inherited, and mailbox access.
+ match self
+ .0
+ .generate_entity_access_receipt::<MessageView>(
+ &user.0,
+ None,
+ &parent.entity_id(),
+ kind,
+ )
+ .await
+ {
+ Ok(_) => {
+ viewers.insert(candidate);
+ }
+ Err(AccessError::Unavailable(error) | AccessError::Internal(error)) => {
+ return Err(error);
+ }
+ Err(_) => {}
+ }
+ }
+ Ok(viewers)
+ }
+}
+
+/// Adapts existing entity access receipts to the message reference boundary.
+#[derive(Clone)]
+pub struct EntityAccessMessageReferences<A>(pub A);
+
+impl<A: EntityAccessService> crate::domain::ports::MessageReferenceAccess
+ for EntityAccessMessageReferences<A>
+{
+ fn can_write<'a>(
+ &'a self,
+ auth: &'a entity_access::domain::models::EntityAccessAuth,
+ entity_type: EntityType,
+ entity_id: &'a str,
+ ) -> std::pin::Pin<
+ Box<dyn Future<Output = Result<bool, crate::domain::ports::MessageError>> + Send + 'a>,
+ > {
+ Box::pin(async move {
+ use entity_access::domain::models::{
+ BotAccessScope, BotReceiptScope, EntityAccessAuth,
+ };
+ let result = match auth {
+ EntityAccessAuth::Authenticated(user) => {
+ self.0
+ .generate_entity_access_receipt::<crate::domain::service::MessageWrite>(
+ &user.0,
+ None,
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ EntityAccessAuth::Bot(bot) => {
+ let scope = match bot.scope() {
+ BotReceiptScope::Channel { channel_id } => {
+ return Ok(entity_type == EntityType::Channel
+ && entity_id == channel_id.to_string());
+ }
+ BotReceiptScope::User { acting_user } => BotAccessScope::User {
+ user_id: acting_user.clone(),
+ user_org_id: None,
+ },
+ BotReceiptScope::Team { team_id } => {
+ BotAccessScope::Team { team_id: *team_id }
+ }
+ };
+ self.0
+ .generate_bot_entity_access_receipt::<crate::domain::service::MessageWrite>(
+ bot.bot_id(),
+ scope,
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ _ => return Ok(false),
+ };
+ match result {
+ Ok(_) => Ok(true),
+ Err(AccessError::Unavailable(error) | AccessError::Internal(error)) => {
+ Err(crate::domain::ports::MessageError::Repository(error))
+ }
+ Err(_) => Ok(false),
+ }
+ })
+ }
+ fn can_view<'a>(
+ &'a self,
+ auth: &'a entity_access::domain::models::EntityAccessAuth,
+ entity_type: EntityType,
+ entity_id: &'a str,
+ ) -> std::pin::Pin<
+ Box<dyn Future<Output = Result<bool, crate::domain::ports::MessageError>> + Send + 'a>,
+ > {
+ Box::pin(async move {
+ use entity_access::domain::models::{
+ BotAccessScope, BotReceiptScope, EntityAccessAuth,
+ };
+ let result = match auth {
+ EntityAccessAuth::Authenticated(user) => {
+ self.0
+ .generate_entity_access_receipt::<MessageView>(
+ &user.0,
+ None,
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ EntityAccessAuth::Bot(bot) => {
+ let scope = match bot.scope() {
+ BotReceiptScope::Channel { channel_id } => {
+ return Ok(entity_type == EntityType::Channel
+ && entity_id == channel_id.to_string());
+ }
+ BotReceiptScope::User { acting_user } => BotAccessScope::User {
+ user_id: acting_user.clone(),
+ user_org_id: None,
+ },
+ BotReceiptScope::Team { team_id } => {
+ BotAccessScope::Team { team_id: *team_id }
+ }
+ };
+ self.0
+ .generate_bot_entity_access_receipt::<MessageView>(
+ bot.bot_id(),
+ scope,
+ entity_id,
+ entity_type,
+ )
+ .await
+ }
+ _ => return Ok(false),
+ };
+ match result {
+ Ok(_) => Ok(true),
+ Err(AccessError::Unavailable(error) | AccessError::Internal(error)) => {
+ Err(crate::domain::ports::MessageError::Repository(error))
+ }
+ Err(_) => Ok(false),
+ }
+ })
+ }
+}
diff --git a/crates/messages/src/outbound/mod.rs b/crates/messages/src/outbound/mod.rs
new file mode 100644
index 0000000000..9574ce4545
--- /dev/null
+++ b/crates/messages/src/outbound/mod.rs
@@ -0,0 +1,18 @@
+/// Broker envelopes and message publication.
+#[cfg(feature = "broker")]
+pub mod broker;
+/// Authorized websocket delivery.
+#[cfg(feature = "delivery")]
+pub mod connection_gateway;
+/// Current audience capabilities from the entity access service.
+#[cfg(feature = "outbound")]
+pub mod entity_access_audience;
+/// Contextual notification transport.
+#[cfg(feature = "delivery")]
+pub mod notification_sender;
+/// Parent and thread audience facts.
+#[cfg(feature = "delivery")]
+pub mod pg_discussion_context;
+/// Postgres persistence for the shared message store.
+#[cfg(feature = "outbound")]
+pub mod pg_message_repo;
diff --git a/crates/messages/src/outbound/notification_sender.rs b/crates/messages/src/outbound/notification_sender.rs
new file mode 100644
index 0000000000..e07fee0599
--- /dev/null
+++ b/crates/messages/src/outbound/notification_sender.rs
@@ -0,0 +1,121 @@
+use crate::domain::{
+ delivery::{DiscussionNotification, DiscussionNotifier},
+ models::MessageParent,
+ notification::CommentNotificationReason,
+};
+use macro_user_id::user_id::MacroUserIdStr;
+use model_entity::EntityType;
+use model_notifications::{
+ CommentedOnDocumentMetadata, MentionedInDocumentCommentMetadata, NotificationDocumentSubType,
+ RepliedToDocumentCommentThreadMetadata,
+};
+use notification::domain::{models::SendNotificationRequestBuilder, service::NotificationIngress};
+
+/// Uses notification ingress with the existing document comment type names.
+#[derive(Clone)]
+pub struct MessageNotificationSender<N>(pub std::sync::Arc<N>);
+
+impl<N: NotificationIngress> DiscussionNotifier for MessageNotificationSender<N> {
+ async fn send(&self, n: DiscussionNotification<'_>) -> Result<(), rootcause::Report> {
+ let sender_id = n.message.sender_id.as_user().cloned();
+ let sender_display_name = n
+ .message
+ .bot_profile
+ .as_ref()
+ .map(|profile| profile.name.clone())
+ .or_else(|| n.message.sender_id.as_bot().map(|_| "Agent".to_owned()));
+ let recipient_ids =
+ std::collections::HashSet::from([MacroUserIdStr::try_from(n.recipient)?]);
+ let kind = match n.event.parent {
+ MessageParent::Document(_) => EntityType::Document,
+ MessageParent::Channel(_) => {
+ return Err(rootcause::report!(
+ "comment notification requires discussion parent"
+ ));
+ }
+ };
+ let notification_entity = kind.with_entity_string(n.event.parent.entity_id());
+ let secondary_notification_entity = None;
+ macro_rules! send {
+ ($metadata:expr) => {
+ self.0
+ .send_notification(
+ SendNotificationRequestBuilder {
+ notification_entity,
+ secondary_notification_entity,
+ notification: $metadata,
+ sender_id,
+ recipient_ids,
+ }
+ .into_request()
+ .with_apns()
+ .with_conn_gateway(),
+ )
+ .await?
+ };
+ }
+ let owner = MacroUserIdStr::try_from(n.context.owner.clone())?;
+ let sub_type = n
+ .context
+ .is_task
+ .then_some(NotificationDocumentSubType::Task);
+ match n.reason {
+ CommentNotificationReason::Mention => {
+ send!(MentionedInDocumentCommentMetadata {
+ sender_display_name: sender_display_name.clone(),
+ document_name: n.context.name.clone(),
+ owner,
+ file_type: n.context.file_type.clone(),
+ sub_type,
+ mention_id: n.message.id.to_string(),
+ comment_id: n.message.id.into(),
+ thread_id: n.message.root_id().into(),
+ text: n.message.content.clone(),
+ sender_profile_picture_url: n
+ .message
+ .bot_profile
+ .as_ref()
+ .and_then(|profile| profile.avatar_url.clone())
+ .or_else(|| n.context.sender_profile_picture.clone()),
+ });
+ }
+ CommentNotificationReason::Reply => {
+ send!(RepliedToDocumentCommentThreadMetadata {
+ sender_display_name: sender_display_name.clone(),
+ document_name: n.context.name.clone(),
+ owner,
+ file_type: n.context.file_type.clone(),
+ sub_type,
+ comment_id: n.message.id.into(),
+ thread_id: n.message.root_id().into(),
+ text: n.message.content.clone(),
+ sender_profile_picture_url: n
+ .message
+ .bot_profile
+ .as_ref()
+ .and_then(|profile| profile.avatar_url.clone())
+ .or_else(|| n.context.sender_profile_picture.clone()),
+ });
+ }
+ _ => {
+ send!(CommentedOnDocumentMetadata {
+ sender_display_name: sender_display_name.clone(),
+ document_name: n.context.name.clone(),
+ owner,
+ file_type: n.context.file_type.clone(),
+ sub_type,
+ comment_id: n.message.id.into(),
+ thread_id: n.message.root_id().into(),
+ text: n.message.content.clone(),
+ sender_profile_picture_url: n
+ .message
+ .bot_profile
+ .as_ref()
+ .and_then(|profile| profile.avatar_url.clone())
+ .or_else(|| n.context.sender_profile_picture.clone()),
+ });
+ }
+ }
+ Ok(())
+ }
+}
diff --git a/crates/messages/src/outbound/pg_discussion_context.rs b/crates/messages/src/outbound/pg_discussion_context.rs
new file mode 100644
index 0000000000..fa02314c39
--- /dev/null
+++ b/crates/messages/src/outbound/pg_discussion_context.rs
@@ -0,0 +1,89 @@
+use crate::domain::{
+ delivery::{DiscussionContext, DiscussionContextReader},
+ models::MessageParent,
+};
+use sqlx::PgPool;
+use uuid::Uuid;
+
+/// Parent metadata and discussion audience facts from MacroDB.
+#[derive(Clone)]
+pub struct PgDiscussionContext(pub PgPool);
+
+impl DiscussionContextReader for PgDiscussionContext {
+ async fn sender_profile_picture(
+ &self,
+ actor: &str,
+ ) -> Result<Option<String>, rootcause::Report> {
+ Ok(sqlx::query_scalar!(r#"SELECT i.profile_picture FROM macro_user_info i JOIN "User" u ON u.macro_user_id = i.macro_user_id WHERE u.id = $1"#, actor)
+ .fetch_optional(&self.0).await?.flatten())
+ }
+ async fn context(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<DiscussionContext, rootcause::Report> {
+ let mut context = match parent {
+ MessageParent::Document(_) => {
+ let row = sqlx::query!(r#"SELECT d.name, d.owner, d."fileType" AS file_type,
+ (SELECT sp."linkShareAccessLevel"::"AccessLevel" FROM "DocumentPermission" dp
+ JOIN "SharePermission" sp ON sp.id = dp."sharePermissionId"
+ WHERE dp."documentId" = d.id AND sp."linkShare" IN ('PUBLIC', 'TEAM')) AS "link_share_access: entity_access::domain::models::AccessLevel",
+ EXISTS (SELECT 1 FROM document_sub_type s WHERE s.document_id = d.id AND s.sub_type = 'task') AS "is_task!"
+ FROM "Document" d WHERE d.id = $1 AND d."deletedAt" IS NULL"#, parent.entity_id())
+ .fetch_one(&self.0).await?;
+ DiscussionContext {
+ name: row.name,
+ owner: row.owner,
+ file_type: row.file_type,
+ is_task: row.is_task,
+ participants: vec![],
+ assignees: vec![],
+ sender_profile_picture: None,
+ link_share_access: row.link_share_access,
+ }
+ }
+ MessageParent::Channel(_) => {
+ return Err(rootcause::report!("channel has no discussion context"));
+ }
+ };
+ context.participants = sqlx::query_scalar!(
+ r#"SELECT DISTINCT sender_id FROM comms_messages
+ WHERE parent_entity_type = $1 AND parent_entity_id = $2 AND (id = $3 OR thread_id = $3)
+ AND imported_author IS NULL"#,
+ parent.entity_type(),
+ parent.entity_id(),
+ root
+ )
+ .fetch_all(&self.0)
+ .await?;
+ if context.is_task {
+ context.assignees = sqlx::query_scalar!(r#"SELECT ref->>'entity_id' AS "user_id!"
+ FROM entity_properties p CROSS JOIN LATERAL jsonb_array_elements(p.values->'value') ref
+ WHERE p.entity_type = 'DOCUMENT' AND p.entity_id = $1 AND p.property_definition_id = $2
+ AND p.values->>'type' = 'EntityReference' AND ref->>'entity_type' = 'USER'"#,
+ parent.entity_id(), system_properties::SystemPropertyKey::Assignees.uuid())
+ .fetch_all(&self.0).await?;
+ }
+ Ok(context)
+ }
+}
+
+impl crate::domain::delivery::DiscussionMentionSharing for PgDiscussionContext {
+ async fn grant(
+ &self,
+ document: Uuid,
+ users: Vec<String>,
+ level: entity_access::domain::models::AccessLevel,
+ ) -> Result<(), rootcause::Report> {
+ sqlx::query!(r#"INSERT INTO entity_access (entity_id, entity_type, source_id, source_type, access_level)
+ SELECT $1::uuid, 'document', u.user_id, 'user', $3::"AccessLevel"
+ FROM UNNEST($2::text[]) u(user_id)
+ WHERE EXISTS (SELECT 1 FROM "DocumentPermission" dp JOIN "SharePermission" sp ON sp.id = dp."sharePermissionId"
+ JOIN "Document" d ON d.id = dp."documentId"
+ WHERE dp."documentId" = $1::uuid::text AND sp."linkShare" IN ('PUBLIC', 'TEAM')
+ AND sp."linkShareAccessLevel"::"AccessLevel" = $3 AND d."deletedAt" IS NULL)
+ ON CONFLICT (entity_id, entity_type, source_id, source_type) WHERE granted_from_project_id IS NULL DO NOTHING"#,
+ document, &users, level as _).execute(&self.0).await?;
+ Ok(())
+ }
+}
diff --git a/crates/messages/src/outbound/pg_message_repo.rs b/crates/messages/src/outbound/pg_message_repo.rs
new file mode 100644
index 0000000000..bf9310c7f4
--- /dev/null
+++ b/crates/messages/src/outbound/pg_message_repo.rs
@@ -0,0 +1,751 @@
+use crate::domain::{mentions::MessageReferenceKind, models::*, ports::*};
+use chrono::{DateTime, Utc};
+use serde::Deserialize;
+use sqlx::{PgPool, Postgres, Transaction, types::Json};
+use std::collections::HashMap;
+use uuid::Uuid;
+
+mod timeline;
+
+#[cfg(test)]
+mod test;
+
+/// Postgres adapter shared by channel messages and entity discussions.
+#[derive(Clone)]
+pub struct PgMessageRepository {
+ pool: PgPool,
+}
+
+#[derive(Deserialize)]
+struct StoredMessage {
+ id: Uuid,
+ parent_entity_type: String,
+ parent_entity_id: String,
+ thread_id: Option<Uuid>,
+ sender_id: String,
+ imported_author: Option<String>,
+ triggered_by_user_id: Option<String>,
+ content: String,
+ created_at: DateTime<Utc>,
+ updated_at: DateTime<Utc>,
+ edited_at: Option<chrono::NaiveDateTime>,
+ deleted_at: Option<chrono::NaiveDateTime>,
+}
+
+fn database_error(error: sqlx::Error) -> MessageError {
+ if let sqlx::Error::Database(ref error) = error {
+ match error.code().as_deref() {
+ Some("23503") => return MessageError::NotFound,
+ Some("23505") => {
+ return MessageError::Invalid("a live discussion already uses this anchor");
+ }
+ Some("23514") => {
+ return MessageError::Invalid("invalid message parent, thread, or anchor");
+ }
+ _ => {}
+ }
+ }
+ MessageError::Repository(rootcause::Report::new(error).into())
+}
+
+/// Legacy channel column kept in step with the parent until the last PR of the stack.
+fn channel_column(parent: &MessageParent) -> Option<Uuid> {
+ match parent {
+ MessageParent::Channel(id) => Some(*id),
+ MessageParent::Document(_) => None,
+ }
+}
+
+/// Email references arrive under several editor aliases; store the canonical one.
+fn stored_attachment_type(entity_type: &str) -> &str {
+ match MessageReferenceKind::parse(entity_type) {
+ Some(MessageReferenceKind::EmailThread) => "email_thread",
+ _ => entity_type,
+ }
+}
+
+impl PgMessageRepository {
+ /// Create a repository using the shared MacroDB pool.
+ pub fn new(pool: PgPool) -> Self {
+ Self { pool }
+ }
+
+ async fn hydrate(&self, rows: Vec<Json<StoredMessage>>) -> Result<Vec<Message>, MessageError> {
+ let mut connection = self.pool.acquire().await.map_err(database_error)?;
+ Self::hydrate_in(&mut connection, rows).await
+ }
+
+ async fn hydrate_in(
+ connection: &mut sqlx::PgConnection,
+ rows: Vec<Json<StoredMessage>>,
+ ) -> Result<Vec<Message>, MessageError> {
+ let ids: Vec<_> = rows.iter().map(|r| r.id).collect();
+ let attachments = sqlx::query!(
+ r#"SELECT message_id, id, entity_type, entity_id, width, height, created_at
+ FROM comms_attachments WHERE message_id = ANY($1) ORDER BY created_at, id"#,
+ &ids,
+ )
+ .fetch_all(&mut *connection)
+ .await
+ .map_err(database_error)?;
+ let reactions = sqlx::query!(
+ r#"SELECT message_id, emoji, array_agg(user_id ORDER BY user_id) AS "users!"
+ FROM comms_reactions WHERE message_id = ANY($1) GROUP BY message_id, emoji ORDER BY emoji"#,
+ &ids,
+ ).fetch_all(&mut *connection).await.map_err(database_error)?;
+ let mut attachment_map: HashMap<Uuid, Vec<MessageAttachment>> = HashMap::new();
+ for a in attachments {
+ attachment_map
+ .entry(a.message_id)
+ .or_default()
+ .push(MessageAttachment {
+ id: a.id,
+ entity_type: a.entity_type,
+ entity_id: a.entity_id,
+ width: a.width,
+ height: a.height,
+ created_at: a.created_at,
+ });
+ }
+ let mut reaction_map: HashMap<Uuid, Vec<CountedReaction>> = HashMap::new();
+ for r in reactions {
+ reaction_map
+ .entry(r.message_id)
+ .or_default()
+ .push(CountedReaction {
+ emoji: r.emoji,
+ users: r.users,
+ });
+ }
+ let string_ids: Vec<String> = ids.iter().map(ToString::to_string).collect();
+ let mention_rows = sqlx::query!("SELECT source_entity_id, entity_type, entity_id FROM comms_entity_mentions WHERE source_entity_type = 'message' AND source_entity_id = ANY($1) ORDER BY entity_type, entity_id", &string_ids)
+ .fetch_all(&mut *connection).await.map_err(database_error)?;
+ let mut mention_map: HashMap<String, Vec<SimpleMention>> = HashMap::new();
+ for mention in mention_rows {
+ mention_map
+ .entry(mention.source_entity_id)
+ .or_default()
+ .push(SimpleMention {
+ entity_type: mention.entity_type,
+ entity_id: mention.entity_id,
+ });
+ }
+ let bot_ids: Vec<Uuid> = rows
+ .iter()
+ .filter_map(|r| {
+ r.sender_id
+ .strip_prefix("bot|")
+ .and_then(|id| id.parse().ok())
+ })
+ .collect();
+ let bot_rows = sqlx::query!(
+ "SELECT id, name, avatar_url FROM bots WHERE id = ANY($1)",
+ &bot_ids
+ )
+ .fetch_all(&mut *connection)
+ .await
+ .map_err(database_error)?;
+ let bots: HashMap<_, _> = bot_rows
+ .into_iter()
+ .map(|bot| {
+ (
+ format!("bot|{}", bot.id),
+ BotSenderProfile {
+ name: bot.name,
+ avatar_url: bot.avatar_url,
+ },
+ )
+ })
+ .collect();
+ rows.into_iter()
+ .map(|Json(r)| {
+ let deleted = r.deleted_at.is_some();
+ Ok(Message {
+ id: r.id,
+ parent: MessageParent::parse(&r.parent_entity_type, &r.parent_entity_id)
+ .map_err(|e| MessageError::Repository(rootcause::Report::new(e).into()))?,
+ thread_id: r.thread_id,
+ bot_profile: bots.get(&r.sender_id).cloned().or_else(|| {
+ let id = bot_id::BotIdStr::parse_from_str(&r.sender_id)
+ .ok()?
+ .bot_id();
+ bot_id::system_bot(id).map(|bot| BotSenderProfile {
+ name: bot.name.to_owned(),
+ avatar_url: None,
+ })
+ }),
+ mentions: if deleted {
+ vec![]
+ } else {
+ mention_map.remove(&r.id.to_string()).unwrap_or_default()
+ },
+ sender_id: r
+ .sender_id
+ .try_into()
+ .map_err(|e| MessageError::Repository(rootcause::Report::new(e).into()))?,
+ imported_author: r.imported_author.map(|name| ImportedAuthor { name }),
+ triggered_by: r.triggered_by_user_id,
+ content: if deleted { String::new() } else { r.content },
+ created_at: r.created_at,
+ updated_at: r.updated_at,
+ edited_at: r.edited_at.map(|d| d.and_utc()),
+ deleted_at: r.deleted_at.map(|d| d.and_utc()),
+ attachments: if deleted {
+ vec![]
+ } else {
+ attachment_map.remove(&r.id).unwrap_or_default()
+ },
+ reactions: if deleted {
+ vec![]
+ } else {
+ reaction_map.remove(&r.id).unwrap_or_default()
+ },
+ })
+ })
+ .collect()
+ }
+
+ async fn require_message_in(
+ tx: &mut Transaction<'_, Postgres>,
+ parent: &MessageParent,
+ id: Uuid,
+ ) -> Result<Message, MessageError> {
+ let rows = sqlx::query_scalar!(r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>"
+ FROM comms_messages m WHERE id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3"#,
+ id, parent.entity_type(), parent.entity_id()).fetch_all(&mut **tx).await.map_err(database_error)?;
+ Self::hydrate_in(tx, rows)
+ .await?
+ .pop()
+ .ok_or(MessageError::NotFound)
+ }
+
+ async fn replace_references(
+ tx: &mut Transaction<'_, Postgres>,
+ parent: &MessageParent,
+ id: Uuid,
+ actor: &str,
+ mentions: &[SimpleMention],
+ attachments: Option<&[NewAttachment]>,
+ ) -> Result<(), MessageError> {
+ sqlx::query!("DELETE FROM comms_entity_mentions WHERE source_entity_type = 'message' AND source_entity_id = $1", id.to_string())
+ .execute(&mut **tx).await.map_err(database_error)?;
+ for mention in mentions {
+ sqlx::query!(
+ r#"INSERT INTO comms_entity_mentions
+ (id, source_entity_type, source_entity_id, entity_type, entity_id, user_id)
+ VALUES ($1, 'message', $2, $3, $4, $5) ON CONFLICT DO NOTHING"#,
+ macro_uuid::generate_uuid_v7(),
+ id.to_string(),
+ mention.entity_type,
+ mention.entity_id,
+ actor,
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ }
+ if let Some(attachments) = attachments {
+ // Preserve stable attachment identities when an editor submits a full
+ // replacement set. Delivery compares these IDs to detect additions/removals.
+ let existing = sqlx::query!(
+ "SELECT id, entity_type, entity_id, width, height FROM comms_attachments WHERE message_id = $1", id
+ ).fetch_all(&mut **tx).await.map_err(database_error)?;
+ let mut retained = Vec::new();
+ let mut added = Vec::new();
+ for attachment in attachments {
+ let entity_type = stored_attachment_type(&attachment.entity_type);
+ if let Some(current) = existing.iter().find(|current| {
+ !retained.contains(&current.id)
+ && current.entity_type == entity_type
+ && current.entity_id == attachment.entity_id
+ && current.width == attachment.width
+ && current.height == attachment.height
+ }) {
+ retained.push(current.id);
+ } else {
+ added.push((entity_type, attachment));
+ }
+ }
+ sqlx::query!(
+ "DELETE FROM comms_attachments WHERE message_id = $1 AND NOT (id = ANY($2))",
+ id,
+ &retained
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ for (entity_type, attachment) in added {
+ sqlx::query!(
+ r#"INSERT INTO comms_attachments (id, message_id, channel_id, entity_type, entity_id, width, height)
+ VALUES ($1, $2, $3, $4, $5, $6, $7)"#,
+ macro_uuid::generate_uuid_v7(), id, channel_column(parent), entity_type, attachment.entity_id,
+ attachment.width, attachment.height,
+ ).execute(&mut **tx).await.map_err(database_error)?;
+ }
+ }
+ Ok(())
+ }
+
+ async fn lock_message(
+ tx: &mut Transaction<'_, Postgres>,
+ parent: &MessageParent,
+ id: Uuid,
+ ) -> Result<String, MessageError> {
+ let row = sqlx::query!(
+ r#"SELECT m.sender_id FROM comms_messages m
+ JOIN comms_message_threads t ON t.root_id = COALESCE(m.thread_id, m.id)
+ WHERE m.id = $1 AND m.parent_entity_type = $2 AND m.parent_entity_id = $3
+ AND m.deleted_at IS NULL AND t.deleted_at IS NULL FOR UPDATE OF t, m"#,
+ id,
+ parent.entity_type(),
+ parent.entity_id(),
+ )
+ .fetch_optional(&mut **tx)
+ .await
+ .map_err(database_error)?
+ .ok_or(MessageError::NotFound)?;
+ Ok(row.sender_id)
+ }
+
+ /// Every root owns one thread row. The AFTER INSERT trigger from the schema
+ /// migration creates it for writers that predate this crate; this upsert keeps
+ /// the invariant when that trigger is removed and records the anchor either way.
+ async fn ensure_thread_in(
+ tx: &mut Transaction<'_, Postgres>,
+ root_id: Uuid,
+ anchor: Option<&NewThreadAnchor>,
+ ) -> Result<(), MessageError> {
+ let anchor = anchor
+ .map(|anchor| serde_json::to_value(anchor.reference()))
+ .transpose()
+ .map_err(|e| MessageError::Repository(rootcause::Report::new(e).into()))?;
+ sqlx::query!(
+ r#"INSERT INTO comms_message_threads
+ (root_id, parent_entity_type, parent_entity_id, user_id, anchor, created_at, updated_at)
+ SELECT id, parent_entity_type, parent_entity_id, sender_id, $2, created_at, updated_at
+ FROM comms_messages WHERE id = $1
+ ON CONFLICT (root_id) DO UPDATE SET anchor = EXCLUDED.anchor"#,
+ root_id,
+ anchor,
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ Ok(())
+ }
+
+ async fn attach_pdf_anchor_in(
+ tx: &mut Transaction<'_, Postgres>,
+ command: &CreateMessage,
+ root_id: Uuid,
+ ) -> Result<(), MessageError> {
+ match &command.input.anchor {
+ Some(NewThreadAnchor::PdfHighlight { anchor_id }) => {
+ let changed = sqlx::query!(
+ r#"UPDATE "PdfHighlightAnchor" SET root_id = $1
+ WHERE uuid = $2 AND "documentId" = $3 AND root_id IS NULL AND "threadId" IS NULL
+ AND "deletedAt" IS NULL"#,
+ root_id,
+ anchor_id,
+ command.parent.entity_id()
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ if changed.rows_affected() != 1 {
+ return Err(MessageError::Invalid(
+ "highlight is missing or already threaded",
+ ));
+ }
+ }
+ Some(NewThreadAnchor::PdfPlaceable {
+ anchor_id,
+ page,
+ x_pct,
+ y_pct,
+ width_pct,
+ height_pct,
+ }) => {
+ sqlx::query!(r#"INSERT INTO "PdfPlaceableCommentAnchor"
+ (uuid, "documentId", owner, root_id, page, "originalPage", "originalIndex",
+ "xPct", "yPct", "widthPct", "heightPct", rotation, "wasEdited", "wasDeleted", "shouldLockOnSave")
+ VALUES ($1, $2, $3, $4, $5, $5, -1, $6, $7, $8, $9, 0, false, false, false)"#,
+ anchor_id, command.parent.entity_id(), command.actor.as_ref(), root_id, page,
+ x_pct, y_pct, width_pct, height_pct).execute(&mut **tx).await.map_err(database_error)?;
+ }
+ Some(NewThreadAnchor::Markdown { .. }) | None => {}
+ }
+ Ok(())
+ }
+
+ /// Delete a discussion within an existing annotation transaction.
+ /// The caller must already have authorized the enclosing annotation operation.
+ pub async fn delete_thread_in(
+ tx: &mut Transaction<'_, Postgres>,
+ parent: &MessageParent,
+ root_id: Uuid,
+ ) -> Result<ThreadState, MessageError> {
+ Self::set_thread_in(tx, parent, root_id, ThreadPatch::default(), true).await
+ }
+
+ async fn set_thread(
+ &self,
+ parent: &MessageParent,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ delete: bool,
+ ) -> Result<ThreadState, MessageError> {
+ let mut tx = self.pool.begin().await.map_err(database_error)?;
+ let state = Self::set_thread_in(&mut tx, parent, root_id, patch, delete).await?;
+ tx.commit().await.map_err(database_error)?;
+ Ok(state)
+ }
+
+ async fn set_thread_in(
+ tx: &mut Transaction<'_, Postgres>,
+ parent: &MessageParent,
+ root_id: Uuid,
+ patch: ThreadPatch,
+ delete: bool,
+ ) -> Result<ThreadState, MessageError> {
+ let state = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(t) AS "state!: Json<ThreadState>" FROM comms_message_threads t
+ WHERE t.root_id = $1 AND t.parent_entity_type = $2 AND t.parent_entity_id = $3
+ AND t.deleted_at IS NULL FOR UPDATE"#,
+ root_id,
+ parent.entity_type(),
+ parent.entity_id(),
+ )
+ .fetch_optional(&mut **tx)
+ .await
+ .map_err(database_error)?
+ .ok_or(MessageError::NotFound)?;
+ if delete {
+ sqlx::query!("UPDATE comms_messages SET deleted_at = COALESCE(deleted_at, now()), updated_at = now(), content = '' WHERE id = $1 OR thread_id = $1", root_id)
+ .execute(&mut **tx).await.map_err(database_error)?;
+ if matches!(state.anchor, Some(ThreadAnchor::PdfPlaceable { .. })) {
+ sqlx::query!(
+ r#"DELETE FROM "PdfPlaceableCommentAnchor" WHERE root_id = $1"#,
+ root_id
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ }
+ if matches!(state.anchor, Some(ThreadAnchor::PdfHighlight { .. })) {
+ sqlx::query!(
+ r#"UPDATE "PdfHighlightAnchor" SET root_id = NULL WHERE root_id = $1"#,
+ root_id
+ )
+ .execute(&mut **tx)
+ .await
+ .map_err(database_error)?;
+ }
+ }
+ let result = sqlx::query_scalar!(
+ r#"UPDATE comms_message_threads t SET resolved = COALESCE($2, resolved), updated_at = now(),
+ deleted_at = CASE WHEN $3 THEN now() ELSE deleted_at END,
+ anchor = CASE WHEN $4 OR ($3 AND anchor->>'type' <> 'markdown') THEN NULL ELSE anchor END
+ WHERE root_id = $1 RETURNING to_jsonb(t) AS "state!: Json<ThreadState>""#,
+ root_id, patch.resolved, delete, patch.detach_anchor,
+ ).fetch_one(&mut **tx).await.map_err(database_error)?;
+ Ok(result.0)
+ }
+}
+
+impl MessageRepository for PgMessageRepository {
+ async fn referenced_threads(
+ &self,
+ document_id: &str,
+ cursor: Option<MessageCursor>,
+ limit: u16,
+ ) -> Result<Vec<ReferencedThreadCandidate>, MessageError> {
+ let rows = sqlx::query!(r#"
+ SELECT DISTINCT c.id AS channel_id, c.name AS channel_name, root.id AS root_id, root.created_at
+ FROM comms_entity_mentions mention
+ JOIN comms_messages source ON source.id::text = mention.source_entity_id
+ JOIN comms_messages root ON root.id = COALESCE(source.thread_id, source.id)
+ JOIN comms_message_threads state ON state.root_id = root.id
+ JOIN comms_channels c ON c.id::text = root.parent_entity_id
+ WHERE mention.source_entity_type = 'message'
+ AND mention.entity_type IN ('doc', 'document') AND mention.entity_id = $1
+ AND source.parent_entity_type = 'channel' AND root.parent_entity_type = 'channel'
+ AND source.deleted_at IS NULL AND state.deleted_at IS NULL
+ AND ($2::timestamptz IS NULL OR (root.created_at, root.id) > ($2, $3::uuid))
+ ORDER BY root.created_at, root.id LIMIT $4
+ "#, document_id, cursor.as_ref().map(|c| c.created_at), cursor.as_ref().map(|c| c.id), i64::from(limit))
+ .fetch_all(&self.pool).await.map_err(database_error)?;
+ Ok(rows
+ .into_iter()
+ .map(|row| ReferencedThreadCandidate {
+ channel_id: row.channel_id,
+ root_id: row.root_id,
+ channel_name: row.channel_name,
+ created_at: row.created_at,
+ })
+ .collect())
+ }
+
+ async fn replies(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<Vec<Message>, MessageError> {
+ let rows = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>" FROM comms_messages m
+ WHERE parent_entity_type = $1 AND parent_entity_id = $2 AND thread_id = $3
+ AND deleted_at IS NULL ORDER BY import_order NULLS LAST, created_at, id"#,
+ parent.entity_type(),
+ parent.entity_id(),
+ root,
+ )
+ .fetch_all(&self.pool)
+ .await
+ .map_err(database_error)?;
+ self.hydrate(rows).await
+ }
+
+ async fn parent_exists(&self, parent: &MessageParent) -> Result<bool, MessageError> {
+ let exists = match parent {
+ MessageParent::Document(_) => sqlx::query_scalar!(r#"SELECT EXISTS(SELECT 1 FROM "Document" WHERE id = $1 AND "deletedAt" IS NULL) AS "exists!""#, parent.entity_id())
+ .fetch_one(&self.pool).await,
+ MessageParent::Channel(id) => sqlx::query_scalar!(r#"SELECT EXISTS(SELECT 1 FROM comms_channels WHERE id = $1) AS "exists!""#, id)
+ .fetch_one(&self.pool).await,
+ };
+ exists.map_err(database_error)
+ }
+
+ async fn get(&self, parent: &MessageParent, id: Uuid) -> Result<Option<Message>, MessageError> {
+ let rows = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>" FROM comms_messages m
+ WHERE id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3"#,
+ id,
+ parent.entity_type(),
+ parent.entity_id(),
+ )
+ .fetch_all(&self.pool)
+ .await
+ .map_err(database_error)?;
+ Ok(self.hydrate(rows).await?.pop())
+ }
+
+ async fn thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<Option<ThreadState>, MessageError> {
+ Ok(sqlx::query_scalar!(
+ r#"SELECT to_jsonb(t) AS "state!: Json<ThreadState>" FROM comms_message_threads t
+ WHERE t.root_id = $1 AND t.parent_entity_type = $2 AND t.parent_entity_id = $3"#,
+ root,
+ parent.entity_type(),
+ parent.entity_id(),
+ )
+ .fetch_optional(&self.pool)
+ .await
+ .map_err(database_error)?
+ .map(|state| state.0))
+ }
+
+ async fn preceding(
+ &self,
+ parent: &MessageParent,
+ message_id: Uuid,
+ limit: u16,
+ ) -> Result<Vec<Message>, MessageError> {
+ let rows = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>"
+ FROM comms_messages m
+ JOIN comms_message_threads t ON t.root_id = COALESCE(m.thread_id, m.id)
+ JOIN comms_messages target ON target.id = $3
+ AND target.parent_entity_type = $1 AND target.parent_entity_id = $2
+ WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2
+ AND m.deleted_at IS NULL AND t.deleted_at IS NULL
+ AND (m.created_at, m.id) < (target.created_at, target.id)
+ AND ($1 = 'channel' OR COALESCE(m.thread_id, m.id) = COALESCE(target.thread_id, target.id))
+ ORDER BY m.created_at DESC, m.id DESC LIMIT $4"#,
+ parent.entity_type(),
+ parent.entity_id(),
+ message_id,
+ i64::from(limit.clamp(1, 100)),
+ ).fetch_all(&self.pool).await.map_err(database_error)?;
+ let mut messages = self.hydrate(rows).await?;
+ messages.reverse();
+ Ok(messages)
+ }
+
+ async fn timeline(
+ &self,
+ parent: &MessageParent,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ self.read_timeline(parent, query).await
+ }
+
+ async fn create(&self, command: CreateMessage) -> Result<Message, MessageError> {
+ let id = macro_uuid::generate_uuid_v7();
+ let mut tx = self.pool.begin().await.map_err(database_error)?;
+ if let Some(root_id) = command.input.thread_id {
+ // Replies attach to a live root of the same parent. The composite FK
+ // only checks parent identity at commit and nothing stops a reply from
+ // naming another reply, so the store enforces both here.
+ let live_root = sqlx::query_scalar!(
+ r#"SELECT EXISTS(
+ SELECT 1 FROM comms_message_threads
+ WHERE root_id = $1 AND parent_entity_type = $2 AND parent_entity_id = $3
+ AND deleted_at IS NULL
+ ) AS "exists!""#,
+ root_id,
+ command.parent.entity_type(),
+ command.parent.entity_id(),
+ )
+ .fetch_one(&mut *tx)
+ .await
+ .map_err(database_error)?;
+ if !live_root {
+ return Err(MessageError::NotFound);
+ }
+ }
+ sqlx::query!(
+ r#"INSERT INTO comms_messages(id, parent_entity_type, parent_entity_id, channel_id, thread_id,
+ sender_id, triggered_by_user_id, content)
+ VALUES ($1, $2, $3, $4, $5, $6, $7, $8)"#,
+ id,
+ command.parent.entity_type(),
+ command.parent.entity_id(),
+ channel_column(&command.parent),
+ command.input.thread_id,
+ command.actor.as_ref(),
+ command.triggered_by,
+ command.input.content,
+ )
+ .execute(&mut *tx)
+ .await
+ .map_err(database_error)?;
+ if command.input.thread_id.is_none() {
+ Self::ensure_thread_in(&mut tx, id, command.input.anchor.as_ref()).await?;
+ Self::attach_pdf_anchor_in(&mut tx, &command, id).await?;
+ }
+ Self::replace_references(
+ &mut tx,
+ &command.parent,
+ id,
+ command.actor.as_ref(),
+ &command.input.mentions,
+ Some(&command.input.attachments),
+ )
+ .await?;
+ let message = Self::require_message_in(&mut tx, &command.parent, id).await?;
+ tx.commit().await.map_err(database_error)?;
+ Ok(message)
+ }
+
+ async fn edit(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ command: EditMessage,
+ ) -> Result<Message, MessageError> {
+ let mut tx = self.pool.begin().await.map_err(database_error)?;
+ let actor = Self::lock_message(&mut tx, parent, id).await?;
+ // Attachment-only patches keep the message unedited, as the channel writer did.
+ sqlx::query!(
+ r#"UPDATE comms_messages SET updated_at = now(),
+ edited_at = CASE WHEN content <> $2 THEN now() ELSE edited_at END,
+ content = $2
+ WHERE id = $1"#,
+ id,
+ command.content
+ )
+ .execute(&mut *tx)
+ .await
+ .map_err(database_error)?;
+ Self::replace_references(
+ &mut tx,
+ parent,
+ id,
+ &actor,
+ &command.mentions,
+ command.attachments.as_deref(),
+ )
+ .await?;
+ let message = Self::require_message_in(&mut tx, parent, id).await?;
+ tx.commit().await.map_err(database_error)?;
+ Ok(message)
+ }
+
+ async fn delete(&self, parent: &MessageParent, id: Uuid) -> Result<Message, MessageError> {
+ let mut tx = self.pool.begin().await.map_err(database_error)?;
+ Self::lock_message(&mut tx, parent, id).await?;
+ sqlx::query!("UPDATE comms_messages SET content = '', deleted_at = now(), updated_at = now() WHERE id = $1", id)
+ .execute(&mut *tx).await.map_err(database_error)?;
+ let message = Self::require_message_in(&mut tx, parent, id).await?;
+ tx.commit().await.map_err(database_error)?;
+ Ok(message)
+ }
+
+ async fn react(
+ &self,
+ parent: &MessageParent,
+ id: Uuid,
+ user: &str,
+ emoji: &str,
+ add: bool,
+ ) -> Result<Message, MessageError> {
+ let mut tx = self.pool.begin().await.map_err(database_error)?;
+ Self::lock_message(&mut tx, parent, id).await?;
+ if add {
+ sqlx::query!("INSERT INTO comms_reactions(message_id, user_id, emoji) VALUES ($1, $2, $3) ON CONFLICT DO NOTHING", id, user, emoji)
+ .execute(&mut *tx).await.map_err(database_error)?;
+ } else {
+ sqlx::query!(
+ "DELETE FROM comms_reactions WHERE message_id = $1 AND user_id = $2 AND emoji = $3",
+ id,
+ user,
+ emoji
+ )
+ .execute(&mut *tx)
+ .await
+ .map_err(database_error)?;
+ }
+ let message = Self::require_message_in(&mut tx, parent, id).await?;
+ tx.commit().await.map_err(database_error)?;
+ Ok(message)
+ }
+
+ async fn patch_thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ patch: ThreadPatch,
+ ) -> Result<ThreadState, MessageError> {
+ self.set_thread(parent, root, patch, false).await
+ }
+
+ async fn delete_thread(
+ &self,
+ parent: &MessageParent,
+ root: Uuid,
+ ) -> Result<ThreadState, MessageError> {
+ self.set_thread(parent, root, ThreadPatch::default(), true)
+ .await
+ }
+
+ async fn resolve_legacy(
+ &self,
+ parent: &MessageParent,
+ id: i64,
+ is_thread: bool,
+ ) -> Result<Option<Uuid>, MessageError> {
+ if !matches!(parent, MessageParent::Document(_)) {
+ return Ok(None);
+ }
+ if is_thread {
+ sqlx::query_scalar!("SELECT root_id FROM migrated_comment_thread_id WHERE thread_id = $1 AND document_id = $2", id, parent.entity_id())
+ .fetch_optional(&self.pool).await.map_err(database_error)
+ } else {
+ sqlx::query_scalar!("SELECT message_id FROM migrated_comment_id WHERE comment_id = $1 AND document_id = $2", id, parent.entity_id())
+ .fetch_optional(&self.pool).await.map_err(database_error)
+ }
+ }
+}
diff --git a/crates/messages/src/outbound/pg_message_repo/test.rs b/crates/messages/src/outbound/pg_message_repo/test.rs
new file mode 100644
index 0000000000..caeb475b4e
--- /dev/null
+++ b/crates/messages/src/outbound/pg_message_repo/test.rs
@@ -0,0 +1,1084 @@
+use super::*;
+use macro_db_migrator::MACRO_DB_MIGRATIONS;
+
+const USER: &str = "macro|[email protected]";
+
+async fn setup(pool: &PgPool) {
+ let user_id = macro_uuid::generate_uuid_v7();
+ sqlx::query!(
+ r#"INSERT INTO macro_user (id, username, email, stripe_customer_id)
+ VALUES ($1, 'message-test', '[email protected]', 'message-test')"#,
+ user_id
+ )
+ .execute(pool)
+ .await
+ .unwrap();
+ sqlx::query!(r#"INSERT INTO "User" (id, email, macro_user_id) VALUES ($1, '[email protected]', $2)"#, USER, user_id)
+ .execute(pool).await.unwrap();
+ for id in ["message-doc-a", "message-doc-b"] {
+ sqlx::query!(
+ r#"INSERT INTO "Document" (id, name, owner, "fileType") VALUES ($1, $1, $2, 'md')"#,
+ id,
+ USER
+ )
+ .execute(pool)
+ .await
+ .unwrap();
+ }
+}
+
+fn command(document: &str, root: Option<Uuid>, content: &str) -> CreateMessage {
+ CreateMessage {
+ parent: MessageParent::parse("document", document).unwrap(),
+ actor: USER.to_owned().try_into().unwrap(),
+ triggered_by: None,
+ input: PostMessage {
+ attribution: Default::default(),
+ notification_policy: Default::default(),
+ content: content.into(),
+ thread_id: root,
+ anchor: None,
+ mentions: vec![],
+ attachments: vec![],
+ nonce: None,
+ },
+ }
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn shared_reads_preserve_system_and_deleted_bot_profiles(pool: PgPool) {
+ setup(&pool).await;
+ let deleted_bot = Uuid::new_v4();
+ sqlx::query!(
+ "INSERT INTO bots (id, kind, owner_user_id, name, handle, avatar_url, deleted_at) \
+ VALUES ($1, 'owned', $2, 'Historical Agent', 'historical-agent', 'https://example.com/agent.png', now())",
+ deleted_bot,
+ USER,
+ )
+ .execute(&pool)
+ .await
+ .unwrap();
+ let repo = PgMessageRepository::new(pool);
+ for (bot_id, name, avatar_url) in [
+ (
+ bot_id::MACRO_AI_BOT_ID,
+ bot_id::system_bot(bot_id::MACRO_AI_BOT_ID).unwrap().name,
+ None,
+ ),
+ (
+ bot_id::BotId::new_from_uuid(deleted_bot),
+ "Historical Agent",
+ Some("https://example.com/agent.png"),
+ ),
+ ] {
+ let mut input = command("message-doc-a", None, "Agent answer");
+ input.actor = channel_sender::ChannelSender::new_from_bot(bot_id);
+ input.triggered_by = Some(USER.to_owned());
+ let message = repo.create(input).await.unwrap();
+ let read = repo
+ .get(&message.parent, message.id)
+ .await
+ .unwrap()
+ .unwrap();
+ assert_eq!(
+ read.bot_profile,
+ Some(BotSenderProfile {
+ name: name.to_owned(),
+ avatar_url: avatar_url.map(str::to_owned),
+ })
+ );
+ let listed = repo.hydrate_roots(&[message.id]).await.unwrap();
+ assert_eq!(listed[0].message.bot_profile, read.bot_profile);
+ }
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn thread_identity_tombstones_and_parent_isolation(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let parent = MessageParent::parse("document", "message-doc-a").unwrap();
+ let root = repo
+ .create(command("message-doc-a", None, "root"))
+ .await
+ .unwrap();
+ let reply = repo
+ .create(command("message-doc-a", Some(root.id), "reply"))
+ .await
+ .unwrap();
+ assert_eq!(reply.thread_id, Some(root.id));
+ assert!(
+ repo.create(command("message-doc-b", Some(root.id), "cross-parent"))
+ .await
+ .is_err()
+ );
+ assert!(
+ repo.create(command("message-doc-a", Some(reply.id), "nested"))
+ .await
+ .is_err()
+ );
+ let deleted = repo.delete(&parent, root.id).await.unwrap();
+ assert!(deleted.deleted_at.is_some());
+ let page = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ cursor: None,
+ limit: Some(10),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(page.items.len(), 1);
+ assert!(page.items[0].message.content.is_empty());
+ assert_eq!(page.items[0].thread.preview[0].content, "reply");
+ repo.create(command(
+ "message-doc-a",
+ Some(root.id),
+ "reply to tombstone",
+ ))
+ .await
+ .unwrap();
+ repo.delete_thread(&parent, root.id).await.unwrap();
+ assert!(
+ repo.timeline(
+ &parent,
+ MessageTimelineQuery {
+ cursor: None,
+ limit: Some(10),
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .items
+ .is_empty()
+ );
+ assert!(
+ repo.create(command(
+ "message-doc-a",
+ Some(root.id),
+ "reply to deleted thread"
+ ))
+ .await
+ .is_err()
+ );
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn deleted_markdown_threads_keep_paged_cleanup_identity(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let mark_id = Uuid::from_u128(102);
+ let mut create = command("message-doc-a", None, "removed discussion");
+ create.input.anchor = Some(NewThreadAnchor::Markdown { mark_id });
+ let deleted = repo.create(create).await.unwrap();
+ let state = repo
+ .delete_thread(&deleted.parent, deleted.id)
+ .await
+ .unwrap();
+ assert!(state.deleted_at.is_some());
+ assert!(matches!(state.anchor, Some(ThreadAnchor::Markdown { mark_id: id }) if id == mark_id));
+ let live = repo
+ .create(command("message-doc-a", None, "live discussion"))
+ .await
+ .unwrap();
+
+ // A new reader must recover deletion without a live event or old root cache.
+ let repo = PgMessageRepository::new(pool);
+ let normal = repo
+ .timeline(&deleted.parent, MessageTimelineQuery::default())
+ .await
+ .unwrap();
+ assert_eq!(normal.items.len(), 1);
+ assert_eq!(normal.items[0].message.id, live.id);
+ let first = repo
+ .timeline(
+ &deleted.parent,
+ MessageTimelineQuery {
+ include_deleted_threads: true,
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(first.items[0].message.id, live.id);
+ let older = repo
+ .timeline(
+ &deleted.parent,
+ MessageTimelineQuery {
+ include_deleted_threads: true,
+ cursor: first.next_cursor,
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(older.items.len(), 1);
+ assert_eq!(older.items[0].message.id, deleted.id);
+ assert!(older.items[0].message.content.is_empty());
+ assert!(older.items[0].state.deleted_at.is_some());
+ assert!(
+ matches!(older.items[0].state.anchor, Some(ThreadAnchor::Markdown { mark_id: id }) if id == mark_id)
+ );
+ assert!(older.next_cursor.is_none());
+ let other_parent = MessageParent::parse("document", "message-doc-b").unwrap();
+ assert!(
+ repo.timeline(
+ &other_parent,
+ MessageTimelineQuery {
+ include_deleted_threads: true,
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .items
+ .is_empty()
+ );
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn reactions_attachments_and_resolution_use_shared_message_data(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool);
+ let mut create = command("message-doc-a", None, "message");
+ create.input.anchor = Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(100),
+ });
+ create.input.attachments.push(NewAttachment {
+ entity_type: "document".into(),
+ entity_id: "message-doc-b".into(),
+ width: None,
+ height: None,
+ });
+ let root = repo.create(create).await.unwrap();
+ assert_eq!(root.attachments.len(), 1);
+ repo.react(&root.parent, root.id, USER, "👍", true)
+ .await
+ .unwrap();
+ let reacted = repo
+ .react(&root.parent, root.id, USER, "👍", true)
+ .await
+ .unwrap();
+ assert_eq!(reacted.reactions.len(), 1);
+ assert_eq!(reacted.reactions[0].users, vec![USER]);
+ assert!(
+ repo.patch_thread(
+ &root.parent,
+ root.id,
+ ThreadPatch {
+ resolved: Some(true),
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .resolved
+ );
+ let edit = EditMessage {
+ notification_policy: Default::default(),
+ content: "edited".into(),
+ mentions: vec![],
+ attachments: Some(vec![]),
+ nonce: None,
+ };
+ let edited = repo.edit(&root.parent, root.id, edit).await.unwrap();
+ assert_eq!(edited.content, "edited");
+ assert!(edited.attachments.is_empty());
+ assert!(edited.edited_at.is_some());
+ let state = repo.thread(&root.parent, root.id).await.unwrap().unwrap();
+ assert!(state.anchor.is_some());
+ assert!(state.resolved);
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn detaching_a_mark_retains_the_complete_thread_and_makes_it_unanchored(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let mut create = command("message-doc-a", None, "anchored root");
+ create.input.anchor = Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(101),
+ });
+ let root = repo.create(create).await.unwrap();
+ let reply = repo
+ .create(command("message-doc-a", Some(root.id), "retained reply"))
+ .await
+ .unwrap();
+ let state = repo
+ .patch_thread(
+ &root.parent,
+ root.id,
+ ThreadPatch {
+ detach_anchor: true,
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert!(state.anchor.is_none());
+ assert!(state.deleted_at.is_none());
+ let reloaded = PgMessageRepository::new(pool);
+ let page = reloaded
+ .timeline(
+ &root.parent,
+ MessageTimelineQuery {
+ anchored: Some(false),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(page.items.len(), 1);
+ assert_eq!(page.items[0].message.id, root.id);
+ assert_eq!(page.items[0].message.content, "anchored root");
+ assert_eq!(page.items[0].thread.reply_count, 1);
+ assert_eq!(page.items[0].thread.preview[0].id, reply.id);
+ assert!(
+ reloaded
+ .patch_thread(
+ &root.parent,
+ root.id,
+ ThreadPatch {
+ detach_anchor: true,
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .anchor
+ .is_none()
+ );
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn soft_deleted_parents_disappear_and_cursor_does_not_repeat_roots(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let root = repo
+ .create(command("message-doc-a", None, "first"))
+ .await
+ .unwrap();
+ repo.create(command("message-doc-a", None, "second"))
+ .await
+ .unwrap();
+ let first = repo
+ .timeline(
+ &root.parent,
+ MessageTimelineQuery {
+ cursor: None,
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ let second = repo
+ .timeline(
+ &root.parent,
+ MessageTimelineQuery {
+ cursor: first.next_cursor,
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(first.items.len(), 1);
+ assert_eq!(second.items.len(), 1);
+ assert_ne!(first.items[0].message.id, second.items[0].message.id);
+ assert!(second.next_cursor.is_none());
+ assert!(repo.parent_exists(&root.parent).await.unwrap());
+ sqlx::query!(r#"UPDATE "Document" SET "deletedAt" = now() WHERE id = 'message-doc-a'"#)
+ .execute(&pool)
+ .await
+ .unwrap();
+ assert!(!repo.parent_exists(&root.parent).await.unwrap());
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn pdf_root_tombstone_keeps_anchor_and_thread_deletion_removes_placeable(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let anchor_id = macro_uuid::generate_uuid_v7();
+ let mut create = command("message-doc-a", None, "PDF discussion");
+ create.input.anchor = Some(NewThreadAnchor::PdfPlaceable {
+ anchor_id,
+ page: 1,
+ x_pct: 0.2,
+ y_pct: 0.3,
+ width_pct: 0.05,
+ height_pct: 0.05,
+ });
+ let root = repo.create(create).await.unwrap();
+ let saved = sqlx::query!(r#"SELECT root_id, "threadId" AS thread_id, "xPct" AS x FROM "PdfPlaceableCommentAnchor" WHERE uuid = $1"#, anchor_id)
+ .fetch_one(&pool).await.unwrap();
+ assert_eq!(saved.root_id, Some(root.id));
+ assert_eq!(saved.thread_id, None);
+ assert_eq!(saved.x, 0.2);
+ repo.delete(&root.parent, root.id).await.unwrap();
+ assert_eq!(
+ repo.thread(&root.parent, root.id)
+ .await
+ .unwrap()
+ .unwrap()
+ .anchor,
+ Some(ThreadAnchor::PdfPlaceable { anchor_id })
+ );
+ repo.delete_thread(&root.parent, root.id).await.unwrap();
+ assert!(!sqlx::query_scalar!(r#"SELECT EXISTS(SELECT 1 FROM "PdfPlaceableCommentAnchor" WHERE uuid = $1) AS "exists!""#, anchor_id)
+ .fetch_one(&pool).await.unwrap());
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn highlight_attachment_is_scoped_and_explicit_thread_deletion_preserves_highlight(
+ pool: PgPool,
+) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let anchor_id = macro_uuid::generate_uuid_v7();
+ sqlx::query!(r#"INSERT INTO "PdfHighlightAnchor"
+ (uuid, "documentId", owner, page, red, green, blue, alpha, type, text, "pageViewportWidth", "pageViewportHeight")
+ VALUES ($1, 'message-doc-a', $2, 1, 255, 255, 0, 0.5, 1, 'selected text', 600, 800)"#, anchor_id, USER)
+ .execute(&pool).await.unwrap();
+ let mut create = command("message-doc-b", None, "wrong parent");
+ create.input.anchor = Some(NewThreadAnchor::PdfHighlight { anchor_id });
+ assert!(repo.create(create.clone()).await.is_err());
+ assert!(
+ repo.timeline(
+ &create.parent,
+ MessageTimelineQuery {
+ cursor: None,
+ limit: Some(10),
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .items
+ .is_empty()
+ );
+ create.parent = MessageParent::parse("document", "message-doc-a").unwrap();
+ let root = repo.create(create).await.unwrap();
+ repo.delete_thread(&root.parent, root.id).await.unwrap();
+ let remaining = sqlx::query!(
+ r#"SELECT root_id, "threadId" AS thread_id, text FROM "PdfHighlightAnchor" WHERE uuid = $1"#,
+ anchor_id
+ )
+ .fetch_one(&pool)
+ .await
+ .unwrap();
+ assert!(remaining.root_id.is_none());
+ assert!(remaining.thread_id.is_none());
+ assert_eq!(remaining.text, "selected text");
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn placeable_anchor_creation_is_atomic_with_its_root(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let anchor_id = macro_uuid::generate_uuid_v7();
+ let placeable = |content: &str| {
+ let mut create = command("message-doc-a", None, content);
+ create.input.anchor = Some(NewThreadAnchor::PdfPlaceable {
+ anchor_id,
+ page: 1,
+ x_pct: 0.2,
+ y_pct: 0.3,
+ width_pct: 0.05,
+ height_pct: 0.05,
+ });
+ create
+ };
+ let root = repo.create(placeable("first")).await.unwrap();
+ let anchored = sqlx::query!(
+ r#"SELECT root_id FROM "PdfPlaceableCommentAnchor" WHERE uuid = $1"#,
+ anchor_id
+ )
+ .fetch_one(&pool)
+ .await
+ .unwrap();
+ assert_eq!(anchored.root_id, Some(root.id));
+
+ // Reusing the annotation id fails inside the transaction, so neither the
+ // second root nor its thread row survive.
+ assert!(repo.create(placeable("second")).await.is_err());
+ let roots = sqlx::query_scalar!(
+ r#"SELECT count(*) AS "count!" FROM comms_messages
+ WHERE parent_entity_type = 'document' AND parent_entity_id = 'message-doc-a'"#
+ )
+ .fetch_one(&pool)
+ .await
+ .unwrap();
+ assert_eq!(roots, 1);
+ let threads = sqlx::query_scalar!(
+ r#"SELECT count(*) AS "count!" FROM comms_message_threads
+ WHERE parent_entity_type = 'document' AND parent_entity_id = 'message-doc-a'"#
+ )
+ .fetch_one(&pool)
+ .await
+ .unwrap();
+ assert_eq!(threads, 1);
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn roots_get_thread_rows_without_the_bookkeeping_trigger(pool: PgPool) {
+ setup(&pool).await;
+ sqlx::query!("DROP TRIGGER trg_initialize_comms_message_thread ON comms_messages")
+ .execute(&pool)
+ .await
+ .unwrap();
+ let repo = PgMessageRepository::new(pool.clone());
+ let mut create = command("message-doc-a", None, "root without trigger");
+ create.input.anchor = Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(202),
+ });
+ let root = repo.create(create).await.unwrap();
+ let state = repo.thread(&root.parent, root.id).await.unwrap().unwrap();
+ assert_eq!(state.user_id, USER);
+ assert!(
+ matches!(state.anchor, Some(ThreadAnchor::Markdown { mark_id }) if mark_id == Uuid::from_u128(202))
+ );
+ let reply = repo
+ .create(command("message-doc-a", Some(root.id), "reply"))
+ .await
+ .unwrap();
+ assert_eq!(reply.thread_id, Some(root.id));
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn channel_rows_keep_the_legacy_channel_columns_and_document_rows_do_not(pool: PgPool) {
+ setup(&pool).await;
+ let channel = macro_uuid::generate_uuid_v7();
+ sqlx::query!(
+ "INSERT INTO comms_channels(id, channel_type, owner_id) VALUES ($1, 'private', $2)",
+ channel,
+ USER
+ )
+ .execute(&pool)
+ .await
+ .unwrap();
+ let repo = PgMessageRepository::new(pool.clone());
+ let attachment = NewAttachment {
+ entity_type: "document".into(),
+ entity_id: "message-doc-b".into(),
+ width: None,
+ height: None,
+ };
+ let mut channel_post = command("message-doc-a", None, "channel");
+ channel_post.parent = MessageParent::Channel(channel);
+ channel_post.input.attachments.push(attachment.clone());
+ let channel_message = repo.create(channel_post).await.unwrap();
+ let mut document_post = command("message-doc-a", None, "document");
+ document_post.input.attachments.push(attachment);
+ let document_message = repo.create(document_post).await.unwrap();
+ let columns = sqlx::query!(
+ r#"SELECT m.id, m.channel_id, a.channel_id AS attachment_channel_id
+ FROM comms_messages m JOIN comms_attachments a ON a.message_id = m.id
+ WHERE m.id = ANY($1) ORDER BY m.created_at"#,
+ &[channel_message.id, document_message.id]
+ )
+ .fetch_all(&pool)
+ .await
+ .unwrap();
+ assert_eq!(columns[0].channel_id, Some(channel));
+ assert_eq!(columns[0].attachment_channel_id, Some(channel));
+ assert_eq!(columns[1].channel_id, None);
+ assert_eq!(columns[1].attachment_channel_id, None);
+}
+
+#[cfg(feature = "delivery")]
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn discussion_delivery_context_reads_document_assignees_and_thread_authors(pool: PgPool) {
+ use crate::{
+ domain::delivery::DiscussionContextReader,
+ outbound::pg_discussion_context::PgDiscussionContext,
+ };
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool.clone());
+ let root = repo
+ .create(command("message-doc-a", None, "task discussion"))
+ .await
+ .unwrap();
+ sqlx::query!(
+ "INSERT INTO document_sub_type(document_id, sub_type) VALUES ('message-doc-a', 'task')"
+ )
+ .execute(&pool)
+ .await
+ .unwrap();
+ sqlx::query!(
+ r#"INSERT INTO entity_properties(id, entity_id, entity_type, property_definition_id, values)
+ VALUES ($1, 'message-doc-a', 'DOCUMENT', $2, $3)"#,
+ macro_uuid::generate_uuid_v7(),
+ system_properties::SystemPropertyKey::Assignees.uuid(),
+ serde_json::json!({
+ "type": "EntityReference", "value": [{"entity_type": "USER", "entity_id": USER}]
+ })
+ )
+ .execute(&pool)
+ .await
+ .unwrap();
+ let context = PgDiscussionContext(pool)
+ .context(&root.parent, root.id)
+ .await
+ .unwrap();
+ assert!(context.is_task);
+ assert_eq!(context.owner, USER);
+ assert_eq!(context.assignees, vec![USER]);
+ assert_eq!(context.participants, vec![USER]);
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn a_mark_identifies_one_live_discussion_per_document(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool);
+ let marked = |document: &str| {
+ let mut request = command(document, None, "Anchored");
+ request.input.anchor = Some(NewThreadAnchor::Markdown {
+ mark_id: Uuid::from_u128(77),
+ });
+ request
+ };
+ let first = repo.create(marked("message-doc-a")).await.unwrap();
+ assert!(repo.create(marked("message-doc-a")).await.is_err());
+ // Copying text to another document retains mark IDs without sharing its thread.
+ let other = repo.create(marked("message-doc-b")).await.unwrap();
+ assert_ne!(other.id, first.id);
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn agent_context_stays_in_the_document_thread_and_omits_tombstones(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool);
+ let root = repo
+ .create(command("message-doc-a", None, "this thread"))
+ .await
+ .unwrap();
+ let deleted = repo
+ .create(command("message-doc-a", Some(root.id), "removed"))
+ .await
+ .unwrap();
+ repo.delete(&root.parent, deleted.id).await.unwrap();
+ repo.create(command("message-doc-a", None, "unrelated discussion"))
+ .await
+ .unwrap();
+ repo.create(command("message-doc-b", None, "other document"))
+ .await
+ .unwrap();
+ let reply = repo
+ .create(command("message-doc-a", Some(root.id), "@agent explain"))
+ .await
+ .unwrap();
+ repo.create(command("message-doc-a", Some(root.id), "later response"))
+ .await
+ .unwrap();
+ let history = repo.preceding(&root.parent, reply.id, 10).await.unwrap();
+ assert_eq!(
+ history
+ .iter()
+ .map(|m| m.content.as_str())
+ .collect::<Vec<_>>(),
+ ["this thread"]
+ );
+ assert!(
+ repo.preceding(
+ &MessageParent::parse("document", "message-doc-b").unwrap(),
+ reply.id,
+ 10
+ )
+ .await
+ .unwrap()
+ .is_empty()
+ );
+ repo.delete_thread(&root.parent, root.id).await.unwrap();
+ assert!(
+ repo.preceding(&root.parent, reply.id, 10)
+ .await
+ .unwrap()
+ .is_empty()
+ );
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn channel_references_deduplicate_roots_and_exclude_removed_mentions_and_threads(
+ pool: PgPool,
+) {
+ setup(&pool).await;
+ let channel = macro_uuid::generate_uuid_v7();
+ sqlx::query!("INSERT INTO comms_channels (id, name, channel_type, owner_id) VALUES ($1, 'Source', 'private', $2)", channel, USER).execute(&pool).await.unwrap();
+ let repo = PgMessageRepository::new(pool.clone());
+ let parent = MessageParent::Channel(channel);
+ let create = |root, doc: &str| {
+ let mut cmd = command("message-doc-a", root, "source message");
+ cmd.parent = parent.clone();
+ cmd.input.mentions = vec![SimpleMention {
+ entity_type: "document".into(),
+ entity_id: doc.into(),
+ }];
+ cmd
+ };
+ let root = repo.create(create(None, "message-doc-a")).await.unwrap();
+ let reply = repo
+ .create(create(Some(root.id), "message-doc-a"))
+ .await
+ .unwrap();
+ let other = repo.create(create(None, "message-doc-b")).await.unwrap();
+ let candidates = repo
+ .referenced_threads("message-doc-a", None, 10)
+ .await
+ .unwrap();
+ assert_eq!(candidates.len(), 1);
+ assert_eq!(candidates[0].root_id, root.id);
+ repo.delete(&parent, root.id).await.unwrap();
+ assert_eq!(
+ repo.referenced_threads("message-doc-a", None, 10)
+ .await
+ .unwrap()
+ .len(),
+ 1,
+ "a live mentioning reply retains the source thread"
+ );
+ repo.edit(
+ &parent,
+ reply.id,
+ EditMessage {
+ notification_policy: Default::default(),
+ content: "reference removed".into(),
+ mentions: vec![],
+ attachments: None,
+ nonce: None,
+ },
+ )
+ .await
+ .unwrap();
+ assert!(
+ repo.referenced_threads("message-doc-a", None, 10)
+ .await
+ .unwrap()
+ .is_empty()
+ );
+ assert_eq!(
+ repo.referenced_threads("message-doc-b", None, 10)
+ .await
+ .unwrap()[0]
+ .root_id,
+ other.id
+ );
+ repo.delete_thread(&parent, other.id).await.unwrap();
+ assert!(
+ repo.referenced_threads("message-doc-b", None, 10)
+ .await
+ .unwrap()
+ .is_empty()
+ );
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn replacement_attachments_preserve_retained_ids_and_remove_only_missing_items(pool: PgPool) {
+ setup(&pool).await;
+ let repo = PgMessageRepository::new(pool);
+ let attachment = NewAttachment {
+ entity_type: "document".into(),
+ entity_id: "message-doc-b".into(),
+ width: Some(100),
+ height: Some(50),
+ };
+ let mut create = command("message-doc-a", None, "with attachment");
+ create.input.attachments.push(attachment.clone());
+ let message = repo.create(create).await.unwrap();
+ let edited = repo
+ .edit(
+ &message.parent,
+ message.id,
+ EditMessage {
+ notification_policy: Default::default(),
+ content: "same attachment".into(),
+ mentions: vec![],
+ attachments: Some(vec![attachment]),
+ nonce: None,
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(edited.attachments[0].id, message.attachments[0].id);
+ assert_eq!(edited.attachments[0].width, Some(100));
+ let removed = repo
+ .edit(
+ &message.parent,
+ message.id,
+ EditMessage {
+ notification_policy: Default::default(),
+ content: "removed attachment".into(),
+ mentions: vec![],
+ attachments: Some(vec![]),
+ nonce: None,
+ },
+ )
+ .await
+ .unwrap();
+ assert!(removed.attachments.is_empty());
+}
+
+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]
+async fn both_parents_use_bounded_previews_and_bidirectional_windows(pool: PgPool) {
+ setup(&pool).await;
+ let channel = macro_uuid::generate_uuid_v7();
+ sqlx::query!(
+ "INSERT INTO comms_channels(id, channel_type, owner_id) VALUES ($1, 'private', $2)",
+ channel,
+ USER
+ )
+ .execute(&pool)
+ .await
+ .unwrap();
+ let repo = PgMessageRepository::new(pool.clone());
+ for parent in [
+ MessageParent::Channel(channel),
+ MessageParent::parse("document", "message-doc-a").unwrap(),
+ ] {
+ let mut roots = Vec::new();
+ for index in 0..7 {
+ let mut input = command("message-doc-a", None, &format!("root {index}"));
+ input.parent = parent.clone();
+ roots.push(repo.create(input).await.unwrap());
+ }
+ let root = roots[3].id;
+ for index in 0..12 {
+ let mut input = command("message-doc-a", Some(root), &format!("reply {index}"));
+ input.parent = parent.clone();
+ repo.create(input).await.unwrap();
+ }
+ let latest = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ limit: Some(3),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ latest
+ .items
+ .iter()
+ .map(|m| m.message.id)
+ .collect::<Vec<_>>(),
+ vec![roots[6].id, roots[5].id, roots[4].id]
+ );
+ assert!(latest.previous_cursor.is_none());
+ let older = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ cursor: latest.next_cursor,
+ limit: Some(3),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(older.items[0].message.id, root);
+ assert_eq!(older.items[0].thread.reply_count, 12);
+ assert_eq!(older.items[0].thread.preview.len(), 3);
+ assert_eq!(older.items[0].thread.preview[0].content, "reply 0");
+ let newer = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ cursor: older.previous_cursor,
+ direction: MessageDirection::Newer,
+ limit: Some(3),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ newer.items.iter().map(|m| m.message.id).collect::<Vec<_>>(),
+ latest
+ .items
+ .iter()
+ .map(|m| m.message.id)
+ .collect::<Vec<_>>()
+ );
+ let reply = older.items[0].thread.preview[0].id;
+ let around = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ around: Some(reply),
+ limit: Some(3),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ around
+ .items
+ .iter()
+ .map(|m| m.message.id)
+ .collect::<Vec<_>>(),
+ vec![roots[4].id, root, roots[2].id]
+ );
+ assert!(around.next_cursor.is_some() && around.previous_cursor.is_some());
+ assert!(around.items.iter().all(|m| m.message.parent == parent));
+ assert!(matches!(
+ repo.timeline(
+ &MessageParent::parse("document", "message-doc-b").unwrap(),
+ MessageTimelineQuery {
+ around: Some(reply),
+ ..Default::default()
+ },
+ )
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ // Activity windows include a root when a reply, rather than the root, falls in the window.
+ let active = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ activity_after: Some(older.items[0].thread.preview[0].created_at),
+ ids: vec![root, roots[0].id],
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ active
+ .items
+ .iter()
+ .map(|item| item.message.id)
+ .collect::<Vec<_>>(),
+ vec![root]
+ );
+ let future = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ activity_after: Some(chrono::Utc::now() + chrono::Duration::seconds(1)),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert!(future.items.is_empty());
+ // Around an edge, backfill from the other side instead of returning a short page.
+ for (anchor, expected) in [
+ (roots[0].id, vec![roots[2].id, roots[1].id, roots[0].id]),
+ (roots[6].id, vec![roots[6].id, roots[5].id, roots[4].id]),
+ ] {
+ let edge = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ around: Some(anchor),
+ limit: Some(3),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ edge.items
+ .iter()
+ .map(|item| item.message.id)
+ .collect::<Vec<_>>(),
+ expected
+ );
+ }
+ repo.delete(&parent, roots[0].id).await.unwrap();
+ let empty_root = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ ids: vec![roots[0].id],
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(
+ empty_root.items.is_empty(),
+ matches!(parent, MessageParent::Channel(_))
+ );
+ let centered_empty_root = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ around: Some(roots[0].id),
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await;
+ if matches!(parent, MessageParent::Channel(_)) {
+ assert!(matches!(centered_empty_root, Err(MessageError::NotFound)));
+ } else {
+ let page = centered_empty_root.unwrap();
+ assert_eq!(page.items[0].message.id, roots[0].id);
+ assert!(page.items[0].message.deleted_at.is_some());
+ }
+ repo.delete(&parent, root).await.unwrap();
+ let page = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ ids: vec![root],
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert!(page.items[0].message.deleted_at.is_some());
+ assert_eq!(page.items[0].thread.reply_count, 12);
+ for target in [root, reply] {
+ let centered_deleted_root = repo
+ .timeline(
+ &parent,
+ MessageTimelineQuery {
+ around: Some(target),
+ limit: Some(1),
+ ..Default::default()
+ },
+ )
+ .await
+ .unwrap();
+ assert_eq!(centered_deleted_root.items[0].message.id, root);
+ assert!(centered_deleted_root.items[0].message.deleted_at.is_some());
+ assert_eq!(centered_deleted_root.items[0].thread.reply_count, 12);
+ }
+ repo.delete_thread(&parent, root).await.unwrap();
+ for target in [root, reply] {
+ assert!(matches!(
+ repo.timeline(
+ &parent,
+ MessageTimelineQuery {
+ around: Some(target),
+ ..Default::default()
+ },
+ )
+ .await,
+ Err(MessageError::NotFound)
+ ));
+ }
+ assert!(
+ repo.timeline(
+ &parent,
+ MessageTimelineQuery {
+ ids: vec![root],
+ ..Default::default()
+ }
+ )
+ .await
+ .unwrap()
+ .items
+ .is_empty()
+ );
+ }
+}
diff --git a/crates/messages/src/outbound/pg_message_repo/timeline.rs b/crates/messages/src/outbound/pg_message_repo/timeline.rs
new file mode 100644
index 0000000000..305d48d956
--- /dev/null
+++ b/crates/messages/src/outbound/pg_message_repo/timeline.rs
@@ -0,0 +1,203 @@
+//! Bounded parent timelines using the existing channel keyset and preview behavior.
+use super::*;
+
+impl PgMessageRepository {
+ pub(super) async fn read_timeline(
+ &self,
+ parent: &MessageParent,
+ query: MessageTimelineQuery,
+ ) -> Result<MessagePage, MessageError> {
+ let limit = usize::from(query.limit.unwrap_or(50).clamp(1, 100));
+ let (mut rows, more_older, more_newer) = if let Some(id) = query.around {
+ // Resolve the root once; message content and references are hydrated
+ // together with the final page below.
+ let anchor = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(root) AS "message!: Json<StoredMessage>"
+ FROM comms_messages target
+ JOIN comms_messages root ON root.id = COALESCE(target.thread_id, target.id)
+ JOIN comms_message_threads state ON state.root_id = root.id
+ WHERE target.id = $3 AND target.parent_entity_type = $1 AND target.parent_entity_id = $2
+ AND root.parent_entity_type = $1 AND root.parent_entity_id = $2
+ AND (state.deleted_at IS NULL OR $4)
+ AND (root.deleted_at IS NULL OR $1 = 'document' OR ($4 AND state.deleted_at IS NOT NULL) OR EXISTS (
+ SELECT 1 FROM comms_messages reply
+ WHERE reply.thread_id = root.id AND reply.deleted_at IS NULL))"#,
+ parent.entity_type(),
+ parent.entity_id(),
+ id,
+ query.include_deleted_threads,
+ )
+ .fetch_optional(&self.pool)
+ .await
+ .map_err(database_error)?
+ .ok_or(MessageError::NotFound)?;
+ let cursor = MessageCursor {
+ created_at: anchor.created_at,
+ id: anchor.id,
+ };
+ let mut before = self
+ .older(parent, &query, Some(&cursor), limit as i64 + 1)
+ .await?;
+ let mut after = self
+ .newer(parent, &query, Some(&cursor), limit as i64 + 1)
+ .await?;
+ let mut take_before = before.len().min((limit - 1) / 2);
+ let take_after = after.len().min(limit - 1 - take_before);
+ take_before = before.len().min(limit - 1 - take_after);
+ let more_older = before.len() > take_before;
+ let more_newer = after.len() > take_after;
+ before.truncate(take_before);
+ after.truncate(take_after);
+ before.push(anchor);
+ before.extend(after);
+ (before, more_older, more_newer)
+ } else {
+ let mut rows = match query.direction {
+ MessageDirection::Older => {
+ self.older(parent, &query, query.cursor.as_ref(), limit as i64 + 1)
+ .await?
+ }
+ MessageDirection::Newer => {
+ self.newer(parent, &query, query.cursor.as_ref(), limit as i64 + 1)
+ .await?
+ }
+ };
+ let more = rows.len() > limit;
+ rows.truncate(limit);
+ let has_cursor = query.cursor.is_some();
+ let (older, newer) = match query.direction {
+ MessageDirection::Older => (more, has_cursor),
+ MessageDirection::Newer => (has_cursor, more),
+ };
+ (rows, older, newer)
+ };
+ rows.sort_by_key(|row| std::cmp::Reverse((row.created_at, row.id)));
+ let next_cursor = more_older
+ .then(|| rows.last())
+ .flatten()
+ .map(|r| MessageCursor {
+ created_at: r.created_at,
+ id: r.id,
+ });
+ let previous_cursor = more_newer
+ .then(|| rows.first())
+ .flatten()
+ .map(|r| MessageCursor {
+ created_at: r.created_at,
+ id: r.id,
+ });
+ let items = self.hydrate_root_rows(rows).await?;
+ Ok(MessagePage {
+ items,
+ next_cursor,
+ previous_cursor,
+ })
+ }
+ /// Hydrate already-selected roots for authorized cross-channel list projections.
+ pub async fn hydrate_roots(&self, ids: &[Uuid]) -> Result<Vec<MessageListItem>, MessageError> {
+ let rows = sqlx::query_scalar!(
+ r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>"
+ FROM comms_messages m WHERE id = ANY($1) AND thread_id IS NULL
+ ORDER BY array_position($1, id)"#,
+ ids
+ )
+ .fetch_all(&self.pool)
+ .await
+ .map_err(database_error)?;
+ self.hydrate_root_rows(rows).await
+ }
+ async fn hydrate_root_rows(
+ &self,
+ mut rows: Vec<Json<StoredMessage>>,
+ ) -> Result<Vec<MessageListItem>, MessageError> {
+ let roots: Vec<_> = rows.iter().map(|r| r.id).collect();
+ let states = sqlx::query!(r#"SELECT t.root_id, to_jsonb(t) AS "state!: Json<ThreadState>",
+ (SELECT count(*) FROM comms_messages r WHERE r.thread_id = t.root_id AND r.deleted_at IS NULL) AS "reply_count!",
+ (SELECT max(created_at) FROM comms_messages r WHERE r.thread_id = t.root_id AND r.deleted_at IS NULL) AS latest_reply_at
+ FROM comms_message_threads t WHERE root_id = ANY($1)"#, &roots)
+ .fetch_all(&self.pool).await.map_err(database_error)?;
+ let previews = sqlx::query_scalar!(r#"SELECT to_jsonb(preview) AS "message!: Json<StoredMessage>"
+ FROM unnest($1::uuid[]) root(id) CROSS JOIN LATERAL (
+ SELECT r.* FROM comms_messages r WHERE r.thread_id = root.id AND r.deleted_at IS NULL
+ ORDER BY r.import_order NULLS LAST, r.created_at, r.id LIMIT 3
+ ) preview"#, &roots).fetch_all(&self.pool).await.map_err(database_error)?;
+ rows.extend(previews);
+ let hydrated = self.hydrate(rows).await?;
+ let mut root_messages = HashMap::new();
+ let mut replies: HashMap<Uuid, Vec<Message>> = HashMap::new();
+ for message in hydrated {
+ if let Some(root) = message.thread_id {
+ replies.entry(root).or_default().push(message);
+ } else {
+ root_messages.insert(message.id, message);
+ }
+ }
+ let mut states: HashMap<_, _> = states.into_iter().map(|s| (s.root_id, s)).collect();
+ let items = roots
+ .into_iter()
+ .filter_map(|id| {
+ let state = states.remove(&id)?;
+ Some(MessageListItem {
+ message: root_messages.remove(&id)?,
+ state: state.state.0,
+ thread: MessageThreadPreview {
+ reply_count: state.reply_count,
+ latest_reply_at: state.latest_reply_at,
+ preview: replies.remove(&id).unwrap_or_default(),
+ },
+ })
+ })
+ .collect();
+ Ok(items)
+ }
+ async fn older(
+ &self,
+ parent: &MessageParent,
+ query: &MessageTimelineQuery,
+ cursor: Option<&MessageCursor>,
+ limit: i64,
+ ) -> Result<Vec<Json<StoredMessage>>, MessageError> {
+ sqlx::query_scalar!(r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>" FROM comms_messages m
+ JOIN comms_message_threads t ON t.root_id = m.id
+ WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2
+ AND m.thread_id IS NULL AND (t.deleted_at IS NULL OR $10)
+ AND (m.deleted_at IS NULL OR $1 = 'document' OR ($10 AND t.deleted_at IS NOT NULL) OR EXISTS (
+ SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL))
+ AND ($6::uuid[] IS NULL OR m.id = ANY($6))
+ AND ($7::bool IS NULL OR (t.anchor IS NOT NULL) = $7)
+ AND (($8::timestamptz IS NULL AND $9::timestamptz IS NULL)
+ OR (($8::timestamptz IS NULL OR m.created_at >= $8) AND ($9::timestamptz IS NULL OR m.created_at < $9))
+ OR EXISTS (SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL
+ AND ($8::timestamptz IS NULL OR r.created_at >= $8) AND ($9::timestamptz IS NULL OR r.created_at < $9)))
+ AND ($3::timestamptz IS NULL OR (m.created_at, m.id) < ($3, $4::uuid))
+ ORDER BY m.created_at DESC, m.id DESC LIMIT $5"#,
+ parent.entity_type(), parent.entity_id(), cursor.map(|c| c.created_at), cursor.map(|c| c.id), limit,
+ if query.ids.is_empty() { None } else { Some(query.ids.as_slice()) }, query.anchored, query.activity_after, query.activity_before, query.include_deleted_threads)
+ .fetch_all(&self.pool).await.map_err(database_error)
+ }
+ async fn newer(
+ &self,
+ parent: &MessageParent,
+ query: &MessageTimelineQuery,
+ cursor: Option<&MessageCursor>,
+ limit: i64,
+ ) -> Result<Vec<Json<StoredMessage>>, MessageError> {
+ sqlx::query_scalar!(r#"SELECT to_jsonb(m) AS "message!: Json<StoredMessage>" FROM comms_messages m
+ JOIN comms_message_threads t ON t.root_id = m.id
+ WHERE m.parent_entity_type = $1 AND m.parent_entity_id = $2
+ AND m.thread_id IS NULL AND (t.deleted_at IS NULL OR $10)
+ AND (m.deleted_at IS NULL OR $1 = 'document' OR ($10 AND t.deleted_at IS NOT NULL) OR EXISTS (
+ SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL))
+ AND ($6::uuid[] IS NULL OR m.id = ANY($6))
+ AND ($7::bool IS NULL OR (t.anchor IS NOT NULL) = $7)
+ AND (($8::timestamptz IS NULL AND $9::timestamptz IS NULL)
+ OR (($8::timestamptz IS NULL OR m.created_at >= $8) AND ($9::timestamptz IS NULL OR m.created_at < $9))
+ OR EXISTS (SELECT 1 FROM comms_messages r WHERE r.thread_id = m.id AND r.deleted_at IS NULL
+ AND ($8::timestamptz IS NULL OR r.created_at >= $8) AND ($9::timestamptz IS NULL OR r.created_at < $9)))
+ AND ($3::timestamptz IS NULL OR (m.created_at, m.id) > ($3, $4::uuid))
+ ORDER BY m.created_at ASC, m.id ASC LIMIT $5"#,
+ parent.entity_type(), parent.entity_id(), cursor.map(|c| c.created_at), cursor.map(|c| c.id), limit,
+ if query.ids.is_empty() { None } else { Some(query.ids.as_slice()) }, query.anchored, query.activity_after, query.activity_before, query.include_deleted_threads)
+ .fetch_all(&self.pool).await.map_err(database_error)
+ }
+}
diff --git a/crates/model/src/annotations.rs b/crates/model/src/annotations.rs
index d2fc506ecf..ef4772aeb8 100644
--- a/crates/model/src/annotations.rs
+++ b/crates/model/src/annotations.rs
@@ -54,7 +54,8 @@ pub struct PdfPlaceableCommentAnchor {
pub uuid: Uuid,
pub document_id: String,
pub owner: String,
- pub thread_id: i64,
+ pub thread_id: Option<i64>,
+ pub root_id: Option<Uuid>,
pub page: i32,
pub original_page: i32,
pub original_index: i32,
@@ -105,6 +106,7 @@ pub struct PdfHighlightAnchor {
pub document_id: String,
pub owner: String,
pub thread_id: Option<i64>,
+ pub root_id: Option<Uuid>,
pub page: i32,
pub red: i32,
pub green: i32,
diff --git a/crates/model_notifications/src/metadata.rs b/crates/model_notifications/src/metadata.rs
index 6d53cb10f5..8045ffa2e3 100644
--- a/crates/model_notifications/src/metadata.rs
+++ b/crates/model_notifications/src/metadata.rs
@@ -867,10 +867,7 @@ impl NotificationTitle for MentionedInDocumentCommentMetadata {
&self,
sender_id: Option<MacroUserIdStr<'_>>,
) -> Result<String, rootcause::Report> {
- let sender =
- sender_id.ok_or_else(|| report!("Expected sender id to exist for {:?}", &self))?;
- let email = sender.0.email_part();
- let sender = email.email_str();
+ let sender = comment_sender_label(sender_id, self.sender_display_name.as_deref());
let title = match &self.file_type {
Some(ft) => format!("{sender} mentioned you in {}.{ft}", self.document_name),
None => format!("{sender} mentioned you in {}", self.document_name),
@@ -1136,10 +1133,58 @@ impl NotificationExtIos for TaskAssignedMetadata {
}
}
+/// Identity of a document comment or its thread. Comments written before the
+/// shared message store carry the legacy numeric ids; comments in the shared
+/// store carry the message and root UUIDs.
+#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, ToSchema)]
+#[serde(untagged)]
+pub enum CommentRef {
+ /// Legacy `Comment.id` or `Thread.id`.
+ Legacy(i64),
+ /// Message or root id in the shared message store.
+ Message(Uuid),
+}
+
+impl From<i64> for CommentRef {
+ fn from(id: i64) -> Self {
+ Self::Legacy(id)
+ }
+}
+
+impl From<Uuid> for CommentRef {
+ fn from(id: Uuid) -> Self {
+ Self::Message(id)
+ }
+}
+
+impl std::fmt::Display for CommentRef {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ match self {
+ Self::Legacy(id) => write!(f, "{id}"),
+ Self::Message(id) => write!(f, "{id}"),
+ }
+ }
+}
+
+/// Sender wording shared by the document comment notifications: the acting
+/// user's email, then a bot's public name, then a generic agent label.
+fn comment_sender_label(
+ sender_id: Option<MacroUserIdStr<'_>>,
+ sender_display_name: Option<&str>,
+) -> String {
+ sender_id
+ .map(|id| id.0.email_part().email_str().to_owned())
+ .or_else(|| sender_display_name.map(str::to_owned))
+ .unwrap_or_else(|| "Agent".to_owned())
+}
+
/// Notification sent when a user is mentioned in a document comment.
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
#[serde(rename_all = "camelCase")]
pub struct MentionedInDocumentCommentMetadata {
+ /// Public bot name when the author is an agent rather than a Macro user.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub sender_display_name: Option<String>,
/// The name of the document.
pub document_name: String,
/// The owner of the document.
@@ -1154,9 +1199,9 @@ pub struct MentionedInDocumentCommentMetadata {
/// The mention ID.
pub mention_id: String,
/// the comment id
- pub comment_id: i64,
+ pub comment_id: CommentRef,
/// the thread id
- pub thread_id: i64,
+ pub thread_id: CommentRef,
/// the text of the comment
pub text: String,
#[serde(default)]
@@ -1190,6 +1235,9 @@ impl NotificationExtIos for MentionedInDocumentCommentMetadata {
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
#[serde(rename_all = "camelCase")]
pub struct RepliedToDocumentCommentThreadMetadata {
+ /// Public bot name when the author is an agent rather than a Macro user.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub sender_display_name: Option<String>,
/// The name of the document.
pub document_name: String,
/// The owner of the document.
@@ -1202,9 +1250,9 @@ pub struct RepliedToDocumentCommentThreadMetadata {
#[serde(default)]
pub sub_type: Option<NotificationDocumentSubType>,
/// the comment id
- pub comment_id: i64,
+ pub comment_id: CommentRef,
/// the thread id
- pub thread_id: i64,
+ pub thread_id: CommentRef,
/// the text of the comment
pub text: String,
#[serde(default)]
@@ -1220,10 +1268,7 @@ impl NotificationTitle for RepliedToDocumentCommentThreadMetadata {
&self,
sender_id: Option<MacroUserIdStr<'_>>,
) -> Result<String, rootcause::Report> {
- let sender =
- sender_id.ok_or_else(|| report!("Expected sender id to exist for {:?}", &self))?;
- let email = sender.0.email_part();
- let sender = email.email_str();
+ let sender = comment_sender_label(sender_id, self.sender_display_name.as_deref());
let title = match &self.file_type {
Some(ft) => format!("{sender} replied in {}.{ft}", self.document_name),
None => format!("{sender} replied in {}", self.document_name),
@@ -1262,6 +1307,9 @@ impl NotificationExtIos for RepliedToDocumentCommentThreadMetadata {
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
#[serde(rename_all = "camelCase")]
pub struct CommentedOnDocumentMetadata {
+ /// Public bot name when the author is an agent rather than a Macro user.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub sender_display_name: Option<String>,
/// The name of the document.
pub document_name: String,
/// The owner of the document.
@@ -1274,9 +1322,9 @@ pub struct CommentedOnDocumentMetadata {
#[serde(default)]
pub sub_type: Option<NotificationDocumentSubType>,
/// the comment id
- pub comment_id: i64,
+ pub comment_id: CommentRef,
/// the thread id
- pub thread_id: i64,
+ pub thread_id: CommentRef,
/// the text of the comment
pub text: String,
#[serde(default)]
@@ -1292,10 +1340,7 @@ impl NotificationTitle for CommentedOnDocumentMetadata {
&self,
sender_id: Option<MacroUserIdStr<'_>>,
) -> Result<String, rootcause::Report> {
- let sender =
- sender_id.ok_or_else(|| report!("Expected sender id to exist for {:?}", &self))?;
- let email = sender.0.email_part();
- let sender = email.email_str();
+ let sender = comment_sender_label(sender_id, self.sender_display_name.as_deref());
let title = match &self.file_type {
Some(ft) => format!("{sender} commented on {}.{ft}", self.document_name),
None => format!("{sender} commented on {}", self.document_name),
diff --git a/crates/properties/src/domain/service_impl.rs b/crates/properties/src/domain/service_impl.rs
index dcc1bc9965..d9b39476a9 100644
--- a/crates/properties/src/domain/service_impl.rs
+++ b/crates/properties/src/domain/service_impl.rs
@@ -71,11 +71,13 @@ fn published_event_actors(access: &EditReceipt) -> PublishedEventActors {
on_behalf_of: Some(acting_user.clone()),
actor_user_id: None,
},
- BotReceiptScope::Team { .. } => PublishedEventActors {
- actor: None,
- on_behalf_of: None,
- actor_user_id: None,
- },
+ BotReceiptScope::Team { .. } | BotReceiptScope::Channel { .. } => {
+ PublishedEventActors {
+ actor: None,
+ on_behalf_of: None,
+ actor_user_id: None,
+ }
+ }
},
EntityAccessAuth::Unauthenticated | EntityAccessAuth::Internal => PublishedEventActors {
actor: None,
diff --git a/crates/soup_realtime/Cargo.toml b/crates/soup_realtime/Cargo.toml
index 309cb2aa08..ab2f4bc5e8 100644
--- a/crates/soup_realtime/Cargo.toml
+++ b/crates/soup_realtime/Cargo.toml
@@ -59,6 +59,7 @@ workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
chrono = { workspace = true }
+messages = { path = "../messages" }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "test-util", "time"] }
uuid = { workspace = true }
diff --git a/crates/soup_realtime/src/inbound/kafka_consumer/test.rs b/crates/soup_realtime/src/inbound/kafka_consumer/test.rs
index f876099d9e..3b5e27a5b1 100644
--- a/crates/soup_realtime/src/inbound/kafka_consumer/test.rs
+++ b/crates/soup_realtime/src/inbound/kafka_consumer/test.rs
@@ -6,7 +6,7 @@ use channels::domain::{
ChannelEventAttachment, ChannelMessageAttachmentCreatedMetadata,
ChannelMessageDeletedMetadata, ChannelMessagePostedMetadata, ChannelTopicEvent,
},
- models::{ChannelSender, ChannelType, SimpleMention},
+ models::{ChannelSender, ChannelType},
};
use chat::domain::events::{
ChatMessageDeletedMetadata, ChatMessageRole, ChatMessageSentMetadata, ChatTopicEvent,
@@ -25,6 +25,7 @@ use email::domain::events::{
};
use macro_event_broker::{Event, EventBrokerError, MacroEventCollection as _, MessageParts};
use macro_user_id::user_id::MacroUserIdStr;
+use messages::domain::models::SimpleMention;
use projects::domain::events::{ProjectDeletedMetadata, ProjectTopicEvent};
use properties::domain::events::{
EntityPropertiesClearedMetadata, EntityPropertyDeletedMetadata, EntityPropertyUpdatedMetadata,
diff --git a/crates/webhook/Cargo.toml b/crates/webhook/Cargo.toml
index 1fdef20ec9..7f50d523d8 100644
--- a/crates/webhook/Cargo.toml
+++ b/crates/webhook/Cargo.toml
@@ -114,6 +114,7 @@ agent_session = { path = "../agent_session", default-features = false, features
bot_id = { path = "../bot_id", features = ["test-utils"] }
channel_sender = { path = "../channel_sender" }
macro_db_migrator = { path = "../macro_db_migrator" }
+messages = { path = "../messages" }
rate_limit = { path = "../rate_limit", default-features = false, features = [
"axum",
"testing",
diff --git a/crates/webhook/src/domain/ingestion/test.rs b/crates/webhook/src/domain/ingestion/test.rs
index b4d17f5f09..bbf5400d08 100644
--- a/crates/webhook/src/domain/ingestion/test.rs
+++ b/crates/webhook/src/domain/ingestion/test.rs
@@ -18,7 +18,7 @@ use channels::domain::{
ChannelMessageDeletedMetadata, ChannelMessagePatchedMetadata, ChannelMessagePostedMetadata,
ChannelParticipantAddedMetadata, ChannelParticipantRemovedMetadata, ChannelUpdatedMetadata,
},
- models::{ChannelType, SimpleMention},
+ models::ChannelType,
};
use chrono::{DateTime, Utc};
use documents::domain::events::{
@@ -31,6 +31,7 @@ use entity_access::domain::models::{
RequiredPermission, TeamRole, UserTeamInfo,
};
use macro_user_id::{lowercased::Lowercase, user_id::MacroUserId};
+use messages::domain::models::SimpleMention;
use serde_json::Value;
use std::{
collections::BTreeMap,
diff --git a/docs/design/entity-messages.md b/docs/design/entity-messages.md
new file mode 100644
index 0000000000..414c082940
--- /dev/null
+++ b/docs/design/entity-messages.md
@@ -0,0 +1,117 @@
+# Channel messages and document discussions on one store
+
+Channel messages and document comments share one message implementation:
+`comms_messages` holds the content, `comms_message_threads` holds root-level thread
+state, and `crates/messages` owns the use cases for both parents. This document
+describes what is live after the messages crate PR and what the remaining PRs of
+the staged rollout add.
+
+## Identity and storage
+
+A message has one parent: `{type: "channel" | "document", id: string}`, stored in
+`parent_entity_type` / `parent_entity_id`. A root message has no `thread_id`;
+replies point to their root. Historical document ids are plain strings, so
+`parent_entity_id` is text and document access for non-UUID ids is resolved from the
+document and share tables directly.
+
+`comms_message_threads` holds one row per root: owner, resolution, an optional anchor,
+import metadata, and whole-thread deletion. An anchor is a tagged Markdown mark, PDF
+highlight, or PDF placeable and is only valid on document roots. Deleting a root
+tombstones that message and keeps the discussion. Deleting the discussion tombstones
+every message in it, removes a comment-only placeable, detaches a highlight, and keeps
+a Markdown anchor on the tombstone so an open editor can reconcile the mark.
+
+Integrity rules that the database cannot express declaratively live in the domain
+service and are covered by its tests: the parent must exist and not be soft-deleted,
+a reply must target a live root of the same parent, replies cannot be replied to,
+tombstoned messages are immutable, and anchors are accepted on document roots only.
+The store re-checks the live-root rule inside the write transaction. The schema adds
+a composite thread foreign key, a `CHECK` that forbids anchors on channel threads, and
+a partial unique index for one live Markdown discussion per mark per document.
+
+### Transitional shape
+
+Until the last PR of the rollout removes them, the schema keeps:
+
+- `comms_messages.channel_id` and `comms_attachments.channel_id`, nullable, filled for
+ channel parents by the messages crate and by the channel writers that still exist.
+ A `BEFORE INSERT` shim keeps the two representations of a channel parent in step
+ for writers that only set one of them.
+- An `AFTER INSERT` trigger that creates the thread row for roots inserted by writers
+ that know nothing about `comms_message_threads`. The messages crate inserts the row
+ itself with `ON CONFLICT`, so the trigger can be dropped without changing it.
+- The legacy `Comment`, `Thread`, and `ThreadAnchor` tables and the PDF anchors'
+ bigint `threadId`. New document discussions reference PDF anchors through the
+ nullable `root_id` columns; `PdfPlaceableCommentAnchor` rows carry exactly one of
+ `threadId` or `root_id`.
+- The empty `migrated_comment_id` and `migrated_comment_thread_id` tables that the
+ import fills; `resolve_legacy` reads them and returns not-found until then.
+
+## One message API
+
+`/messages/{parent_type}/{parent_id}` serves both parents: timeline with cursors,
+centered windows, selected roots, anchored filters, activity windows, and optional
+whole-thread tombstones; item read, patch, delete, and reactions; thread read, patch
+(resolve, reopen, detach a Markdown anchor) and delete; typing; and old-link
+resolution. Requests are authorized with `entity_access` receipts: `MessageView`
+accepts any view permission, `MessageWrite` requires comment access on a document or
+membership in a channel. Bots carry their verified scope in the receipt, and an
+autonomous webhook bot is authorized by its channel membership alone.
+
+References are validated before persistence. Documents, channels, chats, projects,
+email threads, calls, calendar events, agent sessions, and CRM records require view
+access for the author; users and bots must be canonical principals; static media is
+readable by anyone who has its id; `@here` is expanded server-side from current channel
+membership. Display-only editor chips (dates, contacts, colors, automations) are
+stored as written, as the channel writer always did, because they name nothing that
+can be authorized.
+
+## The channel routes are adapters
+
+Every existing `/channels/{id}` message, reaction, and typing route, its request and
+response shapes, and its OpenAPI operation id are unchanged. The write handlers
+translate the old request into the shared `MessageCommands` through
+`ChannelMessageAdapter`; so do the channel bot webhook, the agent's
+`SendChannelMessage` tool, the Macro AI reply loop, and the support-channel welcome
+message. Channel reads still use the channel repository, which reads `channel_id`.
+The `ChannelService` write methods remain on the trait for their tests and are
+removed with the routes in the last PR.
+
+## Delivery
+
+A committed change fans out to three independent sinks; a failure in one is logged
+and never turns the committed write into an error:
+
+- The broker sink publishes parent-aware facts on `macro.messages`:
+ `message.posted`, `message.patched`, `message.deleted`, `message.mentioned` (one
+ per mentioned entity), `message.attachment_created`, and
+ `message.attachment_removed`, keyed by root id. Reactions and typing stay off the
+ topic. Payloads carry the parent, message and root ids, sender, and the same
+ fields as the channel-only events, minus `channel_type`.
+- The local built-in agent queue. In this stage the Macro AI trigger still arrives
+ through the channel side effects below, so this sink is a no-op until the agent PR
+ moves detection onto the message facts.
+- Parent delivery. For channels, `ChannelMessageDelivery` dispatches the same
+ `ChannelEvent`s the old writer dispatched, so notifications, activity, sharing of
+ referenced items, contact sync, search indexing, bot triggers, and the
+ `comms_message` / `comms_attachment` / `comms_reaction` / `comms_typing` realtime
+ payloads the deployed client listens to are unchanged, and the `channel.*` events
+ on `macro.channels` keep flowing. It also sends the common `message_update` payload
+ to channel participants. For documents, `DiscussionDelivery` sends `message_update`
+ to current viewers and the existing document comment notifications (mention, reply,
+ assignee, owner) to recipients whose view access is rechecked at delivery time.
+ Comment notifications now identify the comment by message id, so the metadata's
+ `commentId` / `threadId` accept either a legacy number or a message UUID.
+
+## What each remaining PR adds
+
+1. Comment import: an online, idempotent copy of `Comment` / `Thread` rows into the
+ shared store, filling the legacy-id mapping tables and the PDF anchors' `root_id`.
+2. Frontend: the shared message queries, cache, and thread components mounted on both
+ surfaces behind a flag, consuming `message_update` and the new routes.
+3. Parent-aware agents: trigger detection, session origins, history, and reply
+ delivery on `message.posted`; the local agent sink replaces the channel trigger.
+4. References: documents list the channel threads that mention them.
+5. Contract: drop the legacy comment tables and handlers, `channel_id`, the shim
+ triggers, the old channel message routes, and the `channel.message_*` broker
+ events; search, webhooks, and soup move to `macro.messages`; SDK major bump.
diff --git a/packages/sdk/generated/notification/index.ts b/packages/sdk/generated/notification/index.ts
index 0d65b75732..f3694c86f8 100644
--- a/packages/sdk/generated/notification/index.ts
+++ b/packages/sdk/generated/notification/index.ts
@@ -1,4 +1,4 @@
// This file is auto-generated by @hey-api/openapi-ts
export { type Options, Sdk } from './sdk.gen';
-export type { AgentSessionMentionedMetadata, AgentSessionNotificationRef, AgentSessionSettledMetadata, AgentSessionWaitingForInputMetadata, AiResponseMetadata, ApiUserNotification, BulkDeleteUserNotificationsV2Data, BulkDeleteUserNotificationsV2Error, BulkDeleteUserNotificationsV2Errors, BulkDeleteUserNotificationsV2Responses, BulkGetByEventItemIdsRequest, BulkGetTypedNotificationsByEventItemIdsData, BulkGetTypedNotificationsByEventItemIdsError, BulkGetTypedNotificationsByEventItemIdsErrors, BulkGetTypedNotificationsByEventItemIdsResponse, BulkGetTypedNotificationsByEventItemIdsResponses, BulkMarkNotificationsDoneData, BulkMarkNotificationsDoneError, BulkMarkNotificationsDoneErrors, BulkMarkNotificationsDoneResponses, BulkMarkNotificationsSeenData, BulkMarkNotificationsSeenError, BulkMarkNotificationsSeenErrors, BulkMarkNotificationsSeenResponses, BulkMarkNotificationsUndoneData, BulkMarkNotificationsUndoneError, BulkMarkNotificationsUndoneErrors, BulkMarkNotificationsUndoneResponses, CalendarEventReminderMetadata, CallStartedMetadata, ChannelInviteMetadata, ChannelMentionMetadata, ChannelMessageSendMetadata, ChannelReplyMetadata, ChannelType, ClientOptions, CommentedOnDocumentMetadata, CommonChannelMetadata, ConnGatewayNotificationPayload, CreateNotification, DeleteUserNotificationV2Data, DeleteUserNotificationV2Error, DeleteUserNotificationV2Errors, DeleteUserNotificationV2Responses, DeviceRequest, DeviceType, DisableNotificationTypeData, DisableNotificationTypeError, DisableNotificationTypeErrors, DisableNotificationTypeResponses, DocumentMentionMetadata, EmptyResponse, EnableNotificationTypeData, EnableNotificationTypeError, EnableNotificationTypeErrors, EnableNotificationTypeResponses, Entity, EntityType, ErrorResponse, GetAllUserNotificationsResponse, GetNotificationTypePreferencesData, GetNotificationTypePreferencesError, GetNotificationTypePreferencesErrors, GetNotificationTypePreferencesResponse, GetNotificationTypePreferencesResponse2, GetNotificationTypePreferencesResponses, GetTypedNotificationByIdData, GetTypedNotificationByIdError, GetTypedNotificationByIdErrors, GetTypedNotificationByIdResponse, GetTypedNotificationByIdResponses, GetTypedNotificationsByEventItemIdData, GetTypedNotificationsByEventItemIdError, GetTypedNotificationsByEventItemIdErrors, GetTypedNotificationsByEventItemIdResponse, GetTypedNotificationsByEventItemIdResponses, GetUnsubscribesData, GetUnsubscribesError, GetUnsubscribesErrors, GetUnsubscribesResponse, GetUnsubscribesResponses, GithubPrCheckRun, GithubPrCheckRunState, GithubPrComment, GithubPrCommentKind, GithubPrEventAction, GithubPrEventStatus, GithubPrMention, GithubPrMentionLocation, GithubPrNotificationCommon, GithubPrReview, GithubPrReviewState, GithubPrStatusChanged, GithubReviewRequested, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, InboxReauthRequiredMetadata, InviteToTeamMetadata, ItemSharedMetadata, ListTypedNotificationsData, ListTypedNotificationsError, ListTypedNotificationsErrors, ListTypedNotificationsResponse, ListTypedNotificationsResponses, MacroUserIdStr, MentionedInDocumentCommentMetadata, NewEmailMetadata, NotifEvent, NotificationBulkRequest, NotificationDocumentSubType, NotificationServiceApiVersion, NotificationState, NotificationTypeName, PushNotificationData, RealtimeNotifTaggedContentValue, ReminderMetadata, RemoveUnsubscribeAllData, RemoveUnsubscribeAllError, RemoveUnsubscribeAllErrors, RemoveUnsubscribeAllResponse, RemoveUnsubscribeAllResponses, RemoveUnsubscribeItemData, RemoveUnsubscribeItemError, RemoveUnsubscribeItemErrors, RemoveUnsubscribeItemResponse, RemoveUnsubscribeItemResponses, RepliedToDocumentCommentThreadMetadata, TaskAssignedMetadata, UnsubscribeAllData, UnsubscribeAllError, UnsubscribeAllErrors, UnsubscribeAllResponse, UnsubscribeAllResponses, UnsubscribeEmailData, UnsubscribeEmailError, UnsubscribeEmailErrors, UnsubscribeEmailResponse, UnsubscribeEmailResponses, UnsubscribeItemData, UnsubscribeItemError, UnsubscribeItemErrors, UnsubscribeItemPathParams, UnsubscribeItemResponse, UnsubscribeItemResponses, UserUnsubscribe } from './types.gen';
+export type { AgentSessionMentionedMetadata, AgentSessionNotificationRef, AgentSessionSettledMetadata, AgentSessionWaitingForInputMetadata, AiResponseMetadata, ApiUserNotification, BulkDeleteUserNotificationsV2Data, BulkDeleteUserNotificationsV2Error, BulkDeleteUserNotificationsV2Errors, BulkDeleteUserNotificationsV2Responses, BulkGetByEventItemIdsRequest, BulkGetTypedNotificationsByEventItemIdsData, BulkGetTypedNotificationsByEventItemIdsError, BulkGetTypedNotificationsByEventItemIdsErrors, BulkGetTypedNotificationsByEventItemIdsResponse, BulkGetTypedNotificationsByEventItemIdsResponses, BulkMarkNotificationsDoneData, BulkMarkNotificationsDoneError, BulkMarkNotificationsDoneErrors, BulkMarkNotificationsDoneResponses, BulkMarkNotificationsSeenData, BulkMarkNotificationsSeenError, BulkMarkNotificationsSeenErrors, BulkMarkNotificationsSeenResponses, BulkMarkNotificationsUndoneData, BulkMarkNotificationsUndoneError, BulkMarkNotificationsUndoneErrors, BulkMarkNotificationsUndoneResponses, CalendarEventReminderMetadata, CallStartedMetadata, ChannelInviteMetadata, ChannelMentionMetadata, ChannelMessageSendMetadata, ChannelReplyMetadata, ChannelType, ClientOptions, CommentedOnDocumentMetadata, CommentRef, CommonChannelMetadata, ConnGatewayNotificationPayload, CreateNotification, DeleteUserNotificationV2Data, DeleteUserNotificationV2Error, DeleteUserNotificationV2Errors, DeleteUserNotificationV2Responses, DeviceRequest, DeviceType, DisableNotificationTypeData, DisableNotificationTypeError, DisableNotificationTypeErrors, DisableNotificationTypeResponses, DocumentMentionMetadata, EmptyResponse, EnableNotificationTypeData, EnableNotificationTypeError, EnableNotificationTypeErrors, EnableNotificationTypeResponses, Entity, EntityType, ErrorResponse, GetAllUserNotificationsResponse, GetNotificationTypePreferencesData, GetNotificationTypePreferencesError, GetNotificationTypePreferencesErrors, GetNotificationTypePreferencesResponse, GetNotificationTypePreferencesResponse2, GetNotificationTypePreferencesResponses, GetTypedNotificationByIdData, GetTypedNotificationByIdError, GetTypedNotificationByIdErrors, GetTypedNotificationByIdResponse, GetTypedNotificationByIdResponses, GetTypedNotificationsByEventItemIdData, GetTypedNotificationsByEventItemIdError, GetTypedNotificationsByEventItemIdErrors, GetTypedNotificationsByEventItemIdResponse, GetTypedNotificationsByEventItemIdResponses, GetUnsubscribesData, GetUnsubscribesError, GetUnsubscribesErrors, GetUnsubscribesResponse, GetUnsubscribesResponses, GithubPrCheckRun, GithubPrCheckRunState, GithubPrComment, GithubPrCommentKind, GithubPrEventAction, GithubPrEventStatus, GithubPrMention, GithubPrMentionLocation, GithubPrNotificationCommon, GithubPrReview, GithubPrReviewState, GithubPrStatusChanged, GithubReviewRequested, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, InboxReauthRequiredMetadata, InviteToTeamMetadata, ItemSharedMetadata, ListTypedNotificationsData, ListTypedNotificationsError, ListTypedNotificationsErrors, ListTypedNotificationsResponse, ListTypedNotificationsResponses, MacroUserIdStr, MentionedInDocumentCommentMetadata, NewEmailMetadata, NotifEvent, NotificationBulkRequest, NotificationDocumentSubType, NotificationServiceApiVersion, NotificationState, NotificationTypeName, PushNotificationData, RealtimeNotifTaggedContentValue, ReminderMetadata, RemoveUnsubscribeAllData, RemoveUnsubscribeAllError, RemoveUnsubscribeAllErrors, RemoveUnsubscribeAllResponse, RemoveUnsubscribeAllResponses, RemoveUnsubscribeItemData, RemoveUnsubscribeItemError, RemoveUnsubscribeItemErrors, RemoveUnsubscribeItemResponse, RemoveUnsubscribeItemResponses, RepliedToDocumentCommentThreadMetadata, TaskAssignedMetadata, UnsubscribeAllData, UnsubscribeAllError, UnsubscribeAllErrors, UnsubscribeAllResponse, UnsubscribeAllResponses, UnsubscribeEmailData, UnsubscribeEmailError, UnsubscribeEmailErrors, UnsubscribeEmailResponse, UnsubscribeEmailResponses, UnsubscribeItemData, UnsubscribeItemError, UnsubscribeItemErrors, UnsubscribeItemPathParams, UnsubscribeItemResponse, UnsubscribeItemResponses, UserUnsubscribe } from './types.gen';
diff --git a/packages/sdk/generated/notification/types.gen.ts b/packages/sdk/generated/notification/types.gen.ts
index 3dac02627e..d1258176e0 100644
--- a/packages/sdk/generated/notification/types.gen.ts
+++ b/packages/sdk/generated/notification/types.gen.ts
@@ -315,6 +315,13 @@ export type ChannelReplyMetadata = CommonChannelMetadata & {
export type ChannelType = 'public' | 'private' | 'directMessage' | 'team';
+/**
+ * Identity of a document comment or its thread. Comments written before the
+ * shared message store carry the legacy numeric ids; comments in the shared
+ * store carry the message and root UUIDs.
+ */
+export type CommentRef = number | string;
+
/**
* Notification sent when someone comments on a document the user owns.
*/
@@ -322,7 +329,7 @@ export type CommentedOnDocumentMetadata = {
/**
* the comment id
*/
- commentId: number;
+ commentId: CommentRef;
/**
* The name of the document.
*/
@@ -335,6 +342,10 @@ export type CommentedOnDocumentMetadata = {
* The owner of the document.
*/
owner: string;
+ /**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+ senderDisplayName?: string | null;
senderProfilePictureUrl?: string | null;
subType?: null | NotificationDocumentSubType;
/**
@@ -344,7 +355,7 @@ export type CommentedOnDocumentMetadata = {
/**
* the thread id
*/
- threadId: number;
+ threadId: CommentRef;
};
/**
@@ -777,7 +788,7 @@ export type MentionedInDocumentCommentMetadata = {
/**
* the comment id
*/
- commentId: number;
+ commentId: CommentRef;
/**
* The name of the document.
*/
@@ -794,6 +805,10 @@ export type MentionedInDocumentCommentMetadata = {
* The owner of the document.
*/
owner: string;
+ /**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+ senderDisplayName?: string | null;
senderProfilePictureUrl?: string | null;
subType?: null | NotificationDocumentSubType;
/**
@@ -803,7 +818,7 @@ export type MentionedInDocumentCommentMetadata = {
/**
* the thread id
*/
- threadId: number;
+ threadId: CommentRef;
};
export type NewEmailMetadata = {
@@ -1115,7 +1130,7 @@ export type RepliedToDocumentCommentThreadMetadata = {
/**
* the comment id
*/
- commentId: number;
+ commentId: CommentRef;
/**
* The name of the document.
*/
@@ -1128,6 +1143,10 @@ export type RepliedToDocumentCommentThreadMetadata = {
* The owner of the document.
*/
owner: string;
+ /**
+ * Public bot name when the author is an agent rather than a Macro user.
+ */
+ senderDisplayName?: string | null;
senderProfilePictureUrl?: string | null;
subType?: null | NotificationDocumentSubType;
/**
@@ -1137,7 +1156,7 @@ export type RepliedToDocumentCommentThreadMetadata = {
/**
* the thread id
*/
- threadId: number;
+ threadId: CommentRef;
};
/**
diff --git a/packages/sdk/generated/storage/index.ts b/packages/sdk/generated/storage/index.ts
index 2e9a698abd..434a4ed0a0 100644
--- a/packages/sdk/generated/storage/index.ts
+++ b/packages/sdk/generated/storage/index.ts
@@ -1,4 +1,4 @@
// This file is auto-generated by @hey-api/openapi-ts
export { type Options, Sdk } from './sdk.gen';
-export type { AccessLevel, ActiveCallsResponse, ActiveCallSummary, ActivityType, AddFavoriteData, AddFavoriteError, AddFavoriteErrors, AddFavoriteRequest, AddFavoriteResponse, AddFavoriteResponses, AddParticipantsData, AddParticipantsError, AddParticipantsErrors, AddParticipantsRequest, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerError, AddPinHandlerErrors, AddPinHandlerResponse, AddPinHandlerResponses, AddPinRequest, Agent, AgentActionId, AgentChannelScope, AgentMcpServer, AgentMcpServers, AgentSessionFilters, AgentSessionLifecycleEvent, Anchor, AnchorId, AnchorRequest, AnchorResponse, AnnotationIncrementalUpdate, ApiActivity, ApiAttachmentChannelReference, ApiAttachmentEntityReference, ApiAttachmentGenericReference, ApiChannelAttachment, ApiChannelAttachmentsPage, ApiChannelContextMessage, ApiChannelDetail, ApiChannelListMessage, ApiChannelListPage, ApiChannelListParticipant, ApiChannelListType, ApiChannelMessage, ApiChannelMessageKind, ApiChannelMessagesPage, ApiChannelParticipant, ApiChannelWithLatest, ApiCountedReaction, ApiEntityFilterAst, ApiGroupByField, ApiGroupMeta, ApiMessageAttachment, ApiMessageSender, ApiMessageSenderType, ApiParticipantListRole, ApiParticipantRole, ApiPropertyEntityType, ApiResolvedChannelMessage, ApiThreadInfo, ApiThreadReply, ApproveHarnessPairingData, ApproveHarnessPairingError, ApproveHarnessPairingErrors, ApproveHarnessPairingResponse, ApproveHarnessPairingResponses, ApprovePairingRequest, AssignInitiativeTasksData, AssignInitiativeTasksError, AssignInitiativeTasksErrors, AssignInitiativeTasksResponse, AssignInitiativeTasksResponses, AssignTasksRequest, AssignTasksResponse, AssignTasksResult, AssignTaskStatus, AttendeeResponseStatus, BasicDocument, BasicDocumentSubType, BomPart, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, CalendarEventSourceContent, CalendarMentionEvent, CalendarMentionPreviewItem, CalendarMentionPreviewKind, CalendarMentionPreviewRequest, CalendarMentionPreviewRequestItem, CalendarMentionPreviewResponse, CalendarOccurrence, CalendarOccurrenceItem, CalendarOccurrenceResponse, CalendarSyncStatus, CallActiveResponse, CallFilters, CallRecord, CallRecordParticipant, CallRecordPreview, CallRecordPreviewData, CallRecordTranscriptSegment, CallStatus, CallTokenResponse, CallWebhookData, CallWebhookError, CallWebhookErrors, CallWebhookResponses, Channel, ChannelCreatedMetadata, ChannelDeletedMetadata, ChannelEventAttachment, ChannelFilters, ChannelJoinCodeResponse, ChannelMentionedMetadata, ChannelMessage, ChannelMessageAttachmentCreatedMetadata, ChannelMessageAttachmentRemovedMetadata, ChannelMessageDeletedMetadata, ChannelMessageFilters, ChannelMessagePatchedMetadata, ChannelMessagePostedMetadata, ChannelParticipant, ChannelParticipantAddedMetadata, ChannelParticipantRemovedMetadata, ChannelPreview, ChannelPreviewData, ChannelSender, ChannelSharePermission, ChannelThreadFilters, ChannelTopicEvent, ChannelType, ChannelUpdatedMetadata, ChannelWebhookRequest, ChannelWebhookResponse, ChannelWithParticipants, Chat, ChatFilters, CheckActiveCallData, CheckActiveCallError, CheckActiveCallErrors, CheckActiveCallResponse, CheckActiveCallResponses, ClaimedPairing, ClaimHarnessPairingData, ClaimHarnessPairingError, ClaimHarnessPairingErrors, ClaimHarnessPairingResponse, ClaimHarnessPairingResponses, ClaimPairingRequest, ClientOptions, CloudStorageItemType, CollabSurfaceResponse, CollabSurfaceTokenResponse, Comment, CommentThread, ConferenceProvider, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAnchorData, CreateAnchorError, CreateAnchorErrors, CreateAnchorResponse, CreateAnchorResponses, CreateBotRequest, CreateBulkDocumentResponse, CreateBulkDocumentResponseData, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelRequest, CreateChannelResponse, CreateChannelResponse2, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotError, CreateChannelScopedBotErrors, CreateChannelScopedBotRequest, CreateChannelScopedBotResponse, CreateChannelScopedBotResponse2, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenError, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponse, CreateCollabSurfaceTokenResponses, CreateCommentData, CreateCommentError, CreateCommentErrors, CreateCommentRequest, CreateCommentResponse, CreateCommentResponse2, CreateCommentResponses, CreateCrmCommentData, CreateCrmCommentError, CreateCrmCommentErrors, CreateCrmCommentRequest, CreateCrmCommentResponse, CreateCrmCommentResponses, CreateCrmCompanyData, CreateCrmCompanyError, CreateCrmCompanyErrors, CreateCrmCompanyRequest, CreateCrmCompanyResponse, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactError, CreateCrmContactErrors, CreateCrmContactRequest, CreateCrmContactResponse, CreateCrmContactResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentRequest, CreateDocumentResponse, CreateDocumentResponseData, CreateDocumentResponses, CreatedPairing, CreatedUserApiKey, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateHarnessPairingData, CreateHarnessPairingError, CreateHarnessPairingErrors, CreateHarnessPairingResponse, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeError, CreateInitiativeErrors, CreateInitiativeRequest, CreateInitiativeResponse, CreateInitiativeResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, CreatePairingRequest, CreateProjectHandlerData, CreateProjectHandlerError, CreateProjectHandlerErrors, CreateProjectHandlerResponse, CreateProjectHandlerResponses, CreateProjectRequest, CreateProjectResponse, CreateReminderData, CreateReminderError, CreateReminderErrors, CreateReminderRequest, CreateReminderResponse, CreateReminderResponses, CreateSkillHandlerData, CreateSkillHandlerError, CreateSkillHandlerErrors, CreateSkillHandlerResponse, CreateSkillHandlerResponses, CreateSkillRequest, CreateSkillResponse, CreateSnippetHandlerData, CreateSnippetHandlerError, CreateSnippetHandlerErrors, CreateSnippetHandlerResponse, CreateSnippetHandlerResponses, CreateSnippetRequest, CreateSnippetResponse, CreateTaskHandlerData, CreateTaskHandlerError, CreateTaskHandlerErrors, CreateTaskHandlerResponse, CreateTaskHandlerResponses, CreateTaskRequest, CreateTaskResponse, CreateUnthreadedAnchorRequest, CreateUnthreadedAnchorResponse, CreateUnthreadedPdfAnchorRequest, CreateUserApiKeyData, CreateUserApiKeyError, CreateUserApiKeyErrors, CreateUserApiKeyRequest, CreateUserApiKeyResponse, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmComment, CrmCommentEntityType, CrmCommentThread, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, CrmStageInput, CrmStageResponse, CrmStagesResponse, CrmTeamSettingsResponse, CrmThread, CustomSpeakerAssignment, DataType, DeleteAnchorData, DeleteAnchorError, DeleteAnchorErrors, DeleteAnchorInfo, DeleteAnchorResponse, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordError, DeleteCallRecordErrors, DeleteCallRecordResponse, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelResponse, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceError, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponse, DeleteCollabSurfaceResponses, DeleteCommentData, DeleteCommentError, DeleteCommentErrors, DeleteCommentRequest, DeleteCommentResponse, DeleteCommentResponse2, DeleteCommentResponses, DeleteCrmCommentData, DeleteCrmCommentError, DeleteCrmCommentErrors, DeleteCrmCommentResponse, DeleteCrmCommentResponses, DeleteCrmCommentResult, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionError, DeleteEntityMentionErrors, DeleteEntityMentionResponse, DeleteEntityMentionResponse2, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessError, DeleteHarnessErrors, DeleteHarnessResponse, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeError, DeleteInitiativeErrors, DeleteInitiativeResponse, DeleteInitiativeResponses, DeleteMessageData, DeleteMessageError, DeleteMessageErrors, DeleteMessageQuery, DeleteMessageResponse, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderError, DeleteReminderErrors, DeleteReminderResponse, DeleteReminderResponses, DeleteSelfHarnessData, DeleteSelfHarnessError, DeleteSelfHarnessErrors, DeleteSelfHarnessResponse, DeleteSelfHarnessResponses, DeleteThreadInfo, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, DeleteUserApiKeyData, DeleteUserApiKeyError, DeleteUserApiKeyErrors, DeleteUserApiKeyResponse, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationError, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponse, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerError, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DocumentBasic, DocumentContent, DocumentContentLocation, DocumentContentState, DocumentContentUploadedMetadata, DocumentCopiedMetadata, DocumentCreatedMetadata, DocumentDeletedMetadata, DocumentFilters, DocumentInteractionMetadata, DocumentMetadata, DocumentMetadataWithContent, DocumentPermissionsToken, DocumentPermissionsTokenRequest, DocumentPermissionsTokenResponse, DocumentPreview, DocumentPreviewData, DocumentPreviewDataSubType, DocumentPurgedMetadata, DocumentResponse, DocumentResponseMetadata, DocumentResponseMetadataWithContent, DocumentStorageServiceApiVersion, DocumentSubType, DocumentSyncContentUpdatedMetadata, DocumentTeamShareResponse, DocumentTopicEvent, DocumentUpdatedMetadata, EditAnchorData, EditAnchorError, EditAnchorErrors, EditAnchorRequest, EditAnchorResponse, EditAnchorResponse2, EditAnchorResponses, EditCallRecordData, EditCallRecordError, EditCallRecordErrors, EditCallRecordRequest, EditCallRecordResponse, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptError, EditCallTranscriptErrors, EditCallTranscriptRequest, EditCallTranscriptResponse, EditCallTranscriptResponses, EditCommentData, EditCommentError, EditCommentErrors, EditCommentRequest, EditCommentResponse, EditCommentResponse2, EditCommentResponses, EditCrmCommentData, EditCrmCommentError, EditCrmCommentErrors, EditCrmCommentRequest, EditCrmCommentResponse, EditCrmCommentResponses, EditDocumentData, EditDocumentError, EditDocumentErrors, EditDocumentResponse, EditDocumentResponse2, EditDocumentResponses, EditDocumentServiceArgs, EditPdfAnchorRequest, EditPdfPlaceableCommentAnchorRequest, EditProjectV2Data, EditProjectV2Error, EditProjectV2Errors, EditProjectV2Response, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Error, EditThreadV2Errors, EditThreadV2Response, EditThreadV2Responses, EmailFilters, EmptyResponse, EnsureCollabSurfaceData, EnsureCollabSurfaceError, EnsureCollabSurfaceErrors, EnsureCollabSurfaceRequest, EnsureCollabSurfaceResponse, EnsureCollabSurfaceResponses, EntityFilters, EntityPermission, EntityPermissionResponse, EntityReference, EntityType, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventType, EventVisibility, ExcludedDefaultView, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerError, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExcludeDefaultViewRequest, ExportDocumentData, ExportDocumentError, ExportDocumentErrors, ExportDocumentResponse, ExportDocumentResponse2, ExportDocumentResponses, Favorite, FavoriteEntityRef, FavoritesList, FileSystemNodeWithIds, FileType, FileTypeUpdate, FolderItem, ForeignEntity, ForeignEntityFilters, GenericErrorResponse, GenericResponse, GenericSuccessResponse, GetActiveCallsData, GetActiveCallsError, GetActiveCallsErrors, GetActiveCallsResponse, GetActiveCallsResponses, GetActivityData, GetActivityError, GetActivityErrors, GetActivityResponse, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesError, GetAttachmentReferencesErrors, GetAttachmentReferencesResponse, GetAttachmentReferencesResponse2, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewError, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewRequest, GetBatchCallRecordPreviewResponse, GetBatchCallRecordPreviewResponse2, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewError, GetBatchChannelPreviewErrors, GetBatchChannelPreviewRequest, GetBatchChannelPreviewResponse, GetBatchChannelPreviewResponse2, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerError, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponse, GetBatchPreviewHandlerResponses, GetBatchPreviewRequest, GetBatchPreviewResponse, GetBatchProjectPreviewData, GetBatchProjectPreviewError, GetBatchProjectPreviewErrors, GetBatchProjectPreviewRequest, GetBatchProjectPreviewResponse, GetBatchProjectPreviewResponse2, GetBatchProjectPreviewResponses, GetCallRecordData, GetCallRecordError, GetCallRecordErrors, GetCallRecordResponse, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsError, GetChannelAttachmentsErrors, GetChannelAttachmentsResponse, GetChannelAttachmentsResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkError, GetChannelJoinLinkErrors, GetChannelJoinLinkResponse, GetChannelJoinLinkResponses, GetChannelMessagesCatchUpData, GetChannelMessagesCatchUpError, GetChannelMessagesCatchUpErrors, GetChannelMessagesCatchUpResponse, GetChannelMessagesCatchUpResponses, GetChannelMessagesData, GetChannelMessagesError, GetChannelMessagesErrors, GetChannelMessagesResponse, GetChannelMessagesResponses, GetChannelParticipantsData, GetChannelParticipantsError, GetChannelParticipantsErrors, GetChannelParticipantsResponse, GetChannelParticipantsResponses, GetChannelResponse, GetChannelResponses, GetChannelsData, GetChannelsError, GetChannelsErrors, GetChannelsResponse, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceError, GetCollabSurfaceErrors, GetCollabSurfaceResponse, GetCollabSurfaceResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetContactByEmailData, GetContactByEmailError, GetContactByEmailErrors, GetContactByEmailResponse, GetContactByEmailResponse2, GetContactByEmailResponses, GetContactData, GetContactError, GetContactErrors, GetContactResponse, GetContactResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsError, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponse, GetCrmTeamSettingsResponses, GetDocumentAnchorsData, GetDocumentAnchorsError, GetDocumentAnchorsErrors, GetDocumentAnchorsResponse, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameError, GetDocumentBranchNameErrors, GetDocumentBranchNameResponse, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugError, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponse, GetDocumentByTeamSlugResponses, GetDocumentCommentsData, GetDocumentCommentsError, GetDocumentCommentsErrors, GetDocumentCommentsResponse, GetDocumentCommentsResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsError, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponse, GetDocumentGithubPullRequestsResponses, GetDocumentKeyResponse, GetDocumentKeyResponseData, GetDocumentListHandlerData, GetDocumentListHandlerError, GetDocumentListHandlerErrors, GetDocumentListHandlerResponse, GetDocumentListHandlerResponses, GetDocumentListResult, GetDocumentLocationV3Data, GetDocumentLocationV3Error, GetDocumentLocationV3Errors, GetDocumentLocationV3Response, GetDocumentLocationV3Responses, GetDocumentPermissionsResponseDataV2, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenError, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponse, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Error, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Response, GetDocumentPermissionsV2Responses, GetDocumentProcessingResult, GetDocumentProcessingResultData, GetDocumentProcessingResultError, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponse, GetDocumentProcessingResultResponse2, GetDocumentProcessingResultResponses, GetDocumentResponse, GetDocumentResponse2, GetDocumentResponseData, GetDocumentResponses, GetDocumentSearchResponse, GetDocumentShortIdData, GetDocumentShortIdError, GetDocumentShortIdErrors, GetDocumentShortIdResponse, GetDocumentShortIdResponses, GetDocumentsResponse, GetDocumentTeamShareData, GetDocumentTeamShareError, GetDocumentTeamShareErrors, GetDocumentTeamShareResponse, GetDocumentTeamShareResponses, GetDocumentUserAccessLevelResponse, GetDocumentVersionData, GetDocumentVersionError, GetDocumentVersionErrors, GetDocumentVersionResponse, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerError, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponse, GetDocumentViewsHandlerResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponse, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceError, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponse, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetHarnessPairingData, GetHarnessPairingError, GetHarnessPairingErrors, GetHarnessPairingResponse, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeError, GetInitiativeErrors, GetInitiativeResponse, GetInitiativeResponses, GetInstructionsDocumentResponse, GetInstructionsHandlerData, GetInstructionsHandlerError, GetInstructionsHandlerErrors, GetInstructionsHandlerResponse, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupError, GetItemsSoupErrors, GetItemsSoupResponse, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerError, GetLocationHandlerErrors, GetLocationHandlerResponse, GetLocationHandlerResponses, GetMessageWithContextData, GetMessageWithContextError, GetMessageWithContextErrors, GetMessageWithContextResponse, GetMessageWithContextResponse2, GetMessageWithContextResponses, GetOrCreateAction, GetOrCreateCallData, GetOrCreateCallError, GetOrCreateCallErrors, GetOrCreateCallResponse, GetOrCreateCallResponses, GetOrCreateChannelResponse, GetOrCreateDmData, GetOrCreateDmError, GetOrCreateDmErrors, GetOrCreateDmRequest, GetOrCreateDmResponse, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateError, GetOrCreatePrivateErrors, GetOrCreatePrivateRequest, GetOrCreatePrivateResponse, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerError, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponse, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerError, GetPinsHandlerErrors, GetPinsHandlerResponse, GetPinsHandlerResponses, GetPinsResponse, GetProjectContentHandlerData, GetProjectContentHandlerError, GetProjectContentHandlerErrors, GetProjectContentHandlerResponse, GetProjectContentHandlerResponses, GetProjectContentResponse, GetProjectHandlerData, GetProjectHandlerError, GetProjectHandlerErrors, GetProjectHandlerResponse, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Error, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Response, GetProjectPermissionsV2Responses, GetProjectResponse, GetProjectResponseData, GetProjectsHandlerData, GetProjectsHandlerError, GetProjectsHandlerErrors, GetProjectsHandlerResponse, GetProjectsHandlerResponses, GetProjectsResponse, GetProjectUserAccessLevelData, GetProjectUserAccessLevelError, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponse, GetProjectUserAccessLevelResponses, GetReminderData, GetReminderError, GetReminderErrors, GetReminderResponse, GetReminderResponses, GetRingStatusData, GetRingStatusError, GetRingStatusErrors, GetRingStatusResponse, GetRingStatusResponses, GetSelfBotData, GetSelfBotError, GetSelfBotErrors, GetSelfBotResponse, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessError, GetSelfHarnessErrors, GetSelfHarnessResponse, GetSelfHarnessResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerError, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponse, GetSystemSkillsHandlerResponses, GetThreadRepliesData, GetThreadRepliesError, GetThreadRepliesErrors, GetThreadRepliesResponse, GetThreadRepliesResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerError, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponse, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationError, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponse, GetUserDocumentViewLocationResponses, GetUserHistoryResponse, GetViewsHandlerData, GetViewsHandlerError, GetViewsHandlerErrors, GetViewsHandlerResponse, GetViewsHandlerResponses, GetWebhookData, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GithubPullRequest, GithubPullRequestCheckRun, GithubPullRequestComment, GithubPullRequestsResponse, GroupedInitialParams, GroupedPageParams, GroupedSoupGroupPage, GroupedSoupInitialPage, GroupedSoupPage, GroupedSoupSort, HandlerData, HandlerError, HandlerErrors, HandlerResponse, HandlerResponses, Harness, HarnessAgent, HarnessId, HarnessOwner, HarnessSession, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, InFlightTurnSummary, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, InitiativeDetail, InitiativeId, InitiativeList, InitiativeSummary, InputReceivedMetadata, InstallSyncData, InstallSyncErrors, InteractionReason, Item, ItemWithUserAccessLevel, JobProcessingResultHandlerData, JobProcessingResultHandlerError, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponse, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeError, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelError, JoinChannelErrors, JoinChannelResponses, LatestMessage, LeaveCallResponse, LeaveChannelData, LeaveChannelError, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallError, LeaveOrEndCallErrors, LeaveOrEndCallResponse, LeaveOrEndCallResponses, LinkShare, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsError, ListCrmCommentsErrors, ListCrmCommentsResponse, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListHarnessAgentsData, ListHarnessAgentsError, ListHarnessAgentsErrors, ListHarnessAgentsResponse, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesError, ListHarnessesErrors, ListHarnessesResponse, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsError, ListHarnessSessionsErrors, ListHarnessSessionsResponse, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesError, ListInitiativesErrors, ListInitiativesResponse, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListRemindersData, ListRemindersError, ListRemindersErrors, ListRemindersResponse, ListRemindersResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponse, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysError, ListUserApiKeysErrors, ListUserApiKeysResponse, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Mentions, NewChannelAttachment, NotificationFilters, NotificationState, PairingDetails, Params, ParticipantRole, PatchBotRequest, PatchChannelData, PatchChannelError, PatchChannelErrors, PatchChannelRequest, PatchChannelResponse, PatchChannelResponses, PatchMessageData, PatchMessageError, PatchMessageErrors, PatchMessageRequest, PatchMessageResponse, PatchMessageResponses, PatchProjectRequestV2, PatchThreadRequestV2, PatchViewHandlerData, PatchViewHandlerError, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookError, PatchWebhookErrors, PatchWebhookRequest, PatchWebhookResponse, PatchWebhookResponses, PdfAnchor, PdfAnchorId, PdfAnchorRequest, PdfHighlightAnchor, PdfHighlightAnchorRequest, PdfHighlightRect, PdfHighlightRectAnchorRequest, PdfPlaceableCommentAnchor, PdfPlaceableCommentAnchorRequest, PendingClaimResponse, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentError, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponse, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectError, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponse, PermanentlyDeleteProjectResponses, PinnedItem, PinRequest, PostActivityData, PostActivityError, PostActivityErrors, PostActivityRequest, PostActivityResponse, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookError, PostChannelBotWebhookErrors, PostChannelBotWebhookResponse, PostChannelBotWebhookResponses, PostChannelMessagesData, PostChannelMessagesError, PostChannelMessagesErrors, PostChannelMessagesResponse, PostChannelMessagesResponses, PostGroupedSoupAstGroupPageRequest, PostGroupedSoupAstInitialRequest, PostGroupedSoupAstRequest, PostItemsSoupAstData, PostItemsSoupAstError, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedError, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponse, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponse, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupError, PostItemsSoupErrors, PostItemsSoupResponse, PostItemsSoupResponses, PostMessageData, PostMessageError, PostMessageErrors, PostMessageRequest, PostMessageResponse, PostMessageResponse2, PostMessageResponses, PostReactionData, PostReactionError, PostReactionErrors, PostReactionRequest, PostReactionResponse, PostReactionResponses, PostSoupAstRequest, PostSoupRequest, PostTypingData, PostTypingError, PostTypingErrors, PostTypingRequest, PostTypingResponse, PostTypingResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerError, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponse, PresaveDocumentHandlerResponses, PreSaveDocumentRequest, PreSaveDocumentResponse, PreSaveDocumentResponseData, PresignedUrl, Project, ProjectDeleteResponseData, ProjectDocumentStatus, ProjectFilters, ProjectPreview, ProjectPreviewData, PropertyDefinition, PropertyFilter, PropertyInput, PropertyOwner, PropertyValue, PutCrmTeamSettingsData, PutCrmTeamSettingsError, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponse, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesError, PutCrmTeamStagesErrors, PutCrmTeamStagesResponse, PutCrmTeamStagesResponses, ReactionAction, RecentlyDeletedData, RecentlyDeletedError, RecentlyDeletedErrors, RecentlyDeletedResponse, RecentlyDeletedResponseData, RecentlyDeletedResponses, Reminder, ReminderFilters, ReminderSchedule, RemindersList, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotError, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponse, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityError, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsError, RemoveParticipantsErrors, RemoveParticipantsRequest, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerError, RemovePinHandlerErrors, RemovePinHandlerResponse, RemovePinHandlerResponses, ReorderFavoritesData, ReorderFavoritesError, ReorderFavoritesErrors, ReorderFavoritesRequest, ReorderFavoritesResponses, ReorderPinRequest, ReorderPinsHandlerData, ReorderPinsHandlerError, ReorderPinsHandlerErrors, ReorderPinsHandlerResponse, ReorderPinsHandlerResponses, ReplaceCrmStagesRequest, RequestedHarnessScope, ResetCrmTeamStagesData, ResetCrmTeamStagesError, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponse, ResetCrmTeamStagesResponses, ResolveChannelMessageData, ResolveChannelMessageError, ResolveChannelMessageErrors, ResolveChannelMessageResponse, ResolveChannelMessageResponses, RevertDeleteDocumentData, RevertDeleteDocumentError, RevertDeleteDocumentErrors, RevertDeleteDocumentResponse, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectError, RevertDeleteProjectErrors, RevertDeleteProjectResponse, RevertDeleteProjectResponses, RingStatus, RingStatusResponse, S3ObjectInfo, SaveBomPart, SaveDocumentHandlerData, SaveDocumentHandlerError, SaveDocumentHandlerErrors, SaveDocumentHandlerResponse, SaveDocumentHandlerResponses, SaveDocumentRequest, SaveDocumentResponse, SaveDocumentResponseData, SessionDeletedMetadata, SessionIdentity, SessionMentionedMetadata, SessionOpenedMetadata, SessionRenamedMetadata, SessionSettledMetadata, SessionStoppedMetadata, SetChannelPictureData, SetChannelPictureError, SetChannelPictureErrors, SetChannelPictureRequest, SetChannelPictureResponse, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenError, SetCompanyHiddenErrors, SetCompanyHiddenRequest, SetCompanyHiddenResponse, SetCompanyHiddenResponses, SetCompanyNameRequest, SetContactHiddenData, SetContactHiddenError, SetContactHiddenErrors, SetContactHiddenRequest, SetContactHiddenResponse, SetContactHiddenResponses, SetContactNameRequest, SetCrmCompanyNameData, SetCrmCompanyNameError, SetCrmCompanyNameErrors, SetCrmCompanyNameResponse, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameError, SetCrmContactNameErrors, SetCrmContactNameResponse, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareError, SetDocumentTeamShareErrors, SetDocumentTeamShareRequest, SetDocumentTeamShareResponse, SetDocumentTeamShareResponses, SetEmailSyncData, SetEmailSyncError, SetEmailSyncErrors, SetEmailSyncRequest, SetEmailSyncResponse, SetEmailSyncResponses, SetPropertyValue, SharedEmailFilter, SharePermissionV2, ShortIdResponse, SimpleMention, SimpleSaveData, SimpleSaveError, SimpleSaveErrors, SimpleSaveResponse, SimpleSaveResponses, SoupAgentSessionSoupPropertiesField, SoupApiItem, SoupApiSort, SoupApiSortDirection, SoupAttachment, SoupCalendarEventSoupPropertiesField, SoupCalendarEventTime, SoupCallRecordParticipant, SoupCallRecordSoupPropertiesField, SoupChannel, SoupChannelThread, SoupChatSoupPropertiesField, SoupContact, SoupCountedReaction, SoupCrmCompanySoupPropertiesField, SoupCrmDomain, SoupDocumentSoupPropertiesField, SoupDocumentSubType, SoupEmailThreadPreview, SoupEnrichedEmailThreadPreviewSoupPropertiesField, SoupForeignEntity, SoupItem, SoupLabel, SoupLabelListVisibility, SoupLabelType, SoupMessageAttachment, SoupMessageListVisibility, SoupMessageSender, SoupMessageSenderType, SoupPage, SoupProjectSoupPropertiesField, SoupPropertiesField, SoupProperty, SoupReminderReference, SoupReminderSchedule, SoupReminderSoupPropertiesField, SoupThreadInfo, SoupThreadReply, StarterDocumentsResponse, StreamEventsData, StreamEventsError, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, String, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, TagFilterMode, TaskFilters, TeamOutOfOfficeItem, TeamOutOfOfficeResponse, TeamRole, Thread, ThreadOrigin, ThreadResponse, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TranscriptSegmentRequest, TurnEndedMetadata, TurnStartedMetadata, TurnSummary, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingAction, UnassignInitiativeTaskData, UnassignInitiativeTaskError, UnassignInitiativeTaskErrors, UnassignInitiativeTaskResponse, UnassignInitiativeTaskResponses, UnthreadedPdfUuidRequest, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, UpdateInitiativeData, UpdateInitiativeError, UpdateInitiativeErrors, UpdateInitiativeRequest, UpdateInitiativeResponse, UpdateInitiativeResponses, UpdateOperation, UpdateReminderData, UpdateReminderError, UpdateReminderErrors, UpdateReminderRequest, UpdateReminderResponse, UpdateReminderResponses, UpdateSharePermissionRequestV2, UploadDocumentStatus, UploadExtractFolderHandlerData, UploadExtractFolderHandlerError, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponse, UploadExtractFolderHandlerResponses, UploadExtractFolderRequest, UploadFolderHandlerData, UploadFolderHandlerError, UploadFolderHandlerErrors, UploadFolderHandlerResponse, UploadFolderHandlerResponses, UploadFolderRequest, UpsertHistoryHandlerData, UpsertHistoryHandlerError, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponse, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationError, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationRequest, UpsertUserDocumentViewLocationResponse, UpsertUserDocumentViewLocationResponses, UserApiKeyId, UserApiKeyInfo, UserApiKeysList, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, View, ViewPatch, ViewsResponse, WaitingForInputMetadata, Webhook, WebhookEvent, WebhookFilter, WebhookScope, WebhookStatus, WebhookValidationTestEvent, WithCallId, WithChannelId, WithDocumentId, WithProjectId } from './types.gen';
+export type { AccessLevel, ActiveCallsResponse, ActiveCallSummary, ActivityType, AddFavoriteData, AddFavoriteError, AddFavoriteErrors, AddFavoriteRequest, AddFavoriteResponse, AddFavoriteResponses, AddParticipantsData, AddParticipantsError, AddParticipantsErrors, AddParticipantsRequest, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerError, AddPinHandlerErrors, AddPinHandlerResponse, AddPinHandlerResponses, AddPinRequest, Agent, AgentActionId, AgentChannelScope, AgentMcpServer, AgentMcpServers, AgentSessionFilters, AgentSessionLifecycleEvent, Anchor, AnchorId, AnchorRequest, AnchorResponse, AnnotationIncrementalUpdate, ApiActivity, ApiAttachmentChannelReference, ApiAttachmentEntityReference, ApiAttachmentGenericReference, ApiChannelAttachment, ApiChannelAttachmentsPage, ApiChannelContextMessage, ApiChannelDetail, ApiChannelListMessage, ApiChannelListPage, ApiChannelListParticipant, ApiChannelListType, ApiChannelMessage, ApiChannelMessageKind, ApiChannelMessagesPage, ApiChannelParticipant, ApiChannelWithLatest, ApiCountedReaction, ApiEntityFilterAst, ApiGroupByField, ApiGroupMeta, ApiMessageAttachment, ApiMessageSender, ApiMessageSenderType, ApiParticipantListRole, ApiParticipantRole, ApiPropertyEntityType, ApiResolvedChannelMessage, ApiThreadInfo, ApiThreadReply, ApproveHarnessPairingData, ApproveHarnessPairingError, ApproveHarnessPairingErrors, ApproveHarnessPairingResponse, ApproveHarnessPairingResponses, ApprovePairingRequest, AssignInitiativeTasksData, AssignInitiativeTasksError, AssignInitiativeTasksErrors, AssignInitiativeTasksResponse, AssignInitiativeTasksResponses, AssignTasksRequest, AssignTasksResponse, AssignTasksResult, AssignTaskStatus, AttachmentChange, AttendeeResponseStatus, BasicDocument, BasicDocumentSubType, BomPart, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotSenderProfile, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, CalendarEventSourceContent, CalendarMentionEvent, CalendarMentionPreviewItem, CalendarMentionPreviewKind, CalendarMentionPreviewRequest, CalendarMentionPreviewRequestItem, CalendarMentionPreviewResponse, CalendarOccurrence, CalendarOccurrenceItem, CalendarOccurrenceResponse, CalendarSyncStatus, CallActiveResponse, CallFilters, CallRecord, CallRecordParticipant, CallRecordPreview, CallRecordPreviewData, CallRecordTranscriptSegment, CallStatus, CallTokenResponse, CallWebhookData, CallWebhookError, CallWebhookErrors, CallWebhookResponses, Channel, ChannelCreatedMetadata, ChannelDeletedMetadata, ChannelEventAttachment, ChannelFilters, ChannelJoinCodeResponse, ChannelMentionedMetadata, ChannelMessage, ChannelMessageAttachmentCreatedMetadata, ChannelMessageAttachmentRemovedMetadata, ChannelMessageDeletedMetadata, ChannelMessageFilters, ChannelMessagePatchedMetadata, ChannelMessagePostedMetadata, ChannelParticipant, ChannelParticipantAddedMetadata, ChannelParticipantRemovedMetadata, ChannelPreview, ChannelPreviewData, ChannelSender, ChannelSharePermission, ChannelThreadFilters, ChannelTopicEvent, ChannelType, ChannelUpdatedMetadata, ChannelWebhookRequest, ChannelWebhookResponse, ChannelWithParticipants, Chat, ChatFilters, CheckActiveCallData, CheckActiveCallError, CheckActiveCallErrors, CheckActiveCallResponse, CheckActiveCallResponses, ClaimedPairing, ClaimHarnessPairingData, ClaimHarnessPairingError, ClaimHarnessPairingErrors, ClaimHarnessPairingResponse, ClaimHarnessPairingResponses, ClaimPairingRequest, ClientOptions, CloudStorageItemType, CollabSurfaceResponse, CollabSurfaceTokenResponse, Comment, CommentThread, ConferenceProvider, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, CountedReaction, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentRequest, CreateAgentResponse, CreateAgentResponses, CreateAnchorData, CreateAnchorError, CreateAnchorErrors, CreateAnchorResponse, CreateAnchorResponses, CreateBotRequest, CreateBulkDocumentResponse, CreateBulkDocumentResponseData, CreateChannelData, CreateChannelError, CreateChannelErrors, CreateChannelRequest, CreateChannelResponse, CreateChannelResponse2, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotError, CreateChannelScopedBotErrors, CreateChannelScopedBotRequest, CreateChannelScopedBotResponse, CreateChannelScopedBotResponse2, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenError, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponse, CreateCollabSurfaceTokenResponses, CreateCommentData, CreateCommentError, CreateCommentErrors, CreateCommentRequest, CreateCommentResponse, CreateCommentResponse2, CreateCommentResponses, CreateCrmCommentData, CreateCrmCommentError, CreateCrmCommentErrors, CreateCrmCommentRequest, CreateCrmCommentResponse, CreateCrmCommentResponses, CreateCrmCompanyData, CreateCrmCompanyError, CreateCrmCompanyErrors, CreateCrmCompanyRequest, CreateCrmCompanyResponse, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactError, CreateCrmContactErrors, CreateCrmContactRequest, CreateCrmContactResponse, CreateCrmContactResponses, CreateDocumentData, CreateDocumentError, CreateDocumentErrors, CreateDocumentRequest, CreateDocumentResponse, CreateDocumentResponseData, CreateDocumentResponses, CreatedPairing, CreatedUserApiKey, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateHarnessPairingData, CreateHarnessPairingError, CreateHarnessPairingErrors, CreateHarnessPairingResponse, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeError, CreateInitiativeErrors, CreateInitiativeRequest, CreateInitiativeResponse, CreateInitiativeResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, CreatePairingRequest, CreateProjectHandlerData, CreateProjectHandlerError, CreateProjectHandlerErrors, CreateProjectHandlerResponse, CreateProjectHandlerResponses, CreateProjectRequest, CreateProjectResponse, CreateReminderData, CreateReminderError, CreateReminderErrors, CreateReminderRequest, CreateReminderResponse, CreateReminderResponses, CreateSkillHandlerData, CreateSkillHandlerError, CreateSkillHandlerErrors, CreateSkillHandlerResponse, CreateSkillHandlerResponses, CreateSkillRequest, CreateSkillResponse, CreateSnippetHandlerData, CreateSnippetHandlerError, CreateSnippetHandlerErrors, CreateSnippetHandlerResponse, CreateSnippetHandlerResponses, CreateSnippetRequest, CreateSnippetResponse, CreateTaskHandlerData, CreateTaskHandlerError, CreateTaskHandlerErrors, CreateTaskHandlerResponse, CreateTaskHandlerResponses, CreateTaskRequest, CreateTaskResponse, CreateUnthreadedAnchorRequest, CreateUnthreadedAnchorResponse, CreateUnthreadedPdfAnchorRequest, CreateUserApiKeyData, CreateUserApiKeyError, CreateUserApiKeyErrors, CreateUserApiKeyRequest, CreateUserApiKeyResponse, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmComment, CrmCommentEntityType, CrmCommentThread, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, CrmStageInput, CrmStageResponse, CrmStagesResponse, CrmTeamSettingsResponse, CrmThread, CustomSpeakerAssignment, DataType, DeleteAnchorData, DeleteAnchorError, DeleteAnchorErrors, DeleteAnchorInfo, DeleteAnchorResponse, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordError, DeleteCallRecordErrors, DeleteCallRecordResponse, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelError, DeleteChannelErrors, DeleteChannelResponse, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceError, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponse, DeleteCollabSurfaceResponses, DeleteCommentData, DeleteCommentError, DeleteCommentErrors, DeleteCommentRequest, DeleteCommentResponse, DeleteCommentResponse2, DeleteCommentResponses, DeleteCrmCommentData, DeleteCrmCommentError, DeleteCrmCommentErrors, DeleteCrmCommentResponse, DeleteCrmCommentResponses, DeleteCrmCommentResult, DeleteDocumentData, DeleteDocumentError, DeleteDocumentErrors, DeleteDocumentResponse, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionError, DeleteEntityMentionErrors, DeleteEntityMentionResponse, DeleteEntityMentionResponse2, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessError, DeleteHarnessErrors, DeleteHarnessResponse, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeError, DeleteInitiativeErrors, DeleteInitiativeResponse, DeleteInitiativeResponses, DeleteMessageData, DeleteMessageError, DeleteMessageErrors, DeleteMessageQuery, DeleteMessageResponse, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderError, DeleteReminderErrors, DeleteReminderResponse, DeleteReminderResponses, DeleteSelfHarnessData, DeleteSelfHarnessError, DeleteSelfHarnessErrors, DeleteSelfHarnessResponse, DeleteSelfHarnessResponses, DeleteThreadInfo, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, DeleteUserApiKeyData, DeleteUserApiKeyError, DeleteUserApiKeyErrors, DeleteUserApiKeyResponse, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationError, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponse, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerError, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DocumentBasic, DocumentContent, DocumentContentLocation, DocumentContentState, DocumentContentUploadedMetadata, DocumentCopiedMetadata, DocumentCreatedMetadata, DocumentDeletedMetadata, DocumentFilters, DocumentId, DocumentInteractionMetadata, DocumentMetadata, DocumentMetadataWithContent, DocumentPermissionsToken, DocumentPermissionsTokenRequest, DocumentPermissionsTokenResponse, DocumentPreview, DocumentPreviewData, DocumentPreviewDataSubType, DocumentPurgedMetadata, DocumentResponse, DocumentResponseMetadata, DocumentResponseMetadataWithContent, DocumentStorageServiceApiVersion, DocumentSubType, DocumentSyncContentUpdatedMetadata, DocumentTeamShareResponse, DocumentTopicEvent, DocumentUpdatedMetadata, EditAnchorData, EditAnchorError, EditAnchorErrors, EditAnchorRequest, EditAnchorResponse, EditAnchorResponse2, EditAnchorResponses, EditCallRecordData, EditCallRecordError, EditCallRecordErrors, EditCallRecordRequest, EditCallRecordResponse, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptError, EditCallTranscriptErrors, EditCallTranscriptRequest, EditCallTranscriptResponse, EditCallTranscriptResponses, EditCommentData, EditCommentError, EditCommentErrors, EditCommentRequest, EditCommentResponse, EditCommentResponse2, EditCommentResponses, EditCrmCommentData, EditCrmCommentError, EditCrmCommentErrors, EditCrmCommentRequest, EditCrmCommentResponse, EditCrmCommentResponses, EditDocumentData, EditDocumentError, EditDocumentErrors, EditDocumentResponse, EditDocumentResponse2, EditDocumentResponses, EditDocumentServiceArgs, EditPdfAnchorRequest, EditPdfPlaceableCommentAnchorRequest, EditProjectV2Data, EditProjectV2Error, EditProjectV2Errors, EditProjectV2Response, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Error, EditThreadV2Errors, EditThreadV2Response, EditThreadV2Responses, EmailFilters, EmptyResponse, EnsureCollabSurfaceData, EnsureCollabSurfaceError, EnsureCollabSurfaceErrors, EnsureCollabSurfaceRequest, EnsureCollabSurfaceResponse, EnsureCollabSurfaceResponses, EntityFilters, EntityMessageCreateData, EntityMessageCreateResponse, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponse, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponse, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponse, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponse, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponse, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponse, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponse, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponse, EntityMessageReactResponses, EntityMessageReferencesData, EntityMessageReferencesResponse, EntityMessageReferencesResponses, EntityMessageTypingData, EntityMessageTypingResponse, EntityMessageTypingResponses, EntityPermission, EntityPermissionResponse, EntityReference, EntityType, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventType, EventVisibility, ExcludedDefaultView, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerError, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExcludeDefaultViewRequest, ExportDocumentData, ExportDocumentError, ExportDocumentErrors, ExportDocumentResponse, ExportDocumentResponse2, ExportDocumentResponses, Favorite, FavoriteEntityRef, FavoritesList, FileSystemNodeWithIds, FileType, FileTypeUpdate, FolderItem, ForeignEntity, ForeignEntityFilters, GenericErrorResponse, GenericResponse, GenericSuccessResponse, GetActiveCallsData, GetActiveCallsError, GetActiveCallsErrors, GetActiveCallsResponse, GetActiveCallsResponses, GetActivityData, GetActivityError, GetActivityErrors, GetActivityResponse, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesError, GetAttachmentReferencesErrors, GetAttachmentReferencesResponse, GetAttachmentReferencesResponse2, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewError, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewRequest, GetBatchCallRecordPreviewResponse, GetBatchCallRecordPreviewResponse2, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewError, GetBatchChannelPreviewErrors, GetBatchChannelPreviewRequest, GetBatchChannelPreviewResponse, GetBatchChannelPreviewResponse2, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerError, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponse, GetBatchPreviewHandlerResponses, GetBatchPreviewRequest, GetBatchPreviewResponse, GetBatchProjectPreviewData, GetBatchProjectPreviewError, GetBatchProjectPreviewErrors, GetBatchProjectPreviewRequest, GetBatchProjectPreviewResponse, GetBatchProjectPreviewResponse2, GetBatchProjectPreviewResponses, GetCallRecordData, GetCallRecordError, GetCallRecordErrors, GetCallRecordResponse, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsError, GetChannelAttachmentsErrors, GetChannelAttachmentsResponse, GetChannelAttachmentsResponses, GetChannelData, GetChannelError, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkError, GetChannelJoinLinkErrors, GetChannelJoinLinkResponse, GetChannelJoinLinkResponses, GetChannelMessagesCatchUpData, GetChannelMessagesCatchUpError, GetChannelMessagesCatchUpErrors, GetChannelMessagesCatchUpResponse, GetChannelMessagesCatchUpResponses, GetChannelMessagesData, GetChannelMessagesError, GetChannelMessagesErrors, GetChannelMessagesResponse, GetChannelMessagesResponses, GetChannelParticipantsData, GetChannelParticipantsError, GetChannelParticipantsErrors, GetChannelParticipantsResponse, GetChannelParticipantsResponses, GetChannelResponse, GetChannelResponses, GetChannelsData, GetChannelsError, GetChannelsErrors, GetChannelsResponse, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceError, GetCollabSurfaceErrors, GetCollabSurfaceResponse, GetCollabSurfaceResponses, GetCompanyData, GetCompanyError, GetCompanyErrors, GetCompanyResponse, GetCompanyResponses, GetContactByEmailData, GetContactByEmailError, GetContactByEmailErrors, GetContactByEmailResponse, GetContactByEmailResponse2, GetContactByEmailResponses, GetContactData, GetContactError, GetContactErrors, GetContactResponse, GetContactResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsError, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponse, GetCrmTeamSettingsResponses, GetDocumentAnchorsData, GetDocumentAnchorsError, GetDocumentAnchorsErrors, GetDocumentAnchorsResponse, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameError, GetDocumentBranchNameErrors, GetDocumentBranchNameResponse, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugError, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponse, GetDocumentByTeamSlugResponses, GetDocumentCommentsData, GetDocumentCommentsError, GetDocumentCommentsErrors, GetDocumentCommentsResponse, GetDocumentCommentsResponses, GetDocumentData, GetDocumentError, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsError, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponse, GetDocumentGithubPullRequestsResponses, GetDocumentKeyResponse, GetDocumentKeyResponseData, GetDocumentListHandlerData, GetDocumentListHandlerError, GetDocumentListHandlerErrors, GetDocumentListHandlerResponse, GetDocumentListHandlerResponses, GetDocumentListResult, GetDocumentLocationV3Data, GetDocumentLocationV3Error, GetDocumentLocationV3Errors, GetDocumentLocationV3Response, GetDocumentLocationV3Responses, GetDocumentPermissionsResponseDataV2, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenError, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponse, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Error, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Response, GetDocumentPermissionsV2Responses, GetDocumentProcessingResult, GetDocumentProcessingResultData, GetDocumentProcessingResultError, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponse, GetDocumentProcessingResultResponse2, GetDocumentProcessingResultResponses, GetDocumentResponse, GetDocumentResponse2, GetDocumentResponseData, GetDocumentResponses, GetDocumentSearchResponse, GetDocumentShortIdData, GetDocumentShortIdError, GetDocumentShortIdErrors, GetDocumentShortIdResponse, GetDocumentShortIdResponses, GetDocumentsResponse, GetDocumentTeamShareData, GetDocumentTeamShareError, GetDocumentTeamShareErrors, GetDocumentTeamShareResponse, GetDocumentTeamShareResponses, GetDocumentUserAccessLevelResponse, GetDocumentVersionData, GetDocumentVersionError, GetDocumentVersionErrors, GetDocumentVersionResponse, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerError, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponse, GetDocumentViewsHandlerResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponse, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceError, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponse, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetHarnessPairingData, GetHarnessPairingError, GetHarnessPairingErrors, GetHarnessPairingResponse, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeError, GetInitiativeErrors, GetInitiativeResponse, GetInitiativeResponses, GetInstructionsDocumentResponse, GetInstructionsHandlerData, GetInstructionsHandlerError, GetInstructionsHandlerErrors, GetInstructionsHandlerResponse, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupError, GetItemsSoupErrors, GetItemsSoupResponse, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerError, GetLocationHandlerErrors, GetLocationHandlerResponse, GetLocationHandlerResponses, GetMessageWithContextData, GetMessageWithContextError, GetMessageWithContextErrors, GetMessageWithContextResponse, GetMessageWithContextResponse2, GetMessageWithContextResponses, GetOrCreateAction, GetOrCreateCallData, GetOrCreateCallError, GetOrCreateCallErrors, GetOrCreateCallResponse, GetOrCreateCallResponses, GetOrCreateChannelResponse, GetOrCreateDmData, GetOrCreateDmError, GetOrCreateDmErrors, GetOrCreateDmRequest, GetOrCreateDmResponse, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateError, GetOrCreatePrivateErrors, GetOrCreatePrivateRequest, GetOrCreatePrivateResponse, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerError, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponse, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerError, GetPinsHandlerErrors, GetPinsHandlerResponse, GetPinsHandlerResponses, GetPinsResponse, GetProjectContentHandlerData, GetProjectContentHandlerError, GetProjectContentHandlerErrors, GetProjectContentHandlerResponse, GetProjectContentHandlerResponses, GetProjectContentResponse, GetProjectHandlerData, GetProjectHandlerError, GetProjectHandlerErrors, GetProjectHandlerResponse, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Error, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Response, GetProjectPermissionsV2Responses, GetProjectResponse, GetProjectResponseData, GetProjectsHandlerData, GetProjectsHandlerError, GetProjectsHandlerErrors, GetProjectsHandlerResponse, GetProjectsHandlerResponses, GetProjectsResponse, GetProjectUserAccessLevelData, GetProjectUserAccessLevelError, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponse, GetProjectUserAccessLevelResponses, GetReminderData, GetReminderError, GetReminderErrors, GetReminderResponse, GetReminderResponses, GetRingStatusData, GetRingStatusError, GetRingStatusErrors, GetRingStatusResponse, GetRingStatusResponses, GetSelfBotData, GetSelfBotError, GetSelfBotErrors, GetSelfBotResponse, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessError, GetSelfHarnessErrors, GetSelfHarnessResponse, GetSelfHarnessResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerError, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponse, GetSystemSkillsHandlerResponses, GetThreadRepliesData, GetThreadRepliesError, GetThreadRepliesErrors, GetThreadRepliesResponse, GetThreadRepliesResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerError, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponse, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationError, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponse, GetUserDocumentViewLocationResponses, GetUserHistoryResponse, GetViewsHandlerData, GetViewsHandlerError, GetViewsHandlerErrors, GetViewsHandlerResponse, GetViewsHandlerResponses, GetWebhookData, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GithubPullRequest, GithubPullRequestCheckRun, GithubPullRequestComment, GithubPullRequestsResponse, GroupedInitialParams, GroupedPageParams, GroupedSoupGroupPage, GroupedSoupInitialPage, GroupedSoupPage, GroupedSoupSort, HandlerData, HandlerError, HandlerErrors, HandlerResponse, HandlerResponses, Harness, HarnessAgent, HarnessId, HarnessOwner, HarnessSession, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, ImportedAuthor, InFlightTurnSummary, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, InitiativeDetail, InitiativeId, InitiativeList, InitiativeSummary, InputReceivedMetadata, InstallSyncData, InstallSyncErrors, InteractionReason, Item, ItemWithUserAccessLevel, JobProcessingResultHandlerData, JobProcessingResultHandlerError, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponse, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeError, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelError, JoinChannelErrors, JoinChannelResponses, LatestMessage, LeaveCallResponse, LeaveChannelData, LeaveChannelError, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallError, LeaveOrEndCallErrors, LeaveOrEndCallResponse, LeaveOrEndCallResponses, LinkShare, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsError, ListCrmCommentsErrors, ListCrmCommentsResponse, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListHarnessAgentsData, ListHarnessAgentsError, ListHarnessAgentsErrors, ListHarnessAgentsResponse, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesError, ListHarnessesErrors, ListHarnessesResponse, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsError, ListHarnessSessionsErrors, ListHarnessSessionsResponse, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesError, ListInitiativesErrors, ListInitiativesResponse, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListRemindersData, ListRemindersError, ListRemindersErrors, ListRemindersResponse, ListRemindersResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponse, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysError, ListUserApiKeysErrors, ListUserApiKeysResponse, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Mentions, Message, MessageAttachment, MessageChange, MessageCursor, MessageDirection, MessageEvent, MessageListItem, MessagePage, MessageParent, MessagePatch, MessageThread, MessageThreadPreview, MessageTimelineData, MessageTimelineQuery, MessageTimelineResponse, MessageTimelineResponses, NewAttachment, NewChannelAttachment, NewThreadAnchor, NotificationFilters, NotificationState, PairingDetails, Params, ParticipantRole, PatchBotRequest, PatchChannelData, PatchChannelError, PatchChannelErrors, PatchChannelRequest, PatchChannelResponse, PatchChannelResponses, PatchMessageData, PatchMessageError, PatchMessageErrors, PatchMessageNotificationPolicy, PatchMessageRequest, PatchMessageResponse, PatchMessageResponses, PatchProjectRequestV2, PatchThreadRequestV2, PatchViewHandlerData, PatchViewHandlerError, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookError, PatchWebhookErrors, PatchWebhookRequest, PatchWebhookResponse, PatchWebhookResponses, PdfAnchor, PdfAnchorId, PdfAnchorRequest, PdfHighlightAnchor, PdfHighlightAnchorRequest, PdfHighlightRect, PdfHighlightRectAnchorRequest, PdfPlaceableCommentAnchor, PdfPlaceableCommentAnchorRequest, PendingClaimResponse, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentError, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponse, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectError, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponse, PermanentlyDeleteProjectResponses, PinnedItem, PinRequest, PostActivityData, PostActivityError, PostActivityErrors, PostActivityRequest, PostActivityResponse, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookError, PostChannelBotWebhookErrors, PostChannelBotWebhookResponse, PostChannelBotWebhookResponses, PostChannelMessagesData, PostChannelMessagesError, PostChannelMessagesErrors, PostChannelMessagesResponse, PostChannelMessagesResponses, PostGroupedSoupAstGroupPageRequest, PostGroupedSoupAstInitialRequest, PostGroupedSoupAstRequest, PostItemsSoupAstData, PostItemsSoupAstError, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedError, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponse, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponse, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupError, PostItemsSoupErrors, PostItemsSoupResponse, PostItemsSoupResponses, PostMessage, PostMessageData, PostMessageError, PostMessageErrors, PostMessageNotificationPolicy, PostMessageRequest, PostMessageResponse, PostMessageResponse2, PostMessageResponses, PostReactionData, PostReactionError, PostReactionErrors, PostReactionRequest, PostReactionResponse, PostReactionResponses, PostSoupAstRequest, PostSoupRequest, PostTypingData, PostTypingError, PostTypingErrors, PostTypingRequest, PostTypingResponse, PostTypingResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerError, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponse, PresaveDocumentHandlerResponses, PreSaveDocumentRequest, PreSaveDocumentResponse, PreSaveDocumentResponseData, PresignedUrl, Project, ProjectDeleteResponseData, ProjectDocumentStatus, ProjectFilters, ProjectPreview, ProjectPreviewData, PropertyDefinition, PropertyFilter, PropertyInput, PropertyOwner, PropertyValue, PutCrmTeamSettingsData, PutCrmTeamSettingsError, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponse, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesError, PutCrmTeamStagesErrors, PutCrmTeamStagesResponse, PutCrmTeamStagesResponses, ReactionAction, ReactionInput, RecentlyDeletedData, RecentlyDeletedError, RecentlyDeletedErrors, RecentlyDeletedResponse, RecentlyDeletedResponseData, RecentlyDeletedResponses, ReferencedThread, ReferencedThreadPage, Reminder, ReminderFilters, ReminderSchedule, RemindersList, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotError, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponse, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityError, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsError, RemoveParticipantsErrors, RemoveParticipantsRequest, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerError, RemovePinHandlerErrors, RemovePinHandlerResponse, RemovePinHandlerResponses, ReorderFavoritesData, ReorderFavoritesError, ReorderFavoritesErrors, ReorderFavoritesRequest, ReorderFavoritesResponses, ReorderPinRequest, ReorderPinsHandlerData, ReorderPinsHandlerError, ReorderPinsHandlerErrors, ReorderPinsHandlerResponse, ReorderPinsHandlerResponses, ReplaceCrmStagesRequest, RequestedHarnessScope, ResetCrmTeamStagesData, ResetCrmTeamStagesError, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponse, ResetCrmTeamStagesResponses, ResolveChannelMessageData, ResolveChannelMessageError, ResolveChannelMessageErrors, ResolveChannelMessageResponse, ResolveChannelMessageResponses, RevertDeleteDocumentData, RevertDeleteDocumentError, RevertDeleteDocumentErrors, RevertDeleteDocumentResponse, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectError, RevertDeleteProjectErrors, RevertDeleteProjectResponse, RevertDeleteProjectResponses, RingStatus, RingStatusResponse, S3ObjectInfo, SaveBomPart, SaveDocumentHandlerData, SaveDocumentHandlerError, SaveDocumentHandlerErrors, SaveDocumentHandlerResponse, SaveDocumentHandlerResponses, SaveDocumentRequest, SaveDocumentResponse, SaveDocumentResponseData, SessionDeletedMetadata, SessionIdentity, SessionMentionedMetadata, SessionOpenedMetadata, SessionRenamedMetadata, SessionSettledMetadata, SessionStoppedMetadata, SetChannelPictureData, SetChannelPictureError, SetChannelPictureErrors, SetChannelPictureRequest, SetChannelPictureResponse, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenError, SetCompanyHiddenErrors, SetCompanyHiddenRequest, SetCompanyHiddenResponse, SetCompanyHiddenResponses, SetCompanyNameRequest, SetContactHiddenData, SetContactHiddenError, SetContactHiddenErrors, SetContactHiddenRequest, SetContactHiddenResponse, SetContactHiddenResponses, SetContactNameRequest, SetCrmCompanyNameData, SetCrmCompanyNameError, SetCrmCompanyNameErrors, SetCrmCompanyNameResponse, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameError, SetCrmContactNameErrors, SetCrmContactNameResponse, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareError, SetDocumentTeamShareErrors, SetDocumentTeamShareRequest, SetDocumentTeamShareResponse, SetDocumentTeamShareResponses, SetEmailSyncData, SetEmailSyncError, SetEmailSyncErrors, SetEmailSyncRequest, SetEmailSyncResponse, SetEmailSyncResponses, SetPropertyValue, SharedEmailFilter, SharePermissionV2, ShortIdResponse, SimpleMention, SimpleSaveData, SimpleSaveError, SimpleSaveErrors, SimpleSaveResponse, SimpleSaveResponses, SoupAgentSessionSoupPropertiesField, SoupApiItem, SoupApiSort, SoupApiSortDirection, SoupAttachment, SoupCalendarEventSoupPropertiesField, SoupCalendarEventTime, SoupCallRecordParticipant, SoupCallRecordSoupPropertiesField, SoupChannel, SoupChannelThread, SoupChatSoupPropertiesField, SoupContact, SoupCountedReaction, SoupCrmCompanySoupPropertiesField, SoupCrmDomain, SoupDocumentSoupPropertiesField, SoupDocumentSubType, SoupEmailThreadPreview, SoupEnrichedEmailThreadPreviewSoupPropertiesField, SoupForeignEntity, SoupItem, SoupLabel, SoupLabelListVisibility, SoupLabelType, SoupMessageAttachment, SoupMessageListVisibility, SoupMessageSender, SoupMessageSenderType, SoupPage, SoupProjectSoupPropertiesField, SoupPropertiesField, SoupProperty, SoupReminderReference, SoupReminderSchedule, SoupReminderSoupPropertiesField, SoupThreadInfo, SoupThreadReply, StarterDocumentsResponse, StreamEventsData, StreamEventsError, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, String, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, TagFilterMode, TaskFilters, TeamOutOfOfficeItem, TeamOutOfOfficeResponse, TeamRole, Thread, ThreadAnchor, ThreadOrigin, ThreadPatch, ThreadResponse, ThreadState, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TranscriptSegmentRequest, TurnEndedMetadata, TurnStartedMetadata, TurnSummary, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingAction, TypingInput, UnassignInitiativeTaskData, UnassignInitiativeTaskError, UnassignInitiativeTaskErrors, UnassignInitiativeTaskResponse, UnassignInitiativeTaskResponses, UnthreadedPdfUuidRequest, UpdateAgentData, UpdateAgentError, UpdateAgentErrors, UpdateAgentRequest, UpdateAgentResponse, UpdateAgentResponses, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, UpdateInitiativeData, UpdateInitiativeError, UpdateInitiativeErrors, UpdateInitiativeRequest, UpdateInitiativeResponse, UpdateInitiativeResponses, UpdateOperation, UpdateReminderData, UpdateReminderError, UpdateReminderErrors, UpdateReminderRequest, UpdateReminderResponse, UpdateReminderResponses, UpdateSharePermissionRequestV2, UploadDocumentStatus, UploadExtractFolderHandlerData, UploadExtractFolderHandlerError, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponse, UploadExtractFolderHandlerResponses, UploadExtractFolderRequest, UploadFolderHandlerData, UploadFolderHandlerError, UploadFolderHandlerErrors, UploadFolderHandlerResponse, UploadFolderHandlerResponses, UploadFolderRequest, UpsertHistoryHandlerData, UpsertHistoryHandlerError, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponse, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationError, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationRequest, UpsertUserDocumentViewLocationResponse, UpsertUserDocumentViewLocationResponses, UserApiKeyId, UserApiKeyInfo, UserApiKeysList, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, View, ViewPatch, ViewsResponse, WaitingForInputMetadata, Webhook, WebhookEvent, WebhookFilter, WebhookScope, WebhookStatus, WebhookValidationTestEvent, WithCallId, WithChannelId, WithDocumentId, WithProjectId } from './types.gen';
diff --git a/packages/sdk/generated/storage/sdk.gen.ts b/packages/sdk/generated/storage/sdk.gen.ts
index 91a02081e5..a14508e7ff 100644
--- a/packages/sdk/generated/storage/sdk.gen.ts
+++ b/packages/sdk/generated/storage/sdk.gen.ts
@@ -2,7 +2,7 @@
import type { Client, ClientMeta, Options as Options2, RequestResult, ServerSentEventsResult, TDataShape } from './client';
import { client } from './client.gen';
-import type { AddFavoriteData, AddFavoriteErrors, AddFavoriteResponses, AddParticipantsData, AddParticipantsErrors, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerErrors, AddPinHandlerResponses, ApproveHarnessPairingData, ApproveHarnessPairingErrors, ApproveHarnessPairingResponses, AssignInitiativeTasksData, AssignInitiativeTasksErrors, AssignInitiativeTasksResponses, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponses, CallWebhookData, CallWebhookErrors, CallWebhookResponses, CheckActiveCallData, CheckActiveCallErrors, CheckActiveCallResponses, ClaimHarnessPairingData, ClaimHarnessPairingErrors, ClaimHarnessPairingResponses, CopyDocumentData, CopyDocumentErrors, CopyDocumentResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateAnchorData, CreateAnchorErrors, CreateAnchorResponses, CreateChannelData, CreateChannelErrors, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotErrors, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponses, CreateCommentData, CreateCommentErrors, CreateCommentResponses, CreateCrmCommentData, CreateCrmCommentErrors, CreateCrmCommentResponses, CreateCrmCompanyData, CreateCrmCompanyErrors, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactErrors, CreateCrmContactResponses, CreateDocumentData, CreateDocumentErrors, CreateDocumentResponses, CreateEntityMentionData, CreateEntityMentionErrors, CreateEntityMentionResponses, CreateHarnessPairingData, CreateHarnessPairingErrors, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeErrors, CreateInitiativeResponses, CreateInstructionsHandlerData, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponses, CreateMarkdownHandlerData, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponses, CreateProjectHandlerData, CreateProjectHandlerErrors, CreateProjectHandlerResponses, CreateReminderData, CreateReminderErrors, CreateReminderResponses, CreateSkillHandlerData, CreateSkillHandlerErrors, CreateSkillHandlerResponses, CreateSnippetHandlerData, CreateSnippetHandlerErrors, CreateSnippetHandlerResponses, CreateTaskHandlerData, CreateTaskHandlerErrors, CreateTaskHandlerResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerErrors, CreateViewHandlerResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookResponses, DeleteAnchorData, DeleteAnchorErrors, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordErrors, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelErrors, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponses, DeleteCommentData, DeleteCommentErrors, DeleteCommentResponses, DeleteCrmCommentData, DeleteCrmCommentErrors, DeleteCrmCommentResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionErrors, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessErrors, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeErrors, DeleteInitiativeResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerErrors, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderErrors, DeleteReminderResponses, DeleteSelfHarnessData, DeleteSelfHarnessErrors, DeleteSelfHarnessResponses, DeleteUserApiKeyData, DeleteUserApiKeyErrors, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponses, EditAnchorData, EditAnchorErrors, EditAnchorResponses, EditCallRecordData, EditCallRecordErrors, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptErrors, EditCallTranscriptResponses, EditCommentData, EditCommentErrors, EditCommentResponses, EditCrmCommentData, EditCrmCommentErrors, EditCrmCommentResponses, EditDocumentData, EditDocumentErrors, EditDocumentResponses, EditProjectV2Data, EditProjectV2Errors, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Errors, EditThreadV2Responses, EnsureCollabSurfaceData, EnsureCollabSurfaceErrors, EnsureCollabSurfaceResponses, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExportDocumentData, ExportDocumentErrors, ExportDocumentResponses, GetActiveCallsData, GetActiveCallsErrors, GetActiveCallsResponses, GetActivityData, GetActivityErrors, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesErrors, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewErrors, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponses, GetBatchProjectPreviewData, GetBatchProjectPreviewErrors, GetBatchProjectPreviewResponses, GetCallRecordData, GetCallRecordErrors, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsErrors, GetChannelAttachmentsResponses, GetChannelData, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkErrors, GetChannelJoinLinkResponses, GetChannelMessagesCatchUpData, GetChannelMessagesCatchUpErrors, GetChannelMessagesCatchUpResponses, GetChannelMessagesData, GetChannelMessagesErrors, GetChannelMessagesResponses, GetChannelParticipantsData, GetChannelParticipantsErrors, GetChannelParticipantsResponses, GetChannelResponses, GetChannelsData, GetChannelsErrors, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceErrors, GetCollabSurfaceResponses, GetCompanyData, GetCompanyErrors, GetCompanyResponses, GetContactByEmailData, GetContactByEmailErrors, GetContactByEmailResponses, GetContactData, GetContactErrors, GetContactResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponses, GetDocumentAnchorsData, GetDocumentAnchorsErrors, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameErrors, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponses, GetDocumentCommentsData, GetDocumentCommentsErrors, GetDocumentCommentsResponses, GetDocumentData, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponses, GetDocumentListHandlerData, GetDocumentListHandlerErrors, GetDocumentListHandlerResponses, GetDocumentLocationV3Data, GetDocumentLocationV3Errors, GetDocumentLocationV3Responses, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Responses, GetDocumentProcessingResultData, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponses, GetDocumentResponses, GetDocumentShortIdData, GetDocumentShortIdErrors, GetDocumentShortIdResponses, GetDocumentTeamShareData, GetDocumentTeamShareErrors, GetDocumentTeamShareResponses, GetDocumentVersionData, GetDocumentVersionErrors, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityErrors, GetForeignEntityResponses, GetHarnessPairingData, GetHarnessPairingErrors, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerErrors, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeErrors, GetInitiativeResponses, GetInstructionsHandlerData, GetInstructionsHandlerErrors, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupErrors, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerErrors, GetLocationHandlerResponses, GetMessageWithContextData, GetMessageWithContextErrors, GetMessageWithContextResponses, GetOrCreateCallData, GetOrCreateCallErrors, GetOrCreateCallResponses, GetOrCreateDmData, GetOrCreateDmErrors, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateErrors, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerErrors, GetPinsHandlerResponses, GetProjectContentHandlerData, GetProjectContentHandlerErrors, GetProjectContentHandlerResponses, GetProjectHandlerData, GetProjectHandlerErrors, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Responses, GetProjectsHandlerData, GetProjectsHandlerErrors, GetProjectsHandlerResponses, GetProjectUserAccessLevelData, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponses, GetReminderData, GetReminderErrors, GetReminderResponses, GetRingStatusData, GetRingStatusErrors, GetRingStatusResponses, GetSelfBotData, GetSelfBotErrors, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessErrors, GetSelfHarnessResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponses, GetThreadRepliesData, GetThreadRepliesErrors, GetThreadRepliesResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponses, GetViewsHandlerData, GetViewsHandlerErrors, GetViewsHandlerResponses, GetWebhookData, GetWebhookErrors, GetWebhookResponses, HandlerData, HandlerErrors, HandlerResponses, HealthHandlerData, HealthHandlerResponses, IngestTranscriptData, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsErrors, InitializeUserDocumentsResponses, InstallSyncData, InstallSyncErrors, JobProcessingResultHandlerData, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelErrors, JoinChannelResponses, LeaveChannelData, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallErrors, LeaveOrEndCallResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBotChannelsData, ListBotChannelsErrors, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsErrors, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsErrors, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesErrors, ListFavoritesResponses, ListHarnessAgentsData, ListHarnessAgentsErrors, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesErrors, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsErrors, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesErrors, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponses, ListRemindersData, ListRemindersErrors, ListRemindersResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponses, PatchChannelData, PatchChannelErrors, PatchChannelResponses, PatchMessageData, PatchMessageErrors, PatchMessageResponses, PatchViewHandlerData, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookErrors, PatchWebhookResponses, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponses, PostActivityData, PostActivityErrors, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookErrors, PostChannelBotWebhookResponses, PostChannelMessagesData, PostChannelMessagesErrors, PostChannelMessagesResponses, PostItemsSoupAstData, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupErrors, PostItemsSoupResponses, PostMessageData, PostMessageErrors, PostMessageResponses, PostReactionData, PostReactionErrors, PostReactionResponses, PostTypingData, PostTypingErrors, PostTypingResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponses, PutCrmTeamSettingsData, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesErrors, PutCrmTeamStagesResponses, RecentlyDeletedData, RecentlyDeletedErrors, RecentlyDeletedResponses, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsErrors, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerErrors, RemovePinHandlerResponses, ReorderFavoritesData, ReorderFavoritesErrors, ReorderFavoritesResponses, ReorderPinsHandlerData, ReorderPinsHandlerErrors, ReorderPinsHandlerResponses, ResetCrmTeamStagesData, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponses, ResolveChannelMessageData, ResolveChannelMessageErrors, ResolveChannelMessageResponses, RevertDeleteDocumentData, RevertDeleteDocumentErrors, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectErrors, RevertDeleteProjectResponses, SaveDocumentHandlerData, SaveDocumentHandlerErrors, SaveDocumentHandlerResponses, SetChannelPictureData, SetChannelPictureErrors, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenErrors, SetCompanyHiddenResponses, SetContactHiddenData, SetContactHiddenErrors, SetContactHiddenResponses, SetCrmCompanyNameData, SetCrmCompanyNameErrors, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameErrors, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareErrors, SetDocumentTeamShareResponses, SetEmailSyncData, SetEmailSyncErrors, SetEmailSyncResponses, SimpleSaveData, SimpleSaveErrors, SimpleSaveResponses, StreamEventsData, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, ToggleShareWithTeamData, ToggleShareWithTeamErrors, ToggleShareWithTeamResponses, UnassignInitiativeTaskData, UnassignInitiativeTaskErrors, UnassignInitiativeTaskResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateInitiativeData, UpdateInitiativeErrors, UpdateInitiativeResponses, UpdateReminderData, UpdateReminderErrors, UpdateReminderResponses, UploadExtractFolderHandlerData, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponses, UploadFolderHandlerData, UploadFolderHandlerErrors, UploadFolderHandlerResponses, UpsertHistoryHandlerData, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationResponses, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookErrors, ValidateWebhookResponses } from './types.gen';
+import type { AddFavoriteData, AddFavoriteErrors, AddFavoriteResponses, AddParticipantsData, AddParticipantsErrors, AddParticipantsResponses, AddPinHandlerData, AddPinHandlerErrors, AddPinHandlerResponses, ApproveHarnessPairingData, ApproveHarnessPairingErrors, ApproveHarnessPairingResponses, AssignInitiativeTasksData, AssignInitiativeTasksErrors, AssignInitiativeTasksResponses, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponses, CallWebhookData, CallWebhookErrors, CallWebhookResponses, CheckActiveCallData, CheckActiveCallErrors, CheckActiveCallResponses, ClaimHarnessPairingData, ClaimHarnessPairingErrors, ClaimHarnessPairingResponses, CopyDocumentData, CopyDocumentErrors, CopyDocumentResponses, CreateAgentData, CreateAgentErrors, CreateAgentResponses, CreateAnchorData, CreateAnchorErrors, CreateAnchorResponses, CreateChannelData, CreateChannelErrors, CreateChannelResponses, CreateChannelScopedBotData, CreateChannelScopedBotErrors, CreateChannelScopedBotResponses, CreateCollabSurfaceTokenData, CreateCollabSurfaceTokenErrors, CreateCollabSurfaceTokenResponses, CreateCommentData, CreateCommentErrors, CreateCommentResponses, CreateCrmCommentData, CreateCrmCommentErrors, CreateCrmCommentResponses, CreateCrmCompanyData, CreateCrmCompanyErrors, CreateCrmCompanyResponses, CreateCrmContactData, CreateCrmContactErrors, CreateCrmContactResponses, CreateDocumentData, CreateDocumentErrors, CreateDocumentResponses, CreateEntityMentionData, CreateEntityMentionErrors, CreateEntityMentionResponses, CreateHarnessPairingData, CreateHarnessPairingErrors, CreateHarnessPairingResponses, CreateInitiativeData, CreateInitiativeErrors, CreateInitiativeResponses, CreateInstructionsHandlerData, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponses, CreateMarkdownHandlerData, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponses, CreateProjectHandlerData, CreateProjectHandlerErrors, CreateProjectHandlerResponses, CreateReminderData, CreateReminderErrors, CreateReminderResponses, CreateSkillHandlerData, CreateSkillHandlerErrors, CreateSkillHandlerResponses, CreateSnippetHandlerData, CreateSnippetHandlerErrors, CreateSnippetHandlerResponses, CreateTaskHandlerData, CreateTaskHandlerErrors, CreateTaskHandlerResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewHandlerData, CreateViewHandlerErrors, CreateViewHandlerResponses, CreateWebhookData, CreateWebhookErrors, CreateWebhookResponses, DeleteAnchorData, DeleteAnchorErrors, DeleteAnchorResponses, DeleteCallRecordData, DeleteCallRecordErrors, DeleteCallRecordResponses, DeleteChannelData, DeleteChannelErrors, DeleteChannelResponses, DeleteCollabSurfaceData, DeleteCollabSurfaceErrors, DeleteCollabSurfaceResponses, DeleteCommentData, DeleteCommentErrors, DeleteCommentResponses, DeleteCrmCommentData, DeleteCrmCommentErrors, DeleteCrmCommentResponses, DeleteDocumentData, DeleteDocumentErrors, DeleteDocumentResponses, DeleteEntityMentionData, DeleteEntityMentionErrors, DeleteEntityMentionResponses, DeleteHarnessData, DeleteHarnessErrors, DeleteHarnessResponses, DeleteHistoryHandlerData, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponses, DeleteInitiativeData, DeleteInitiativeErrors, DeleteInitiativeResponses, DeleteMessageData, DeleteMessageErrors, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerErrors, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderErrors, DeleteReminderResponses, DeleteSelfHarnessData, DeleteSelfHarnessErrors, DeleteSelfHarnessResponses, DeleteUserApiKeyData, DeleteUserApiKeyErrors, DeleteUserApiKeyResponses, DeleteUserDocumentViewLocationData, DeleteUserDocumentViewLocationErrors, DeleteUserDocumentViewLocationResponses, DeleteViewHandlerData, DeleteViewHandlerErrors, DeleteViewHandlerResponses, DeleteWebhookData, DeleteWebhookErrors, DeleteWebhookResponses, EditAnchorData, EditAnchorErrors, EditAnchorResponses, EditCallRecordData, EditCallRecordErrors, EditCallRecordResponses, EditCallTranscriptData, EditCallTranscriptErrors, EditCallTranscriptResponses, EditCommentData, EditCommentErrors, EditCommentResponses, EditCrmCommentData, EditCrmCommentErrors, EditCrmCommentResponses, EditDocumentData, EditDocumentErrors, EditDocumentResponses, EditProjectV2Data, EditProjectV2Errors, EditProjectV2Responses, EditThreadV2Data, EditThreadV2Errors, EditThreadV2Responses, EnsureCollabSurfaceData, EnsureCollabSurfaceErrors, EnsureCollabSurfaceResponses, EntityMessageCreateData, EntityMessageCreateResponses, EntityMessageDeleteMessageData, EntityMessageDeleteMessageResponses, EntityMessageDeleteThreadData, EntityMessageDeleteThreadResponses, EntityMessageEditData, EntityMessageEditResponses, EntityMessageGetMessageData, EntityMessageGetMessageResponses, EntityMessageGetThreadData, EntityMessageGetThreadResponses, EntityMessageLegacyData, EntityMessageLegacyResponses, EntityMessagePatchThreadData, EntityMessagePatchThreadResponses, EntityMessageReactData, EntityMessageReactResponses, EntityMessageReferencesData, EntityMessageReferencesResponses, EntityMessageTypingData, EntityMessageTypingResponses, ExcludeDefaultViewHandlerData, ExcludeDefaultViewHandlerErrors, ExcludeDefaultViewHandlerResponses, ExportDocumentData, ExportDocumentErrors, ExportDocumentResponses, GetActiveCallsData, GetActiveCallsErrors, GetActiveCallsResponses, GetActivityData, GetActivityErrors, GetActivityResponses, GetAttachmentReferencesData, GetAttachmentReferencesErrors, GetAttachmentReferencesResponses, GetBatchCallRecordPreviewData, GetBatchCallRecordPreviewErrors, GetBatchCallRecordPreviewResponses, GetBatchChannelPreviewData, GetBatchChannelPreviewErrors, GetBatchChannelPreviewResponses, GetBatchPreviewHandlerData, GetBatchPreviewHandlerErrors, GetBatchPreviewHandlerResponses, GetBatchProjectPreviewData, GetBatchProjectPreviewErrors, GetBatchProjectPreviewResponses, GetCallRecordData, GetCallRecordErrors, GetCallRecordResponses, GetChannelAttachmentsData, GetChannelAttachmentsErrors, GetChannelAttachmentsResponses, GetChannelData, GetChannelErrors, GetChannelJoinLinkData, GetChannelJoinLinkErrors, GetChannelJoinLinkResponses, GetChannelMessagesCatchUpData, GetChannelMessagesCatchUpErrors, GetChannelMessagesCatchUpResponses, GetChannelMessagesData, GetChannelMessagesErrors, GetChannelMessagesResponses, GetChannelParticipantsData, GetChannelParticipantsErrors, GetChannelParticipantsResponses, GetChannelResponses, GetChannelsData, GetChannelsErrors, GetChannelsResponses, GetCollabSurfaceData, GetCollabSurfaceErrors, GetCollabSurfaceResponses, GetCompanyData, GetCompanyErrors, GetCompanyResponses, GetContactByEmailData, GetContactByEmailErrors, GetContactByEmailResponses, GetContactData, GetContactErrors, GetContactResponses, GetCrmTeamSettingsData, GetCrmTeamSettingsErrors, GetCrmTeamSettingsResponses, GetDocumentAnchorsData, GetDocumentAnchorsErrors, GetDocumentAnchorsResponses, GetDocumentBranchNameData, GetDocumentBranchNameErrors, GetDocumentBranchNameResponses, GetDocumentByTeamSlugData, GetDocumentByTeamSlugErrors, GetDocumentByTeamSlugResponses, GetDocumentCommentsData, GetDocumentCommentsErrors, GetDocumentCommentsResponses, GetDocumentData, GetDocumentErrors, GetDocumentGithubPullRequestsData, GetDocumentGithubPullRequestsErrors, GetDocumentGithubPullRequestsResponses, GetDocumentListHandlerData, GetDocumentListHandlerErrors, GetDocumentListHandlerResponses, GetDocumentLocationV3Data, GetDocumentLocationV3Errors, GetDocumentLocationV3Responses, GetDocumentPermissionsTokenData, GetDocumentPermissionsTokenErrors, GetDocumentPermissionsTokenResponses, GetDocumentPermissionsV2Data, GetDocumentPermissionsV2Errors, GetDocumentPermissionsV2Responses, GetDocumentProcessingResultData, GetDocumentProcessingResultErrors, GetDocumentProcessingResultResponses, GetDocumentResponses, GetDocumentShortIdData, GetDocumentShortIdErrors, GetDocumentShortIdResponses, GetDocumentTeamShareData, GetDocumentTeamShareErrors, GetDocumentTeamShareResponses, GetDocumentVersionData, GetDocumentVersionErrors, GetDocumentVersionResponses, GetDocumentViewsHandlerData, GetDocumentViewsHandlerErrors, GetDocumentViewsHandlerResponses, GetEntityPermissionData, GetEntityPermissionErrors, GetEntityPermissionResponses, GetForeignEntityBySourceData, GetForeignEntityBySourceErrors, GetForeignEntityBySourceResponses, GetForeignEntityData, GetForeignEntityErrors, GetForeignEntityResponses, GetHarnessPairingData, GetHarnessPairingErrors, GetHarnessPairingResponses, GetHistoryHandlerData, GetHistoryHandlerErrors, GetHistoryHandlerResponses, GetInitiativeData, GetInitiativeErrors, GetInitiativeResponses, GetInstructionsHandlerData, GetInstructionsHandlerErrors, GetInstructionsHandlerResponses, GetItemsSoupData, GetItemsSoupErrors, GetItemsSoupResponses, GetLocationHandlerData, GetLocationHandlerErrors, GetLocationHandlerResponses, GetMessageWithContextData, GetMessageWithContextErrors, GetMessageWithContextResponses, GetOrCreateCallData, GetOrCreateCallErrors, GetOrCreateCallResponses, GetOrCreateDmData, GetOrCreateDmErrors, GetOrCreateDmResponses, GetOrCreatePrivateData, GetOrCreatePrivateErrors, GetOrCreatePrivateResponses, GetPendingProjectsHandlerData, GetPendingProjectsHandlerErrors, GetPendingProjectsHandlerResponses, GetPinsHandlerData, GetPinsHandlerErrors, GetPinsHandlerResponses, GetProjectContentHandlerData, GetProjectContentHandlerErrors, GetProjectContentHandlerResponses, GetProjectHandlerData, GetProjectHandlerErrors, GetProjectHandlerResponses, GetProjectPermissionsV2Data, GetProjectPermissionsV2Errors, GetProjectPermissionsV2Responses, GetProjectsHandlerData, GetProjectsHandlerErrors, GetProjectsHandlerResponses, GetProjectUserAccessLevelData, GetProjectUserAccessLevelErrors, GetProjectUserAccessLevelResponses, GetReminderData, GetReminderErrors, GetReminderResponses, GetRingStatusData, GetRingStatusErrors, GetRingStatusResponses, GetSelfBotData, GetSelfBotErrors, GetSelfBotResponses, GetSelfHarnessData, GetSelfHarnessErrors, GetSelfHarnessResponses, GetSystemSkillsHandlerData, GetSystemSkillsHandlerErrors, GetSystemSkillsHandlerResponses, GetThreadRepliesData, GetThreadRepliesErrors, GetThreadRepliesResponses, GetUserDocumentsHandlerData, GetUserDocumentsHandlerErrors, GetUserDocumentsHandlerResponses, GetUserDocumentViewLocationData, GetUserDocumentViewLocationErrors, GetUserDocumentViewLocationResponses, GetViewsHandlerData, GetViewsHandlerErrors, GetViewsHandlerResponses, GetWebhookData, GetWebhookErrors, GetWebhookResponses, HandlerData, HandlerErrors, HandlerResponses, HealthHandlerData, HealthHandlerResponses, IngestTranscriptData, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsErrors, InitializeUserDocumentsResponses, InstallSyncData, InstallSyncErrors, JobProcessingResultHandlerData, JobProcessingResultHandlerErrors, JobProcessingResultHandlerResponses, JoinChannelByCodeData, JoinChannelByCodeErrors, JoinChannelByCodeResponses, JoinChannelData, JoinChannelErrors, JoinChannelResponses, LeaveChannelData, LeaveChannelErrors, LeaveChannelResponses, LeaveOrEndCallData, LeaveOrEndCallErrors, LeaveOrEndCallResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBotChannelsData, ListBotChannelsErrors, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsErrors, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsErrors, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesErrors, ListFavoritesResponses, ListHarnessAgentsData, ListHarnessAgentsErrors, ListHarnessAgentsResponses, ListHarnessesData, ListHarnessesErrors, ListHarnessesResponses, ListHarnessSessionsData, ListHarnessSessionsErrors, ListHarnessSessionsResponses, ListInitiativesData, ListInitiativesErrors, ListInitiativesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponses, ListRemindersData, ListRemindersErrors, ListRemindersResponses, ListTeamOutOfOfficeData, ListTeamOutOfOfficeErrors, ListTeamOutOfOfficeResponses, ListUserApiKeysData, ListUserApiKeysErrors, ListUserApiKeysResponses, ListWebhooksData, ListWebhooksErrors, ListWebhooksResponses, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponses, MessageTimelineData, MessageTimelineResponses, PatchChannelData, PatchChannelErrors, PatchChannelResponses, PatchMessageData, PatchMessageErrors, PatchMessageResponses, PatchViewHandlerData, PatchViewHandlerErrors, PatchViewHandlerResponses, PatchWebhookData, PatchWebhookErrors, PatchWebhookResponses, PermanentlyDeleteDocumentData, PermanentlyDeleteDocumentErrors, PermanentlyDeleteDocumentResponses, PermanentlyDeleteProjectData, PermanentlyDeleteProjectErrors, PermanentlyDeleteProjectResponses, PostActivityData, PostActivityErrors, PostActivityResponses, PostChannelBotWebhookData, PostChannelBotWebhookErrors, PostChannelBotWebhookResponses, PostChannelMessagesData, PostChannelMessagesErrors, PostChannelMessagesResponses, PostItemsSoupAstData, PostItemsSoupAstErrors, PostItemsSoupAstGroupedData, PostItemsSoupAstGroupedErrors, PostItemsSoupAstGroupedResponses, PostItemsSoupAstResponses, PostItemsSoupData, PostItemsSoupErrors, PostItemsSoupResponses, PostMessageData, PostMessageErrors, PostMessageResponses, PostReactionData, PostReactionErrors, PostReactionResponses, PostTypingData, PostTypingErrors, PostTypingResponses, PresaveDocumentHandlerData, PresaveDocumentHandlerErrors, PresaveDocumentHandlerResponses, PutCrmTeamSettingsData, PutCrmTeamSettingsErrors, PutCrmTeamSettingsResponses, PutCrmTeamStagesData, PutCrmTeamStagesErrors, PutCrmTeamStagesResponses, RecentlyDeletedData, RecentlyDeletedErrors, RecentlyDeletedResponses, RemoveBotFromChannelByBotData, RemoveBotFromChannelByBotErrors, RemoveBotFromChannelByBotResponses, RemoveFavoriteByEntityData, RemoveFavoriteByEntityErrors, RemoveFavoriteByEntityResponses, RemoveParticipantsData, RemoveParticipantsErrors, RemoveParticipantsResponses, RemovePinHandlerData, RemovePinHandlerErrors, RemovePinHandlerResponses, ReorderFavoritesData, ReorderFavoritesErrors, ReorderFavoritesResponses, ReorderPinsHandlerData, ReorderPinsHandlerErrors, ReorderPinsHandlerResponses, ResetCrmTeamStagesData, ResetCrmTeamStagesErrors, ResetCrmTeamStagesResponses, ResolveChannelMessageData, ResolveChannelMessageErrors, ResolveChannelMessageResponses, RevertDeleteDocumentData, RevertDeleteDocumentErrors, RevertDeleteDocumentResponses, RevertDeleteProjectData, RevertDeleteProjectErrors, RevertDeleteProjectResponses, SaveDocumentHandlerData, SaveDocumentHandlerErrors, SaveDocumentHandlerResponses, SetChannelPictureData, SetChannelPictureErrors, SetChannelPictureResponses, SetCompanyHiddenData, SetCompanyHiddenErrors, SetCompanyHiddenResponses, SetContactHiddenData, SetContactHiddenErrors, SetContactHiddenResponses, SetCrmCompanyNameData, SetCrmCompanyNameErrors, SetCrmCompanyNameResponses, SetCrmContactNameData, SetCrmContactNameErrors, SetCrmContactNameResponses, SetDocumentTeamShareData, SetDocumentTeamShareErrors, SetDocumentTeamShareResponses, SetEmailSyncData, SetEmailSyncErrors, SetEmailSyncResponses, SimpleSaveData, SimpleSaveErrors, SimpleSaveResponses, StreamEventsData, StreamEventsErrors, StreamEventsResponse, StreamEventsResponses, ToggleShareWithTeamData, ToggleShareWithTeamErrors, ToggleShareWithTeamResponses, UnassignInitiativeTaskData, UnassignInitiativeTaskErrors, UnassignInitiativeTaskResponses, UpdateAgentData, UpdateAgentErrors, UpdateAgentResponses, UpdateInitiativeData, UpdateInitiativeErrors, UpdateInitiativeResponses, UpdateReminderData, UpdateReminderErrors, UpdateReminderResponses, UploadExtractFolderHandlerData, UploadExtractFolderHandlerErrors, UploadExtractFolderHandlerResponses, UploadFolderHandlerData, UploadFolderHandlerErrors, UploadFolderHandlerResponses, UpsertHistoryHandlerData, UpsertHistoryHandlerErrors, UpsertHistoryHandlerResponses, UpsertUserDocumentViewLocationData, UpsertUserDocumentViewLocationErrors, UpsertUserDocumentViewLocationResponses, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookErrors, ValidateWebhookResponses } from './types.gen';
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
/**
@@ -1795,6 +1795,125 @@ export class Sdk extends HeyApiClient {
});
}
+ /**
+ * Read a bounded timeline with lazy thread previews.
+ */
+ public messageTimeline<ThrowOnError extends boolean = false>(options: Options<MessageTimelineData, ThrowOnError>): RequestResult<MessageTimelineResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).get<MessageTimelineResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}', ...options });
+ }
+
+ /**
+ * Create a root message or reply.
+ */
+ public entityMessageCreate<ThrowOnError extends boolean = false>(options: Options<EntityMessageCreateData, ThrowOnError>): RequestResult<EntityMessageCreateResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).post<EntityMessageCreateResponses, unknown, ThrowOnError>({
+ url: '/messages/{parent_type}/{parent_id}',
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers
+ }
+ });
+ }
+
+ /**
+ * Tombstone one message while preserving replies.
+ */
+ public entityMessageDeleteMessage<ThrowOnError extends boolean = false>(options: Options<EntityMessageDeleteMessageData, ThrowOnError>): RequestResult<EntityMessageDeleteMessageResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).delete<EntityMessageDeleteMessageResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/items/{id}', ...options });
+ }
+
+ /**
+ * Resolve a message within its parent.
+ */
+ public entityMessageGetMessage<ThrowOnError extends boolean = false>(options: Options<EntityMessageGetMessageData, ThrowOnError>): RequestResult<EntityMessageGetMessageResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).get<EntityMessageGetMessageResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/items/{id}', ...options });
+ }
+
+ /**
+ * Edit an owned message.
+ */
+ public entityMessageEdit<ThrowOnError extends boolean = false>(options: Options<EntityMessageEditData, ThrowOnError>): RequestResult<EntityMessageEditResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).patch<EntityMessageEditResponses, unknown, ThrowOnError>({
+ url: '/messages/{parent_type}/{parent_id}/items/{id}',
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers
+ }
+ });
+ }
+
+ /**
+ * Change the caller's reaction.
+ */
+ public entityMessageReact<ThrowOnError extends boolean = false>(options: Options<EntityMessageReactData, ThrowOnError>): RequestResult<EntityMessageReactResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).post<EntityMessageReactResponses, unknown, ThrowOnError>({
+ url: '/messages/{parent_type}/{parent_id}/items/{id}/reactions',
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers
+ }
+ });
+ }
+
+ /**
+ * Resolve an old link under current parent permissions.
+ */
+ public entityMessageLegacy<ThrowOnError extends boolean = false>(options: Options<EntityMessageLegacyData, ThrowOnError>): RequestResult<EntityMessageLegacyResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).get<EntityMessageLegacyResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/legacy/{legacy_id}', ...options });
+ }
+
+ /**
+ * Read source channel threads mentioning this document under both parents' permissions.
+ */
+ public entityMessageReferences<ThrowOnError extends boolean = false>(options: Options<EntityMessageReferencesData, ThrowOnError>): RequestResult<EntityMessageReferencesResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).get<EntityMessageReferencesResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/references', ...options });
+ }
+
+ /**
+ * Explicitly remove a discussion.
+ */
+ public entityMessageDeleteThread<ThrowOnError extends boolean = false>(options: Options<EntityMessageDeleteThreadData, ThrowOnError>): RequestResult<EntityMessageDeleteThreadResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).delete<EntityMessageDeleteThreadResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/threads/{id}', ...options });
+ }
+
+ /**
+ * Open a specific discussion from a link or annotation.
+ */
+ public entityMessageGetThread<ThrowOnError extends boolean = false>(options: Options<EntityMessageGetThreadData, ThrowOnError>): RequestResult<EntityMessageGetThreadResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).get<EntityMessageGetThreadResponses, unknown, ThrowOnError>({ url: '/messages/{parent_type}/{parent_id}/threads/{id}', ...options });
+ }
+
+ /**
+ * Update a discussion's lifecycle and placement.
+ */
+ public entityMessagePatchThread<ThrowOnError extends boolean = false>(options: Options<EntityMessagePatchThreadData, ThrowOnError>): RequestResult<EntityMessagePatchThreadResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).patch<EntityMessagePatchThreadResponses, unknown, ThrowOnError>({
+ url: '/messages/{parent_type}/{parent_id}/threads/{id}',
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers
+ }
+ });
+ }
+
+ /**
+ * Broadcast typing within an authorized discussion.
+ */
+ public entityMessageTyping<ThrowOnError extends boolean = false>(options: Options<EntityMessageTypingData, ThrowOnError>): RequestResult<EntityMessageTypingResponses, unknown, ThrowOnError> {
+ return (options.client ?? this.client).post<EntityMessageTypingResponses, unknown, ThrowOnError>({
+ url: '/messages/{parent_type}/{parent_id}/typing',
+ ...options,
+ headers: {
+ 'Content-Type': 'application/json',
+ ...options.headers
+ }
+ });
+ }
+
/**
* Gets the users pinned items
*/
diff --git a/packages/sdk/generated/storage/types.gen.ts b/packages/sdk/generated/storage/types.gen.ts
index 949cece6c0..a1da34ad78 100644
--- a/packages/sdk/generated/storage/types.gen.ts
+++ b/packages/sdk/generated/storage/types.gen.ts
@@ -1170,6 +1170,34 @@ export type AssignTasksResult = {
taskId: string;
};
+/**
+ * Attachment changes interpreted by the common command boundary.
+ */
+export type AttachmentChange = {
+ type: 'preserve';
+} | {
+ type: 'replace';
+ /**
+ * Replace all attachments.
+ */
+ value: Array<NewAttachment>;
+} | {
+ type: 'delta';
+ /**
+ * Remove stored attachment identities and append new references.
+ */
+ value: {
+ /**
+ * New attachments to append.
+ */
+ add: Array<NewAttachment>;
+ /**
+ * Existing attachment UUIDs to remove.
+ */
+ remove: Array<string>;
+ };
+};
+
/**
* RSVP state for an attendee.
*/
@@ -1377,6 +1405,20 @@ export type BotOwner = {
type: 'team';
};
+/**
+ * Public bot profile attached to bot-authored messages.
+ */
+export type BotSenderProfile = {
+ /**
+ * Bot avatar URL.
+ */
+ avatar_url?: string | null;
+ /**
+ * Bot display name.
+ */
+ name: string;
+};
+
/**
* Bot token metadata.
*/
@@ -3013,6 +3055,20 @@ export type CopyDocumentResponse = {
error: boolean;
};
+/**
+ * Reaction emoji and the users who added it.
+ */
+export type CountedReaction = {
+ /**
+ * Emoji being reacted with.
+ */
+ emoji: string;
+ /**
+ * User identifiers.
+ */
+ users: Array<string>;
+};
+
/**
* Request to create a persisted AI agent.
*/
@@ -4464,6 +4520,11 @@ export type DocumentFilters = {
task_filters?: TaskFilters;
};
+/**
+ * A validated document identifier. Historical document ids need not be UUIDs.
+ */
+export type DocumentId = string;
+
/**
* Metadata for [`DocumentTopicEvent::Interaction`].
*/
@@ -6329,6 +6390,16 @@ export type HashMap = {
export type HighlightType = 1 | 2 | 3;
+/**
+ * Display attribution for a comment imported from an external document.
+ */
+export type ImportedAuthor = {
+ /**
+ * Original author text; never interpreted as an authenticated principal.
+ */
+ name: string;
+};
+
/**
* A turn the runtime never answered: the session stopped underneath it.
*/
@@ -6564,26 +6635,427 @@ export type Mentions = {
users: Array<string>;
};
+/**
+ * Shared message representation for channel timelines and entity discussions.
+ */
+export type Message = {
+ /**
+ * Attached entities.
+ */
+ attachments: Array<MessageAttachment>;
+ bot_profile?: null | BotSenderProfile;
+ /**
+ * Macro Markdown body.
+ */
+ content: string;
+ /**
+ * Creation time.
+ */
+ created_at: string;
+ /**
+ * Message tombstone, independent of thread deletion.
+ */
+ deleted_at?: string | null;
+ /**
+ * Last content edit, if any.
+ */
+ edited_at?: string | null;
+ /**
+ * Message UUID.
+ */
+ id: string;
+ imported_author?: null | ImportedAuthor;
+ /**
+ * Tracked mentions, retained when a caller changes attachments only.
+ */
+ mentions: Array<SimpleMention>;
+ /**
+ * Entity that owns this conversation.
+ */
+ parent: MessageParent;
+ /**
+ * Aggregated reactions.
+ */
+ reactions: Array<CountedReaction>;
+ /**
+ * Authenticated actor or owner of imported content.
+ */
+ sender_id: string;
+ /**
+ * Root message UUID for replies; absent on roots.
+ */
+ thread_id?: string | null;
+ /**
+ * User who triggered a bot-authored message.
+ */
+ triggered_by?: string | null;
+ /**
+ * Last persisted update.
+ */
+ updated_at: string;
+};
+
+/**
+ * An entity attached to a message.
+ */
+export type MessageAttachment = {
+ /**
+ * When the attachment was added.
+ */
+ created_at: string;
+ /**
+ * Attached entity identifier.
+ */
+ entity_id: string;
+ /**
+ * Attached entity type.
+ */
+ entity_type: string;
+ /**
+ * Optional media height.
+ */
+ height?: number | null;
+ /**
+ * Attachment UUID.
+ */
+ id: string;
+ /**
+ * Optional media width.
+ */
+ width?: number | null;
+};
+
+/**
+ * Kind of message change; notification policy only runs for posted messages.
+ */
+export type MessageChange = {
+ /**
+ * Mentions included in this post.
+ */
+ mentions: Array<SimpleMention>;
+ /**
+ * Persisted message.
+ */
+ message: Message;
+ /**
+ * Trusted notification policy carried with the committed change.
+ */
+ notification_policy: PostMessageNotificationPolicy;
+ type: 'posted';
+} | {
+ /**
+ * Complete replacement mention set.
+ */
+ mentions: Array<SimpleMention>;
+ /**
+ * Persisted replacement message.
+ */
+ message: Message;
+ /**
+ * Trusted notification policy for the edited content.
+ */
+ notification_policy: PatchMessageNotificationPolicy;
+ /**
+ * Attachment identities before the edit, for channel change delivery.
+ */
+ previous_attachments: Array<MessageAttachment>;
+ type: 'edited';
+} | {
+ /**
+ * Persisted tombstone.
+ */
+ message: Message;
+ type: 'message_deleted';
+} | {
+ /**
+ * Persisted message.
+ */
+ message: Message;
+ type: 'reaction_changed';
+} | {
+ /**
+ * Persisted thread state.
+ */
+ state: ThreadState;
+ type: 'thread_updated';
+} | {
+ /**
+ * Whether the user is currently typing.
+ */
+ active: boolean;
+ /**
+ * Root being replied to, or no root for the parent composer.
+ */
+ thread_id?: string | null;
+ type: 'typing';
+};
+
+/**
+ * Cursor for a chronological parent timeline.
+ */
+export type MessageCursor = {
+ /**
+ * Last root creation time.
+ */
+ created_at: string;
+ /**
+ * Last root UUID, used to break timestamp ties.
+ */
+ id: string;
+};
+
+/**
+ * Direction through a parent timeline, retaining channel cursor semantics.
+ */
+export type MessageDirection = 'older' | 'newer';
+
+/**
+ * A committed message or thread change sent to delivery adapters.
+ */
+export type MessageEvent = {
+ /**
+ * User or bot who initiated the operation.
+ */
+ actor: string;
+ /**
+ * Persisted change.
+ */
+ change: MessageChange;
+ /**
+ * Mutation nonce for optimistic reconciliation.
+ */
+ nonce?: string | null;
+ /**
+ * Changed parent, used for subscriptions and cache invalidation.
+ */
+ parent: MessageParent;
+};
+
+/**
+ * Root message with its small thread preview, independent of its parent type.
+ */
+export type MessageListItem = Message & {
+ /**
+ * Thread metadata, independent of the first message's lifecycle.
+ */
+ state: ThreadState;
+ /**
+ * Bounded reply preview; full replies load on expansion.
+ */
+ thread: MessageThreadPreview;
+};
+
+/**
+ * Bidirectional, bounded timeline page, ordered newest root first.
+ */
+export type MessagePage = {
+ /**
+ * Root messages with bounded previews.
+ */
+ items: Array<MessageListItem>;
+ next_cursor?: null | MessageCursor;
+ previous_cursor?: null | MessageCursor;
+};
+
+/**
+ * The entity whose permissions and lifecycle govern a message.
+ */
+export type MessageParent = {
+ /**
+ * A channel, including direct messages.
+ */
+ id: string;
+ type: 'channel';
+} | {
+ /**
+ * A document, including tasks and PDFs.
+ */
+ id: DocumentId;
+ type: 'document';
+};
+
+/**
+ * Partial updates share the same authorship, reference, and delivery rules as edits.
+ */
+export type MessagePatch = {
+ /**
+ * Attachment change, without adapter-side message reads.
+ */
+ attachments?: AttachmentChange;
+ /**
+ * Replacement body; absent preserves current content.
+ */
+ content?: string | null;
+ /**
+ * Replacement authored mentions; absent preserves current mentions.
+ */
+ mentions?: Array<SimpleMention> | null;
+ /**
+ * Client mutation nonce.
+ */
+ nonce?: string | null;
+};
+
+/**
+ * A discussion with its root and ordered replies, including root tombstones.
+ */
+export type MessageThread = {
+ /**
+ * Replies in display order.
+ */
+ replies: Array<Message>;
+ /**
+ * Root message, which may be a tombstone.
+ */
+ root: Message;
+ /**
+ * Shared thread lifecycle and anchor state.
+ */
+ state: ThreadState;
+};
+
+/**
+ * Thread counts and its oldest three live replies.
+ */
+export type MessageThreadPreview = {
+ /**
+ * Creation time of the latest live reply.
+ */
+ latest_reply_at?: string | null;
+ /**
+ * Bounded preview using the canonical message shape.
+ */
+ preview: Array<Message>;
+ /**
+ * Total live reply count.
+ */
+ reply_count: number;
+};
+
+/**
+ * Root selection shared by channel timelines and document discussions.
+ */
+export type MessageTimelineQuery = {
+ /**
+ * Include roots or live replies created at or after this time.
+ */
+ activity_after?: string | null;
+ /**
+ * Include roots or live replies created before this time.
+ */
+ activity_before?: string | null;
+ /**
+ * Select anchored or unanchored roots; absent includes both.
+ */
+ anchored?: boolean | null;
+ /**
+ * Center on the root containing this message.
+ */
+ around?: string | null;
+ cursor?: null | MessageCursor;
+ /**
+ * Which side of the cursor to fetch.
+ */
+ direction?: MessageDirection;
+ /**
+ * Restrict roots to this set, for selected source threads.
+ */
+ ids?: Array<string>;
+ /**
+ * Include whole-thread tombstones when reconciling persisted document marks.
+ */
+ include_deleted_threads?: boolean;
+ /**
+ * Page size, clamped by the application to 1..=100.
+ */
+ limit?: number | null;
+};
+
+/**
+ * An attachment to add to a message.
+ */
+export type NewAttachment = {
+ /**
+ * Attached entity identifier.
+ */
+ entity_id: string;
+ /**
+ * Attached entity type.
+ */
+ entity_type: string;
+ /**
+ * Optional media height.
+ */
+ height?: number | null;
+ /**
+ * Optional media width.
+ */
+ width?: number | null;
+};
+
/**
* New attachment to add to a channel message.
*/
export type NewChannelAttachment = {
/**
- * Attachment entity id.
+ * Attachment entity id.
+ */
+ entity_id: string;
+ /**
+ * Attachment entity type.
+ */
+ entity_type: string;
+ /**
+ * Optional rendered height.
+ */
+ height?: number | null;
+ /**
+ * Optional rendered width.
+ */
+ width?: number | null;
+};
+
+/**
+ * Location supplied when creating a document discussion.
+ */
+export type NewThreadAnchor = {
+ /**
+ * Serialized mark identifier.
+ */
+ mark_id: string;
+ type: 'markdown';
+} | {
+ /**
+ * Highlight annotation identifier.
+ */
+ anchor_id: string;
+ type: 'pdf_highlight';
+} | {
+ /**
+ * Client-generated annotation identifier used by optimistic rendering.
*/
- entity_id: string;
+ anchor_id: string;
/**
- * Attachment entity type.
+ * Height as a fraction of the page height.
*/
- entity_type: string;
+ height_pct: number;
/**
- * Optional rendered height.
+ * PDF page number.
*/
- height?: number | null;
+ page: number;
+ type: 'pdf_placeable';
/**
- * Optional rendered width.
+ * Width as a fraction of the page width.
*/
- width?: number | null;
+ width_pct: number;
+ /**
+ * Horizontal position as a fraction of the page width.
+ */
+ x_pct: number;
+ /**
+ * Vertical position as a fraction of the page height.
+ */
+ y_pct: number;
};
/**
@@ -6697,6 +7169,11 @@ export type PatchChannelRequest = {
convert_to_team_channel?: boolean | null;
};
+/**
+ * Internal notification behavior for a patched channel message.
+ */
+export type PatchMessageNotificationPolicy = 'Default' | 'NotifyAsPostedMessage';
+
/**
* Request to patch a channel message.
*/
@@ -6797,6 +7274,7 @@ export type PdfHighlightAnchor = {
pageViewportHeight: number;
pageViewportWidth: number;
red: number;
+ rootId?: string | null;
text: string;
threadId?: number | null;
updatedAt?: string | null;
@@ -6840,9 +7318,10 @@ export type PdfPlaceableCommentAnchor = {
originalPage: number;
owner: string;
page: number;
+ rootId?: string | null;
rotation: number;
shouldLockOnSave: boolean;
- threadId: number;
+ threadId?: number | null;
uuid: string;
wasDeleted: boolean;
wasEdited: boolean;
@@ -6932,6 +7411,38 @@ export type PostGroupedSoupAstRequest = (PostGroupedSoupAstInitialRequest & {
mode: 'group_page';
});
+/**
+ * Create a root or reply. Thread state may only be supplied on a root.
+ */
+export type PostMessage = {
+ anchor?: null | NewThreadAnchor;
+ /**
+ * Initial attachments.
+ */
+ attachments?: Array<NewAttachment>;
+ /**
+ * Macro Markdown body.
+ */
+ content: string;
+ /**
+ * Mentions tracked by the editor.
+ */
+ mentions?: Array<SimpleMention>;
+ /**
+ * Client nonce for optimistic reconciliation.
+ */
+ nonce?: string | null;
+ /**
+ * Root to reply to, if this is a reply.
+ */
+ thread_id?: string | null;
+};
+
+/**
+ * Internal notification behavior for a posted channel message.
+ */
+export type PostMessageNotificationPolicy = 'Default' | 'MentionsOnly' | 'Silent';
+
/**
* Request to send a channel message.
*/
@@ -7306,6 +7817,24 @@ export type PropertyValue = {
*/
export type ReactionAction = 'Add' | 'Remove';
+/**
+ * Reaction mutation for the authenticated user.
+ */
+export type ReactionInput = {
+ /**
+ * Add when true, remove when false.
+ */
+ add: boolean;
+ /**
+ * Emoji.
+ */
+ emoji: string;
+ /**
+ * Client nonce.
+ */
+ nonce?: string | null;
+};
+
export type RecentlyDeletedResponseData = {
/**
* The items returned from the call
@@ -7313,6 +7842,39 @@ export type RecentlyDeletedResponseData = {
items: Array<Item>;
};
+/**
+ * A source channel thread that mentions the requested document.
+ */
+export type ReferencedThread = {
+ /**
+ * Whether this viewer currently has permission to reply in the source channel.
+ */
+ can_reply: boolean;
+ /**
+ * Source channel's current display name, returned only after access checks.
+ */
+ channel_name?: string | null;
+ /**
+ * Source parent used by the common message reader and mutations.
+ */
+ parent: MessageParent;
+ /**
+ * Source root identity; discovery does not copy its message content.
+ */
+ root_id: string;
+};
+
+/**
+ * Authorized source threads, deduplicated by root.
+ */
+export type ReferencedThreadPage = {
+ next_cursor?: null | MessageCursor;
+ /**
+ * Accessible channel discussions mentioning the document.
+ */
+ threads: Array<ReferencedThread>;
+};
+
/**
* A reminder belonging to a user.
*
@@ -7842,11 +8404,11 @@ export type ShortIdResponse = {
};
/**
- * Simple entity mention attached to a message.
+ * A mention tracked in a message body.
*/
export type SimpleMention = {
/**
- * Mentioned entity id.
+ * Mentioned entity identifier.
*/
entity_id: string;
/**
@@ -9208,6 +9770,29 @@ export type Thread = {
updatedAt?: string | null;
};
+/**
+ * A thread's location within its document. Geometry remains annotation-owned.
+ */
+export type ThreadAnchor = {
+ /**
+ * Mark UUID serialized in the document.
+ */
+ mark_id: string;
+ type: 'markdown';
+} | {
+ /**
+ * Highlight annotation UUID.
+ */
+ anchor_id: string;
+ type: 'pdf_highlight';
+} | {
+ /**
+ * Placeable annotation UUID.
+ */
+ anchor_id: string;
+ type: 'pdf_placeable';
+};
+
/**
* The channel thread a session was opened from, when it was.
*/
@@ -9226,10 +9811,59 @@ export type ThreadOrigin = {
thread_id: string;
};
+/**
+ * Partial changes to the lifecycle and placement of a document discussion.
+ */
+export type ThreadPatch = {
+ /**
+ * Move a Markdown discussion to the document when its marked text is removed.
+ */
+ detach_anchor?: boolean;
+ /**
+ * Client nonce for the shared thread update event.
+ */
+ nonce?: string | null;
+ /**
+ * Resolve or reopen the discussion; absent preserves its state.
+ */
+ resolved?: boolean | null;
+};
+
export type ThreadResponse = {
data: Array<CommentThread>;
};
+/**
+ * State belonging to a whole thread, keyed by its root message.
+ */
+export type ThreadState = {
+ anchor?: null | ThreadAnchor;
+ /**
+ * Creation time of the discussion.
+ */
+ created_at: string;
+ /**
+ * Explicit deletion of the entire thread, distinct from root deletion.
+ */
+ deleted_at?: string | null;
+ /**
+ * Whether this discussion has been resolved.
+ */
+ resolved: boolean;
+ /**
+ * Root message UUID; there is no separate thread identity.
+ */
+ root_id: string;
+ /**
+ * Last state change.
+ */
+ updated_at: string;
+ /**
+ * User who owns this discussion, including imported discussions.
+ */
+ user_id: string;
+};
+
/**
* A transcript segment from LiveKit Inference STT.
*/
@@ -9409,6 +10043,24 @@ export type TypedSuccessResponseGetDocumentResponseData = {
*/
export type TypingAction = 'start' | 'stop';
+/**
+ * Transient typing update.
+ */
+export type TypingInput = {
+ /**
+ * Whether the caller is typing.
+ */
+ active: boolean;
+ /**
+ * Client mutation nonce.
+ */
+ nonce?: string | null;
+ /**
+ * Root being replied to, absent for the parent composer.
+ */
+ thread_id?: string | null;
+};
+
export type UnthreadedPdfUuidRequest = {
attachmentType: 'highlight';
uuid: string;
@@ -14350,6 +15002,239 @@ export type PostItemsSoupAstGroupedResponses = {
export type PostItemsSoupAstGroupedResponse = PostItemsSoupAstGroupedResponses[keyof PostItemsSoupAstGroupedResponses];
+export type MessageTimelineData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ };
+ query?: {
+ /**
+ * Serialized MessageTimelineQuery; absent selects the latest roots.
+ */
+ selection?: string | null;
+ };
+ url: '/messages/{parent_type}/{parent_id}';
+};
+
+export type MessageTimelineResponses = {
+ 200: MessagePage;
+};
+
+export type MessageTimelineResponse = MessageTimelineResponses[keyof MessageTimelineResponses];
+
+export type EntityMessageCreateData = {
+ body: PostMessage;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}';
+};
+
+export type EntityMessageCreateResponses = {
+ 200: Message;
+};
+
+export type EntityMessageCreateResponse = EntityMessageCreateResponses[keyof EntityMessageCreateResponses];
+
+export type EntityMessageDeleteMessageData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: {
+ /**
+ * Client nonce.
+ */
+ nonce?: string | null;
+ };
+ url: '/messages/{parent_type}/{parent_id}/items/{id}';
+};
+
+export type EntityMessageDeleteMessageResponses = {
+ 200: Message;
+};
+
+export type EntityMessageDeleteMessageResponse = EntityMessageDeleteMessageResponses[keyof EntityMessageDeleteMessageResponses];
+
+export type EntityMessageGetMessageData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/items/{id}';
+};
+
+export type EntityMessageGetMessageResponses = {
+ 200: Message;
+};
+
+export type EntityMessageGetMessageResponse = EntityMessageGetMessageResponses[keyof EntityMessageGetMessageResponses];
+
+export type EntityMessageEditData = {
+ body: MessagePatch;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/items/{id}';
+};
+
+export type EntityMessageEditResponses = {
+ 200: Message;
+};
+
+export type EntityMessageEditResponse = EntityMessageEditResponses[keyof EntityMessageEditResponses];
+
+export type EntityMessageReactData = {
+ body: ReactionInput;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/items/{id}/reactions';
+};
+
+export type EntityMessageReactResponses = {
+ 200: Message;
+};
+
+export type EntityMessageReactResponse = EntityMessageReactResponses[keyof EntityMessageReactResponses];
+
+export type EntityMessageLegacyData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ legacy_id: number;
+ };
+ query?: {
+ /**
+ * Resolve a thread id instead of a comment id.
+ */
+ thread?: boolean;
+ };
+ url: '/messages/{parent_type}/{parent_id}/legacy/{legacy_id}';
+};
+
+export type EntityMessageLegacyResponses = {
+ 200: Message;
+};
+
+export type EntityMessageLegacyResponse = EntityMessageLegacyResponses[keyof EntityMessageLegacyResponses];
+
+export type EntityMessageReferencesData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ };
+ query?: {
+ /**
+ * Maximum number of roots.
+ */
+ limit?: number | null;
+ /**
+ * Last root's creation timestamp.
+ */
+ created_at?: string | null;
+ /**
+ * Last root's UUID.
+ */
+ cursor_id?: string | null;
+ };
+ url: '/messages/{parent_type}/{parent_id}/references';
+};
+
+export type EntityMessageReferencesResponses = {
+ 200: ReferencedThreadPage;
+};
+
+export type EntityMessageReferencesResponse = EntityMessageReferencesResponses[keyof EntityMessageReferencesResponses];
+
+export type EntityMessageDeleteThreadData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: {
+ /**
+ * Client nonce.
+ */
+ nonce?: string | null;
+ };
+ url: '/messages/{parent_type}/{parent_id}/threads/{id}';
+};
+
+export type EntityMessageDeleteThreadResponses = {
+ 200: ThreadState;
+};
+
+export type EntityMessageDeleteThreadResponse = EntityMessageDeleteThreadResponses[keyof EntityMessageDeleteThreadResponses];
+
+export type EntityMessageGetThreadData = {
+ body?: never;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/threads/{id}';
+};
+
+export type EntityMessageGetThreadResponses = {
+ 200: MessageThread;
+};
+
+export type EntityMessageGetThreadResponse = EntityMessageGetThreadResponses[keyof EntityMessageGetThreadResponses];
+
+export type EntityMessagePatchThreadData = {
+ body: ThreadPatch;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/threads/{id}';
+};
+
+export type EntityMessagePatchThreadResponses = {
+ 200: ThreadState;
+};
+
+export type EntityMessagePatchThreadResponse = EntityMessagePatchThreadResponses[keyof EntityMessagePatchThreadResponses];
+
+export type EntityMessageTypingData = {
+ body: TypingInput;
+ path: {
+ parent_type: string;
+ parent_id: string;
+ };
+ query?: never;
+ url: '/messages/{parent_type}/{parent_id}/typing';
+};
+
+export type EntityMessageTypingResponses = {
+ 204: void;
+};
+
+export type EntityMessageTypingResponse = EntityMessageTypingResponses[keyof EntityMessageTypingResponses];
+
export type GetPinsHandlerData = {
body?: never;
path?: never;
diff --git a/packages/sdk/specs/notification.json b/packages/sdk/specs/notification.json
index 9bf222c23c..e07be1f0ab 100644
--- a/packages/sdk/specs/notification.json
+++ b/packages/sdk/specs/notification.json
@@ -1437,14 +1437,28 @@
"type": "string",
"enum": ["public", "private", "directMessage", "team"]
},
+ "CommentRef": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "format": "int64",
+ "description": "Legacy `Comment.id` or `Thread.id`."
+ },
+ {
+ "type": "string",
+ "format": "uuid",
+ "description": "Message or root id in the shared message store."
+ }
+ ],
+ "description": "Identity of a document comment or its thread. Comments written before the\nshared message store carry the legacy numeric ids; comments in the shared\nstore carry the message and root UUIDs."
+ },
"CommentedOnDocumentMetadata": {
"type": "object",
"description": "Notification sent when someone comments on a document the user owns.",
"required": ["documentName", "owner", "commentId", "threadId", "text"],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -1459,6 +1473,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -1478,8 +1496,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
@@ -2077,8 +2094,7 @@
],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -2097,6 +2113,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -2116,8 +2136,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
@@ -2710,8 +2729,7 @@
"required": ["documentName", "owner", "commentId", "threadId", "text"],
"properties": {
"commentId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the comment id"
},
"documentName": {
@@ -2726,6 +2744,10 @@
"type": "string",
"description": "The owner of the document."
},
+ "senderDisplayName": {
+ "type": ["string", "null"],
+ "description": "Public bot name when the author is an agent rather than a Macro user."
+ },
"senderProfilePictureUrl": {
"type": ["string", "null"]
},
@@ -2745,8 +2767,7 @@
"description": "the text of the comment"
},
"threadId": {
- "type": "integer",
- "format": "int64",
+ "$ref": "#/components/schemas/CommentRef",
"description": "the thread id"
}
}
diff --git a/packages/sdk/specs/storage.json b/packages/sdk/specs/storage.json
index cdffaeba2f..2400f6d0ba 100644
--- a/packages/sdk/specs/storage.json
+++ b/packages/sdk/specs/storage.json
@@ -10862,56 +10862,78 @@
}
}
},
- "/pins": {
+ "/messages/{parent_type}/{parent_id}": {
"get": {
- "tags": ["pins::get_pins"],
- "summary": "Gets the users pinned items",
- "operationId": "get_pins_handler",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetPinsResponse"
- }
- }
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Read a bounded timeline with lazy thread previews.",
+ "operationId": "message_timeline",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "500": {
+ {
+ "name": "selection",
+ "in": "query",
+ "description": "Serialized MessageTimelineQuery; absent selects the latest roots.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/MessagePage"
}
}
}
}
}
},
- "patch": {
- "tags": ["pins::reorder_pins"],
- "summary": "Saves the updated order of the pins for the user",
- "operationId": "reorder_pins_handler",
+ "post": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Create a root message or reply.",
+ "operationId": "entity_message_create",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ReorderPinRequest"
- }
+ "$ref": "#/components/schemas/PostMessage"
}
}
},
@@ -10923,65 +10945,148 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/items/{id}": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Resolve a message within its parent.",
+ "operationId": "entity_message_get_message",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "404": {
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ },
+ "delete": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Tombstone one message while preserving replies.",
+ "operationId": "entity_message_delete_message",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "description": "Client nonce.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
}
}
- }
- },
- "/pins/{pinned_item_id}": {
- "post": {
- "tags": ["pins::add_pin"],
- "summary": "Pins the item for the user",
- "operationId": "add_pin_handler",
+ },
+ "patch": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Edit an owned message.",
+ "operationId": "entity_message_edit",
"parameters": [
{
- "name": "pinned_item_id",
+ "name": "parent_type",
"in": "path",
- "description": "ID of the pinned item",
"required": true,
"schema": {
"type": "string"
}
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AddPinRequest"
+ "$ref": "#/components/schemas/MessagePatch"
}
}
},
@@ -10993,63 +11098,51 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
- }
- }
- }
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "500": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
}
}
- },
- "delete": {
- "tags": ["pins::remove_pin"],
- "summary": "Deletes the pin for the user",
- "operationId": "remove_pin_handler",
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/items/{id}/reactions": {
+ "post": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Change the caller's reaction.",
+ "operationId": "entity_message_react",
"parameters": [
{
- "name": "pinned_item_id",
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
"in": "path",
- "description": "ID of the pinned item",
"required": true,
"schema": {
"type": "string"
}
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PinRequest"
+ "$ref": "#/components/schemas/ReactionInput"
}
}
},
@@ -11061,37 +11154,130 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
- },
- "401": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/legacy/{legacy_id}": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Resolve an old link under current parent permissions.",
+ "operationId": "entity_message_legacy",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
}
},
- "404": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "legacy_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ {
+ "name": "thread",
+ "in": "query",
+ "description": "Resolve a thread id instead of a comment id.",
+ "required": false,
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/Message"
}
}
}
+ }
+ }
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/references": {
+ "get": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Read source channel threads mentioning this document under both parents' permissions.",
+ "operationId": "entity_message_references",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "limit",
+ "in": "query",
+ "description": "Maximum number of roots.",
+ "required": false,
+ "schema": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "minimum": 0
+ }
+ },
+ {
+ "name": "created_at",
+ "in": "query",
+ "description": "Last root's creation timestamp.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"],
+ "format": "date-time"
+ }
+ },
+ {
+ "name": "cursor_id",
+ "in": "query",
+ "description": "Last root's UUID.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ReferencedThreadPage"
}
}
}
@@ -11099,65 +11285,211 @@
}
}
},
- "/projects": {
+ "/messages/{parent_type}/{parent_id}/threads/{id}": {
"get": {
- "tags": ["project"],
- "summary": "List projects visible to the authenticated user.",
- "operationId": "get_projects_handler",
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Open a specific discussion from a link or annotation.",
+ "operationId": "entity_message_get_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectsResponse"
+ "$ref": "#/components/schemas/MessageThread"
}
}
}
+ }
+ }
+ },
+ "delete": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Explicitly remove a discussion.",
+ "operationId": "entity_message_delete_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "401": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "description": "Client nonce.",
+ "required": false,
+ "schema": {
+ "type": ["string", "null"]
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ThreadState"
}
}
}
+ }
+ }
+ },
+ "patch": {
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Update a discussion's lifecycle and placement.",
+ "operationId": "entity_message_patch_thread",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
},
- "500": {
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ThreadPatch"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ThreadState"
}
}
}
}
}
- },
+ }
+ },
+ "/messages/{parent_type}/{parent_id}/typing": {
"post": {
- "tags": ["project"],
- "summary": "Create a project, optionally beneath an existing project.",
- "operationId": "create_project_handler",
+ "tags": ["messages::inbound::axum_router"],
+ "summary": "Broadcast typing within an authorized discussion.",
+ "operationId": "entity_message_typing",
+ "parameters": [
+ {
+ "name": "parent_type",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateProjectRequest"
+ "$ref": "#/components/schemas/TypingInput"
}
}
},
"required": true
},
+ "responses": {
+ "204": {
+ "description": ""
+ }
+ }
+ }
+ },
+ "/pins": {
+ "get": {
+ "tags": ["pins::get_pins"],
+ "summary": "Gets the users pinned items",
+ "operationId": "get_pins_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateProjectResponse"
+ "$ref": "#/components/schemas/GetPinsResponse"
}
}
}
@@ -11183,54 +11515,31 @@
}
}
}
- }
- },
- "/projects/pending": {
- "get": {
- "tags": ["project"],
- "summary": "List pending root projects owned by the authenticated user.",
- "operationId": "get_pending_projects_handler",
+ },
+ "patch": {
+ "tags": ["pins::reorder_pins"],
+ "summary": "Saves the updated order of the pins for the user",
+ "operationId": "reorder_pins_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ReorderPinRequest"
+ }
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "array",
- "items": {
- "allOf": [
- {
- "$ref": "#/components/schemas/Project"
- },
- {
- "type": "object",
- "required": ["documentStatuses"],
- "properties": {
- "documentStatuses": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ProjectDocumentStatus"
- }
- }
- }
- }
- ]
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11245,6 +11554,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11258,16 +11577,27 @@
}
}
},
- "/projects/preview": {
+ "/pins/{pinned_item_id}": {
"post": {
- "tags": ["project"],
- "summary": "Get previews for a batch of project IDs.",
- "operationId": "get_batch_project_preview",
+ "tags": ["pins::add_pin"],
+ "summary": "Pins the item for the user",
+ "operationId": "add_pin_handler",
+ "parameters": [
+ {
+ "name": "pinned_item_id",
+ "in": "path",
+ "description": "ID of the pinned item",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetBatchProjectPreviewRequest"
+ "$ref": "#/components/schemas/AddPinRequest"
}
}
},
@@ -11279,7 +11609,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetBatchProjectPreviewResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11294,6 +11624,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11305,18 +11645,27 @@
}
}
}
- }
- },
- "/projects/upload": {
- "post": {
- "tags": ["projects_hex::inbound::axum_router::upload_folder"],
- "summary": "Upload a folder tree and create its upload destinations.",
- "operationId": "upload_folder_handler",
+ },
+ "delete": {
+ "tags": ["pins::remove_pin"],
+ "summary": "Deletes the pin for the user",
+ "operationId": "remove_pin_handler",
+ "parameters": [
+ {
+ "name": "pinned_item_id",
+ "in": "path",
+ "description": "ID of the pinned item",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UploadFolderRequest"
+ "$ref": "#/components/schemas/PinRequest"
}
}
},
@@ -11328,33 +11677,7 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "object",
- "required": ["fileSystem", "destinationMap"],
- "properties": {
- "destinationMap": {
- "$ref": "#/components/schemas/HashMap",
- "description": "maps document id to presigned url (external) or s3 info (internal)"
- },
- "fileSystem": {
- "$ref": "#/components/schemas/FileSystemNodeWithIds",
- "description": "file system with project ids and document ids"
- }
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
@@ -11392,52 +11715,18 @@
}
}
},
- "/projects/upload_extract": {
- "post": {
+ "/projects": {
+ "get": {
"tags": ["project"],
- "summary": "Create a request for extracting an uploaded folder archive.",
- "operationId": "upload_extract_folder_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UploadExtractFolderRequest"
- }
- }
- },
- "required": true
- },
+ "summary": "List projects visible to the authenticated user.",
+ "operationId": "get_projects_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "required": ["error", "data"],
- "properties": {
- "data": {
- "oneOf": [
- {
- "type": "object",
- "required": ["requestId", "presignedUrl"],
- "properties": {
- "presignedUrl": {
- "type": "string"
- },
- "requestId": {
- "type": "string"
- }
- }
- }
- ],
- "description": "Data to be returned"
- },
- "error": {
- "type": "boolean",
- "description": "Indicates if an error occurred"
- }
- }
+ "$ref": "#/components/schemas/GetProjectsResponse"
}
}
}
@@ -11452,16 +11741,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -11473,31 +11752,28 @@
}
}
}
- }
- },
- "/projects/{id}": {
- "get": {
- "tags": ["projects_hex::inbound::axum_router::get_project"],
- "summary": "Get project metadata.",
- "operationId": "get_project_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ },
+ "post": {
+ "tags": ["project"],
+ "summary": "Create a project, optionally beneath an existing project.",
+ "operationId": "create_project_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateProjectRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectResponse"
+ "$ref": "#/components/schemas/CreateProjectResponse"
}
}
}
@@ -11523,22 +11799,13 @@
}
}
}
- },
- "delete": {
+ }
+ },
+ "/projects/pending": {
+ "get": {
"tags": ["project"],
- "summary": "Soft-delete a project and all of its children.",
- "operationId": "delete_project_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
+ "summary": "List pending root projects owned by the authenticated user.",
+ "operationId": "get_pending_projects_handler",
"responses": {
"200": {
"description": "",
@@ -11551,35 +11818,25 @@
"data": {
"oneOf": [
{
- "type": "object",
- "description": "Identifiers affected by a recursive project soft deletion.",
- "required": [
- "project_ids",
- "document_ids",
- "chat_ids"
- ],
- "properties": {
- "chat_ids": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Deleted chats."
- },
- "document_ids": {
- "type": "array",
- "items": {
- "type": "string"
+ "type": "array",
+ "items": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Project"
},
- "description": "Deleted documents."
- },
- "project_ids": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Deleted projects, including the requested root."
- }
+ {
+ "type": "object",
+ "required": ["documentStatuses"],
+ "properties": {
+ "documentStatuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ProjectDocumentStatus"
+ }
+ }
+ }
+ }
+ ]
}
}
],
@@ -11617,29 +11874,28 @@
}
}
},
- "/projects/{id}/access_level": {
- "get": {
+ "/projects/preview": {
+ "post": {
"tags": ["project"],
- "summary": "Get the caller's project access level.",
- "operationId": "get_project_user_access_level",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "summary": "Get previews for a batch of project IDs.",
+ "operationId": "get_batch_project_preview",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetBatchProjectPreviewRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/AccessLevel"
+ "$ref": "#/components/schemas/GetBatchProjectPreviewResponse"
}
}
}
@@ -11654,16 +11910,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -11677,29 +11923,54 @@
}
}
},
- "/projects/{id}/content": {
- "get": {
- "tags": ["project"],
- "summary": "Get a project's immediate children.",
- "operationId": "get_project_content_handler",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "/projects/upload": {
+ "post": {
+ "tags": ["projects_hex::inbound::axum_router::upload_folder"],
+ "summary": "Upload a folder tree and create its upload destinations.",
+ "operationId": "upload_folder_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadFolderRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetProjectContentResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "required": ["fileSystem", "destinationMap"],
+ "properties": {
+ "destinationMap": {
+ "$ref": "#/components/schemas/HashMap",
+ "description": "maps document id to presigned url (external) or s3 info (internal)"
+ },
+ "fileSystem": {
+ "$ref": "#/components/schemas/FileSystemNodeWithIds",
+ "description": "file system with project ids and document ids"
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11714,6 +11985,16 @@
}
}
},
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
@@ -11727,29 +12008,52 @@
}
}
},
- "/projects/{id}/permanent": {
- "delete": {
+ "/projects/upload_extract": {
+ "post": {
"tags": ["project"],
- "summary": "Permanently delete a soft-deleted project and all of its children.",
- "operationId": "permanently_delete_project",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "ID of the project",
- "required": true,
- "schema": {
- "type": "string"
+ "summary": "Create a request for extracting an uploaded folder archive.",
+ "operationId": "upload_extract_folder_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadExtractFolderRequest"
+ }
}
- }
- ],
+ },
+ "required": true
+ },
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "required": ["requestId", "presignedUrl"],
+ "properties": {
+ "presignedUrl": {
+ "type": "string"
+ },
+ "requestId": {
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11787,11 +12091,11 @@
}
}
},
- "/projects/{id}/permissions": {
+ "/projects/{id}": {
"get": {
- "tags": ["project"],
- "summary": "Get a project's share permissions.",
- "operationId": "get_project_permissions_v2",
+ "tags": ["projects_hex::inbound::axum_router::get_project"],
+ "summary": "Get project metadata.",
+ "operationId": "get_project_handler",
"parameters": [
{
"name": "id",
@@ -11809,12 +12113,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SharePermissionV2"
+ "$ref": "#/components/schemas/GetProjectResponse"
}
}
}
},
- "404": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -11835,13 +12139,11 @@
}
}
}
- }
- },
- "/projects/{id}/revert_delete": {
- "put": {
+ },
+ "delete": {
"tags": ["project"],
- "summary": "Restore a soft-deleted project and its children.",
- "operationId": "revert_delete_project",
+ "summary": "Soft-delete a project and all of its children.",
+ "operationId": "delete_project_handler",
"parameters": [
{
"name": "id",
@@ -11859,7 +12161,51 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "type": "object",
+ "required": ["error", "data"],
+ "properties": {
+ "data": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Identifiers affected by a recursive project soft deletion.",
+ "required": [
+ "project_ids",
+ "document_ids",
+ "chat_ids"
+ ],
+ "properties": {
+ "chat_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted chats."
+ },
+ "document_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted documents."
+ },
+ "project_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Deleted projects, including the requested root."
+ }
+ }
+ }
+ ],
+ "description": "Data to be returned"
+ },
+ "error": {
+ "type": "boolean",
+ "description": "Indicates if an error occurred"
+ }
+ }
}
}
}
@@ -11874,17 +12220,7 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
- }
- }
- },
- "500": {
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -11897,23 +12233,34 @@
}
}
},
- "/recents/deleted": {
+ "/projects/{id}/access_level": {
"get": {
- "tags": ["recents"],
- "summary": "Gets the users recently deleted items.",
- "operationId": "recently_deleted",
+ "tags": ["project"],
+ "summary": "Get the caller's project access level.",
+ "operationId": "get_project_user_access_level",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TypedSuccessResponse"
+ "$ref": "#/components/schemas/AccessLevel"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -11923,7 +12270,7 @@
}
}
},
- "401": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -11946,87 +12293,17 @@
}
}
},
- "/reminders": {
+ "/projects/{id}/content": {
"get": {
- "tags": ["reminders"],
- "summary": "List the caller's reminders, soonest firing first.",
- "operationId": "list_reminders",
+ "tags": ["project"],
+ "summary": "Get a project's immediate children.",
+ "operationId": "get_project_content_handler",
"parameters": [
{
- "name": "entityType",
- "in": "query",
- "description": "Restrict to reminders attached to an entity of these types.",
- "required": false,
- "schema": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "The type of an entity in Macro",
- "enum": [
- "user",
- "chat",
- "channel",
- "channel_message",
- "document",
- "project",
- "email_thread",
- "calendar_event",
- "team",
- "call",
- "foreign_entity",
- "static_file",
- "crm_company",
- "crm_contact",
- "reminder",
- "skill",
- "agent_session",
- "scheduled_action",
- "initiative"
- ]
- }
- },
- "style": "form",
- "explode": true
- },
- {
- "name": "entityId",
- "in": "query",
- "description": "Restrict to reminders attached to these entity ids.",
- "required": false,
- "schema": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "style": "form",
- "explode": true
- },
- {
- "name": "includeCompleted",
- "in": "query",
- "description": "Include reminders that have already fired.",
- "required": false,
- "schema": {
- "type": "boolean"
- }
- },
- {
- "name": "limit",
- "in": "query",
- "description": "Page size. Defaults to 100; larger values are capped at 500. A value\nthat is not a non-negative integer is rejected by the query extractor.",
- "required": false,
- "schema": {
- "type": "integer",
- "format": "int32",
- "minimum": 0
- }
- },
- {
- "name": "cursor",
- "in": "query",
- "description": "`nextCursor` from a previous page.",
- "required": false,
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
"schema": {
"type": "string"
}
@@ -12038,117 +12315,137 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/RemindersList"
+ "$ref": "#/components/schemas/GetProjectContentResponse"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "401": {
- "description": "Missing or invalid credentials",
+ "500": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
- },
- "500": {
+ }
+ }
+ }
+ },
+ "/projects/{id}/permanent": {
+ "delete": {
+ "tags": ["project"],
+ "summary": "Permanently delete a soft-deleted project and all of its children.",
+ "operationId": "permanently_delete_project",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
- }
- }
- },
- "post": {
- "tags": ["reminders"],
- "summary": "Create a reminder, optionally attached to an entity the caller can view.",
- "operationId": "create_reminder",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateReminderRequest"
- }
- }
},
- "required": true
- },
- "responses": {
- "201": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "400": {
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "401": {
- "description": "Missing or invalid credentials",
+ "500": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
- },
- "403": {
- "description": "No access to the requested entity",
+ }
+ }
+ }
+ },
+ "/projects/{id}/permissions": {
+ "get": {
+ "tags": ["project"],
+ "summary": "Get a project's share permissions.",
+ "operationId": "get_project_permissions_v2",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/SharePermissionV2"
}
}
}
},
"404": {
- "description": "The requested entity does not exist",
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "422": {
- "description": "Malformed request body (plain text)"
- },
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12156,20 +12453,19 @@
}
}
},
- "/reminders/{id}": {
- "get": {
- "tags": ["reminders"],
- "summary": "Fetch one of the caller's reminders.",
- "operationId": "get_reminder",
+ "/projects/{id}/revert_delete": {
+ "put": {
+ "tags": ["project"],
+ "summary": "Restore a soft-deleted project and its children.",
+ "operationId": "revert_delete_project",
"parameters": [
{
"name": "id",
"in": "path",
- "description": "The reminder id.",
+ "description": "ID of the project",
"required": true,
"schema": {
- "type": "string",
- "format": "uuid"
+ "type": "string"
}
}
],
@@ -12179,17 +12475,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
"401": {
- "description": "Missing or invalid credentials",
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12199,7 +12495,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12209,49 +12505,46 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
}
}
- },
- "delete": {
- "tags": ["reminders"],
- "summary": "Delete one of the caller's reminders.",
- "operationId": "delete_reminder",
- "parameters": [
- {
- "name": "id",
- "in": "path",
- "description": "The reminder id.",
- "required": true,
- "schema": {
- "type": "string",
- "format": "uuid"
- }
- }
- ],
+ }
+ },
+ "/recents/deleted": {
+ "get": {
+ "tags": ["recents"],
+ "summary": "Gets the users recently deleted items.",
+ "operationId": "recently_deleted",
"responses": {
- "204": {
- "description": "Reminder deleted"
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TypedSuccessResponse"
+ }
+ }
+ }
},
- "401": {
- "description": "Missing or invalid credentials",
+ "400": {
+ "description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
},
- "404": {
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -12261,46 +12554,107 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
}
}
- },
- "patch": {
+ }
+ },
+ "/reminders": {
+ "get": {
"tags": ["reminders"],
- "summary": "Modify one of the caller's reminders.",
- "operationId": "update_reminder",
+ "summary": "List the caller's reminders, soonest firing first.",
+ "operationId": "list_reminders",
"parameters": [
{
- "name": "id",
- "in": "path",
- "description": "The reminder id.",
- "required": true,
+ "name": "entityType",
+ "in": "query",
+ "description": "Restrict to reminders attached to an entity of these types.",
+ "required": false,
"schema": {
- "type": "string",
- "format": "uuid"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UpdateReminderRequest"
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "The type of an entity in Macro",
+ "enum": [
+ "user",
+ "chat",
+ "channel",
+ "channel_message",
+ "document",
+ "project",
+ "email_thread",
+ "calendar_event",
+ "team",
+ "call",
+ "foreign_entity",
+ "static_file",
+ "crm_company",
+ "crm_contact",
+ "reminder",
+ "skill",
+ "agent_session",
+ "scheduled_action",
+ "initiative"
+ ]
+ }
+ },
+ "style": "form",
+ "explode": true
+ },
+ {
+ "name": "entityId",
+ "in": "query",
+ "description": "Restrict to reminders attached to these entity ids.",
+ "required": false,
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "string"
}
+ },
+ "style": "form",
+ "explode": true
+ },
+ {
+ "name": "includeCompleted",
+ "in": "query",
+ "description": "Include reminders that have already fired.",
+ "required": false,
+ "schema": {
+ "type": "boolean"
}
},
- "required": true
- },
+ {
+ "name": "limit",
+ "in": "query",
+ "description": "Page size. Defaults to 100; larger values are capped at 500. A value\nthat is not a non-negative integer is rejected by the query extractor.",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0
+ }
+ },
+ {
+ "name": "cursor",
+ "in": "query",
+ "description": "`nextCursor` from a previous page.",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Reminder"
+ "$ref": "#/components/schemas/RemindersList"
}
}
}
@@ -12325,19 +12679,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ErrorResponse"
- }
- }
- }
- },
- "422": {
- "description": "Malformed request body (plain text)"
- },
"500": {
"description": "",
"content": {
@@ -12349,24 +12690,33 @@
}
}
}
- }
- },
- "/saved_views": {
- "get": {
- "tags": ["saved_views"],
- "operationId": "get_views_handler",
+ },
+ "post": {
+ "tags": ["reminders"],
+ "summary": "Create a reminder, optionally attached to an entity the caller can view.",
+ "operationId": "create_reminder",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateReminderRequest"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
- "200": {
+ "201": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ViewsResponse"
+ "$ref": "#/components/schemas/Reminder"
}
}
}
},
- "401": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -12376,8 +12726,8 @@
}
}
},
- "500": {
- "description": "",
+ "401": {
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
@@ -12385,35 +12735,19 @@
}
}
}
- }
- }
- },
- "post": {
- "tags": ["saved_views"],
- "operationId": "create_view_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateViewRequest"
- }
- }
},
- "required": true
- },
- "responses": {
- "200": {
- "description": "",
+ "403": {
+ "description": "No access to the requested entity",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/View"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
- "description": "",
+ "404": {
+ "description": "The requested entity does not exist",
"content": {
"application/json": {
"schema": {
@@ -12422,6 +12756,9 @@
}
}
},
+ "422": {
+ "description": "Malformed request body (plain text)"
+ },
"500": {
"description": "",
"content": {
@@ -12435,26 +12772,36 @@
}
}
},
- "/saved_views/exclude_default": {
- "post": {
- "tags": ["saved_views"],
- "operationId": "exclude_default_view_handler",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ExcludeDefaultViewRequest"
- }
+ "/reminders/{id}": {
+ "get": {
+ "tags": ["reminders"],
+ "summary": "Fetch one of the caller's reminders.",
+ "operationId": "get_reminder",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The reminder id.",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "format": "uuid"
}
- },
- "required": true
- },
+ }
+ ],
"responses": {
"200": {
- "description": ""
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Reminder"
+ }
+ }
+ }
},
"401": {
- "description": "",
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
@@ -12463,7 +12810,7 @@
}
}
},
- "500": {
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -12472,30 +12819,50 @@
}
}
}
- }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
}
- }
- },
- "/saved_views/{saved_view_id}": {
+ },
"delete": {
- "tags": ["saved_views"],
- "operationId": "delete_view_handler",
+ "tags": ["reminders"],
+ "summary": "Delete one of the caller's reminders.",
+ "operationId": "delete_reminder",
"parameters": [
{
- "name": "saved_view_id",
+ "name": "id",
"in": "path",
- "description": "The id of the saved view to delete",
+ "description": "The reminder id.",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "format": "uuid"
}
}
],
"responses": {
- "200": {
- "description": ""
+ "204": {
+ "description": "Reminder deleted"
},
"401": {
+ "description": "Missing or invalid credentials",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
"description": "",
"content": {
"application/json": {
@@ -12518,16 +12885,18 @@
}
},
"patch": {
- "tags": ["saved_views"],
- "operationId": "patch_view_handler",
+ "tags": ["reminders"],
+ "summary": "Modify one of the caller's reminders.",
+ "operationId": "update_reminder",
"parameters": [
{
- "name": "saved_view_id",
+ "name": "id",
"in": "path",
- "description": "The id of the saved view to patch",
+ "description": "The reminder id.",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "format": "uuid"
}
}
],
@@ -12535,7 +12904,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ViewPatch"
+ "$ref": "#/components/schemas/UpdateReminderRequest"
}
}
},
@@ -12543,19 +12912,16 @@
},
"responses": {
"200": {
- "description": ""
- },
- "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ErrorResponse"
+ "$ref": "#/components/schemas/Reminder"
}
}
}
},
- "500": {
+ "400": {
"description": "",
"content": {
"application/json": {
@@ -12564,94 +12930,36 @@
}
}
}
- }
- }
- }
- },
- "/sync_service/wakeup": {
- "post": {
- "tags": ["sync_service"],
- "operationId": "bulk_wakeup_sync_service_documents",
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BulkWakeupRequest"
- }
- }
- },
- "required": true
- },
- "responses": {
- "202": {
- "description": "Wakeups accepted for fire-and-forget dispatch",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/BulkWakeupResponse"
- }
- }
- }
},
"401": {
- "description": "Authentication required (JSON error response)"
- }
- }
- }
- },
- "/threads/{thread_id}": {
- "patch": {
- "tags": ["threads"],
- "summary": "Edits the share permissions of a thread.",
- "operationId": "edit_thread_v2",
- "parameters": [
- {
- "name": "thread_id",
- "in": "path",
- "description": "thread ID",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/PatchThreadRequestV2"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "description": "",
+ "description": "Missing or invalid credentials",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
+ "404": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
+ "422": {
+ "description": "Malformed request body (plain text)"
+ },
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12659,18 +12967,17 @@
}
}
},
- "/user-api-keys": {
+ "/saved_views": {
"get": {
- "tags": ["user-api-keys"],
- "summary": "List the caller's API keys.",
- "operationId": "list_user_api_keys",
+ "tags": ["saved_views"],
+ "operationId": "get_views_handler",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserApiKeysList"
+ "$ref": "#/components/schemas/ViewsResponse"
}
}
}
@@ -12698,31 +13005,40 @@
}
},
"post": {
- "tags": ["user-api-keys"],
- "summary": "Mint a new API key for the caller.",
- "operationId": "create_user_api_key",
+ "tags": ["saved_views"],
+ "operationId": "create_view_handler",
"requestBody": {
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateUserApiKeyRequest"
+ "$ref": "#/components/schemas/CreateViewRequest"
}
}
},
"required": true
},
"responses": {
- "201": {
+ "200": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreatedUserApiKey"
+ "$ref": "#/components/schemas/View"
}
}
}
},
- "400": {
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -12731,6 +13047,27 @@
}
}
}
+ }
+ }
+ }
+ },
+ "/saved_views/exclude_default": {
+ "post": {
+ "tags": ["saved_views"],
+ "operationId": "exclude_default_view_handler",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ExcludeDefaultViewRequest"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "description": ""
},
"401": {
"description": "",
@@ -12755,25 +13092,24 @@
}
}
},
- "/user-api-keys/{id}": {
+ "/saved_views/{saved_view_id}": {
"delete": {
- "tags": ["user-api-keys"],
- "summary": "Delete one of the caller's API keys.",
- "operationId": "delete_user_api_key",
+ "tags": ["saved_views"],
+ "operationId": "delete_view_handler",
"parameters": [
{
- "name": "id",
+ "name": "saved_view_id",
"in": "path",
- "description": "Opaque key identifier.",
+ "description": "The id of the saved view to delete",
"required": true,
"schema": {
- "$ref": "#/components/schemas/UserApiKeyId"
+ "type": "string"
}
}
],
"responses": {
- "204": {
- "description": "API key deleted"
+ "200": {
+ "description": ""
},
"401": {
"description": "",
@@ -12785,16 +13121,6 @@
}
}
},
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ErrorResponse"
- }
- }
- }
- },
"500": {
"description": "",
"content": {
@@ -12806,79 +13132,99 @@
}
}
}
- }
- },
- "/user_document_view_location/{document_id}": {
- "get": {
- "tags": [
- "user_document_view_location::get_user_document_view_location"
- ],
- "summary": "Gets a UserPdfDocumentLocation entry",
- "operationId": "get_user_document_view_location",
+ },
+ "patch": {
+ "tags": ["saved_views"],
+ "operationId": "patch_view_handler",
"parameters": [
{
- "name": "document_id",
+ "name": "saved_view_id",
"in": "path",
- "description": "Document ID",
+ "description": "The id of the saved view to patch",
"required": true,
"schema": {
"type": "string"
}
}
],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ViewPatch"
+ }
+ }
+ },
+ "required": true
+ },
"responses": {
"200": {
+ "description": ""
+ },
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UserDocumentViewLocationResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
- "401": {
+ "500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
- },
- "404": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
- }
+ }
+ }
+ }
+ },
+ "/sync_service/wakeup": {
+ "post": {
+ "tags": ["sync_service"],
+ "operationId": "bulk_wakeup_sync_service_documents",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BulkWakeupRequest"
}
}
},
- "500": {
- "description": "",
+ "required": true
+ },
+ "responses": {
+ "202": {
+ "description": "Wakeups accepted for fire-and-forget dispatch",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/BulkWakeupResponse"
}
}
}
+ },
+ "401": {
+ "description": "Authentication required (JSON error response)"
}
}
- },
- "post": {
- "tags": [
- "user_document_view_location::upsert_user_document_view_location"
- ],
- "operationId": "upsert_user_document_view_location",
+ }
+ },
+ "/threads/{thread_id}": {
+ "patch": {
+ "tags": ["threads"],
+ "summary": "Edits the share permissions of a thread.",
+ "operationId": "edit_thread_v2",
"parameters": [
{
- "name": "document_id",
+ "name": "thread_id",
"in": "path",
- "description": "Document ID",
+ "description": "thread ID",
"required": true,
"schema": {
"type": "string"
@@ -12889,7 +13235,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/UpsertUserDocumentViewLocationRequest"
+ "$ref": "#/components/schemas/PatchThreadRequestV2"
}
}
},
@@ -12901,12 +13247,12 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmptyResponse"
+ "$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
- "400": {
+ "401": {
"description": "",
"content": {
"application/json": {
@@ -12916,7 +13262,7 @@
}
}
},
- "401": {
+ "500": {
"description": "",
"content": {
"application/json": {
@@ -12925,43 +13271,142 @@
}
}
}
+ }
+ }
+ }
+ },
+ "/user-api-keys": {
+ "get": {
+ "tags": ["user-api-keys"],
+ "summary": "List the caller's API keys.",
+ "operationId": "list_user_api_keys",
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserApiKeysList"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
},
"500": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
+ "post": {
+ "tags": ["user-api-keys"],
+ "summary": "Mint a new API key for the caller.",
+ "operationId": "create_user_api_key",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateUserApiKeyRequest"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "201": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreatedUserApiKey"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/user-api-keys/{id}": {
"delete": {
- "tags": [
- "user_document_view_location::delete_user_document_view_location"
- ],
- "summary": "Deletes a document location for the user",
- "operationId": "delete_user_document_view_location",
+ "tags": ["user-api-keys"],
+ "summary": "Delete one of the caller's API keys.",
+ "operationId": "delete_user_api_key",
"parameters": [
{
- "name": "document_id",
+ "name": "id",
"in": "path",
- "description": "Document ID",
+ "description": "Opaque key identifier.",
"required": true,
"schema": {
- "type": "string"
+ "$ref": "#/components/schemas/UserApiKeyId"
}
}
],
"responses": {
- "200": {
+ "204": {
+ "description": "API key deleted"
+ },
+ "401": {
"description": "",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/EmptyResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12971,7 +13416,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GenericErrorResponse"
+ "$ref": "#/components/schemas/ErrorResponse"
}
}
}
@@ -12979,11 +13424,13 @@
}
}
},
- "/v2/documents/{document_id}/permissions": {
+ "/user_document_view_location/{document_id}": {
"get": {
- "tags": ["document"],
- "summary": "Gets the current documents share permissions",
- "operationId": "get_document_permissions_v2",
+ "tags": [
+ "user_document_view_location::get_user_document_view_location"
+ ],
+ "summary": "Gets a UserPdfDocumentLocation entry",
+ "operationId": "get_user_document_view_location",
"parameters": [
{
"name": "document_id",
@@ -13001,7 +13448,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GetDocumentPermissionsResponseDataV2"
+ "$ref": "#/components/schemas/UserDocumentViewLocationResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericResponse"
}
}
}
@@ -13027,18 +13484,17 @@
}
}
}
- }
- },
- "/v2/projects/{id}": {
- "patch": {
- "tags": ["project"],
- "summary": "Edit project metadata and sharing settings.",
- "operationId": "edit_project_v2",
+ },
+ "post": {
+ "tags": [
+ "user_document_view_location::upsert_user_document_view_location"
+ ],
+ "operationId": "upsert_user_document_view_location",
"parameters": [
{
- "name": "id",
+ "name": "document_id",
"in": "path",
- "description": "ID of the project",
+ "description": "Document ID",
"required": true,
"schema": {
"type": "string"
@@ -13049,7 +13505,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PatchProjectRequestV2"
+ "$ref": "#/components/schemas/UpsertUserDocumentViewLocationRequest"
}
}
},
@@ -13061,7 +13517,17 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/SuccessResponse"
+ "$ref": "#/components/schemas/EmptyResponse"
+ }
+ }
+ }
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
}
}
}
@@ -13087,26 +13553,176 @@
}
}
}
- }
- },
- "/webhook/events/stream": {
- "get": {
- "tags": ["webhook"],
- "summary": "Stream matching broker events to the caller over Server-Sent Events.",
- "operationId": "stream_events",
+ },
+ "delete": {
+ "tags": [
+ "user_document_view_location::delete_user_document_view_location"
+ ],
+ "summary": "Deletes a document location for the user",
+ "operationId": "delete_user_document_view_location",
"parameters": [
{
- "name": "scope",
- "in": "query",
- "description": "Personal or team workspace whose webhook lifecycle events are delivered.",
+ "name": "document_id",
+ "in": "path",
+ "description": "Document ID",
"required": true,
"schema": {
- "$ref": "#/components/schemas/WebhookScope"
+ "type": "string"
}
- },
- {
- "name": "filters",
- "in": "query",
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/EmptyResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v2/documents/{document_id}/permissions": {
+ "get": {
+ "tags": ["document"],
+ "summary": "Gets the current documents share permissions",
+ "operationId": "get_document_permissions_v2",
+ "parameters": [
+ {
+ "name": "document_id",
+ "in": "path",
+ "description": "Document ID",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetDocumentPermissionsResponseDataV2"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/v2/projects/{id}": {
+ "patch": {
+ "tags": ["project"],
+ "summary": "Edit project metadata and sharing settings.",
+ "operationId": "edit_project_v2",
+ "parameters": [
+ {
+ "name": "id",
+ "in": "path",
+ "description": "ID of the project",
+ "required": true,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PatchProjectRequestV2"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SuccessResponse"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ },
+ "500": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenericErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/webhook/events/stream": {
+ "get": {
+ "tags": ["webhook"],
+ "summary": "Stream matching broker events to the caller over Server-Sent Events.",
+ "operationId": "stream_events",
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "query",
+ "description": "Personal or team workspace whose webhook lifecycle events are delivered.",
+ "required": true,
+ "schema": {
+ "$ref": "#/components/schemas/WebhookScope"
+ }
+ },
+ {
+ "name": "filters",
+ "in": "query",
"description": "URL-encoded JSON array of webhook filters, identical to the persisted\nwebhook `filters` field.",
"required": false,
"schema": {
@@ -15310,6 +15926,73 @@
}
}
},
+ "AttachmentChange": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Keep current attachments.",
+ "required": ["type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["preserve"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Replace all attachments.",
+ "required": ["value", "type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["replace"]
+ },
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "Replace all attachments."
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Remove stored attachment identities and append new references.",
+ "required": ["value", "type"],
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": ["delta"]
+ },
+ "value": {
+ "type": "object",
+ "description": "Remove stored attachment identities and append new references.",
+ "required": ["remove", "add"],
+ "properties": {
+ "add": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "New attachments to append."
+ },
+ "remove": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Existing attachment UUIDs to remove."
+ }
+ }
+ }
+ }
+ }
+ ],
+ "description": "Attachment changes interpreted by the common command boundary."
+ },
"AttendeeResponseStatus": {
"type": "string",
"description": "RSVP state for an attendee.",
@@ -15606,6 +16289,21 @@
],
"description": "Bot owner."
},
+ "BotSenderProfile": {
+ "type": "object",
+ "description": "Public bot profile attached to bot-authored messages.",
+ "required": ["name"],
+ "properties": {
+ "avatar_url": {
+ "type": ["string", "null"],
+ "description": "Bot avatar URL."
+ },
+ "name": {
+ "type": "string",
+ "description": "Bot display name."
+ }
+ }
+ },
"BotToken": {
"type": "object",
"description": "Bot token metadata.",
@@ -17889,6 +18587,24 @@
}
}
},
+ "CountedReaction": {
+ "type": "object",
+ "description": "Reaction emoji and the users who added it.",
+ "required": ["emoji", "users"],
+ "properties": {
+ "emoji": {
+ "type": "string",
+ "description": "Emoji being reacted with."
+ },
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "User identifiers."
+ }
+ }
+ },
"CreateAgentRequest": {
"type": "object",
"description": "Request to create a persisted AI agent.",
@@ -19941,6 +20657,10 @@
}
}
},
+ "DocumentId": {
+ "type": "string",
+ "description": "A validated document identifier. Historical document ids need not be UUIDs."
+ },
"DocumentInteractionMetadata": {
"type": "object",
"description": "Metadata for [`DocumentTopicEvent::Interaction`].",
@@ -23290,6 +24010,17 @@
"type": "integer",
"enum": [1, 2, 3]
},
+ "ImportedAuthor": {
+ "type": "object",
+ "description": "Display attribution for a comment imported from an external document.",
+ "required": ["name"],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Original author text; never interpreted as an authenticated principal."
+ }
+ }
+ },
"InFlightTurnSummary": {
"type": "object",
"description": "A turn the runtime never answered: the session stopped underneath it.",
@@ -23660,11 +24391,581 @@
"mentionId": {
"type": "string"
},
- "users": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "users": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Message": {
+ "type": "object",
+ "description": "Shared message representation for channel timelines and entity discussions.",
+ "required": [
+ "id",
+ "parent",
+ "sender_id",
+ "mentions",
+ "content",
+ "created_at",
+ "updated_at",
+ "attachments",
+ "reactions"
+ ],
+ "properties": {
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageAttachment"
+ },
+ "description": "Attached entities."
+ },
+ "bot_profile": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/BotSenderProfile",
+ "description": "Public bot name and avatar for rendering shared message authors."
+ }
+ ]
+ },
+ "content": {
+ "type": "string",
+ "description": "Macro Markdown body."
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time."
+ },
+ "deleted_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Message tombstone, independent of thread deletion."
+ },
+ "edited_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Last content edit, if any."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Message UUID."
+ },
+ "imported_author": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/ImportedAuthor",
+ "description": "Original external author, when imported."
+ }
+ ]
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Tracked mentions, retained when a caller changes attachments only."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Entity that owns this conversation."
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/CountedReaction"
+ },
+ "description": "Aggregated reactions."
+ },
+ "sender_id": {
+ "type": "string",
+ "description": "Authenticated actor or owner of imported content."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root message UUID for replies; absent on roots."
+ },
+ "triggered_by": {
+ "type": ["string", "null"],
+ "description": "User who triggered a bot-authored message."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last persisted update."
+ }
+ }
+ },
+ "MessageAttachment": {
+ "type": "object",
+ "description": "An entity attached to a message.",
+ "required": ["id", "entity_type", "entity_id", "created_at"],
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "When the attachment was added."
+ },
+ "entity_id": {
+ "type": "string",
+ "description": "Attached entity identifier."
+ },
+ "entity_type": {
+ "type": "string",
+ "description": "Attached entity type."
+ },
+ "height": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media height."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Attachment UUID."
+ },
+ "width": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media width."
+ }
+ }
+ },
+ "MessageChange": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "A message was posted.",
+ "required": ["notification_policy", "message", "mentions", "type"],
+ "properties": {
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Mentions included in this post."
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted message."
+ },
+ "notification_policy": {
+ "$ref": "#/components/schemas/PostMessageNotificationPolicy",
+ "description": "Trusted notification policy carried with the committed change."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["posted"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Message content and references were edited.",
+ "required": [
+ "notification_policy",
+ "message",
+ "mentions",
+ "previous_attachments",
+ "type"
+ ],
+ "properties": {
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Complete replacement mention set."
+ },
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted replacement message."
+ },
+ "notification_policy": {
+ "$ref": "#/components/schemas/PatchMessageNotificationPolicy",
+ "description": "Trusted notification policy for the edited content."
+ },
+ "previous_attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageAttachment"
+ },
+ "description": "Attachment identities before the edit, for channel change delivery."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["edited"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "One message was tombstoned; its thread may remain live.",
+ "required": ["message", "type"],
+ "properties": {
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted tombstone."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["message_deleted"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "The authenticated actor added or removed a reaction.",
+ "required": ["message", "type"],
+ "properties": {
+ "message": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Persisted message."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["reaction_changed"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Thread resolution, placement, or deletion changed.",
+ "required": ["state", "type"],
+ "properties": {
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Persisted thread state."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["thread_updated"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Transient typing indication.",
+ "required": ["active", "type"],
+ "properties": {
+ "active": {
+ "type": "boolean",
+ "description": "Whether the user is currently typing."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root being replied to, or no root for the parent composer."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["typing"]
+ }
+ }
+ }
+ ],
+ "description": "Kind of message change; notification policy only runs for posted messages."
+ },
+ "MessageCursor": {
+ "type": "object",
+ "description": "Cursor for a chronological parent timeline.",
+ "required": ["created_at", "id"],
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last root creation time."
+ },
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Last root UUID, used to break timestamp ties."
+ }
+ }
+ },
+ "MessageDirection": {
+ "type": "string",
+ "description": "Direction through a parent timeline, retaining channel cursor semantics.",
+ "enum": ["older", "newer"]
+ },
+ "MessageEvent": {
+ "type": "object",
+ "description": "A committed message or thread change sent to delivery adapters.",
+ "required": ["parent", "actor", "change"],
+ "properties": {
+ "actor": {
+ "type": "string",
+ "description": "User or bot who initiated the operation."
+ },
+ "change": {
+ "$ref": "#/components/schemas/MessageChange",
+ "description": "Persisted change."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Mutation nonce for optimistic reconciliation."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Changed parent, used for subscriptions and cache invalidation."
+ }
+ }
+ },
+ "MessageListItem": {
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/Message",
+ "description": "The same canonical message returned by item reads and writes."
+ },
+ {
+ "type": "object",
+ "required": ["state", "thread"],
+ "properties": {
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Thread metadata, independent of the first message's lifecycle."
+ },
+ "thread": {
+ "$ref": "#/components/schemas/MessageThreadPreview",
+ "description": "Bounded reply preview; full replies load on expansion."
+ }
+ }
+ }
+ ],
+ "description": "Root message with its small thread preview, independent of its parent type."
+ },
+ "MessagePage": {
+ "type": "object",
+ "description": "Bidirectional, bounded timeline page, ordered newest root first.",
+ "required": ["items"],
+ "properties": {
+ "items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MessageListItem"
+ },
+ "description": "Root messages with bounded previews."
+ },
+ "next_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Continue to older roots."
+ }
+ ]
+ },
+ "previous_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Continue to newer roots."
+ }
+ ]
+ }
+ }
+ },
+ "MessageParent": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "A channel, including direct messages.",
+ "required": ["id", "type"],
+ "properties": {
+ "id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "A channel, including direct messages."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["channel"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "A document, including tasks and PDFs.",
+ "required": ["id", "type"],
+ "properties": {
+ "id": {
+ "$ref": "#/components/schemas/DocumentId",
+ "description": "A document, including tasks and PDFs."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["document"]
+ }
+ }
+ }
+ ],
+ "description": "The entity whose permissions and lifecycle govern a message."
+ },
+ "MessagePatch": {
+ "type": "object",
+ "description": "Partial updates share the same authorship, reference, and delivery rules as edits.",
+ "properties": {
+ "attachments": {
+ "$ref": "#/components/schemas/AttachmentChange",
+ "description": "Attachment change, without adapter-side message reads."
+ },
+ "content": {
+ "type": ["string", "null"],
+ "description": "Replacement body; absent preserves current content."
+ },
+ "mentions": {
+ "type": ["array", "null"],
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Replacement authored mentions; absent preserves current mentions."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client mutation nonce."
+ }
+ }
+ },
+ "MessageThread": {
+ "type": "object",
+ "description": "A discussion with its root and ordered replies, including root tombstones.",
+ "required": ["state", "root", "replies"],
+ "properties": {
+ "replies": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "description": "Replies in display order."
+ },
+ "root": {
+ "$ref": "#/components/schemas/Message",
+ "description": "Root message, which may be a tombstone."
+ },
+ "state": {
+ "$ref": "#/components/schemas/ThreadState",
+ "description": "Shared thread lifecycle and anchor state."
+ }
+ }
+ },
+ "MessageThreadPreview": {
+ "type": "object",
+ "description": "Thread counts and its oldest three live replies.",
+ "required": ["reply_count", "preview"],
+ "properties": {
+ "latest_reply_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Creation time of the latest live reply."
+ },
+ "preview": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Message"
+ },
+ "description": "Bounded preview using the canonical message shape."
+ },
+ "reply_count": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total live reply count."
+ }
+ }
+ },
+ "MessageTimelineQuery": {
+ "type": "object",
+ "description": "Root selection shared by channel timelines and document discussions.",
+ "properties": {
+ "activity_after": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Include roots or live replies created at or after this time."
+ },
+ "activity_before": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Include roots or live replies created before this time."
+ },
+ "anchored": {
+ "type": ["boolean", "null"],
+ "description": "Select anchored or unanchored roots; absent includes both."
+ },
+ "around": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Center on the root containing this message."
+ },
+ "cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Stable creation-time and UUID cursor."
+ }
+ ]
+ },
+ "direction": {
+ "$ref": "#/components/schemas/MessageDirection",
+ "description": "Which side of the cursor to fetch."
+ },
+ "ids": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "description": "Restrict roots to this set, for selected source threads."
+ },
+ "include_deleted_threads": {
+ "type": "boolean",
+ "description": "Include whole-thread tombstones when reconciling persisted document marks."
+ },
+ "limit": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Page size, clamped by the application to 1..=100.",
+ "minimum": 0
+ }
+ }
+ },
+ "NewAttachment": {
+ "type": "object",
+ "description": "An attachment to add to a message.",
+ "required": ["entity_type", "entity_id"],
+ "properties": {
+ "entity_id": {
+ "type": "string",
+ "description": "Attached entity identifier."
+ },
+ "entity_type": {
+ "type": "string",
+ "description": "Attached entity type."
+ },
+ "height": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media height."
+ },
+ "width": {
+ "type": ["integer", "null"],
+ "format": "int32",
+ "description": "Optional media width."
}
}
},
@@ -23693,6 +24994,92 @@
}
}
},
+ "NewThreadAnchor": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Attach a discussion to a stable Markdown mark.",
+ "required": ["mark_id", "type"],
+ "properties": {
+ "mark_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Serialized mark identifier."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["markdown"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Attach an independently existing highlight on this document.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Highlight annotation identifier."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_highlight"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "Atomically create a placeable annotation with the root message.",
+ "required": [
+ "anchor_id",
+ "page",
+ "x_pct",
+ "y_pct",
+ "width_pct",
+ "height_pct",
+ "type"
+ ],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Client-generated annotation identifier used by optimistic rendering."
+ },
+ "height_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Height as a fraction of the page height."
+ },
+ "page": {
+ "type": "integer",
+ "format": "int32",
+ "description": "PDF page number."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_placeable"]
+ },
+ "width_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Width as a fraction of the page width."
+ },
+ "x_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Horizontal position as a fraction of the page width."
+ },
+ "y_pct": {
+ "type": "number",
+ "format": "double",
+ "description": "Vertical position as a fraction of the page height."
+ }
+ }
+ }
+ ],
+ "description": "Location supplied when creating a document discussion."
+ },
"NotificationFilters": {
"type": "object",
"description": "Notification-level filters that apply to an entity type.",
@@ -23839,6 +25226,11 @@
}
}
},
+ "PatchMessageNotificationPolicy": {
+ "type": "string",
+ "description": "Internal notification behavior for a patched channel message.",
+ "enum": ["Default", "NotifyAsPostedMessage"]
+ },
"PatchMessageRequest": {
"type": "object",
"description": "Request to patch a channel message.",
@@ -24159,6 +25551,10 @@
"type": "integer",
"format": "int32"
},
+ "rootId": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ },
"text": {
"type": "string"
},
@@ -24291,7 +25687,6 @@
"uuid",
"documentId",
"owner",
- "threadId",
"page",
"originalPage",
"originalIndex",
@@ -24328,6 +25723,10 @@
"type": "integer",
"format": "int32"
},
+ "rootId": {
+ "type": ["string", "null"],
+ "format": "uuid"
+ },
"rotation": {
"type": "number",
"format": "double"
@@ -24336,7 +25735,7 @@
"type": "boolean"
},
"threadId": {
- "type": "integer",
+ "type": ["integer", "null"],
"format": "int64"
},
"uuid": {
@@ -24551,6 +25950,56 @@
],
"description": "Request body for grouped soup queries with AST filters."
},
+ "PostMessage": {
+ "type": "object",
+ "description": "Create a root or reply. Thread state may only be supplied on a root.",
+ "required": ["content"],
+ "properties": {
+ "anchor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/NewThreadAnchor",
+ "description": "Optional document location for a new discussion."
+ }
+ ]
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/NewAttachment"
+ },
+ "description": "Initial attachments."
+ },
+ "content": {
+ "type": "string",
+ "description": "Macro Markdown body."
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/SimpleMention"
+ },
+ "description": "Mentions tracked by the editor."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce for optimistic reconciliation."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root to reply to, if this is a reply."
+ }
+ }
+ },
+ "PostMessageNotificationPolicy": {
+ "type": "string",
+ "description": "Internal notification behavior for a posted channel message.",
+ "enum": ["Default", "MentionsOnly", "Silent"]
+ },
"PostMessageRequest": {
"type": "object",
"description": "Request to send a channel message.",
@@ -25199,6 +26648,25 @@
"description": "Reaction mutation action.",
"enum": ["Add", "Remove"]
},
+ "ReactionInput": {
+ "type": "object",
+ "description": "Reaction mutation for the authenticated user.",
+ "required": ["emoji", "add"],
+ "properties": {
+ "add": {
+ "type": "boolean",
+ "description": "Add when true, remove when false."
+ },
+ "emoji": {
+ "type": "string",
+ "description": "Emoji."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce."
+ }
+ }
+ },
"RecentlyDeletedResponseData": {
"type": "object",
"required": ["items"],
@@ -25212,6 +26680,55 @@
}
}
},
+ "ReferencedThread": {
+ "type": "object",
+ "description": "A source channel thread that mentions the requested document.",
+ "required": ["parent", "root_id", "can_reply"],
+ "properties": {
+ "can_reply": {
+ "type": "boolean",
+ "description": "Whether this viewer currently has permission to reply in the source channel."
+ },
+ "channel_name": {
+ "type": ["string", "null"],
+ "description": "Source channel's current display name, returned only after access checks."
+ },
+ "parent": {
+ "$ref": "#/components/schemas/MessageParent",
+ "description": "Source parent used by the common message reader and mutations."
+ },
+ "root_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Source root identity; discovery does not copy its message content."
+ }
+ }
+ },
+ "ReferencedThreadPage": {
+ "type": "object",
+ "description": "Authorized source threads, deduplicated by root.",
+ "required": ["threads"],
+ "properties": {
+ "next_cursor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/MessageCursor",
+ "description": "Last visible root; no private thread identifiers are exposed through cursors."
+ }
+ ]
+ },
+ "threads": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ReferencedThread"
+ },
+ "description": "Accessible channel discussions mentioning the document."
+ }
+ }
+ },
"Reminder": {
"type": "object",
"description": "A reminder belonging to a user.\n\n`user_id` is deliberately absent: a reminder is only ever read by its owner,\nso the field would be redundant on the wire.",
@@ -26027,12 +27544,12 @@
},
"SimpleMention": {
"type": "object",
- "description": "Simple entity mention attached to a message.",
+ "description": "A mention tracked in a message body.",
"required": ["entity_type", "entity_id"],
"properties": {
"entity_id": {
"type": "string",
- "description": "Mentioned entity id."
+ "description": "Mentioned entity identifier."
},
"entity_type": {
"type": "string",
@@ -28017,6 +29534,59 @@
}
}
},
+ "ThreadAnchor": {
+ "oneOf": [
+ {
+ "type": "object",
+ "description": "Stable Lexical mark identity, independent of transient node keys.",
+ "required": ["mark_id", "type"],
+ "properties": {
+ "mark_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Mark UUID serialized in the document."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["markdown"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "An independently existing PDF highlight.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Highlight annotation UUID."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_highlight"]
+ }
+ }
+ },
+ {
+ "type": "object",
+ "description": "A comment-only placeable PDF annotation.",
+ "required": ["anchor_id", "type"],
+ "properties": {
+ "anchor_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Placeable annotation UUID."
+ },
+ "type": {
+ "type": "string",
+ "enum": ["pdf_placeable"]
+ }
+ }
+ }
+ ],
+ "description": "A thread's location within its document. Geometry remains annotation-owned."
+ },
"ThreadOrigin": {
"type": "object",
"description": "The channel thread a session was opened from, when it was.",
@@ -28039,6 +29609,24 @@
}
}
},
+ "ThreadPatch": {
+ "type": "object",
+ "description": "Partial changes to the lifecycle and placement of a document discussion.",
+ "properties": {
+ "detach_anchor": {
+ "type": "boolean",
+ "description": "Move a Markdown discussion to the document when its marked text is removed."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client nonce for the shared thread update event."
+ },
+ "resolved": {
+ "type": ["boolean", "null"],
+ "description": "Resolve or reopen the discussion; absent preserves its state."
+ }
+ }
+ },
"ThreadResponse": {
"type": "object",
"required": ["data"],
@@ -28051,6 +29639,58 @@
}
}
},
+ "ThreadState": {
+ "type": "object",
+ "description": "State belonging to a whole thread, keyed by its root message.",
+ "required": [
+ "root_id",
+ "user_id",
+ "resolved",
+ "created_at",
+ "updated_at"
+ ],
+ "properties": {
+ "anchor": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "$ref": "#/components/schemas/ThreadAnchor",
+ "description": "No anchor means a discussion on the entire parent. Deleted Markdown\nthreads retain their mark identity so closed documents can reconcile it."
+ }
+ ]
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Creation time of the discussion."
+ },
+ "deleted_at": {
+ "type": ["string", "null"],
+ "format": "date-time",
+ "description": "Explicit deletion of the entire thread, distinct from root deletion."
+ },
+ "resolved": {
+ "type": "boolean",
+ "description": "Whether this discussion has been resolved."
+ },
+ "root_id": {
+ "type": "string",
+ "format": "uuid",
+ "description": "Root message UUID; there is no separate thread identity."
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Last state change."
+ },
+ "user_id": {
+ "type": "string",
+ "description": "User who owns this discussion, including imported discussions."
+ }
+ }
+ },
"TranscriptSegmentRequest": {
"type": "object",
"description": "A transcript segment from LiveKit Inference STT.",
@@ -28304,6 +29944,26 @@
"description": "Typing indicator action.",
"enum": ["start", "stop"]
},
+ "TypingInput": {
+ "type": "object",
+ "description": "Transient typing update.",
+ "required": ["active"],
+ "properties": {
+ "active": {
+ "type": "boolean",
+ "description": "Whether the caller is typing."
+ },
+ "nonce": {
+ "type": ["string", "null"],
+ "description": "Client mutation nonce."
+ },
+ "thread_id": {
+ "type": ["string", "null"],
+ "format": "uuid",
+ "description": "Root being replied to, absent for the parent composer."
+ }
+ }
+ },
"UnthreadedPdfUuidRequest": {
"oneOf": [
{
diff --git a/packages/sdk/src/coverage/skipped.ts b/packages/sdk/src/coverage/skipped.ts
index f7499fe2f2..3d61791dec 100644
--- a/packages/sdk/src/coverage/skipped.ts
+++ b/packages/sdk/src/coverage/skipped.ts
@@ -350,6 +350,17 @@ export const storageBacklog = [
'editAnchor',
'editCallTranscript',
'editThreadV2',
+ 'entityMessageCreate',
+ 'entityMessageDeleteMessage',
+ 'entityMessageDeleteThread',
+ 'entityMessageEdit',
+ 'entityMessageGetMessage',
+ 'entityMessageGetThread',
+ 'entityMessageLegacy',
+ 'entityMessagePatchThread',
+ 'entityMessageReact',
+ 'entityMessageReferences',
+ 'entityMessageTyping',
'getActivity',
'getDocumentAnchors',
'getDocumentByTeamSlug',
@@ -372,6 +383,7 @@ export const storageBacklog = [
'listReminders',
'listTeamOutOfOffice',
'listUserApiKeys',
+ 'messageTimeline',
'postActivity',
'presaveDocumentHandler',
'saveDocumentHandler',
diff --git a/services/authentication_service/Cargo.toml b/services/authentication_service/Cargo.toml
index dfa48ac616..f8872b9d00 100644
--- a/services/authentication_service/Cargo.toml
+++ b/services/authentication_service/Cargo.toml
@@ -105,6 +105,7 @@ macro_db_client = { path = "../../crates/macro_db_client", default-features = fa
macro_entrypoint = { path = "../../crates/macro_entrypoint" }
macro_env = { path = "../../crates/macro_env" }
macro_event_broker = { path = "../../crates/macro_event_broker" }
+messages = { path = "../../crates/messages", features = ["broker", "delivery"] }
macro_env_var = { path = "../../crates/macro_env_var" }
macro_queues = { path = "../../crates/macro_queues" }
macro_middleware = { path = "../../crates/macro_middleware", default-features = false, features = [
diff --git a/services/authentication_service/src/api/context.rs b/services/authentication_service/src/api/context.rs
index 39a4c2f9e8..3fafa4c018 100644
--- a/services/authentication_service/src/api/context.rs
+++ b/services/authentication_service/src/api/context.rs
@@ -144,6 +144,7 @@ pub(crate) struct ApiContext {
Arc<UserRolesAndPermissionsServiceImpl<MacroDB, MacroDB>>, // Note: since FromRef doesn't support generics we have to specify the concrete types here
pub teams_service: Arc<TeamsServiceType>,
pub channel_service: Arc<ChannelServiceType>,
+ pub channel_messages: Arc<dyn messages::domain::api::MessageCommands>,
pub favorites_service: Arc<FavoritesServiceType>,
pub entity_access_service: Arc<EntityAccessServiceType>,
pub native_app_service: Arc<NativeAppServiceImpl<DefaultBundleFetcher>>,
diff --git a/services/authentication_service/src/api/webhooks/user/create_user_webhook.rs b/services/authentication_service/src/api/webhooks/user/create_user_webhook.rs
index 39ecff2f0b..b104dae883 100644
--- a/services/authentication_service/src/api/webhooks/user/create_user_webhook.rs
+++ b/services/authentication_service/src/api/webhooks/user/create_user_webhook.rs
@@ -22,7 +22,9 @@ use crate::{
rate_limit_config::RATE_LIMIT_CONFIG,
};
use authentication_service::service::user::create_user::create_user;
-use authentication_service::service::user::support_channel_welcome::post_support_channel_welcome;
+use authentication_service::service::user::support_channel_welcome::{
+ AuthorizedSupportChannelMessages, post_support_channel_welcome,
+};
use channels::domain::{
models::{ChannelType, CreateChannelRequest},
ports::ChannelService,
@@ -419,6 +421,8 @@ async fn create_user_webhook(ctx: &ApiContext, req: FusionAuthUserWebhook) -> an
tokio::spawn({
let document_storage_service_client = ctx.document_storage_service_client.clone();
let channel_service = ctx.channel_service.clone();
+ let channel_messages = ctx.channel_messages.clone();
+ let entity_access_service = ctx.entity_access_service.clone();
let favorites_service = ctx.favorites_service.clone();
let user_id = user_id.clone();
let email = email.clone();
@@ -474,7 +478,9 @@ async fn create_user_webhook(ctx: &ApiContext, req: FusionAuthUserWebhook) -> an
tracing::error!(error=?e, channel_id=%channel.id, %email, "failed to favorite Macro support channel");
}
- let _ = post_support_channel_welcome(channel_service.as_ref(), &channel.id, owner_id)
+ let welcome_gateway =
+ AuthorizedSupportChannelMessages::new(channel_messages, entity_access_service);
+ let _ = post_support_channel_welcome(&welcome_gateway, &channel.id, owner_id)
.await
.inspect_err(|e| {
tracing::error!(error=?e, channel_id=%channel.id, %email, "failed to post Macro support welcome message");
diff --git a/services/authentication_service/src/main.rs b/services/authentication_service/src/main.rs
index c7194d1545..e313c54472 100644
--- a/services/authentication_service/src/main.rs
+++ b/services/authentication_service/src/main.rs
@@ -390,7 +390,7 @@ async fn main() -> anyhow::Result<()> {
// indexing.
let channel_side_effects = ChannelSideEffectService::new(
PgChannelSideEffectContext::new(db.clone()),
- ConnectionGatewayChannelRealtimePublisher::new(connection_gateway_client),
+ ConnectionGatewayChannelRealtimePublisher::new(connection_gateway_client.clone()),
NotificationChannelSender::new(notification_ingress_service.clone()),
ContactsChannelDispatcher::new(contacts_ingress),
)
@@ -398,9 +398,39 @@ async fn main() -> anyhow::Result<()> {
let channel_event_dispatcher = SpawnedChannelEventDispatcher::new(channel_side_effects);
let channel_service = ChannelServiceImpl::with_dependencies(
PgChannelsRepo::new(db.clone()),
- channel_event_dispatcher,
+ channel_event_dispatcher.clone(),
PgChannelReferenceSharePermissions::new(db.clone(), entity_access_service_impl.clone()),
);
+ // The welcome message goes through the shared message service so it gets the
+ // same persistence and delivery as every other channel message.
+ let channel_messages: Arc<dyn messages::domain::api::MessageCommands> = Arc::new(
+ messages::domain::service::MessageService::new(
+ messages::outbound::pg_message_repo::PgMessageRepository::new(db.clone()),
+ messages::domain::effects::MessageEffects::new(
+ messages::outbound::broker::BrokerMessagePublisher::new(macro_event_broker.clone()),
+ messages::domain::ports::NoMessageEventPublisher,
+ channels::domain::message_delivery::ChannelMessageDelivery::new(
+ PgChannelsRepo::new(db.clone()),
+ channel_event_dispatcher,
+ PgChannelReferenceSharePermissions::new(
+ db.clone(),
+ entity_access_service_impl.clone(),
+ ),
+ messages::outbound::connection_gateway::ConnectionGatewayMessages(
+ connection_gateway_client,
+ ),
+ ),
+ ),
+ )
+ .with_group_recipients(channels::domain::group_mentions::ChannelGroupRecipients(
+ PgChannelsRepo::new(db.clone()),
+ ))
+ .with_references(
+ messages::outbound::entity_access_audience::EntityAccessMessageReferences(
+ (*entity_access_service_impl).clone(),
+ ),
+ ),
+ );
let teams_service_impl = TeamServiceImpl::new_with_analytics(
teams_repo_impl,
@@ -501,6 +531,7 @@ async fn main() -> anyhow::Result<()> {
user_roles_and_permissions_service: Arc::new(user_roles_and_permissions_service),
teams_service: Arc::new(teams_service_impl),
channel_service: Arc::new(channel_service),
+ channel_messages,
favorites_service: Arc::new(favorites_service),
entity_access_service: entity_access_service_impl,
referral_service: Arc::new(referral_service),
diff --git a/services/authentication_service/src/service/user/support_channel_welcome.rs b/services/authentication_service/src/service/user/support_channel_welcome.rs
index 7471688057..d69c1eeddb 100644
--- a/services/authentication_service/src/service/user/support_channel_welcome.rs
+++ b/services/authentication_service/src/service/user/support_channel_welcome.rs
@@ -1,11 +1,14 @@
use std::future::Future;
-use channels::domain::{
- models::{PostMessageNotificationPolicy, PostMessageRequest, Sender, SimpleMention},
- ports::ChannelService,
-};
+use channels::domain::models::Sender;
+use entity_access::domain::{models::EntityType, ports::EntityAccessService};
use macro_user_id::user_id::MacroUserIdStr;
use mention_utils::serialize::user_mention;
+use messages::domain::{
+ api::MessageCommands,
+ models::{MessageAttribution, PostMessage, PostMessageNotificationPolicy, SimpleMention},
+ service::MessageWrite,
+};
use rootcause::{Report, prelude::ResultExt};
use uuid::Uuid;
@@ -17,30 +20,54 @@ const JULIA_EMAIL: &str = "[email protected]";
const TEO_EMAIL: &str = "[email protected]";
/// The channel operation required to post a new user's welcome messages.
-pub trait SupportChannelMessageGateway: Send + Sync + 'static {
+pub trait SupportChannelMessageGateway: Send + Sync {
/// Post a welcome message.
fn post_message(
&self,
actor: Sender,
channel_id: Uuid,
- request: PostMessageRequest,
+ request: PostMessage,
) -> impl Future<Output = Result<(), Report>> + Send;
}
-impl<T> SupportChannelMessageGateway for T
-where
- T: ChannelService,
-{
+/// Posts through the shared message commands with the support sender's current
+/// channel membership.
+pub struct AuthorizedSupportChannelMessages<A> {
+ messages: std::sync::Arc<dyn MessageCommands>,
+ access: std::sync::Arc<A>,
+}
+
+impl<A> AuthorizedSupportChannelMessages<A> {
+ /// Compose the message writer with the access service that verifies membership.
+ pub fn new(messages: std::sync::Arc<dyn MessageCommands>, access: std::sync::Arc<A>) -> Self {
+ Self { messages, access }
+ }
+}
+
+impl<A: EntityAccessService> SupportChannelMessageGateway for AuthorizedSupportChannelMessages<A> {
async fn post_message(
&self,
actor: Sender,
channel_id: Uuid,
- request: PostMessageRequest,
+ request: PostMessage,
) -> Result<(), Report> {
- ChannelService::post_message(self, actor, channel_id, request)
+ let user = actor
+ .as_user()
+ .ok_or_else(|| rootcause::report!("support messages require a user sender"))?;
+ let access = self
+ .access
+ .generate_entity_access_receipt::<MessageWrite>(
+ user,
+ None,
+ &channel_id.to_string(),
+ EntityType::Channel,
+ )
+ .await
+ .context("support sender must be a channel member")?;
+ self.messages
+ .post(access, request)
.await
.context("failed to post Macro support welcome message")?;
-
Ok(())
}
}
@@ -84,14 +111,15 @@ If you have any feedback or find any bugs let us know here.",
.post_message(
Sender::new_from_user(julia),
channel_id,
- PostMessageRequest {
+ PostMessage {
+ attribution: MessageAttribution::Unprompted,
+ notification_policy: PostMessageNotificationPolicy::MentionsOnly,
content: welcome,
- mentions,
thread_id: None,
+ anchor: None,
+ mentions,
attachments: Vec::new(),
nonce: None,
- notification_policy: PostMessageNotificationPolicy::MentionsOnly,
- triggered_by: None,
},
)
.await?;
diff --git a/services/authentication_service/src/service/user/support_channel_welcome/test.rs b/services/authentication_service/src/service/user/support_channel_welcome/test.rs
index 126fee97c1..88ac6ce976 100644
--- a/services/authentication_service/src/service/user/support_channel_welcome/test.rs
+++ b/services/authentication_service/src/service/user/support_channel_welcome/test.rs
@@ -10,7 +10,7 @@ struct RecordingGateway {
struct PostedWelcomeMessage {
actor: Sender,
channel_id: Uuid,
- request: PostMessageRequest,
+ request: PostMessage,
}
impl SupportChannelMessageGateway for RecordingGateway {
@@ -18,7 +18,7 @@ impl SupportChannelMessageGateway for RecordingGateway {
&self,
actor: Sender,
channel_id: Uuid,
- request: PostMessageRequest,
+ request: PostMessage,
) -> Result<(), Report> {
self.posted.lock().unwrap().push(PostedWelcomeMessage {
actor,
@@ -82,7 +82,8 @@ async fn posts_the_welcome_message() {
welcome.request.notification_policy,
PostMessageNotificationPolicy::MentionsOnly
);
- assert_eq!(welcome.request.triggered_by, None);
+ assert_eq!(welcome.request.attribution, MessageAttribution::Unprompted);
+ assert!(welcome.request.anchor.is_none());
}
#[tokio::test]
diff --git a/services/document_storage_service/Cargo.toml b/services/document_storage_service/Cargo.toml
index eaf1b25da0..fba2959be1 100644
--- a/services/document_storage_service/Cargo.toml
+++ b/services/document_storage_service/Cargo.toml
@@ -58,6 +58,7 @@ bzip2 = { workspace = true, default-features = false, features = [
cal = { path = "../../crates/cal", features = ["axum", "outbound"] }
call = { path = "../../crates/call" }
channel_bots = { path = "../../crates/channel_bots" }
+messages = { path = "../../crates/messages", features = ["broker", "delivery", "inbound"] }
channels = { path = "../../crates/channels", features = [
"entity_mutation",
"inbound",
diff --git a/services/document_storage_service/src/api.rs b/services/document_storage_service/src/api.rs
index 0cb683bb7e..c1cc5b10cf 100644
--- a/services/document_storage_service/src/api.rs
+++ b/services/document_storage_service/src/api.rs
@@ -213,6 +213,10 @@ fn api_router(state: ApiContext) -> Router {
"/channels",
channels::inbound::axum_router::channels_router(state.channels_state.clone()),
)
+ .nest(
+ "/messages",
+ messages::inbound::axum_router::router(state.messages_state.clone()),
+ )
.merge(bots::inbound::axum_router::bots_router(
state.bots_state.clone(),
))
diff --git a/services/document_storage_service/src/api/annotations.rs b/services/document_storage_service/src/api/annotations.rs
index ce5cbd0688..e602d571b4 100644
--- a/services/document_storage_service/src/api/annotations.rs
+++ b/services/document_storage_service/src/api/annotations.rs
@@ -257,13 +257,14 @@ impl CommentNotifContext {
mention_id: &str,
) -> SendNotificationRequestBuilder<'static, MentionedInDocumentCommentMetadata> {
let notification = MentionedInDocumentCommentMetadata {
+ sender_display_name: None,
document_name: self.document_name.clone(),
owner: self.owner.clone(),
file_type: self.file_type.clone(),
sub_type: self.sub_type.clone(),
mention_id: mention_id.to_string(),
- comment_id: self.comment_id,
- thread_id: self.thread_id,
+ comment_id: self.comment_id.into(),
+ thread_id: self.thread_id.into(),
text: self.text.clone(),
sender_profile_picture_url: self.sender_profile_picture_url.clone(),
};
@@ -282,12 +283,13 @@ impl CommentNotifContext {
participant_ids: HashSet<MacroUserIdStr<'static>>,
) -> SendNotificationRequestBuilder<'static, RepliedToDocumentCommentThreadMetadata> {
let notification = RepliedToDocumentCommentThreadMetadata {
+ sender_display_name: None,
document_name: self.document_name.clone(),
owner: self.owner.clone(),
file_type: self.file_type.clone(),
sub_type: self.sub_type.clone(),
- comment_id: self.comment_id,
- thread_id: self.thread_id,
+ comment_id: self.comment_id.into(),
+ thread_id: self.thread_id.into(),
text: self.text.clone(),
sender_profile_picture_url: self.sender_profile_picture_url.clone(),
};
@@ -303,12 +305,13 @@ impl CommentNotifContext {
fn commented_on_document_metadata(&self) -> CommentedOnDocumentMetadata {
CommentedOnDocumentMetadata {
+ sender_display_name: None,
document_name: self.document_name.clone(),
owner: self.owner.clone(),
file_type: self.file_type.clone(),
sub_type: self.sub_type.clone(),
- comment_id: self.comment_id,
- thread_id: self.thread_id,
+ comment_id: self.comment_id.into(),
+ thread_id: self.thread_id.into(),
text: self.text.clone(),
sender_profile_picture_url: self.sender_profile_picture_url.clone(),
}
diff --git a/services/document_storage_service/src/api/annotations/test.rs b/services/document_storage_service/src/api/annotations/test.rs
index b59dad9b8e..07bcd918ee 100644
--- a/services/document_storage_service/src/api/annotations/test.rs
+++ b/services/document_storage_service/src/api/annotations/test.rs
@@ -3,13 +3,14 @@ use super::*;
#[test]
fn check_ser_meta() -> Result<(), Box<dyn std::error::Error>> {
let m = MentionedInDocumentCommentMetadata {
+ sender_display_name: None,
document_name: "test".to_string(),
owner: MacroUserIdStr::parse_from_str("macro|[email protected]").unwrap(),
file_type: None,
sub_type: None,
mention_id: "xxx".to_string(),
- thread_id: 42,
- comment_id: 99,
+ thread_id: 42.into(),
+ comment_id: 99.into(),
text: "yy".to_string(),
sender_profile_picture_url: None,
};
diff --git a/services/document_storage_service/src/api/context.rs b/services/document_storage_service/src/api/context.rs
index 892e9b2ba9..8fc59b01ef 100644
--- a/services/document_storage_service/src/api/context.rs
+++ b/services/document_storage_service/src/api/context.rs
@@ -393,12 +393,12 @@ pub(crate) type DssHarnessesState =
harnesses::inbound::axum_router::HarnessesRouterState<DssHarnessService, AuthorizationService>;
/// Type alias for the channel bot webhook router state.
-pub(crate) type DssChannelBotWebhookState = ChannelBotWebhookRouterState<
- DssBotService,
- Arc<DssChannelService>,
- EntityAccessService,
- AuthorizationService,
->;
+pub(crate) type DssChannelBotWebhookState =
+ ChannelBotWebhookRouterState<DssBotService, EntityAccessService, AuthorizationService>;
+
+/// Shared messages use the same parent access and authentication services as DSS.
+pub(crate) type DssMessagesState =
+ messages::inbound::axum_router::MessagesRouterState<EntityAccessService, AuthorizationService>;
/// Type alias for the call connection service.
pub(crate) type CallConnectionService =
@@ -583,6 +583,7 @@ pub(crate) struct ApiContext {
pub documents_state: DocumentsState,
pub projects_state: ProjectsState,
pub channels_state: DssChannelsState,
+ pub messages_state: DssMessagesState,
/// Shared channel service, for calling channel domain operations outside
/// the channels router (starter-doc seeding records mention backlinks).
pub channel_service: Arc<DssChannelService>,
diff --git a/services/document_storage_service/src/api/swagger.rs b/services/document_storage_service/src/api/swagger.rs
index 96fcda499b..9522795a12 100644
--- a/services/document_storage_service/src/api/swagger.rs
+++ b/services/document_storage_service/src/api/swagger.rs
@@ -228,6 +228,20 @@ use utoipa::OpenApi;
// channel list (comms hex)
channels::inbound::list_router::get_channels_handler,
+ // messages (channels and documents)
+ messages::inbound::axum_router::timeline,
+ messages::inbound::axum_router::create,
+ messages::inbound::axum_router::get_message,
+ messages::inbound::axum_router::edit,
+ messages::inbound::axum_router::delete_message,
+ messages::inbound::axum_router::react,
+ messages::inbound::axum_router::get_thread,
+ messages::inbound::axum_router::patch_thread,
+ messages::inbound::axum_router::delete_thread,
+ messages::inbound::axum_router::typing,
+ messages::inbound::axum_router::legacy,
+ messages::inbound::axum_router::referenced_threads,
+
// channels
channels::inbound::axum_router::create_channel_handler,
channels::inbound::axum_router::get_or_create_dm_handler,
@@ -555,6 +569,36 @@ use utoipa::OpenApi;
channels::inbound::list_router::ApiChannelListType,
channels::inbound::list_router::ApiParticipantListRole,
+ // Messages (channels and documents)
+ messages::domain::models::MessageParent,
+ messages::domain::models::DocumentId,
+ messages::domain::models::Message,
+ messages::domain::models::MessageThread,
+ messages::domain::models::MessageListItem,
+ messages::domain::models::MessageThreadPreview,
+ messages::domain::models::ThreadState,
+ messages::domain::models::ThreadAnchor,
+ messages::domain::models::NewThreadAnchor,
+ messages::domain::models::ThreadPatch,
+ messages::domain::models::PostMessage,
+ messages::domain::models::BotSenderProfile,
+ messages::domain::models::ImportedAuthor,
+ messages::domain::models::CountedReaction,
+ messages::domain::models::MessageAttachment,
+ messages::domain::models::NewAttachment,
+ messages::domain::ports::MessageCursor,
+ messages::domain::ports::MessageDirection,
+ messages::domain::ports::MessageTimelineQuery,
+ messages::domain::ports::MessagePage,
+ messages::domain::ports::MessagePatch,
+ messages::domain::ports::AttachmentChange,
+ messages::domain::ports::MessageEvent,
+ messages::domain::ports::MessageChange,
+ messages::domain::ports::ReferencedThread,
+ messages::domain::ports::ReferencedThreadPage,
+ messages::inbound::axum_router::ReactionInput,
+ messages::inbound::axum_router::TypingInput,
+
// Channels
ApiChannelMessagesPage,
ApiChannelMessage,
@@ -581,7 +625,7 @@ use utoipa::OpenApi;
channels::domain::models::TypingAction,
channels::domain::models::ReactionAction,
channels::domain::models::NewChannelAttachment,
- channels::domain::models::SimpleMention,
+ messages::domain::models::SimpleMention,
channels::domain::models::CreateChannelRequest,
channels::domain::models::CreateChannelResponse,
channels::domain::models::GetOrCreateDmRequest,
diff --git a/services/document_storage_service/src/main.rs b/services/document_storage_service/src/main.rs
index c6aa469b4a..091609720d 100644
--- a/services/document_storage_service/src/main.rs
+++ b/services/document_storage_service/src/main.rs
@@ -987,6 +987,66 @@ async fn run() -> anyhow::Result<()> {
)),
);
+ // One message implementation for channels and documents. Committed changes fan
+ // out to the broker, the local agent queue, and the parent's own delivery: channel
+ // messages keep every existing channel side effect (legacy realtime payloads,
+ // notifications, activity, bot triggers, channel broker events) and gain the
+ // common `message_update` payload; document discussions get the common payload
+ // and document comment notifications.
+ let message_realtime = messages::outbound::connection_gateway::ConnectionGatewayMessages(
+ conn_gateway_client.clone(),
+ );
+ let discussion_delivery = messages::domain::delivery::DiscussionDelivery::new(
+ messages::outbound::pg_discussion_context::PgDiscussionContext(db.clone()),
+ messages::outbound::entity_access_audience::EntityAccessMessageAudience(
+ (*entity_access_service).clone(),
+ ),
+ message_realtime.clone(),
+ messages::outbound::notification_sender::MessageNotificationSender(
+ notification_ingress_service.clone(),
+ ),
+ )
+ .with_sharing(messages::outbound::pg_discussion_context::PgDiscussionContext(db.clone()));
+ let channel_delivery = channels::domain::message_delivery::ChannelMessageDelivery::new(
+ PgChannelsRepo::new(db.clone()),
+ SpawnedChannelEventDispatcher::new(channel_side_effects.clone()),
+ PgChannelReferenceSharePermissions::new(db.clone(), entity_access_service.clone()),
+ message_realtime,
+ );
+ let message_service = Arc::new(
+ messages::domain::service::MessageService::new(
+ messages::outbound::pg_message_repo::PgMessageRepository::new(db.clone()),
+ messages::domain::effects::MessageEffects::new(
+ messages::outbound::broker::BrokerMessagePublisher::new(macro_event_broker.clone()),
+ messages::domain::ports::NoMessageEventPublisher,
+ messages::domain::delivery::ParentMessagePublisher::new(
+ channel_delivery,
+ discussion_delivery,
+ ),
+ ),
+ )
+ .with_group_recipients(channels::domain::group_mentions::ChannelGroupRecipients(
+ PgChannelsRepo::new(db.clone()),
+ ))
+ .with_mention_extractor(lexical_mention_extractor::LexicalMentionExtractor::new(
+ lexical_client.clone(),
+ ))
+ .with_references(
+ messages::outbound::entity_access_audience::EntityAccessMessageReferences(
+ (*entity_access_service).clone(),
+ ),
+ ),
+ );
+ let message_commands: Arc<dyn messages::domain::api::MessageCommands> = message_service.clone();
+ let channel_messages: Arc<dyn channels::domain::ports::ChannelMessageCommands> = Arc::new(
+ channels::domain::message_commands::ChannelMessageAdapter::new(message_commands.clone()),
+ );
+ let messages_state = messages::inbound::axum_router::MessagesRouterState {
+ service: message_service.clone(),
+ access: entity_access_service.clone(),
+ authorization: authorization_state.clone(),
+ };
+
let teammate_dms_brokers = config.kafka_brokers.as_ref().to_string();
consumer_tracker.spawn({
let cancellation_token = consumer_cancellation_token.clone();
@@ -1049,10 +1109,17 @@ async fn run() -> anyhow::Result<()> {
db.clone(),
std::sync::Arc::new(SpawnedChannelEventDispatcher::new(channel_side_effects)),
lexical_client.clone(),
+ message_commands.clone(),
);
let macro_agent_tools = ai_tools::tools_for(ai_tools::AiHost::ChannelBot);
let bot_trigger_router = channel_bots::inbound::BotTriggerRouter::new(
channels_service.clone(),
+ message_commands.clone(),
+ Arc::new(
+ channel_bots::outbound::conversation::EntityAccessConversation(
+ entity_access_service.clone(),
+ ),
+ ),
Arc::new(channel_bots::outbound::AgentLoopResponder::new(
macro_agent_tool_context,
macro_agent_tools,
@@ -1076,7 +1143,7 @@ async fn run() -> anyhow::Result<()> {
let channel_bot_webhook_state =
bots::inbound::channel_webhook_router::ChannelBotWebhookRouterState::new(
bots_service.clone(),
- channels_service.clone(),
+ message_commands.clone(),
(*entity_access_service).clone(),
authorization_state.clone(),
);
@@ -1439,10 +1506,12 @@ async fn run() -> anyhow::Result<()> {
config: Arc::new(config),
channel_service: channels_service.clone(),
channels_state: ChannelsRouterState::from_arc(
+ channel_messages,
channels_service,
(*entity_access_service).clone(),
authorization_state.clone(),
),
+ messages_state,
bots_state: bots::inbound::axum_router::BotsRouterState::new(
bots_service.clone(),
(*entity_access_service).clone(),
diff --git a/static_assets/schema.graphql b/static_assets/schema.graphql
index 2031fb6143..9775a5a3b3 100644
--- a/static_assets/schema.graphql
+++ b/static_assets/schema.graphql
@@ -1401,13 +1401,15 @@ type GraphqlCommentedOnDocumentMetadata {
"""
subType: GraphqlNotificationDocumentSubType
"""
- Comment identifier.
+ Comment identifier: a legacy numeric comment id, or the message id in
+ the shared message store.
"""
- commentId: Int!
+ commentId: String!
"""
- Comment thread identifier.
+ Comment thread identifier: a legacy numeric thread id, or the root
+ message id in the shared message store.
"""
- threadId: Int!
+ threadId: String!
"""
Comment text.
"""
@@ -1416,6 +1418,10 @@ type GraphqlCommentedOnDocumentMetadata {
Sender profile-picture URL.
"""
senderProfilePictureUrl: String
+ """
+ Display name for a non-user sender.
+ """
+ senderDisplayName: String
}
"""
@@ -3077,13 +3083,15 @@ type GraphqlMentionedInDocumentCommentMetadata {
"""
mentionId: String!
"""
- Comment identifier.
+ Comment identifier: a legacy numeric comment id, or the message id in
+ the shared message store.
"""
- commentId: Int!
+ commentId: String!
"""
- Comment thread identifier.
+ Comment thread identifier: a legacy numeric thread id, or the root
+ message id in the shared message store.
"""
- threadId: Int!
+ threadId: String!
"""
Comment text.
"""
@@ -3092,6 +3100,10 @@ type GraphqlMentionedInDocumentCommentMetadata {
Sender profile-picture URL.
"""
senderProfilePictureUrl: String
+ """
+ Display name for a non-user sender.
+ """
+ senderDisplayName: String
}
"""
@@ -3647,13 +3659,15 @@ type GraphqlRepliedToDocumentCommentThreadMetadata {
"""
subType: GraphqlNotificationDocumentSubType
"""
- Comment identifier.
+ Comment identifier: a legacy numeric comment id, or the message id in
+ the shared message store.
"""
- commentId: Int!
+ commentId: String!
"""
- Comment thread identifier.
+ Comment thread identifier: a legacy numeric thread id, or the root
+ message id in the shared message store.
"""
- threadId: Int!
+ threadId: String!
"""
Reply text.
"""
@@ -3662,6 +3676,10 @@ type GraphqlRepliedToDocumentCommentThreadMetadata {
Sender profile-picture URL.
"""
senderProfilePictureUrl: String
+ """
+ Display name for a non-user sender.
+ """
+ senderDisplayName: String
}
"""