Skip to content

Commit 5662b2e

Browse files
Document the Admin occupancy activity log events (#614)
* Document the admin_occupancy_state_change activity log event Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * Also document the event in 2.13 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * Document the admin_occupancy_setting_change activity log event --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1a59802 commit 5662b2e

5 files changed

Lines changed: 269 additions & 0 deletions

File tree

descriptions/0/api.intercom.io.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ paths:
427427
- admin_login_failure
428428
- admin_login_success
429429
- admin_logout
430+
- admin_occupancy_setting_change
431+
- admin_occupancy_state_change
430432
- admin_password_reset_request
431433
- admin_password_reset_success
432434
- admin_permission_change
@@ -26382,6 +26384,8 @@ components:
2638226384
- admin_login_failure
2638326385
- admin_login_success
2638426386
- admin_logout
26387+
- admin_occupancy_setting_change
26388+
- admin_occupancy_state_change
2638526389
- admin_password_reset_request
2638626390
- admin_password_reset_success
2638726391
- admin_permission_change
@@ -26537,6 +26541,57 @@ components:
2653726541
nullable: true
2653826542
description: The name of the Admin who initiated the activity.
2653926543
example: Joe Example
26544+
previous_state:
26545+
type: string
26546+
nullable: true
26547+
description: The state before the change. `idle` or `occupied`, and null
26548+
when the Admin had not been classified yet.
26549+
example: idle
26550+
new_state:
26551+
type: string
26552+
nullable: true
26553+
description: The state after the change. `idle` or `occupied`.
26554+
example: occupied
26555+
threshold_minutes:
26556+
type: integer
26557+
nullable: true
26558+
description: The inactivity window, in minutes, used to classify the Admin.
26559+
example: 15
26560+
last_activity_at:
26561+
type: integer
26562+
format: date-time
26563+
nullable: true
26564+
description: The time of the Admin's last recorded activity.
26565+
example: 1671028894
26566+
auto:
26567+
type: boolean
26568+
nullable: true
26569+
description: Indicates the state was derived automatically rather than set
26570+
by an Admin.
26571+
example: true
26572+
setting_type:
26573+
type: string
26574+
nullable: true
26575+
description: The group of workspace settings the change belongs to, for
26576+
example `teammate_occupancy` or `automatic_away_mode`.
26577+
example: teammate_occupancy
26578+
changes:
26579+
type: object
26580+
nullable: true
26581+
description: The settings altered by the change, keyed by setting name.
26582+
Only settings whose value actually moved are included, so an unchanged
26583+
setting is absent rather than present with equal values.
26584+
additionalProperties:
26585+
type: object
26586+
properties:
26587+
before:
26588+
description: The value before the change.
26589+
after:
26590+
description: The value after the change.
26591+
example:
26592+
occupancy_window_minutes:
26593+
before: 15
26594+
after: 30
2654026595
conversation_assignment_limit:
2654126596
type: integer
2654226597
nullable: true

descriptions/2.13/api.intercom.io.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13099,6 +13099,8 @@ components:
1309913099
- admin_login_failure
1310013100
- admin_login_success
1310113101
- admin_logout
13102+
- admin_occupancy_setting_change
13103+
- admin_occupancy_state_change
1310213104
- admin_password_reset_request
1310313105
- admin_password_reset_success
1310413106
- admin_permission_change
@@ -13231,6 +13233,57 @@ components:
1323113233
nullable: true
1323213234
description: The name of the Admin who initiated the activity.
1323313235
example: Joe Example
13236+
previous_state:
13237+
type: string
13238+
nullable: true
13239+
description: The state before the change. `idle` or `occupied`, and null
13240+
when the Admin had not been classified yet.
13241+
example: idle
13242+
new_state:
13243+
type: string
13244+
nullable: true
13245+
description: The state after the change. `idle` or `occupied`.
13246+
example: occupied
13247+
threshold_minutes:
13248+
type: integer
13249+
nullable: true
13250+
description: The inactivity window, in minutes, used to classify the Admin.
13251+
example: 15
13252+
last_activity_at:
13253+
type: integer
13254+
format: date-time
13255+
nullable: true
13256+
description: The time of the Admin's last recorded activity.
13257+
example: 1671028894
13258+
auto:
13259+
type: boolean
13260+
nullable: true
13261+
description: Indicates the state was derived automatically rather than set
13262+
by an Admin.
13263+
example: true
13264+
setting_type:
13265+
type: string
13266+
nullable: true
13267+
description: The group of workspace settings the change belongs to, for
13268+
example `teammate_occupancy` or `automatic_away_mode`.
13269+
example: teammate_occupancy
13270+
changes:
13271+
type: object
13272+
nullable: true
13273+
description: The settings altered by the change, keyed by setting name.
13274+
Only settings whose value actually moved are included, so an unchanged
13275+
setting is absent rather than present with equal values.
13276+
additionalProperties:
13277+
type: object
13278+
properties:
13279+
before:
13280+
description: The value before the change.
13281+
after:
13282+
description: The value after the change.
13283+
example:
13284+
occupancy_window_minutes:
13285+
before: 15
13286+
after: 30
1323413287
addressable_list:
1323513288
title: Addressable List
1323613289
type: object

descriptions/2.14/api.intercom.io.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14619,6 +14619,8 @@ components:
1461914619
- admin_login_failure
1462014620
- admin_login_success
1462114621
- admin_logout
14622+
- admin_occupancy_setting_change
14623+
- admin_occupancy_state_change
1462214624
- admin_password_reset_request
1462314625
- admin_password_reset_success
1462414626
- admin_permission_change
@@ -14782,6 +14784,57 @@ components:
1478214784
nullable: true
1478314785
description: The name of the Admin who initiated the activity.
1478414786
example: Joe Example
14787+
previous_state:
14788+
type: string
14789+
nullable: true
14790+
description: The state before the change. `idle` or `occupied`, and null
14791+
when the Admin had not been classified yet.
14792+
example: idle
14793+
new_state:
14794+
type: string
14795+
nullable: true
14796+
description: The state after the change. `idle` or `occupied`.
14797+
example: occupied
14798+
threshold_minutes:
14799+
type: integer
14800+
nullable: true
14801+
description: The inactivity window, in minutes, used to classify the Admin.
14802+
example: 15
14803+
last_activity_at:
14804+
type: integer
14805+
format: date-time
14806+
nullable: true
14807+
description: The time of the Admin's last recorded activity.
14808+
example: 1671028894
14809+
auto:
14810+
type: boolean
14811+
nullable: true
14812+
description: Indicates the state was derived automatically rather than set
14813+
by an Admin.
14814+
example: true
14815+
setting_type:
14816+
type: string
14817+
nullable: true
14818+
description: The group of workspace settings the change belongs to, for
14819+
example `teammate_occupancy` or `automatic_away_mode`.
14820+
example: teammate_occupancy
14821+
changes:
14822+
type: object
14823+
nullable: true
14824+
description: The settings altered by the change, keyed by setting name.
14825+
Only settings whose value actually moved are included, so an unchanged
14826+
setting is absent rather than present with equal values.
14827+
additionalProperties:
14828+
type: object
14829+
properties:
14830+
before:
14831+
description: The value before the change.
14832+
after:
14833+
description: The value after the change.
14834+
example:
14835+
occupancy_window_minutes:
14836+
before: 15
14837+
after: 30
1478514838
conversation_assignment_limit:
1478614839
type: integer
1478714840
nullable: true

descriptions/2.15/api.intercom.io.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15233,6 +15233,8 @@ components:
1523315233
- admin_login_failure
1523415234
- admin_login_success
1523515235
- admin_logout
15236+
- admin_occupancy_setting_change
15237+
- admin_occupancy_state_change
1523615238
- admin_password_reset_request
1523715239
- admin_password_reset_success
1523815240
- admin_permission_change
@@ -15405,6 +15407,57 @@ components:
1540515407
nullable: true
1540615408
description: The name of the Admin who initiated the activity.
1540715409
example: Joe Example
15410+
previous_state:
15411+
type: string
15412+
nullable: true
15413+
description: The state before the change. `idle` or `occupied`, and null
15414+
when the Admin had not been classified yet.
15415+
example: idle
15416+
new_state:
15417+
type: string
15418+
nullable: true
15419+
description: The state after the change. `idle` or `occupied`.
15420+
example: occupied
15421+
threshold_minutes:
15422+
type: integer
15423+
nullable: true
15424+
description: The inactivity window, in minutes, used to classify the Admin.
15425+
example: 15
15426+
last_activity_at:
15427+
type: integer
15428+
format: date-time
15429+
nullable: true
15430+
description: The time of the Admin's last recorded activity.
15431+
example: 1671028894
15432+
auto:
15433+
type: boolean
15434+
nullable: true
15435+
description: Indicates the state was derived automatically rather than set
15436+
by an Admin.
15437+
example: true
15438+
setting_type:
15439+
type: string
15440+
nullable: true
15441+
description: The group of workspace settings the change belongs to, for
15442+
example `teammate_occupancy` or `automatic_away_mode`.
15443+
example: teammate_occupancy
15444+
changes:
15445+
type: object
15446+
nullable: true
15447+
description: The settings altered by the change, keyed by setting name.
15448+
Only settings whose value actually moved are included, so an unchanged
15449+
setting is absent rather than present with equal values.
15450+
additionalProperties:
15451+
type: object
15452+
properties:
15453+
before:
15454+
description: The value before the change.
15455+
after:
15456+
description: The value after the change.
15457+
example:
15458+
occupancy_window_minutes:
15459+
before: 15
15460+
after: 30
1540815461
conversation_assignment_limit:
1540915462
type: integer
1541015463
nullable: true

descriptions/2.16/api.intercom.io.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,8 @@ paths:
792792
- admin_login_failure
793793
- admin_login_success
794794
- admin_logout
795+
- admin_occupancy_setting_change
796+
- admin_occupancy_state_change
795797
- admin_password_reset_request
796798
- admin_password_reset_success
797799
- admin_permission_change
@@ -22442,6 +22444,8 @@ components:
2244222444
- admin_login_failure
2244322445
- admin_login_success
2244422446
- admin_logout
22447+
- admin_occupancy_setting_change
22448+
- admin_occupancy_state_change
2244522449
- admin_password_reset_request
2244622450
- admin_password_reset_success
2244722451
- admin_permission_change
@@ -22635,6 +22639,57 @@ components:
2263522639
nullable: true
2263622640
description: The name of the Admin who initiated the activity.
2263722641
example: Joe Example
22642+
previous_state:
22643+
type: string
22644+
nullable: true
22645+
description: The state before the change. `idle` or `occupied`, and null
22646+
when the Admin had not been classified yet.
22647+
example: idle
22648+
new_state:
22649+
type: string
22650+
nullable: true
22651+
description: The state after the change. `idle` or `occupied`.
22652+
example: occupied
22653+
threshold_minutes:
22654+
type: integer
22655+
nullable: true
22656+
description: The inactivity window, in minutes, used to classify the Admin.
22657+
example: 15
22658+
last_activity_at:
22659+
type: integer
22660+
format: date-time
22661+
nullable: true
22662+
description: The time of the Admin's last recorded activity.
22663+
example: 1671028894
22664+
auto:
22665+
type: boolean
22666+
nullable: true
22667+
description: Indicates the state was derived automatically rather than set
22668+
by an Admin.
22669+
example: true
22670+
setting_type:
22671+
type: string
22672+
nullable: true
22673+
description: The group of workspace settings the change belongs to, for
22674+
example `teammate_occupancy` or `automatic_away_mode`.
22675+
example: teammate_occupancy
22676+
changes:
22677+
type: object
22678+
nullable: true
22679+
description: The settings altered by the change, keyed by setting name.
22680+
Only settings whose value actually moved are included, so an unchanged
22681+
setting is absent rather than present with equal values.
22682+
additionalProperties:
22683+
type: object
22684+
properties:
22685+
before:
22686+
description: The value before the change.
22687+
after:
22688+
description: The value after the change.
22689+
example:
22690+
occupancy_window_minutes:
22691+
before: 15
22692+
after: 30
2263822693
conversation_assignment_limit:
2263922694
type: integer
2264022695
nullable: true

0 commit comments

Comments
 (0)