From 33c16a03822b2bd0c6641ee2b5e79ada877bd8d3 Mon Sep 17 00:00:00 2001 From: Salman Shah Date: Thu, 6 Nov 2025 21:59:53 +0000 Subject: [PATCH] Add team_assignment_limit_change activity type to API version 2.14 Adds OpenAPI documentation for team assignment limit changes in activity logs API for version 2.14 only. Changes (version 2.14 only): - Adds team_assignment_limit_change to activity_type enum (in alphabetical order) - Adds team (object with id and name) metadata field - Adds team_assignment_limit (nullable integer) metadata field The metadata structure follows the pattern of conversation_assignment_limit and ticket_assignment_limit, storing only the current value rather than both old and new values. Note: This feature is available in version 2.14, not in the unreleased/unstable version. Related PRs: - intercom/intercom#446612 (Updated API presenter implementation) - intercom/intercom#445742 (Initial API presenter implementation) - intercom/intercom#445704 (Event infrastructure) Related Issue: intercom/intercom#445916 --- descriptions/2.14/api.intercom.io.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/descriptions/2.14/api.intercom.io.yaml b/descriptions/2.14/api.intercom.io.yaml index 14a95e2..6ce6650 100644 --- a/descriptions/2.14/api.intercom.io.yaml +++ b/descriptions/2.14/api.intercom.io.yaml @@ -14104,6 +14104,7 @@ components: - seat_change - seat_revoke - security_settings_change + - team_assignment_limit_change - temporary_expectation_change - upfront_email_collection_change - welcome_message_change @@ -14193,6 +14194,24 @@ components: nullable: true description: The ticket assignment limit value for an admin. example: 20 + team: + type: object + nullable: true + description: Details about the team whose assignment limit was changed. + properties: + id: + type: integer + description: The ID of the team. + example: 123 + name: + type: string + description: The name of the team. + example: Support Team + team_assignment_limit: + type: integer + nullable: true + description: The team assignment limit value (null if limit was removed). + example: 50 addressable_list: title: Addressable List type: object