Skip to content

Commit a3ce7a6

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 - Adds team (object with id and name) metadata field - Adds old_assignment_limit (nullable integer) metadata field - Adds new_assignment_limit (nullable integer) metadata field Related PRs: - intercom/intercom#445742 (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 a3ce7a6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 24 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,29 @@ 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+
old_assignment_limit:
15248+
type: integer
15249+
nullable: true
15250+
description: The previous team assignment limit value (null if no limit was set).
15251+
example: null
15252+
new_assignment_limit:
15253+
type: integer
15254+
nullable: true
15255+
description: The new team assignment limit value (null if limit was removed).
15256+
example: 50
1523315257
addressable_list:
1523415258
title: Addressable List
1523515259
type: object

0 commit comments

Comments
 (0)