Skip to content

Commit c75bfc6

Browse files
committed
Add team_assignment_limit_change activity type to OpenAPI spec
Adds OpenAPI documentation for team assignment limit changes in activity logs API. Changes: - Adds team_assignment_limit_change to activity_type enum in both Unstable (0) and Stable (2.14) - 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. This is an additive, non-breaking change suitable for the stable 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 Follows pattern from PR #293 (admin assignment limits).
1 parent a05a309 commit c75bfc6

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15109,6 +15109,7 @@ components:
1510915109
- app_team_creation
1511015110
- app_team_deletion
1511115111
- app_team_membership_modification
15112+
- team_assignment_limit_change
1511215113
- app_timezone_change
1511315114
- app_webhook_creation
1511415115
- app_webhook_deletion
@@ -15230,6 +15231,24 @@ components:
1523015231
nullable: true
1523115232
description: The ticket assignment limit value for an admin.
1523215233
example: 20
15234+
team:
15235+
type: object
15236+
nullable: true
15237+
description: Details about the team whose assignment limit was changed.
15238+
properties:
15239+
id:
15240+
type: integer
15241+
description: The ID of the team.
15242+
example: 123
15243+
name:
15244+
type: string
15245+
description: The name of the team.
15246+
example: Support Team
15247+
team_assignment_limit:
15248+
type: integer
15249+
nullable: true
15250+
description: The team assignment limit value (null if limit was removed).
15251+
example: 50
1523315252
addressable_list:
1523415253
title: Addressable List
1523515254
type: object

descriptions/2.14/api.intercom.io.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14072,6 +14072,7 @@ components:
1407214072
- app_team_creation
1407314073
- app_team_deletion
1407414074
- app_team_membership_modification
14075+
- team_assignment_limit_change
1407514076
- app_timezone_change
1407614077
- app_webhook_creation
1407714078
- app_webhook_deletion
@@ -14193,6 +14194,24 @@ components:
1419314194
nullable: true
1419414195
description: The ticket assignment limit value for an admin.
1419514196
example: 20
14197+
team:
14198+
type: object
14199+
nullable: true
14200+
description: Details about the team whose assignment limit was changed.
14201+
properties:
14202+
id:
14203+
type: integer
14204+
description: The ID of the team.
14205+
example: 123
14206+
name:
14207+
type: string
14208+
description: The name of the team.
14209+
example: Support Team
14210+
team_assignment_limit:
14211+
type: integer
14212+
nullable: true
14213+
description: The team assignment limit value (null if limit was removed).
14214+
example: 50
1419614215
addressable_list:
1419714216
title: Addressable List
1419814217
type: object

0 commit comments

Comments
 (0)