Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(calendar): store Google eventType and stop defaulting reminders on status events (#5999)
gbirman7aeb1382d19e
diff --git a/.sqlx/query-015309f7cfa2a1c087cea2debf574ce47ab31a8cf5d69817c28235605789fa95.json b/.sqlx/query-015309f7cfa2a1c087cea2debf574ce47ab31a8cf5d69817c28235605789fa95.jsondeleted file mode 100644index e267996f47..0000000000--- a/.sqlx/query-015309f7cfa2a1c087cea2debf574ce47ab31a8cf5d69817c28235605789fa95.json+++ /dev/null@@ -1,16 +0,0 @@-{- "db_name": "PostgreSQL",- "query": "\n INSERT INTO calendar_event_reminder_firings (\n event_id, occurrence_key, minutes_before, fire_at\n )\n SELECT DISTINCT\n occurrence.event_id,\n occurrence.occurrence_key,\n offsets.minutes,\n COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE $2\n ) - make_interval(mins => offsets.minutes)\n FROM calendar_event_sources source\n JOIN calendar_events event ON event.id = source.event_id\n JOIN calendar_event_occurrences occurrence ON occurrence.event_id = event.id\n CROSS JOIN LATERAL (\n SELECT (reminder.value ->> 'minutes')::int AS minutes\n FROM jsonb_array_elements(\n CASE\n WHEN event.reminders_use_default THEN $3::jsonb\n ELSE event.reminder_overrides\n END\n ) AS reminder(value)\n WHERE reminder.value ->> 'method' = 'popup'\n AND (reminder.value ->> 'minutes')::int >= 0\n ) offsets\n WHERE source.calendar_id = $1\n AND (\n SELECT canonical.calendar_id\n FROM calendar_event_sources canonical\n WHERE canonical.event_id = event.id\n ORDER BY\n canonical.source_sequence DESC,\n canonical.source_updated_at DESC,\n canonical.last_seen_at DESC,\n canonical.id DESC\n LIMIT 1\n ) = $1\n AND event.status <> 'cancelled'\n AND NOT occurrence.is_cancelled\n AND COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE $2\n ) - make_interval(mins => offsets.minutes) > now() - interval '1 day'\n ON CONFLICT (event_id, occurrence_key, minutes_before) DO NOTHING\n ",- "describe": {- "columns": [],- "parameters": {- "Left": [- "Uuid",- "Text",- "Jsonb"- ]- },- "nullable": []- },- "hash": "015309f7cfa2a1c087cea2debf574ce47ab31a8cf5d69817c28235605789fa95"-}diff --git a/.sqlx/query-038479edc9ca5b5ec65f8729b77ee3ae466d779973a064b09da232a6fe66836b.json b/.sqlx/query-038479edc9ca5b5ec65f8729b77ee3ae466d779973a064b09da232a6fe66836b.jsondeleted file mode 100644index d3f7dfe3f3..0000000000--- a/.sqlx/query-038479edc9ca5b5ec65f8729b77ee3ae466d779973a064b09da232a6fe66836b.json+++ /dev/null@@ -1,56 +0,0 @@-{- "db_name": "PostgreSQL",- "query": "\n INSERT INTO calendar_events (\n id, owner_id, source_link_id, ical_uid, title, description, location,\n status, visibility, transparency,\n starts_at, ends_at, start_date, end_date, time_zone,\n recurrence_lines, organizer_email, organizer_name,\n creator_email, creator_name,\n conference_url, conference_provider, sequence, is_read_only,\n canonical_source_kind,\n canonical_source_updated_at,\n reminders_use_default, reminder_overrides,\n created_at, updated_at\n )\n VALUES (\n $1, $2, $3, $4, $5, $6, $7,\n $8, $9, $10,\n $11, $12, $13, $14, $15,\n $16, $17, $18,\n $28, $29,\n $19, $27, $20, $21, $22, $24,\n $25, $26,\n $23, $24\n )\n ON CONFLICT (owner_id, source_link_id, ical_uid) DO UPDATE SET\n title = EXCLUDED.title,\n description = EXCLUDED.description,\n location = EXCLUDED.location,\n status = EXCLUDED.status,\n visibility = EXCLUDED.visibility,\n transparency = EXCLUDED.transparency,\n starts_at = EXCLUDED.starts_at,\n ends_at = EXCLUDED.ends_at,\n start_date = EXCLUDED.start_date,\n end_date = EXCLUDED.end_date,\n time_zone = EXCLUDED.time_zone,\n recurrence_lines = EXCLUDED.recurrence_lines,\n organizer_email = EXCLUDED.organizer_email,\n organizer_name = EXCLUDED.organizer_name,\n creator_email = EXCLUDED.creator_email,\n creator_name = EXCLUDED.creator_name,\n conference_url = EXCLUDED.conference_url,\n conference_provider = EXCLUDED.conference_provider,\n sequence = EXCLUDED.sequence,\n is_read_only = EXCLUDED.is_read_only,\n canonical_source_kind = EXCLUDED.canonical_source_kind,\n canonical_source_updated_at = EXCLUDED.canonical_source_updated_at,\n reminders_use_default = EXCLUDED.reminders_use_default,\n reminder_overrides = EXCLUDED.reminder_overrides,\n updated_at = GREATEST(calendar_events.updated_at, EXCLUDED.updated_at)\n WHERE\n EXCLUDED.sequence > calendar_events.sequence\n OR (\n EXCLUDED.sequence = calendar_events.sequence\n AND EXCLUDED.canonical_source_updated_at\n >= calendar_events.canonical_source_updated_at\n )\n -- `xmax = 0` distinguishes the INSERT from the DO UPDATE: a\n -- freshly inserted row carries no updating transaction id.\n RETURNING id, (xmax = 0) AS \"inserted!\"\n ",- "describe": {- "columns": [- {- "ordinal": 0,- "name": "id",- "type_info": "Uuid"- },- {- "ordinal": 1,- "name": "inserted!",- "type_info": "Bool"- }- ],- "parameters": {- "Left": [- "Uuid",- "Text",- "Uuid",- "Text",- "Text",- "Text",- "Text",- "Text",- "Text",- "Text",- "Timestamptz",- "Timestamptz",- "Date",- "Date",- "Text",- "TextArray",- "Text",- "Text",- "Text",- "Int4",- "Bool",- "Text",- "Timestamptz",- "Timestamptz",- "Bool",- "Jsonb",- "Text",- "Text",- "Text"- ]- },- "nullable": [- false,- null- ]- },- "hash": "038479edc9ca5b5ec65f8729b77ee3ae466d779973a064b09da232a6fe66836b"-}diff --git a/.sqlx/query-14ad26177f96192b0004726d0572b02133f44f00fc66b58ba291f8738d7abc0e.json b/.sqlx/query-14ad26177f96192b0004726d0572b02133f44f00fc66b58ba291f8738d7abc0e.jsonnew file mode 100644index 0000000000..146e90e8ce--- /dev/null+++ b/.sqlx/query-14ad26177f96192b0004726d0572b02133f44f00fc66b58ba291f8738d7abc0e.json@@ -0,0 +1,41 @@+{+ "db_name": "PostgreSQL",+ "query": "\n UPDATE calendar_events\n SET title = $2,\n description = $3,\n location = $4,\n status = $5,\n visibility = $6,\n transparency = $7,\n event_type = $28,\n starts_at = $8,\n ends_at = $9,\n start_date = $10,\n end_date = $11,\n time_zone = $12,\n recurrence_lines = $13,\n organizer_email = $14,\n organizer_name = $15,\n creator_email = $26,\n creator_name = $27,\n conference_url = $16,\n conference_provider = $25,\n sequence = $17,\n is_read_only = $18,\n canonical_source_kind = $19,\n canonical_source_updated_at = $20,\n reminders_use_default = $23,\n reminder_overrides = $24,\n created_at = $21,\n updated_at = GREATEST(calendar_events.updated_at, $22)\n WHERE id = $1\n ",+ "describe": {+ "columns": [],+ "parameters": {+ "Left": [+ "Uuid",+ "Text",+ "Text",+ "Text",+ "Text",+ "Text",+ "Text",+ "Timestamptz",+ "Timestamptz",+ "Date",+ "Date",+ "Text",+ "TextArray",+ "Text",+ "Text",+ "Text",+ "Int4",+ "Bool",+ "Text",+ "Timestamptz",+ "Timestamptz",+ "Timestamptz",+ "Bool",+ "Jsonb",+ "Text",+ "Text",+ "Text",+ "Text"+ ]+ },+ "nullable": []+ },+ "hash": "14ad26177f96192b0004726d0572b02133f44f00fc66b58ba291f8738d7abc0e"+}diff --git a/.sqlx/query-15cfd7c3ad14cb61788715f1890abdc06fe849aabd304ceb86f87562daf3f0e0.json b/.sqlx/query-15cfd7c3ad14cb61788715f1890abdc06fe849aabd304ceb86f87562daf3f0e0.jsondeleted file mode 100644index 74b8af6279..0000000000--- a/.sqlx/query-15cfd7c3ad14cb61788715f1890abdc06fe849aabd304ceb86f87562daf3f0e0.json+++ /dev/null@@ -1,40 +0,0 @@-{- "db_name": "PostgreSQL",- "query": "\n UPDATE calendar_events\n SET title = $2,\n description = $3,\n location = $4,\n status = $5,\n visibility = $6,\n transparency = $7,\n starts_at = $8,\n ends_at = $9,\n start_date = $10,\n end_date = $11,\n time_zone = $12,\n recurrence_lines = $13,\n organizer_email = $14,\n organizer_name = $15,\n creator_email = $26,\n creator_name = $27,\n conference_url = $16,\n conference_provider = $25,\n sequence = $17,\n is_read_only = $18,\n canonical_source_kind = $19,\n canonical_source_updated_at = $20,\n reminders_use_default = $23,\n reminder_overrides = $24,\n created_at = $21,\n updated_at = GREATEST(calendar_events.updated_at, $22)\n WHERE id = $1\n ",- "describe": {- "columns": [],- "parameters": {- "Left": [- "Uuid",- "Text",- "Text",- "Text",- "Text",- "Text",- "Text",- "Timestamptz",- "Timestamptz",- "Date",- "Date",- "Text",- "TextArray",- "Text",- "Text",- "Text",- "Int4",- "Bool",- "Text",- "Timestamptz",- "Timestamptz",- "Timestamptz",- "Bool",- "Jsonb",- "Text",- "Text",- "Text"- ]- },- "nullable": []- },- "hash": "15cfd7c3ad14cb61788715f1890abdc06fe849aabd304ceb86f87562daf3f0e0"-}diff --git a/.sqlx/query-688f06e254bf86ce99c0cfe72061f31776da34a6d2fea1c80c648911bb91d591.json b/.sqlx/query-688f06e254bf86ce99c0cfe72061f31776da34a6d2fea1c80c648911bb91d591.jsonnew file mode 100644index 0000000000..3bc6a92ff2--- /dev/null+++ b/.sqlx/query-688f06e254bf86ce99c0cfe72061f31776da34a6d2fea1c80c648911bb91d591.json@@ -0,0 +1,16 @@+{+ "db_name": "PostgreSQL",+ "query": "\n INSERT INTO calendar_event_reminder_firings (\n event_id, occurrence_key, minutes_before, fire_at\n )\n SELECT DISTINCT\n occurrence.event_id,\n occurrence.occurrence_key,\n offsets.minutes,\n COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE $2\n ) - make_interval(mins => offsets.minutes)\n FROM calendar_event_sources source\n JOIN calendar_events event ON event.id = source.event_id\n JOIN calendar_event_occurrences occurrence ON occurrence.event_id = event.id\n CROSS JOIN LATERAL (\n SELECT (reminder.value ->> 'minutes')::int AS minutes\n FROM jsonb_array_elements(\n CASE\n -- Status-style events never resolve the calendar\n -- defaults, mirroring EventType::uses_calendar_default_reminders.\n WHEN event.reminders_use_default\n AND event.event_type IN ('default', 'from_gmail')\n THEN $3::jsonb\n WHEN event.reminders_use_default THEN '[]'::jsonb\n ELSE event.reminder_overrides\n END\n ) AS reminder(value)\n WHERE reminder.value ->> 'method' = 'popup'\n AND (reminder.value ->> 'minutes')::int >= 0\n ) offsets\n WHERE source.calendar_id = $1\n AND (\n SELECT canonical.calendar_id\n FROM calendar_event_sources canonical\n WHERE canonical.event_id = event.id\n ORDER BY\n canonical.source_sequence DESC,\n canonical.source_updated_at DESC,\n canonical.last_seen_at DESC,\n canonical.id DESC\n LIMIT 1\n ) = $1\n AND event.status <> 'cancelled'\n AND NOT occurrence.is_cancelled\n AND COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE $2\n ) - make_interval(mins => offsets.minutes) > now() - interval '1 day'\n ON CONFLICT (event_id, occurrence_key, minutes_before) DO NOTHING\n ",+ "describe": {+ "columns": [],+ "parameters": {+ "Left": [+ "Uuid",+ "Text",+ "Jsonb"+ ]+ },+ "nullable": []+ },+ "hash": "688f06e254bf86ce99c0cfe72061f31776da34a6d2fea1c80c648911bb91d591"+}diff --git a/.sqlx/query-6ebdeb1436de55d328923dd8f9359641122d1786f3ad15a48643238d3c838c03.json b/.sqlx/query-9304a6dcea9284db39e8eeea9bfcb5a7b75861da2ef70c36726b8ba3f91f3a07.jsonsimilarity index 60%rename from .sqlx/query-6ebdeb1436de55d328923dd8f9359641122d1786f3ad15a48643238d3c838c03.jsonrename to .sqlx/query-9304a6dcea9284db39e8eeea9bfcb5a7b75861da2ef70c36726b8ba3f91f3a07.jsonindex fc7bed20e1..4ec826dd09 100644--- a/.sqlx/query-6ebdeb1436de55d328923dd8f9359641122d1786f3ad15a48643238d3c838c03.json+++ b/.sqlx/query-9304a6dcea9284db39e8eeea9bfcb5a7b75861da2ef70c36726b8ba3f91f3a07.json@@ -1,6 +1,6 @@{"db_name": "PostgreSQL",- "query": "\n SELECT\n occurrence.event_id,\n canonical_source.calendar_id AS \"canonical_calendar_id?\",\n occurrence.occurrence_key,\n occurrence.recurrence_id,\n occurrence.starts_at AS occurrence_starts_at,\n occurrence.ends_at AS occurrence_ends_at,\n occurrence.start_date AS occurrence_start_date,\n occurrence.end_date AS occurrence_end_date,\n occurrence.is_cancelled,\n event.owner_id,\n event.ical_uid,\n event.title,\n event.description,\n event.location,\n event.status,\n event.visibility,\n event.transparency,\n event.starts_at,\n event.ends_at,\n event.start_date,\n event.end_date,\n event.time_zone,\n event.recurrence_lines,\n event.organizer_email,\n event.organizer_name,\n event.creator_email,\n event.creator_name,\n event.conference_url,\n event.conference_provider,\n event.sequence,\n event.is_read_only,\n event.reminders_use_default,\n event.reminder_overrides,\n event.created_at,\n event.updated_at\n FROM calendar_event_occurrences occurrence\n JOIN calendar_events event ON event.id = occurrence.event_id\n LEFT JOIN LATERAL (\n SELECT source.calendar_id\n FROM calendar_event_sources source\n JOIN calendars calendar ON calendar.id = source.calendar_id\n JOIN calendar_accounts account ON account.id = source.account_id\n WHERE source.event_id = event.id\n AND NOT calendar.is_deleted\n AND account.sync_status <> 'disabled'\n ORDER BY\n source.source_sequence DESC,\n source.source_updated_at DESC,\n source.last_seen_at DESC,\n source.id DESC\n LIMIT 1\n ) canonical_source ON true\n WHERE occurrence.owner_id IN (\n SELECT $1::text\n UNION\n SELECT link.child_macro_id\n FROM macro_user_links link\n WHERE link.primary_macro_id = $1\n )\n AND event.status <> 'cancelled'\n AND NOT occurrence.is_cancelled\n AND (\n event.owner_id = $1\n OR EXISTS (\n SELECT 1\n FROM macro_user_links link\n WHERE link.link_id = event.source_link_id\n AND link.primary_macro_id = $1\n )\n )\n AND (\n occurrence.timed_span && tstzrange($2, $3, '[)')\n OR occurrence.day_span && daterange($4, $5, '[)')\n )\n AND (\n $6::timestamptz IS NULL\n OR (\n COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE 'UTC'\n ),\n occurrence.event_id,\n occurrence.occurrence_key\n ) > ($6, $7, $8)\n )\n ORDER BY\n COALESCE(occurrence.starts_at, occurrence.start_date::timestamp AT TIME ZONE 'UTC'),\n occurrence.event_id,\n occurrence.occurrence_key\n LIMIT $9\n ",+ "query": "\n SELECT\n occurrence.event_id,\n canonical_source.calendar_id AS \"canonical_calendar_id?\",\n occurrence.occurrence_key,\n occurrence.recurrence_id,\n occurrence.starts_at AS occurrence_starts_at,\n occurrence.ends_at AS occurrence_ends_at,\n occurrence.start_date AS occurrence_start_date,\n occurrence.end_date AS occurrence_end_date,\n occurrence.is_cancelled,\n event.owner_id,\n event.ical_uid,\n event.title,\n event.description,\n event.location,\n event.status,\n event.visibility,\n event.transparency,\n event.event_type,\n event.starts_at,\n event.ends_at,\n event.start_date,\n event.end_date,\n event.time_zone,\n event.recurrence_lines,\n event.organizer_email,\n event.organizer_name,\n event.creator_email,\n event.creator_name,\n event.conference_url,\n event.conference_provider,\n event.sequence,\n event.is_read_only,\n event.reminders_use_default,\n event.reminder_overrides,\n event.created_at,\n event.updated_at\n FROM calendar_event_occurrences occurrence\n JOIN calendar_events event ON event.id = occurrence.event_id\n LEFT JOIN LATERAL (\n SELECT source.calendar_id\n FROM calendar_event_sources source\n JOIN calendars calendar ON calendar.id = source.calendar_id\n JOIN calendar_accounts account ON account.id = source.account_id\n WHERE source.event_id = event.id\n AND NOT calendar.is_deleted\n AND account.sync_status <> 'disabled'\n ORDER BY\n source.source_sequence DESC,\n source.source_updated_at DESC,\n source.last_seen_at DESC,\n source.id DESC\n LIMIT 1\n ) canonical_source ON true\n WHERE occurrence.owner_id IN (\n SELECT $1::text\n UNION\n SELECT link.child_macro_id\n FROM macro_user_links link\n WHERE link.primary_macro_id = $1\n )\n AND event.status <> 'cancelled'\n AND NOT occurrence.is_cancelled\n AND (\n event.owner_id = $1\n OR EXISTS (\n SELECT 1\n FROM macro_user_links link\n WHERE link.link_id = event.source_link_id\n AND link.primary_macro_id = $1\n )\n )\n AND (\n occurrence.timed_span && tstzrange($2, $3, '[)')\n OR occurrence.day_span && daterange($4, $5, '[)')\n )\n AND (\n $6::timestamptz IS NULL\n OR (\n COALESCE(\n occurrence.starts_at,\n occurrence.start_date::timestamp AT TIME ZONE 'UTC'\n ),\n occurrence.event_id,\n occurrence.occurrence_key\n ) > ($6, $7, $8)\n )\n ORDER BY\n COALESCE(occurrence.starts_at, occurrence.start_date::timestamp AT TIME ZONE 'UTC'),\n occurrence.event_id,\n occurrence.occurrence_key\n LIMIT $9\n ","describe": {"columns": [{@@ -90,91 +90,96 @@},{"ordinal": 17,+ "name": "event_type",+ "type_info": "Text"+ },+ {+ "ordinal": 18,"name": "starts_at","type_info": "Timestamptz"},{- "ordinal": 18,+ "ordinal": 19,"name": "ends_at","type_info": "Timestamptz"},{- "ordinal": 19,+ "ordinal": 20,"name": "start_date","type_info": "Date"},{- "ordinal": 20,+ "ordinal": 21,"name": "end_date","type_info": "Date"},{- "ordinal": 21,+ "ordinal": 22,"name": "time_zone","type_info": "Text"},{- "ordinal": 22,+ "ordinal": 23,"name": "recurrence_lines","type_info": "TextArray"},{- "ordinal": 23,+ "ordinal": 24,"name": "organizer_email","type_info": "Text"},{- "ordinal": 24,+ "ordinal": 25,"name": "organizer_name","type_info": "Text"},{- "ordinal": 25,+ "ordinal": 26,"name": "creator_email","type_info": "Text"},{- "ordinal": 26,+ "ordinal": 27,"name": "creator_name","type_info": "Text"},{- "ordinal": 27,+ "ordinal": 28,"name": "conference_url","type_info": "Text"},{- "ordinal": 28,+ "ordinal": 29,"name": "conference_provider","type_info": "Text"},{- "ordinal": 29,+ "ordinal": 30,"name": "sequence","type_info": "Int4"},{- "ordinal": 30,+ "ordinal": 31,"name": "is_read_only","type_info": "Bool"},{- "ordinal": 31,+ "ordinal": 32,"name": "reminders_use_default","type_info": "Bool"},{- "ordinal": 32,+ "ordinal": 33,"name": "reminder_overrides","type_info": "Jsonb"},{- "ordinal": 33,+ "ordinal": 34,"name": "created_at","type_info": "Timestamptz"},{- "ordinal": 34,+ "ordinal": 35,"name": "updated_at","type_info": "Timestamptz"}@@ -210,6 +215,7 @@false,false,false,+ false,true,true,true,@@ -230,5 +236,5 @@false]},- "hash": "6ebdeb1436de55d328923dd8f9359641122d1786f3ad15a48643238d3c838c03"+ "hash": "9304a6dcea9284db39e8eeea9bfcb5a7b75861da2ef70c36726b8ba3f91f3a07"}diff --git a/.sqlx/query-b1b0e6bfc305c5a54ae7648f70cb57890fba3f268ffd081bef06879a9f177028.json b/.sqlx/query-b1b0e6bfc305c5a54ae7648f70cb57890fba3f268ffd081bef06879a9f177028.jsondeleted file mode 100644index 79d51c0de9..0000000000--- a/.sqlx/query-b1b0e6bfc305c5a54ae7648f70cb57890fba3f268ffd081bef06879a9f177028.json+++ /dev/null@@ -1,23 +0,0 @@-{- "db_name": "PostgreSQL",- "query": "\n SELECT values\n FROM entity_properties\n WHERE entity_id = $1 AND property_definition_id = $2\n ",- "describe": {- "columns": [- {- "ordinal": 0,- "name": "values",- "type_info": "Jsonb"- }- ],- "parameters": {- "Left": [- "Text",- "Uuid"- ]- },- "nullable": [- true- ]- },- "hash": "b1b0e6bfc305c5a54ae7648f70cb57890fba3f268ffd081bef06879a9f177028"-}diff --git a/.sqlx/query-dcb72c6cdb8e4cff572a124af818f4e777c5171c7e5e67808e6fd5a6c0f4599e.json b/.sqlx/query-dcb72c6cdb8e4cff572a124af818f4e777c5171c7e5e67808e6fd5a6c0f4599e.jsonnew file mode 100644index 0000000000..7dcdf0a09d--- /dev/null+++ b/.sqlx/query-dcb72c6cdb8e4cff572a124af818f4e777c5171c7e5e67808e6fd5a6c0f4599e.json@@ -0,0 +1,57 @@+{+ "db_name": "PostgreSQL",+ "query": "\n INSERT INTO calendar_events (\n id, owner_id, source_link_id, ical_uid, title, description, location,\n status, visibility, transparency, event_type,\n starts_at, ends_at, start_date, end_date, time_zone,\n recurrence_lines, organizer_email, organizer_name,\n creator_email, creator_name,\n conference_url, conference_provider, sequence, is_read_only,\n canonical_source_kind,\n canonical_source_updated_at,\n reminders_use_default, reminder_overrides,\n created_at, updated_at\n )\n VALUES (\n $1, $2, $3, $4, $5, $6, $7,\n $8, $9, $10, $30,\n $11, $12, $13, $14, $15,\n $16, $17, $18,\n $28, $29,\n $19, $27, $20, $21, $22, $24,\n $25, $26,\n $23, $24\n )\n ON CONFLICT (owner_id, source_link_id, ical_uid) DO UPDATE SET\n title = EXCLUDED.title,\n description = EXCLUDED.description,\n location = EXCLUDED.location,\n status = EXCLUDED.status,\n visibility = EXCLUDED.visibility,\n transparency = EXCLUDED.transparency,\n event_type = EXCLUDED.event_type,\n starts_at = EXCLUDED.starts_at,\n ends_at = EXCLUDED.ends_at,\n start_date = EXCLUDED.start_date,\n end_date = EXCLUDED.end_date,\n time_zone = EXCLUDED.time_zone,\n recurrence_lines = EXCLUDED.recurrence_lines,\n organizer_email = EXCLUDED.organizer_email,\n organizer_name = EXCLUDED.organizer_name,\n creator_email = EXCLUDED.creator_email,\n creator_name = EXCLUDED.creator_name,\n conference_url = EXCLUDED.conference_url,\n conference_provider = EXCLUDED.conference_provider,\n sequence = EXCLUDED.sequence,\n is_read_only = EXCLUDED.is_read_only,\n canonical_source_kind = EXCLUDED.canonical_source_kind,\n canonical_source_updated_at = EXCLUDED.canonical_source_updated_at,\n reminders_use_default = EXCLUDED.reminders_use_default,\n reminder_overrides = EXCLUDED.reminder_overrides,\n updated_at = GREATEST(calendar_events.updated_at, EXCLUDED.updated_at)\n WHERE\n EXCLUDED.sequence > calendar_events.sequence\n OR (\n EXCLUDED.sequence = calendar_events.sequence\n AND EXCLUDED.canonical_source_updated_at\n >= calendar_events.canonical_source_updated_at\n )\n -- `xmax = 0` distinguishes the INSERT from the DO UPDATE: a\n -- freshly inserted row carries no updating transaction id.\n RETURNING id, (xmax = 0) AS \"inserted!\"\n ",+ "describe": {+ "columns": [+ {+ "ordinal": 0,+ "name": "id",+ "type_info": "Uuid"+ },+ {+ "ordinal": 1,+ "name": "inserted!",+ "type_info": "Bool"+ }+ ],+ "parameters": {+ "Left": [+ "Uuid",+ "Text",+ "Uuid",+ "Text",+ "Text",+ "Text",+ "Text",+ "Text",+ "Text",+ "Text",+ "Timestamptz",+ "Timestamptz",+ "Date",+ "Date",+ "Text",+ "TextArray",+ "Text",+ "Text",+ "Text",+ "Int4",+ "Bool",+ "Text",+ "Timestamptz",+ "Timestamptz",+ "Bool",+ "Jsonb",+ "Text",+ "Text",+ "Text",+ "Text"+ ]+ },+ "nullable": [+ false,+ null+ ]+ },+ "hash": "dcb72c6cdb8e4cff572a124af818f4e777c5171c7e5e67808e6fd5a6c0f4599e"+}diff --git a/apps/web/src/features/calendar/components/EventDetails.tsx b/apps/web/src/features/calendar/components/EventDetails.tsxindex 3e599e1e2f..f15e7dbfaf 100644--- a/apps/web/src/features/calendar/components/EventDetails.tsx+++ b/apps/web/src/features/calendar/components/EventDetails.tsx@@ -373,7 +373,8 @@ function EventRemindersItem(props: {const reminders = createMemo(() =>resolveReminderOverrides(props.event.reminders,- props.defaultReminders+ props.defaultReminders,+ props.event.eventType).toSorted((a, b) => a.minutes - b.minutes));diff --git a/apps/web/src/features/calendar/components/composer/create-calendar-event-form-controller.ts b/apps/web/src/features/calendar/components/composer/create-calendar-event-form-controller.tsindex 569f13d162..6400c790f7 100644--- a/apps/web/src/features/calendar/components/composer/create-calendar-event-form-controller.ts+++ b/apps/web/src/features/calendar/components/composer/create-calendar-event-form-controller.ts@@ -162,7 +162,8 @@ export function createCalendarEventFormController(popupMinutes(resolveReminderOverrides(values.reminders,- calendarOptionFor(values.calendarId)?.defaultReminders+ calendarOptionFor(values.calendarId)?.defaultReminders,+ values.eventType)));diff --git a/apps/web/src/features/calendar/components/composer/event-form-model.ts b/apps/web/src/features/calendar/components/composer/event-form-model.tsindex f4ee0f986a..856b4a2060 100644--- a/apps/web/src/features/calendar/components/composer/event-form-model.ts+++ b/apps/web/src/features/calendar/components/composer/event-form-model.ts@@ -8,6 +8,7 @@ import type { ConferenceChange } from '@service-email/generated/schemas/conferenimport type { EventTime } from '@service-email/generated/schemas/eventTime';import type { EventReminderOverride } from '@service-storage/generated/schemas/eventReminderOverride';import type { EventReminders } from '@service-storage/generated/schemas/eventReminders';+import type { EventType } from '@service-storage/generated/schemas/eventType';import {addDays,addHours,@@ -73,6 +74,8 @@ export interface EventEditorInitialValues {conference: EventEditorConferenceChoice;/** Per-user reminder configuration; absent means the calendar default. */reminders?: EventReminders;+ /** Provider event type of the edited event; absent for new events. */+ eventType?: EventType;}/** Calendar option displayed by the event editor. */@@ -134,6 +137,7 @@ export function defaultEditorInitialValues(description: '',conference: 'none',reminders: undefined,+ eventType: undefined,};}@@ -197,6 +201,7 @@ export function calendarEventToEditorInitialValues(description: event.description ?? '',conference: initialConferenceChoice(event),reminders: event.reminders,+ eventType: event.eventType,};}@@ -212,6 +217,7 @@ export function calendarEventToEditorInitialValues(description: event.description ?? '',conference: initialConferenceChoice(event),reminders: event.reminders,+ eventType: event.eventType,};}diff --git a/apps/web/src/features/calendar/types.ts b/apps/web/src/features/calendar/types.tsindex c0082814a4..526ec3a06e 100644--- a/apps/web/src/features/calendar/types.ts+++ b/apps/web/src/features/calendar/types.ts@@ -2,6 +2,7 @@ import type { EventInput } from '@fullcalendar/core';import type { CalendarAttendee } from '@service-storage/generated/schemas/calendarAttendee';import type { CalendarOccurrenceItem } from '@service-storage/generated/schemas/calendarOccurrenceItem';import type { EventReminders } from '@service-storage/generated/schemas/eventReminders';+import type { EventType } from '@service-storage/generated/schemas/eventType';import { multiDayTimedDisplayRange } from './utils/calendar-date';import { canEditCalendarEventTime } from './utils/event-interaction';@@ -67,6 +68,8 @@ export interface CalendarEvent {attendees: CalendarAttendee[];/** Per-user reminder configuration; absent means the calendar default. */reminders?: EventReminders;+ /** Provider event type; absent means a regular event. */+ eventType?: EventType;/** Canonical calendar entity id, for resolving default reminders. */calendarId?: string;/** Raw recurrence rules attached to the canonical event. */@@ -131,6 +134,7 @@ export function mapCalendarOccurrence(creatorEmail: optionalText(event.creatorEmail),attendees: event.attendees ?? [],reminders: event.reminders ?? undefined,+ eventType: event.eventType ?? undefined,calendarId: event.calendarId ?? undefined,timeZone: time.kind === 'timed' ? (time.timeZone ?? undefined) : undefined,title: event.title,diff --git a/apps/web/src/features/calendar/utils/event-reminders.test.ts b/apps/web/src/features/calendar/utils/event-reminders.test.tsnew file mode 100644index 0000000000..fcc80071c9--- /dev/null+++ b/apps/web/src/features/calendar/utils/event-reminders.test.ts@@ -0,0 +1,50 @@+import { describe, expect, it } from 'vitest';+import {+ REMINDER_METHOD_POPUP,+ resolveReminderOverrides,+} from './event-reminders';++const CALENDAR_DEFAULTS = [{ method: REMINDER_METHOD_POPUP, minutes: 10 }];++describe('resolveReminderOverrides', () => {+ it('resolves the calendar defaults for ordinary events', () => {+ expect(resolveReminderOverrides(undefined, CALENDAR_DEFAULTS)).toEqual(+ CALENDAR_DEFAULTS+ );+ expect(+ resolveReminderOverrides(+ { useDefault: true, overrides: [] },+ CALENDAR_DEFAULTS,+ 'default'+ )+ ).toEqual(CALENDAR_DEFAULTS);+ });++ it('resolves the defaults to nothing on status-style events', () => {+ for (const eventType of [+ 'working_location',+ 'out_of_office',+ 'focus_time',+ 'birthday',+ ] as const) {+ expect(+ resolveReminderOverrides(+ { useDefault: true, overrides: [] },+ CALENDAR_DEFAULTS,+ eventType+ )+ ).toEqual([]);+ }+ });++ it('keeps explicit overrides on status-style events', () => {+ const overrides = [{ method: REMINDER_METHOD_POPUP, minutes: 5 }];+ expect(+ resolveReminderOverrides(+ { useDefault: false, overrides },+ CALENDAR_DEFAULTS,+ 'working_location'+ )+ ).toEqual(overrides);+ });+});diff --git a/apps/web/src/features/calendar/utils/event-reminders.ts b/apps/web/src/features/calendar/utils/event-reminders.tsindex 428fb5ca44..26ea8b84ac 100644--- a/apps/web/src/features/calendar/utils/event-reminders.ts+++ b/apps/web/src/features/calendar/utils/event-reminders.ts@@ -1,5 +1,6 @@import type { EventReminderOverride } from '@service-storage/generated/schemas/eventReminderOverride';import type { EventReminders } from '@service-storage/generated/schemas/eventReminders';+import type { EventType } from '@service-storage/generated/schemas/eventType';import { type Duration, formatDuration } from 'date-fns';import { daysInWeek, minutesInDay, minutesInHour } from 'date-fns/constants';@@ -50,17 +51,34 @@ export function popupMinutes(.sort((a, b) => a - b);}+/**+ * Status-style events never resolve the calendar's default reminders:+ * Google's clients offer no notification setting on them and never notify.+ * Explicit overrides still apply on every type.+ */+const EVENT_TYPES_WITHOUT_DEFAULT_REMINDERS: ReadonlySet<EventType> = new Set([+ 'working_location',+ 'out_of_office',+ 'focus_time',+ 'birthday',+]);+/*** The reminders an event resolves to: its own overrides when it departed* from the calendar defaults, the calendar defaults otherwise. `undefined`* defaults means the calendar is unknown, which resolves to nothing rather- * than guessing.+ * than guessing. Status-style events (working location, out of office,+ * focus time, birthdays) resolve the defaults to nothing, matching Google.*/export function resolveReminderOverrides(reminders: EventReminders | undefined,- calendarDefaults: EventReminderOverride[] | undefined+ calendarDefaults: EventReminderOverride[] | undefined,+ eventType?: EventType): EventReminderOverride[] {if (reminders && !reminders.useDefault) return reminders.overrides ?? [];+ if (eventType && EVENT_TYPES_WITHOUT_DEFAULT_REMINDERS.has(eventType)) {+ return [];+ }return calendarDefaults ?? [];}diff --git a/apps/web/src/lib/service-clients/service-email/generated/schemas/calendarEvent.ts b/apps/web/src/lib/service-clients/service-email/generated/schemas/calendarEvent.tsindex 4427b80ddc..9c51d003db 100644--- a/apps/web/src/lib/service-clients/service-email/generated/schemas/calendarEvent.ts+++ b/apps/web/src/lib/service-clients/service-email/generated/schemas/calendarEvent.ts@@ -18,6 +18,7 @@ import type { EventReminders } from './eventReminders';import type { EventStatus } from './eventStatus';import type { EventTime } from './eventTime';import type { EventTransparency } from './eventTransparency';+import type { EventType } from './eventType';import type { EventVisibility } from './eventVisibility';/**@@ -43,6 +44,10 @@ compare equal. */creatorName?: CalendarEventCreatorName;/** Optional event body. */description?: CalendarEventDescription;+ /** Provider event type. Skipped when it is the regular type so+projections stored before event types were modeled still compare+equal. */+ eventType?: EventType;/** RFC 5545 UID used to reconcile provider and email sources. */icalUid: string;/** Macro entity identifier. */diff --git a/apps/web/src/lib/service-clients/service-email/generated/schemas/eventType.ts b/apps/web/src/lib/service-clients/service-email/generated/schemas/eventType.tsnew file mode 100644index 0000000000..849d5061e3--- /dev/null+++ b/apps/web/src/lib/service-clients/service-email/generated/schemas/eventType.ts@@ -0,0 +1,23 @@+/**+ * Generated by orval v7.21.0 🍺+ * Do not edit manually.+ * email_service+ * OpenAPI spec version: 0.1.0+ */++/**+ * Google's event type: ordinary meetings versus the status-style entries+(working location, out of office, focus time, birthdays) Google renders+and notifies differently. Immutable at the provider after creation.+ */+export type EventType = (typeof EventType)[keyof typeof EventType];++// eslint-disable-next-line @typescript-eslint/no-redeclare+export const EventType = {+ default: 'default',+ out_of_office: 'out_of_office',+ focus_time: 'focus_time',+ working_location: 'working_location',+ birthday: 'birthday',+ from_gmail: 'from_gmail',+} as const;diff --git a/apps/web/src/lib/service-clients/service-email/generated/schemas/index.ts b/apps/web/src/lib/service-clients/service-email/generated/schemas/index.tsindex acf77c3c15..caf21cc4ae 100644--- a/apps/web/src/lib/service-clients/service-email/generated/schemas/index.ts+++ b/apps/web/src/lib/service-clients/service-email/generated/schemas/index.ts@@ -205,6 +205,7 @@ export * from './eventTimeOneOfFourKind';export * from './eventTimeOneOfKind';export * from './eventTimeOneOfTimeZone';export * from './eventTransparency';+export * from './eventType';export * from './eventVisibility';export * from './getActiveBackfillJobResponse';export * from './getAttachmentDocumentIDResponse';diff --git a/apps/web/src/lib/service-clients/service-email/openapi.json b/apps/web/src/lib/service-clients/service-email/openapi.jsonindex 83623de36b..7fffc2f2bf 100644--- a/apps/web/src/lib/service-clients/service-email/openapi.json+++ b/apps/web/src/lib/service-clients/service-email/openapi.json@@ -4567,6 +4567,10 @@"type": ["string", "null"],"description": "Optional event body."},+ "eventType": {+ "$ref": "#/components/schemas/EventType",+ "description": "Provider event type. Skipped when it is the regular type so\nprojections stored before event types were modeled still compare\nequal."+ },"icalUid": {"type": "string","description": "RFC 5545 UID used to reconcile provider and email sources."@@ -5026,6 +5030,18 @@"description": "Whether an event blocks availability.","enum": ["opaque", "transparent"]},+ "EventType": {+ "type": "string",+ "description": "Google's event type: ordinary meetings versus the status-style entries\n(working location, out of office, focus time, birthdays) Google renders\nand notifies differently. Immutable at the provider after creation.",+ "enum": [+ "default",+ "out_of_office",+ "focus_time",+ "working_location",+ "birthday",+ "from_gmail"+ ]+ },"EventVisibility": {"type": "string","description": "Visibility of event details.",diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/calendarEvent.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/calendarEvent.tsindex 23a8cef454..46b5e7547a 100644--- a/apps/web/src/lib/service-clients/service-storage/generated/schemas/calendarEvent.ts+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/calendarEvent.ts@@ -18,6 +18,7 @@ import type { EventReminders } from './eventReminders';import type { EventStatus } from './eventStatus';import type { EventTime } from './eventTime';import type { EventTransparency } from './eventTransparency';+import type { EventType } from './eventType';import type { EventVisibility } from './eventVisibility';/**@@ -43,6 +44,10 @@ compare equal. */creatorName?: CalendarEventCreatorName;/** Optional event body. */description?: CalendarEventDescription;+ /** Provider event type. Skipped when it is the regular type so+projections stored before event types were modeled still compare+equal. */+ eventType?: EventType;/** RFC 5545 UID used to reconcile provider and email sources. */icalUid: string;/** Macro entity identifier. */diff --git a/apps/web/src/lib/service-clients/service-storage/generated/schemas/eventType.ts b/apps/web/src/lib/service-clients/service-storage/generated/schemas/eventType.tsnew file mode 100644index 0000000000..1477a1db15--- /dev/null+++ b/apps/web/src/lib/service-clients/service-storage/generated/schemas/eventType.ts@@ -0,0 +1,23 @@+/**+ * Generated by orval v7.21.0 🍺+ * Do not edit manually.+ * document_storage_service+ * OpenAPI spec version: 0.1.0+ */++/**+ * Google's event type: ordinary meetings versus the status-style entries+(working location, out of office, focus time, birthdays) Google renders+and notifies differently. Immutable at the provider after creation.+ */+export type EventType = (typeof EventType)[keyof typeof EventType];++// eslint-disable-next-line @typescript-eslint/no-redeclare+export const EventType = {+ default: 'default',+ out_of_office: 'out_of_office',+ focus_time: 'focus_time',+ working_location: 'working_location',+ birthday: 'birthday',+ from_gmail: 'from_gmail',+} as const;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.tsindex 99fec350c0..91005c6ea2 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@@ -604,6 +604,7 @@ export * from './eventTimeOneOfFourKind';export * from './eventTimeOneOfKind';export * from './eventTimeOneOfTimeZone';export * from './eventTransparency';+export * from './eventType';export * from './eventVisibility';export * from './excludeDefaultViewRequest';export * from './excludedDefaultView';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.tsindex 1068190c83..c60ca23c70 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@@ -855,6 +855,19 @@ export const listOccurrencesResponse = zod.string().nullish().describe('Optional event body.'),+ eventType: zod+ .enum([+ 'default',+ 'out_of_office',+ 'focus_time',+ 'working_location',+ 'birthday',+ 'from_gmail',+ ])+ .optional()+ .describe(+ "Google's event type: ordinary meetings versus the status-style entries\n(working location, out of office, focus time, birthdays) Google renders\nand notifies differently. Immutable at the provider after creation."+ ),icalUid: zod.string().describe(diff --git a/apps/web/src/lib/service-clients/service-storage/openapi.json b/apps/web/src/lib/service-clients/service-storage/openapi.jsonindex 812a595272..9e299d9e03 100644--- a/apps/web/src/lib/service-clients/service-storage/openapi.json+++ b/apps/web/src/lib/service-clients/service-storage/openapi.json@@ -13343,6 +13343,10 @@"type": ["string", "null"],"description": "Optional event body."},+ "eventType": {+ "$ref": "#/components/schemas/EventType",+ "description": "Provider event type. Skipped when it is the regular type so\nprojections stored before event types were modeled still compare\nequal."+ },"icalUid": {"type": "string","description": "RFC 5545 UID used to reconcile provider and email sources."@@ -18481,6 +18485,18 @@"description": "Whether an event blocks availability.","enum": ["opaque", "transparent"]},+ "EventType": {+ "type": "string",+ "description": "Google's event type: ordinary meetings versus the status-style entries\n(working location, out of office, focus time, birthdays) Google renders\nand notifies differently. Immutable at the provider after creation.",+ "enum": [+ "default",+ "out_of_office",+ "focus_time",+ "working_location",+ "birthday",+ "from_gmail"+ ]+ },"EventVisibility": {"type": "string","description": "Visibility of event details.",diff --git a/crates/calendar_events/src/domain/models.rs b/crates/calendar_events/src/domain/models.rsindex 8f60a2e0c0..bef37b75ed 100644--- a/crates/calendar_events/src/domain/models.rs+++ b/crates/calendar_events/src/domain/models.rs@@ -261,6 +261,58 @@ impl EventTransparency {}}+/// Google's event type: ordinary meetings versus the status-style entries+/// (working location, out of office, focus time, birthdays) Google renders+/// and notifies differently. Immutable at the provider after creation.+#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Serialize, Deserialize)]+#[cfg_attr(feature = "schema", derive(utoipa::ToSchema))]+#[serde(rename_all = "snake_case")]+pub enum EventType {+ /// Regular event; also the fallback for provider types Macro does not+ /// know, so a new Google type never breaks ingestion.+ #[default]+ Default,+ /// Out-of-office status event.+ OutOfOffice,+ /// Focus-time status event.+ FocusTime,+ /// Working-location status event.+ WorkingLocation,+ /// Annual all-day birthday event.+ Birthday,+ /// Event Google generated from a Gmail message.+ FromGmail,+}++impl EventType {+ /// Database representation.+ pub fn as_str(self) -> &'static str {+ match self {+ Self::Default => "default",+ Self::OutOfOffice => "out_of_office",+ Self::FocusTime => "focus_time",+ Self::WorkingLocation => "working_location",+ Self::Birthday => "birthday",+ Self::FromGmail => "from_gmail",+ }+ }++ /// Whether this is the regular event type. Kept out of serialized+ /// projections so projections stored before event types were modeled+ /// still compare equal to fresh ones.+ pub fn is_default(&self) -> bool {+ *self == Self::Default+ }++ /// Whether `useDefault` reminders resolve to the calendar's defaults.+ /// Google never notifies for status-style events — its clients offer no+ /// notification setting on them — so their `useDefault` resolves to no+ /// reminders. Explicit overrides still apply on every type.+ pub fn uses_calendar_default_reminders(self) -> bool {+ matches!(self, Self::Default | Self::FromGmail)+ }+}+/// The conferencing system backing an event's join URL.////// Macro generates only Google Meet conferences, so this distinguishes one it@@ -459,6 +511,11 @@ pub struct CalendarEvent {pub visibility: EventVisibility,/// Availability behavior.pub transparency: EventTransparency,+ /// Provider event type. Skipped when it is the regular type so+ /// projections stored before event types were modeled still compare+ /// equal.+ #[serde(default, skip_serializing_if = "EventType::is_default")]+ pub event_type: EventType,/// Timed or all-day shape.pub time: EventTime,/// Raw RFC 5545 recurrence properties (`RRULE`, `RDATE`, `EXDATE`).diff --git a/crates/calendar_events/src/domain/models/test.rs b/crates/calendar_events/src/domain/models/test.rsindex 9fe155dc4f..ededc81132 100644--- a/crates/calendar_events/src/domain/models/test.rs+++ b/crates/calendar_events/src/domain/models/test.rs@@ -154,6 +154,7 @@ fn default_reminders_stay_out_of_serialized_projections() {status: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: EventTime::Timed {starts_at,ends_at: starts_at + chrono::Duration::hours(1),@@ -177,13 +178,22 @@ fn default_reminders_stay_out_of_serialized_projections() {// Projections stored before reminders were modeled have no `reminders`// key. Serializing the default as nothing keeps them comparing equal to// fresh normalizations, so full snapshots stay no-ops. The same holds- // for creator fields added later.+ // for creator fields and the event type added later.let serialized = serde_json::to_value(&event).unwrap();assert!(serialized.get("reminders").is_none());assert!(serialized.get("creatorEmail").is_none());assert!(serialized.get("creatorName").is_none());+ assert!(serialized.get("eventType").is_none());let legacy: CalendarEvent = serde_json::from_value(serialized).unwrap();assert_eq!(legacy.reminders, EventReminders::default());+ assert_eq!(legacy.event_type, EventType::Default);++ event.event_type = EventType::WorkingLocation;+ let serialized = serde_json::to_value(&event).unwrap();+ assert_eq!(serialized["eventType"], "working_location");+ let status_event: CalendarEvent = serde_json::from_value(serialized).unwrap();+ assert_eq!(status_event.event_type, EventType::WorkingLocation);+ event.event_type = EventType::Default;event.reminders = EventReminders {use_default: false,diff --git a/crates/calendar_events/src/domain/mutations/test.rs b/crates/calendar_events/src/domain/mutations/test.rsindex 5ecdf01655..9960a61621 100644--- a/crates/calendar_events/src/domain/mutations/test.rs+++ b/crates/calendar_events/src/domain/mutations/test.rs@@ -3,9 +3,9 @@ use crate::domain::models::{ActorInboxes, AppliedGoogleGrant, CalendarAttendee, CalendarAttendeeInput,CalendarBackfillJobKey, CalendarCreationTarget, CalendarEventSource, CalendarLinkTokenIdentity,CalendarOccurrence, CalendarOccurrenceCursor, CalendarSyncStatus, CalendarWatchRelease,- ConferenceChange, DisconnectedGoogleCalendar, EventStatus, EventTransparency, EventVisibility,- GoogleCalendarSyncSnapshot, GoogleCalendarTarget, GoogleEventSource, GoogleWatchChannel,- ProviderCalendar, StoredGoogleCalendar, VisibleCalendar,+ ConferenceChange, DisconnectedGoogleCalendar, EventStatus, EventTransparency, EventType,+ EventVisibility, GoogleCalendarSyncSnapshot, GoogleCalendarTarget, GoogleEventSource,+ GoogleWatchChannel, ProviderCalendar, StoredGoogleCalendar, VisibleCalendar,};use crate::domain::ports::RetiredCalendarEvent;use chrono::{Duration, TimeZone};@@ -83,6 +83,7 @@ fn echo_upsert(target_owner: &str) -> CalendarEventUpsert {status: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: timed_time(),recurrence_lines: Vec::new(),organizer_email: None,diff --git a/crates/calendar_events/src/domain/service/test.rs b/crates/calendar_events/src/domain/service/test.rsindex 1b7c5e7d4d..22b2390c1b 100644--- a/crates/calendar_events/src/domain/service/test.rs+++ b/crates/calendar_events/src/domain/service/test.rs@@ -6,10 +6,10 @@ use crate::domain::{CalendarBackfillFailureDisposition, CalendarBackfillJobKey, CalendarCreationTarget,CalendarEvent, CalendarEventMutationTarget, CalendarEventSource, CalendarOccurrence,CalendarSyncStatus, DisconnectedGoogleCalendar, EventReminders, EventStatus, EventTime,- EventTransparency, EventVisibility, GOOGLE_CALENDAR_FULL_SCOPE, GOOGLE_CALENDAR_SCOPES,- GoogleBackfillRunReport, GoogleCalendarSyncSnapshot, GoogleEventSource,- GoogleEventSyncBatch, GoogleWatchChannel, GoogleWatchConfig, ProviderCalendar,- StoredGoogleCalendar,+ EventTransparency, EventType, EventVisibility, GOOGLE_CALENDAR_FULL_SCOPE,+ GOOGLE_CALENDAR_SCOPES, GoogleBackfillRunReport, GoogleCalendarSyncSnapshot,+ GoogleEventSource, GoogleEventSyncBatch, GoogleWatchChannel, GoogleWatchConfig,+ ProviderCalendar, StoredGoogleCalendar,},ports::{CalendarBackfillRepository, CalendarEventWrite, CalendarRepository, GoogleCalendarProvider,@@ -206,6 +206,7 @@ fn valid_upsert() -> CalendarEventUpsert {status: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: EventTime::Timed {starts_at,ends_at,diff --git a/crates/calendar_events/src/inbound/toolset/test.rs b/crates/calendar_events/src/inbound/toolset/test.rsindex 343463fd4b..3ee767b5c3 100644--- a/crates/calendar_events/src/inbound/toolset/test.rs+++ b/crates/calendar_events/src/inbound/toolset/test.rs@@ -10,7 +10,7 @@ use super::*;use crate::domain::models::{AttendeeResponseStatus, CalendarAttendee, CalendarEventDraft, CalendarEventPatch,CalendarOccurrence, CalendarSyncStatus, ConferenceChange, EventReminderOverride,- EventReminders, EventStatus, EventTransparency, EventVisibility, OccurrenceRange,+ EventReminders, EventStatus, EventTransparency, EventType, EventVisibility, OccurrenceRange,VisibleCalendar,};use crate::domain::ports::{@@ -81,6 +81,7 @@ fn sample_event(recurrence_lines: Vec<String>) -> crate::domain::models::Calendastatus: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: EventTime::Timed {starts_at: Utc.with_ymd_and_hms(2026, 8, 20, 17, 0, 0).unwrap(),ends_at: Utc.with_ymd_and_hms(2026, 8, 20, 18, 0, 0).unwrap(),diff --git a/crates/calendar_events/src/outbound/google.rs b/crates/calendar_events/src/outbound/google.rsindex 061baaa549..2a8453a472 100644--- a/crates/calendar_events/src/outbound/google.rs+++ b/crates/calendar_events/src/outbound/google.rs@@ -14,9 +14,9 @@ use crate::domain::{CalendarEvent, CalendarEventDraft, CalendarEventOverride, CalendarEventPatch,CalendarEventSource, CalendarEventUpsert, CalendarOccurrence, ConferenceChange,ConferenceProvider, EventReminderOverride, EventReminders, EventStart, EventStatus,- EventTime, EventTransparency, EventVisibility, GoogleCalendarTarget, GoogleEventSource,- GoogleEventSyncBatch, GoogleSyncPlan, GoogleWatchChannel, GoogleWatchConfig,- OccurrenceRange, ProviderCalendar,+ EventTime, EventTransparency, EventType, EventVisibility, GoogleCalendarTarget,+ GoogleEventSource, GoogleEventSyncBatch, GoogleSyncPlan, GoogleWatchChannel,+ GoogleWatchConfig, OccurrenceRange, ProviderCalendar,},ports::{CalendarRsvpScope, GoogleCalendarMutationProvider, GoogleCalendarProvider,@@ -1772,6 +1772,7 @@ fn map_upsert(status: google_status(master.status.as_deref()),visibility: google_visibility(master.visibility.as_deref()),transparency: google_transparency(master.transparency.as_deref()),+ event_type: google_event_type(master.event_type.as_deref()),time,recurrence_lines: master.recurrence.clone(),organizer_email: master@@ -2046,6 +2047,19 @@ fn google_visibility(value: Option<&str>) -> EventVisibility {}}+/// Unknown provider types fall back to `default` so a new Google event type+/// never breaks ingestion.+fn google_event_type(value: Option<&str>) -> EventType {+ match value {+ Some("outOfOffice") => EventType::OutOfOffice,+ Some("focusTime") => EventType::FocusTime,+ Some("workingLocation") => EventType::WorkingLocation,+ Some("birthday") => EventType::Birthday,+ Some("fromGmail") => EventType::FromGmail,+ _ => EventType::Default,+ }+}+fn google_transparency(value: Option<&str>) -> EventTransparency {if value == Some("transparent") {EventTransparency::Transparent@@ -2136,6 +2150,8 @@ struct GoogleEvent {location: Option<String>,visibility: Option<String>,transparency: Option<String>,+ #[serde(skip_serializing_if = "Option::is_none")]+ event_type: Option<String>,start: Option<GoogleEventDateTime>,end: Option<GoogleEventDateTime>,#[serde(default)]diff --git a/crates/calendar_events/src/outbound/google/test.rs b/crates/calendar_events/src/outbound/google/test.rsindex 2ef151fe04..b6d1324f9d 100644--- a/crates/calendar_events/src/outbound/google/test.rs+++ b/crates/calendar_events/src/outbound/google/test.rs@@ -37,6 +37,58 @@ fn calendar_access_role_is_reflected_on_mapped_events() {assert!(upsert.event.is_read_only);}+#[test]+fn event_type_is_mapped_with_an_unknown_fallback() {+ let range = OccurrenceRange {+ starts_at: DateTime::parse_from_rfc3339("2026-08-01T00:00:00Z")+ .unwrap()+ .with_timezone(&Utc),+ ends_at: DateTime::parse_from_rfc3339("2026-09-01T00:00:00Z")+ .unwrap()+ .with_timezone(&Utc),+ start_date: NaiveDate::from_ymd_opt(2026, 8, 1).unwrap(),+ end_date: NaiveDate::from_ymd_opt(2026, 9, 1).unwrap(),+ };+ let target = GoogleCalendarTarget {+ owner_id: "macro|[email protected]".to_string(),+ email_link_id: Uuid::now_v7(),+ account_id: Uuid::now_v7(),+ calendar_id: Uuid::now_v7(),+ provider_calendar_id: "primary".to_string(),+ is_read_only: false,+ range,+ };+ let master = |event_type: Option<&str>| -> GoogleEvent {+ let mut value = serde_json::json!({+ "id": "provider-event",+ "iCalUID": "[email protected]",+ "summary": "Office",+ "start": {"date": "2026-08-26"},+ "end": {"date": "2026-08-27"},+ "created": "2026-08-01T00:00:00Z",+ "updated": "2026-08-01T00:00:00Z"+ });+ if let Some(event_type) = event_type {+ value["eventType"] = event_type.into();+ }+ serde_json::from_value(value).unwrap()+ };++ for (provider, expected) in [+ (None, EventType::Default),+ (Some("default"), EventType::Default),+ (Some("workingLocation"), EventType::WorkingLocation),+ (Some("outOfOffice"), EventType::OutOfOffice),+ (Some("focusTime"), EventType::FocusTime),+ (Some("birthday"), EventType::Birthday),+ (Some("fromGmail"), EventType::FromGmail),+ (Some("someFutureType"), EventType::Default),+ ] {+ let upsert = map_upsert(&target, master(provider), Vec::new(), Vec::new()).unwrap();+ assert_eq!(upsert.event.event_type, expected, "provider {provider:?}");+ }+}+#[test]fn creator_is_mapped_separately_from_the_organizer() {let master: GoogleEvent = serde_json::from_value(serde_json::json!({diff --git a/crates/calendar_events/src/outbound/pg.rs b/crates/calendar_events/src/outbound/pg.rsindex 99e5567b42..792a07511f 100644--- a/crates/calendar_events/src/outbound/pg.rs+++ b/crates/calendar_events/src/outbound/pg.rs@@ -19,9 +19,10 @@ use crate::domain::{CalendarMentionPreview, CalendarMentionRequestItem, CalendarOccurrence,CalendarOccurrenceCursor, CalendarReminderFiring, CalendarSyncStatus, CalendarWatchRelease,ConferenceProvider, DisconnectedGoogleCalendar, DueCalendarReminder, EventReminderOverride,- EventReminders, EventStart, EventStatus, EventTime, EventTransparency, EventVisibility,- GOOGLE_CALENDAR_SCOPES, GoogleCalendarSyncSnapshot, GoogleScopeSet, GoogleWatchChannel,- OccurrenceRange, ProviderCalendar, StoredGoogleCalendar, VisibleCalendar,+ EventReminders, EventStart, EventStatus, EventTime, EventTransparency, EventType,+ EventVisibility, GOOGLE_CALENDAR_SCOPES, GoogleCalendarSyncSnapshot, GoogleScopeSet,+ GoogleWatchChannel, OccurrenceRange, ProviderCalendar, StoredGoogleCalendar,+ VisibleCalendar,},ports::{CalendarBackfillRepository, CalendarEventChange, CalendarEventWrite,@@ -291,6 +292,7 @@ struct OccurrenceJoinRow {status: String,visibility: String,transparency: String,+ event_type: String,starts_at: Option<DateTime<Utc>>,ends_at: Option<DateTime<Utc>>,start_date: Option<NaiveDate>,@@ -711,7 +713,7 @@ impl CalendarRepository for PgCalendarRepository {r#"INSERT INTO calendar_events (id, owner_id, source_link_id, ical_uid, title, description, location,- status, visibility, transparency,+ status, visibility, transparency, event_type,starts_at, ends_at, start_date, end_date, time_zone,recurrence_lines, organizer_email, organizer_name,creator_email, creator_name,@@ -723,7 +725,7 @@ impl CalendarRepository for PgCalendarRepository {)VALUES ($1, $2, $3, $4, $5, $6, $7,- $8, $9, $10,+ $8, $9, $10, $30,$11, $12, $13, $14, $15,$16, $17, $18,$28, $29,@@ -738,6 +740,7 @@ impl CalendarRepository for PgCalendarRepository {status = EXCLUDED.status,visibility = EXCLUDED.visibility,transparency = EXCLUDED.transparency,+ event_type = EXCLUDED.event_type,starts_at = EXCLUDED.starts_at,ends_at = EXCLUDED.ends_at,start_date = EXCLUDED.start_date,@@ -800,6 +803,7 @@ impl CalendarRepository for PgCalendarRepository {.map(ConferenceProvider::as_str),upsert.event.creator_email.as_deref(),upsert.event.creator_name.as_deref(),+ upsert.event.event_type.as_str(),).fetch_optional(&mut *tx).await@@ -851,6 +855,7 @@ impl CalendarRepository for PgCalendarRepository {&mut tx,event_id,upsert.event.status,+ upsert.event.event_type,&upsert.event.reminders,calendar.as_ref(),)@@ -897,6 +902,7 @@ impl CalendarRepository for PgCalendarRepository {event.status,event.visibility,event.transparency,+ event.event_type,event.starts_at,event.ends_at,event.start_date,@@ -2619,6 +2625,7 @@ async fn restore_best_source_or_delete(status = $5,visibility = $6,transparency = $7,+ event_type = $28,starts_at = $8,ends_at = $9,start_date = $10,@@ -2671,6 +2678,7 @@ async fn restore_best_source_or_delete(.map(ConferenceProvider::as_str),projection.event.creator_email.as_deref(),projection.event.creator_name.as_deref(),+ projection.event.event_type.as_str(),).execute(&mut **tx).await@@ -2689,6 +2697,7 @@ async fn restore_best_source_or_delete(tx,event_id,projection.event.status,+ projection.event.event_type,&projection.event.reminders,calendar.as_ref(),)@@ -2937,6 +2946,7 @@ async fn rebuild_event_reminder_firings(tx: &mut Transaction<'_, Postgres>,event_id: Uuid,status: EventStatus,+ event_type: EventType,reminders: &EventReminders,calendar: Option<&CalendarReminderContext>,) -> Result<(), Report> {@@ -2950,7 +2960,11 @@ async fn rebuild_event_reminder_firings(if status == EventStatus::Cancelled {return Ok(());}- let defaults = calendar.map_or(&[] as &[_], |calendar| &calendar.default_reminders);+ let defaults = if event_type.uses_calendar_default_reminders() {+ calendar.map_or(&[] as &[_], |calendar| &calendar.default_reminders)+ } else {+ &[]+ };let minutes: Vec<i32> = reminders.popup_minutes(defaults).into_iter()@@ -3053,7 +3067,12 @@ async fn rebuild_calendar_reminder_firings(SELECT (reminder.value ->> 'minutes')::int AS minutesFROM jsonb_array_elements(CASE- WHEN event.reminders_use_default THEN $3::jsonb+ -- Status-style events never resolve the calendar+ -- defaults, mirroring EventType::uses_calendar_default_reminders.+ WHEN event.reminders_use_default+ AND event.event_type IN ('default', 'from_gmail')+ THEN $3::jsonb+ WHEN event.reminders_use_default THEN '[]'::jsonbELSE event.reminder_overridesEND) AS reminder(value)@@ -3297,6 +3316,7 @@ fn event_from_join(status: event_status(&row.status),visibility: event_visibility(&row.visibility),transparency: event_transparency(&row.transparency),+ event_type: event_type(&row.event_type),time: row_time(row.starts_at,row.ends_at,@@ -3379,6 +3399,17 @@ fn event_transparency(value: &str) -> EventTransparency {}}+fn event_type(value: &str) -> EventType {+ match value {+ "out_of_office" => EventType::OutOfOffice,+ "focus_time" => EventType::FocusTime,+ "working_location" => EventType::WorkingLocation,+ "birthday" => EventType::Birthday,+ "from_gmail" => EventType::FromGmail,+ _ => EventType::Default,+ }+}+fn attendee_status(value: &str) -> AttendeeResponseStatus {match value {"accepted" => AttendeeResponseStatus::Accepted,diff --git a/crates/calendar_events/src/outbound/pg/test.rs b/crates/calendar_events/src/outbound/pg/test.rsindex 4fd84c5c6d..5b34d1f119 100644--- a/crates/calendar_events/src/outbound/pg/test.rs+++ b/crates/calendar_events/src/outbound/pg/test.rs@@ -131,6 +131,7 @@ fn timed_upsert(status: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: EventTime::Timed {starts_at,ends_at,@@ -2608,6 +2609,7 @@ fn reminder_upsert(status: EventStatus::Confirmed,visibility: EventVisibility::Default,transparency: EventTransparency::Opaque,+ event_type: EventType::Default,time: EventTime::Timed {starts_at,ends_at,@@ -2810,6 +2812,111 @@ async fn calendar_default_reminders_fan_out_to_use_default_events(pool: PgPool));}+/// Status-style events (working location, out of office, focus time,+/// birthdays) never resolve the calendar's default reminders — Google's+/// clients offer no notification setting on them — while explicit overrides+/// still schedule firings.+#[sqlx::test(migrator = "MACRO_DB_MIGRATIONS")]+async fn status_events_ignore_calendar_default_reminders(pool: PgPool) {+ let owner_id = "macro|[email protected]";+ let link_id = insert_link(&pool, owner_id).await;+ let repo = PgCalendarRepository::new(pool.clone());+ let (account_id, calendar_id) = provider_ids(&repo, link_id).await;+ let starts_at = (Utc::now() + Duration::hours(3)).trunc_subsecs(0);+ let primary_with_defaults = |minutes: &[u32]| ProviderCalendar {+ provider_calendar_id: "primary".to_string(),+ name: "Primary".to_string(),+ description: None,+ time_zone: Some("UTC".to_string()),+ color: None,+ access_role: Some("owner".to_string()),+ is_primary: true,+ is_selected: true,+ default_reminders: minutes+ .iter()+ .map(|minutes| EventReminderOverride {+ method: REMINDER_METHOD_POPUP.to_string(),+ minutes: *minutes,+ })+ .collect(),+ };+ let updated = repo+ .upsert_calendar_fixture(account_id, primary_with_defaults(&[10]))+ .await+ .unwrap();+ assert_eq!(updated, calendar_id);++ let mut working_location = reminder_upsert(+ owner_id,+ link_id,+ (account_id, calendar_id),+ "office",+ starts_at,+ EventReminders::default(),+ );+ working_location.event.event_type = EventType::WorkingLocation;+ let follows_defaults = repo.upsert_event_fixture(working_location).await.unwrap();+ let meeting = repo+ .upsert_event_fixture(reminder_upsert(+ owner_id,+ link_id,+ (account_id, calendar_id),+ "meeting",+ starts_at,+ EventReminders::default(),+ ))+ .await+ .unwrap();+ assert_eq!(+ scheduled_firings(&pool, follows_defaults).await,+ Vec::new(),+ "useDefault resolves to nothing on a status event"+ );+ assert_eq!(+ scheduled_firings(&pool, meeting).await,+ vec![(+ starts_at.to_rfc3339(),+ 10,+ starts_at - Duration::minutes(10)+ )],+ "an ordinary event on the same calendar still follows the defaults"+ );++ let mut with_override = reminder_upsert(+ owner_id,+ link_id,+ (account_id, calendar_id),+ "office-override",+ starts_at,+ popup_reminders(&[5]),+ );+ with_override.event.event_type = EventType::WorkingLocation;+ let overridden = repo.upsert_event_fixture(with_override).await.unwrap();+ assert_eq!(+ scheduled_firings(&pool, overridden).await,+ vec![(starts_at.to_rfc3339(), 5, starts_at - Duration::minutes(5))],+ "an explicit override on a status event still fires"+ );++ repo.upsert_calendar_fixture(account_id, primary_with_defaults(&[30]))+ .await+ .unwrap();+ assert_eq!(+ scheduled_firings(&pool, follows_defaults).await,+ Vec::new(),+ "a defaults change never schedules a status event"+ );+ assert_eq!(+ scheduled_firings(&pool, meeting).await,+ vec![(+ starts_at.to_rfc3339(),+ 30,+ starts_at - Duration::minutes(30)+ )],+ "the same defaults change still fans out to ordinary events"+ );+}+/// One event can hold sources on several calendars of one inbox. Only the/// canonical source (highest sequence/updated_at/seen/id) may drive the/// firing schedule: a defaults change on a secondary calendar must notdiff --git a/crates/macro_db_client/migrations/20260827175401_calendar_event_event_type.sql b/crates/macro_db_client/migrations/20260827175401_calendar_event_event_type.sqlnew file mode 100644index 0000000000..325cc8ee62--- /dev/null+++ b/crates/macro_db_client/migrations/20260827175401_calendar_event_event_type.sql@@ -0,0 +1,18 @@+-- Google's eventType distinguishes status-style entries (working location,+-- out of office, focus time, birthdays) from ordinary meetings. It gates+-- which events resolve the calendar's default reminders: Google never+-- notifies for status events, so Macro must not either.++ALTER TABLE calendar_events+ ADD COLUMN event_type text NOT NULL DEFAULT 'default'+ CHECK (event_type IN (+ 'default', 'out_of_office', 'focus_time', 'working_location',+ 'birthday', 'from_gmail'+ ));++-- Already-synced events were ingested before eventType was parsed, so their+-- stored projections all read 'default'. Dropping every continuation token+-- forces each calendar's next scheduled poll into a full snapshot, which+-- re-fetches events with the field populated; unchanged projections are+-- skipped by the identical-payload check, so the sweep costs reads only.+UPDATE calendars SET sync_token = NULL;diff --git a/packages/sdk/generated/email/index.ts b/packages/sdk/generated/email/index.tsindex 03b2d2c99c..2bbbfbdead 100644--- a/packages/sdk/generated/email/index.ts+++ b/packages/sdk/generated/email/index.ts@@ -1,4 +1,4 @@// This file is auto-generated by @hey-api/openapi-tsexport { type Options, Sdk } from './sdk.gen';-export type { AccessLevel, AddDraftAttachmentData, AddDraftAttachmentError, AddDraftAttachmentErrors, AddDraftAttachmentRequest, AddDraftAttachmentResponse, AddDraftAttachmentResponse2, AddDraftAttachmentResponses, AddForwardedAttachmentData, AddForwardedAttachmentError, AddForwardedAttachmentErrors, AddForwardedAttachmentRequest, AddForwardedAttachmentResponse, AddForwardedAttachmentResponse2, AddForwardedAttachmentResponses, AddRemoveLabelData, AddRemoveLabelError, AddRemoveLabelErrors, AddRemoveLabelResponse, AddRemoveLabelResponses, AddRemoveThreadLabelData, AddRemoveThreadLabelError, AddRemoveThreadLabelErrors, AddRemoveThreadLabelResponse, AddRemoveThreadLabelResponses, ApiAttachment, ApiAttachmentDraft, ApiAttachmentForwarded, ApiContact, ApiContactInfo, ApiDraftContactInfo, ApiDraftInput, ApiDraftOutput, ApiEmailFilter, ApiLabel, ApiLabelListVisibility, ApiLabelType, ApiMessage, ApiMessageAttachment, ApiMessageLabel, ApiMessageListVisibility, ApiPaginatedThreadCursor, ApiSortMethod, ApiThread, ApiThreadPreviewCursor, ApiThreadPreviewCursorInner, ArchiveThreadData, ArchiveThreadError, ArchiveThreadErrors, ArchiveThreadRequest, ArchiveThreadResponse, ArchiveThreadResponses, Attachment, AttachmentDraft, AttachmentForwarded, AttendeeResponseStatus, BackfillJob, BackfillJobStatus, BackfillStatus, BlockSenderData, BlockSenderError, BlockSenderErrors, BlockSenderRequest, BlockSenderResponses, CalendarAttendee, CalendarAttendeeInputBody, CalendarDeletionScopeParam, CalendarEvent, CalendarMutationApiError, CalendarMutationErrorCode, CalendarRsvpScopeParam, CalendarUpdateScopeParam, CancelBackfillGmailData, CancelBackfillGmailError, CancelBackfillGmailErrors, CancelBackfillGmailResponse, CancelBackfillGmailResponses, CancelBackfillParams, ClientOptions, ConferenceChange, ConferenceProvider, Contact, ContactInfo, ContactInfoLegacy, ContactInfoWithInteraction, CreateCalendarEventData, CreateCalendarEventError, CreateCalendarEventErrors, CreateCalendarEventRequest, CreateCalendarEventResponse, CreateCalendarEventResponses, CreateDraftData, CreateDraftError, CreateDraftErrors, CreateDraftRequest, CreateDraftResponse, CreateDraftResponse2, CreateDraftResponses, CreateLabelData, CreateLabelError, CreateLabelErrors, CreateLabelRequest, CreateLabelResponse, CreateLabelResponse2, CreateLabelResponses, DeleteCalendarEventData, DeleteCalendarEventError, DeleteCalendarEventErrors, DeleteCalendarEventResponse, DeleteCalendarEventResponses, DeleteDraftData, DeleteDraftError, DeleteDraftErrors, DeleteDraftResponse, DeleteDraftResponses, DeleteEmailFilterData, DeleteEmailFilterError, DeleteEmailFilterErrors, DeleteEmailFilterResponse, DeleteEmailFilterResponses, DeleteLabelData, DeleteLabelError, DeleteLabelErrors, DeleteLabelResponse, DeleteLabelResponses, DeleteLinkData, DeleteLinkError, DeleteLinkErrors, DeleteLinkResponse, DeleteLinkResponses, DeleteScheduledDraftData, DeleteScheduledDraftError, DeleteScheduledDraftErrors, DeleteScheduledDraftResponse, DeleteScheduledDraftResponses, DisableLinkCalendarData, DisableLinkCalendarError, DisableLinkCalendarErrors, DisableLinkCalendarResponse, DisableLinkCalendarResponses, DisableSyncData, DisableSyncError, DisableSyncErrors, DisableSyncResponse, DisableSyncResponses, EmptyResponse, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventVisibility, GetActiveBackfillJobResponse, GetAttachmentData, GetAttachmentDocumentIdData, GetAttachmentDocumentIdError, GetAttachmentDocumentIdErrors, GetAttachmentDocumentIdResponse, GetAttachmentDocumentIdResponse2, GetAttachmentDocumentIdResponses, GetAttachmentError, GetAttachmentErrors, GetAttachmentResponse, GetAttachmentResponse2, GetAttachmentResponses, GetBackfillGmailActiveData, GetBackfillGmailActiveError, GetBackfillGmailActiveErrors, GetBackfillGmailActiveResponse, GetBackfillGmailActiveResponses, GetBackfillGmailData, GetBackfillGmailError, GetBackfillGmailErrors, GetBackfillGmailResponse, GetBackfillGmailResponses, GetBackfillJobResponse, GetMessageData, GetMessageError, GetMessageErrors, GetMessageResponse, GetMessageResponses, GetMessagesBatchData, GetMessagesBatchError, GetMessagesBatchErrors, GetMessagesBatchResponse, GetMessagesBatchResponses, GetPreviewsCursorParams, GetScheduledMessagesData, GetScheduledMessagesError, GetScheduledMessagesErrors, GetScheduledMessagesResponse, GetScheduledMessagesResponses, GetScheduledResponse, GetThreadData, GetThreadError, GetThreadErrors, GetThreadMessagesHandlerData, GetThreadMessagesHandlerError, GetThreadMessagesHandlerErrors, GetThreadMessagesHandlerResponse, GetThreadMessagesHandlerResponses, GetThreadResponse, GetThreadResponse2, GetThreadResponses, HealthCheckLinksData, HealthCheckLinksError, HealthCheckLinksErrors, HealthCheckLinksResponse, HealthCheckLinksResponses, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, InitErrorCodeResponse, InitResponse, InitUserData, InitUserError, InitUserErrors, InitUserResponse, InitUserResponses, Label, LabelInfo, LabelListVisibility, LabelType, Link, ListBackfillGmailData, ListBackfillGmailError, ListBackfillGmailErrors, ListBackfillGmailResponse, ListBackfillGmailResponses, ListBackfillJobsResponse, ListBlockedResponse, ListBlockedSendersData, ListBlockedSendersError, ListBlockedSendersErrors, ListBlockedSendersResponse, ListBlockedSendersResponses, ListCalendarsData, ListCalendarsError, ListCalendarsErrors, ListCalendarsResponse, ListCalendarsResponse2, ListCalendarsResponses, ListContactsData, ListContactsError, ListContactsErrors, ListContactsResponse, ListContactsResponse2, ListContactsResponses, ListEmailFiltersData, ListEmailFiltersError, ListEmailFiltersErrors, ListEmailFiltersResponse, ListEmailFiltersResponse2, ListEmailFiltersResponses, ListLabelsData, ListLabelsError, ListLabelsErrors, ListLabelsResponse, ListLabelsResponse2, ListLabelsResponses, ListLinksData, ListLinksError, ListLinksErrors, ListLinksResponse, ListLinksResponse2, ListLinksResponses, Message, MessageListVisibility, ParsedMessage, PatchSettingsData, PatchSettingsError, PatchSettingsErrors, PatchSettingsRequest, PatchSettingsResponse, PatchSettingsResponse2, PatchSettingsResponses, PreviewsInboxCursorData, PreviewsInboxCursorError, PreviewsInboxCursorErrors, PreviewsInboxCursorResponse, PreviewsInboxCursorResponses, PreviewView, PreviewViewStandardLabel, RefreshCalendarEvent, RefreshEmailEvent, RemoveDraftAttachmentData, RemoveDraftAttachmentError, RemoveDraftAttachmentErrors, RemoveDraftAttachmentResponse, RemoveDraftAttachmentResponses, RemoveForwardedAttachmentData, RemoveForwardedAttachmentError, RemoveForwardedAttachmentErrors, RemoveForwardedAttachmentResponse, RemoveForwardedAttachmentResponses, ResyncLinkData, ResyncLinkError, ResyncLinkErrors, ResyncLinkResponse, ResyncLinkResponses, ResyncResponse, RsvpCalendarEventData, RsvpCalendarEventError, RsvpCalendarEventErrors, RsvpCalendarEventRequest, RsvpCalendarEventResponse, RsvpCalendarEventResponses, SendMessageData, SendMessageError, SendMessageErrors, SendMessageRequest, SendMessageResponse, SendMessageResponse2, SendMessageResponses, Settings, SharedInboxConflictResponse, SyncStatus, Thread, ThreadList, ThreadPreviewCursor, ThreadSeenData, ThreadSeenError, ThreadSeenErrors, ThreadSeenResponse, ThreadSeenResponses, ThreadSummary, UnblockSenderData, UnblockSenderError, UnblockSenderErrors, UnblockSenderRequest, UnblockSenderResponse, UnblockSenderResponses, UnresolvedSignatureImagesError, UpdateCalendarEventData, UpdateCalendarEventError, UpdateCalendarEventErrors, UpdateCalendarEventRequest, UpdateCalendarEventResponse, UpdateCalendarEventResponses, UpdateLabelBatchRequest, UpdateLabelBatchResponse, UpdateThreadLabelRequest, UpdateThreadLabelsResponse, UpdateThreadProjectData, UpdateThreadProjectError, UpdateThreadProjectErrors, UpdateThreadProjectRequest, UpdateThreadProjectResponse, UpdateThreadProjectResponse2, UpdateThreadProjectResponses, UpsertEmailFilterData, UpsertEmailFilterError, UpsertEmailFilterErrors, UpsertEmailFilterRequest, UpsertEmailFilterResponse, UpsertEmailFilterResponse2, UpsertEmailFilterResponses, UpsertScheduledMessageData, UpsertScheduledMessageError, UpsertScheduledMessageErrors, UpsertScheduledMessageResponse, UpsertScheduledMessageResponses, UpsertScheduledRequest, UpsertScheduledResponse, UserProvider, Value, VisibleCalendar } from './types.gen';+export type { AccessLevel, AddDraftAttachmentData, AddDraftAttachmentError, AddDraftAttachmentErrors, AddDraftAttachmentRequest, AddDraftAttachmentResponse, AddDraftAttachmentResponse2, AddDraftAttachmentResponses, AddForwardedAttachmentData, AddForwardedAttachmentError, AddForwardedAttachmentErrors, AddForwardedAttachmentRequest, AddForwardedAttachmentResponse, AddForwardedAttachmentResponse2, AddForwardedAttachmentResponses, AddRemoveLabelData, AddRemoveLabelError, AddRemoveLabelErrors, AddRemoveLabelResponse, AddRemoveLabelResponses, AddRemoveThreadLabelData, AddRemoveThreadLabelError, AddRemoveThreadLabelErrors, AddRemoveThreadLabelResponse, AddRemoveThreadLabelResponses, ApiAttachment, ApiAttachmentDraft, ApiAttachmentForwarded, ApiContact, ApiContactInfo, ApiDraftContactInfo, ApiDraftInput, ApiDraftOutput, ApiEmailFilter, ApiLabel, ApiLabelListVisibility, ApiLabelType, ApiMessage, ApiMessageAttachment, ApiMessageLabel, ApiMessageListVisibility, ApiPaginatedThreadCursor, ApiSortMethod, ApiThread, ApiThreadPreviewCursor, ApiThreadPreviewCursorInner, ArchiveThreadData, ArchiveThreadError, ArchiveThreadErrors, ArchiveThreadRequest, ArchiveThreadResponse, ArchiveThreadResponses, Attachment, AttachmentDraft, AttachmentForwarded, AttendeeResponseStatus, BackfillJob, BackfillJobStatus, BackfillStatus, BlockSenderData, BlockSenderError, BlockSenderErrors, BlockSenderRequest, BlockSenderResponses, CalendarAttendee, CalendarAttendeeInputBody, CalendarDeletionScopeParam, CalendarEvent, CalendarMutationApiError, CalendarMutationErrorCode, CalendarRsvpScopeParam, CalendarUpdateScopeParam, CancelBackfillGmailData, CancelBackfillGmailError, CancelBackfillGmailErrors, CancelBackfillGmailResponse, CancelBackfillGmailResponses, CancelBackfillParams, ClientOptions, ConferenceChange, ConferenceProvider, Contact, ContactInfo, ContactInfoLegacy, ContactInfoWithInteraction, CreateCalendarEventData, CreateCalendarEventError, CreateCalendarEventErrors, CreateCalendarEventRequest, CreateCalendarEventResponse, CreateCalendarEventResponses, CreateDraftData, CreateDraftError, CreateDraftErrors, CreateDraftRequest, CreateDraftResponse, CreateDraftResponse2, CreateDraftResponses, CreateLabelData, CreateLabelError, CreateLabelErrors, CreateLabelRequest, CreateLabelResponse, CreateLabelResponse2, CreateLabelResponses, DeleteCalendarEventData, DeleteCalendarEventError, DeleteCalendarEventErrors, DeleteCalendarEventResponse, DeleteCalendarEventResponses, DeleteDraftData, DeleteDraftError, DeleteDraftErrors, DeleteDraftResponse, DeleteDraftResponses, DeleteEmailFilterData, DeleteEmailFilterError, DeleteEmailFilterErrors, DeleteEmailFilterResponse, DeleteEmailFilterResponses, DeleteLabelData, DeleteLabelError, DeleteLabelErrors, DeleteLabelResponse, DeleteLabelResponses, DeleteLinkData, DeleteLinkError, DeleteLinkErrors, DeleteLinkResponse, DeleteLinkResponses, DeleteScheduledDraftData, DeleteScheduledDraftError, DeleteScheduledDraftErrors, DeleteScheduledDraftResponse, DeleteScheduledDraftResponses, DisableLinkCalendarData, DisableLinkCalendarError, DisableLinkCalendarErrors, DisableLinkCalendarResponse, DisableLinkCalendarResponses, DisableSyncData, DisableSyncError, DisableSyncErrors, DisableSyncResponse, DisableSyncResponses, EmptyResponse, ErrorResponse, EventReminderOverride, EventReminders, EventStatus, EventTime, EventTransparency, EventType, EventVisibility, GetActiveBackfillJobResponse, GetAttachmentData, GetAttachmentDocumentIdData, GetAttachmentDocumentIdError, GetAttachmentDocumentIdErrors, GetAttachmentDocumentIdResponse, GetAttachmentDocumentIdResponse2, GetAttachmentDocumentIdResponses, GetAttachmentError, GetAttachmentErrors, GetAttachmentResponse, GetAttachmentResponse2, GetAttachmentResponses, GetBackfillGmailActiveData, GetBackfillGmailActiveError, GetBackfillGmailActiveErrors, GetBackfillGmailActiveResponse, GetBackfillGmailActiveResponses, GetBackfillGmailData, GetBackfillGmailError, GetBackfillGmailErrors, GetBackfillGmailResponse, GetBackfillGmailResponses, GetBackfillJobResponse, GetMessageData, GetMessageError, GetMessageErrors, GetMessageResponse, GetMessageResponses, GetMessagesBatchData, GetMessagesBatchError, GetMessagesBatchErrors, GetMessagesBatchResponse, GetMessagesBatchResponses, GetPreviewsCursorParams, GetScheduledMessagesData, GetScheduledMessagesError, GetScheduledMessagesErrors, GetScheduledMessagesResponse, GetScheduledMessagesResponses, GetScheduledResponse, GetThreadData, GetThreadError, GetThreadErrors, GetThreadMessagesHandlerData, GetThreadMessagesHandlerError, GetThreadMessagesHandlerErrors, GetThreadMessagesHandlerResponse, GetThreadMessagesHandlerResponses, GetThreadResponse, GetThreadResponse2, GetThreadResponses, HealthCheckLinksData, HealthCheckLinksError, HealthCheckLinksErrors, HealthCheckLinksResponse, HealthCheckLinksResponses, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, InitErrorCodeResponse, InitResponse, InitUserData, InitUserError, InitUserErrors, InitUserResponse, InitUserResponses, Label, LabelInfo, LabelListVisibility, LabelType, Link, ListBackfillGmailData, ListBackfillGmailError, ListBackfillGmailErrors, ListBackfillGmailResponse, ListBackfillGmailResponses, ListBackfillJobsResponse, ListBlockedResponse, ListBlockedSendersData, ListBlockedSendersError, ListBlockedSendersErrors, ListBlockedSendersResponse, ListBlockedSendersResponses, ListCalendarsData, ListCalendarsError, ListCalendarsErrors, ListCalendarsResponse, ListCalendarsResponse2, ListCalendarsResponses, ListContactsData, ListContactsError, ListContactsErrors, ListContactsResponse, ListContactsResponse2, ListContactsResponses, ListEmailFiltersData, ListEmailFiltersError, ListEmailFiltersErrors, ListEmailFiltersResponse, ListEmailFiltersResponse2, ListEmailFiltersResponses, ListLabelsData, ListLabelsError, ListLabelsErrors, ListLabelsResponse, ListLabelsResponse2, ListLabelsResponses, ListLinksData, ListLinksError, ListLinksErrors, ListLinksResponse, ListLinksResponse2, ListLinksResponses, Message, MessageListVisibility, ParsedMessage, PatchSettingsData, PatchSettingsError, PatchSettingsErrors, PatchSettingsRequest, PatchSettingsResponse, PatchSettingsResponse2, PatchSettingsResponses, PreviewsInboxCursorData, PreviewsInboxCursorError, PreviewsInboxCursorErrors, PreviewsInboxCursorResponse, PreviewsInboxCursorResponses, PreviewView, PreviewViewStandardLabel, RefreshCalendarEvent, RefreshEmailEvent, RemoveDraftAttachmentData, RemoveDraftAttachmentError, RemoveDraftAttachmentErrors, RemoveDraftAttachmentResponse, RemoveDraftAttachmentResponses, RemoveForwardedAttachmentData, RemoveForwardedAttachmentError, RemoveForwardedAttachmentErrors, RemoveForwardedAttachmentResponse, RemoveForwardedAttachmentResponses, ResyncLinkData, ResyncLinkError, ResyncLinkErrors, ResyncLinkResponse, ResyncLinkResponses, ResyncResponse, RsvpCalendarEventData, RsvpCalendarEventError, RsvpCalendarEventErrors, RsvpCalendarEventRequest, RsvpCalendarEventResponse, RsvpCalendarEventResponses, SendMessageData, SendMessageError, SendMessageErrors, SendMessageRequest, SendMessageResponse, SendMessageResponse2, SendMessageResponses, Settings, SharedInboxConflictResponse, SyncStatus, Thread, ThreadList, ThreadPreviewCursor, ThreadSeenData, ThreadSeenError, ThreadSeenErrors, ThreadSeenResponse, ThreadSeenResponses, ThreadSummary, UnblockSenderData, UnblockSenderError, UnblockSenderErrors, UnblockSenderRequest, UnblockSenderResponse, UnblockSenderResponses, UnresolvedSignatureImagesError, UpdateCalendarEventData, UpdateCalendarEventError, UpdateCalendarEventErrors, UpdateCalendarEventRequest, UpdateCalendarEventResponse, UpdateCalendarEventResponses, UpdateLabelBatchRequest, UpdateLabelBatchResponse, UpdateThreadLabelRequest, UpdateThreadLabelsResponse, UpdateThreadProjectData, UpdateThreadProjectError, UpdateThreadProjectErrors, UpdateThreadProjectRequest, UpdateThreadProjectResponse, UpdateThreadProjectResponse2, UpdateThreadProjectResponses, UpsertEmailFilterData, UpsertEmailFilterError, UpsertEmailFilterErrors, UpsertEmailFilterRequest, UpsertEmailFilterResponse, UpsertEmailFilterResponse2, UpsertEmailFilterResponses, UpsertScheduledMessageData, UpsertScheduledMessageError, UpsertScheduledMessageErrors, UpsertScheduledMessageResponse, UpsertScheduledMessageResponses, UpsertScheduledRequest, UpsertScheduledResponse, UserProvider, Value, VisibleCalendar } from './types.gen';diff --git a/packages/sdk/generated/email/types.gen.ts b/packages/sdk/generated/email/types.gen.tsindex 6b6b556557..ca15e8907a 100644--- a/packages/sdk/generated/email/types.gen.ts+++ b/packages/sdk/generated/email/types.gen.ts@@ -624,6 +624,12 @@ export type CalendarEvent = {* Optional event body.*/description?: string | null;+ /**+ * Provider event type. Skipped when it is the regular type so+ * projections stored before event types were modeled still compare+ * equal.+ */+ eventType?: EventType;/*** RFC 5545 UID used to reconcile provider and email sources.*/@@ -958,6 +964,13 @@ export type EventTime = {*/export type EventTransparency = 'opaque' | 'transparent';+/**+ * Google's event type: ordinary meetings versus the status-style entries+ * (working location, out of office, focus time, birthdays) Google renders+ * and notifies differently. Immutable at the provider after creation.+ */+export type EventType = 'default' | 'out_of_office' | 'focus_time' | 'working_location' | 'birthday' | 'from_gmail';+/*** Visibility of event details.*/diff --git a/packages/sdk/generated/storage/index.ts b/packages/sdk/generated/storage/index.tsindex 1dceb4eb5a..2a7c9b3afe 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-tsexport { 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, 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, AttendeeResponseStatus, BasicDocument, BasicDocumentSubType, BomPart, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, 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, ClientOptions, CloudStorageItemType, CollabSurfaceResponse, CollabSurfaceTokenResponse, Comment, CommentThread, ConferenceProvider, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, 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, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, 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, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmComment, CrmCommentEntityType, CrmCommentThread, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, 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, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteMessageData, DeleteMessageError, DeleteMessageErrors, DeleteMessageQuery, DeleteMessageResponse, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderError, DeleteReminderErrors, DeleteReminderResponse, DeleteReminderResponses, DeleteThreadInfo, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, 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, 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, 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, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, 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, 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, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, 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, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsError, ListCrmCommentsErrors, ListCrmCommentsResponse, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListRemindersData, ListRemindersError, ListRemindersErrors, ListRemindersResponse, ListRemindersResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Mentions, NewChannelAttachment, NotificationFilters, 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, 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, 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, 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, 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, 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, String, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, TagFilterMode, TaskFilters, TeamRole, Thread, ThreadResponse, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TranscriptSegmentRequest, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingAction, UnthreadedPdfUuidRequest, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, 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, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, View, ViewPatch, ViewsResponse, 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, 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, AttendeeResponseStatus, BasicDocument, BasicDocumentSubType, BomPart, Bot, BotChannel, BotChannelType, BotId, BotKind, BotOwner, BotToken, BranchNameResponse, BTreeMap, BulkWakeupRequest, BulkWakeupResponse, BulkWakeupSyncServiceDocumentsData, BulkWakeupSyncServiceDocumentsErrors, BulkWakeupSyncServiceDocumentsResponse, BulkWakeupSyncServiceDocumentsResponses, CalendarAttendee, CalendarEvent, CalendarEventFilters, 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, ClientOptions, CloudStorageItemType, CollabSurfaceResponse, CollabSurfaceTokenResponse, Comment, CommentThread, ConferenceProvider, CopyDocumentData, CopyDocumentError, CopyDocumentErrors, CopyDocumentQueryParams, CopyDocumentRequest, CopyDocumentResponse, CopyDocumentResponse2, CopyDocumentResponses, 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, CreateEntityMentionData, CreateEntityMentionError, CreateEntityMentionErrors, CreateEntityMentionRequest, CreateEntityMentionResponse, CreateEntityMentionResponse2, CreateEntityMentionResponses, CreateInstructionsDocumentResponse, CreateInstructionsHandlerData, CreateInstructionsHandlerError, CreateInstructionsHandlerErrors, CreateInstructionsHandlerResponse, CreateInstructionsHandlerResponses, CreateMarkdownDocumentRequest, CreateMarkdownDocumentResponse, CreateMarkdownHandlerData, CreateMarkdownHandlerError, CreateMarkdownHandlerErrors, CreateMarkdownHandlerResponse, CreateMarkdownHandlerResponses, 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, CreateViewHandlerData, CreateViewHandlerError, CreateViewHandlerErrors, CreateViewHandlerResponse, CreateViewHandlerResponses, CreateViewRequest, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookRequest, CreateWebhookResponse, CreateWebhookResponse2, CreateWebhookResponses, CrmComment, CrmCommentEntityType, CrmCommentThread, CrmCompanyFilters, CrmCompanyResponse, CrmContactResponse, CrmDomainResponse, CrmPermissionRole, 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, DeleteHistoryHandlerData, DeleteHistoryHandlerError, DeleteHistoryHandlerErrors, DeleteHistoryHandlerResponse, DeleteHistoryHandlerResponses, DeleteMessageData, DeleteMessageError, DeleteMessageErrors, DeleteMessageQuery, DeleteMessageResponse, DeleteMessageResponses, DeleteProjectHandlerData, DeleteProjectHandlerError, DeleteProjectHandlerErrors, DeleteProjectHandlerResponse, DeleteProjectHandlerResponses, DeleteReminderData, DeleteReminderError, DeleteReminderErrors, DeleteReminderResponse, DeleteReminderResponses, DeleteThreadInfo, DeleteUnthreadedAnchorRequest, DeleteUnthreadedAnchorResponse, DeleteUnthreadedPdfAnchorRequest, 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, 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, GetForeignEntityData, GetForeignEntityError, GetForeignEntityErrors, GetForeignEntityResponse, GetForeignEntityResponses, GetHistoryHandlerData, GetHistoryHandlerError, GetHistoryHandlerErrors, GetHistoryHandlerResponse, GetHistoryHandlerResponses, 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, 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, HashMap, HealthHandlerData, HealthHandlerResponse, HealthHandlerResponses, HighlightType, IngestTranscriptData, IngestTranscriptError, IngestTranscriptErrors, IngestTranscriptResponses, InitializeUserDocumentsData, InitializeUserDocumentsError, InitializeUserDocumentsErrors, InitializeUserDocumentsResponse, InitializeUserDocumentsResponses, 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, ListBotChannelsData, ListBotChannelsError, ListBotChannelsErrors, ListBotChannelsResponse, ListBotChannelsResponses, ListCompanyContactsData, ListCompanyContactsError, ListCompanyContactsErrors, ListCompanyContactsResponse, ListCompanyContactsResponses, ListCrmCommentsData, ListCrmCommentsError, ListCrmCommentsErrors, ListCrmCommentsResponse, ListCrmCommentsResponses, ListFavoritesData, ListFavoritesError, ListFavoritesErrors, ListFavoritesResponse, ListFavoritesResponses, ListOccurrencesData, ListOccurrencesErrors, ListOccurrencesResponse, ListOccurrencesResponses, ListRemindersData, ListRemindersError, ListRemindersErrors, ListRemindersResponse, ListRemindersResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponse2, ListWebhooksResponses, LocationResponseData, LocationResponseV3, MacroUserIdStr, MentionPreviewsData, MentionPreviewsErrors, MentionPreviewsResponse, MentionPreviewsResponses, Mentions, NewChannelAttachment, NotificationFilters, 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, 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, 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, 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, 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, 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, String, SuccessResponse, SurfaceState, SyncServiceVersionId, SystemSkillSummary, TagFilterMode, TaskFilters, TeamRole, Thread, ThreadResponse, ToggleShareWithTeamData, ToggleShareWithTeamError, ToggleShareWithTeamErrors, ToggleShareWithTeamResponse, ToggleShareWithTeamResponses, TranscriptSegmentRequest, TypedSuccessResponse, TypedSuccessResponseGetDocumentResponseData, TypingAction, UnthreadedPdfUuidRequest, UpdateChannelSharePermission, UpdateCrmTeamSettingsRequest, 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, UserDocumentsResponse, UserDocumentViewLocation, UserDocumentViewLocationResponse, UserPinsResponse, UserViewsResponse, ValidateDocumentPermissionsTokenData, ValidateDocumentPermissionsTokenError, ValidateDocumentPermissionsTokenErrors, ValidateDocumentPermissionsTokenResponse, ValidateDocumentPermissionsTokenResponses, ValidateWebhookData, ValidateWebhookError, ValidateWebhookErrors, ValidateWebhookResponse, ValidateWebhookResponse2, ValidateWebhookResponses, Vec, View, ViewPatch, ViewsResponse, Webhook, WebhookEvent, WebhookFilter, WebhookScope, WebhookStatus, WebhookValidationTestEvent, WithCallId, WithChannelId, WithDocumentId, WithProjectId } from './types.gen';diff --git a/packages/sdk/generated/storage/types.gen.ts b/packages/sdk/generated/storage/types.gen.tsindex 0d26974a5b..12b050eb48 100644--- a/packages/sdk/generated/storage/types.gen.ts+++ b/packages/sdk/generated/storage/types.gen.ts@@ -1270,6 +1270,12 @@ export type CalendarEvent = {* Optional event body.*/description?: string | null;+ /**+ * Provider event type. Skipped when it is the regular type so+ * projections stored before event types were modeled still compare+ * equal.+ */+ eventType?: EventType;/*** RFC 5545 UID used to reconcile provider and email sources.*/@@ -4768,6 +4774,13 @@ export type EventTime = {*/export type EventTransparency = 'opaque' | 'transparent';+/**+ * Google's event type: ordinary meetings versus the status-style entries+ * (working location, out of office, focus time, birthdays) Google renders+ * and notifies differently. Immutable at the provider after creation.+ */+export type EventType = 'default' | 'out_of_office' | 'focus_time' | 'working_location' | 'birthday' | 'from_gmail';+/*** Visibility of event details.*/diff --git a/packages/sdk/specs/email.json b/packages/sdk/specs/email.jsonindex 83623de36b..7fffc2f2bf 100644--- a/packages/sdk/specs/email.json+++ b/packages/sdk/specs/email.json@@ -4567,6 +4567,10 @@"type": ["string", "null"],"description": "Optional event body."},+ "eventType": {+ "$ref": "#/components/schemas/EventType",+ "description": "Provider event type. Skipped when it is the regular type so\nprojections stored before event types were modeled still compare\nequal."+ },"icalUid": {"type": "string","description": "RFC 5545 UID used to reconcile provider and email sources."@@ -5026,6 +5030,18 @@"description": "Whether an event blocks availability.","enum": ["opaque", "transparent"]},+ "EventType": {+ "type": "string",+ "description": "Google's event type: ordinary meetings versus the status-style entries\n(working location, out of office, focus time, birthdays) Google renders\nand notifies differently. Immutable at the provider after creation.",+ "enum": [+ "default",+ "out_of_office",+ "focus_time",+ "working_location",+ "birthday",+ "from_gmail"+ ]+ },"EventVisibility": {"type": "string","description": "Visibility of event details.",diff --git a/packages/sdk/specs/storage.json b/packages/sdk/specs/storage.jsonindex 812a595272..9e299d9e03 100644--- a/packages/sdk/specs/storage.json+++ b/packages/sdk/specs/storage.json@@ -13343,6 +13343,10 @@"type": ["string", "null"],"description": "Optional event body."},+ "eventType": {+ "$ref": "#/components/schemas/EventType",+ "description": "Provider event type. Skipped when it is the regular type so\nprojections stored before event types were modeled still compare\nequal."+ },"icalUid": {"type": "string","description": "RFC 5545 UID used to reconcile provider and email sources."@@ -18481,6 +18485,18 @@"description": "Whether an event blocks availability.","enum": ["opaque", "transparent"]},+ "EventType": {+ "type": "string",+ "description": "Google's event type: ordinary meetings versus the status-style entries\n(working location, out of office, focus time, birthdays) Google renders\nand notifies differently. Immutable at the provider after creation.",+ "enum": [+ "default",+ "out_of_office",+ "focus_time",+ "working_location",+ "birthday",+ "from_gmail"+ ]+ },"EventVisibility": {"type": "string","description": "Visibility of event details.",