@seamapi/types 1.1072.0 → 1.1074.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/devices/device-metadata.js +1 -1
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/openapi.js +203 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3608 -17
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -1
- package/src/lib/seam/connect/openapi.ts +210 -1
- package/src/lib/seam/connect/route-types.ts +4148 -17
|
@@ -12814,7 +12814,7 @@ export type Routes = {
|
|
|
12814
12814
|
device_custom_name?: (string | undefined) | undefined;
|
|
12815
12815
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
12816
12816
|
structure_name?: (string | undefined) | undefined;
|
|
12817
|
-
/**
|
|
12817
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
12818
12818
|
display_name?: (string | undefined) | undefined;
|
|
12819
12819
|
} | undefined;
|
|
12820
12820
|
/** Metadata for an ecobee device. */
|
|
@@ -19952,7 +19952,7 @@ export type Routes = {
|
|
|
19952
19952
|
device_custom_name?: (string | undefined) | undefined;
|
|
19953
19953
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
19954
19954
|
structure_name?: (string | undefined) | undefined;
|
|
19955
|
-
/**
|
|
19955
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
19956
19956
|
display_name?: (string | undefined) | undefined;
|
|
19957
19957
|
} | undefined;
|
|
19958
19958
|
/** Metadata for an ecobee device. */
|
|
@@ -43992,7 +43992,7 @@ export type Routes = {
|
|
|
43992
43992
|
device_custom_name?: (string | undefined) | undefined;
|
|
43993
43993
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
43994
43994
|
structure_name?: (string | undefined) | undefined;
|
|
43995
|
-
/**
|
|
43995
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
43996
43996
|
display_name?: (string | undefined) | undefined;
|
|
43997
43997
|
} | undefined;
|
|
43998
43998
|
/** Metadata for an ecobee device. */
|
|
@@ -45551,7 +45551,7 @@ export type Routes = {
|
|
|
45551
45551
|
device_custom_name?: (string | undefined) | undefined;
|
|
45552
45552
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
45553
45553
|
structure_name?: (string | undefined) | undefined;
|
|
45554
|
-
/**
|
|
45554
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
45555
45555
|
display_name?: (string | undefined) | undefined;
|
|
45556
45556
|
} | undefined;
|
|
45557
45557
|
/** Metadata for an ecobee device. */
|
|
@@ -57476,7 +57476,7 @@ export type Routes = {
|
|
|
57476
57476
|
device_custom_name?: (string | undefined) | undefined;
|
|
57477
57477
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
57478
57478
|
structure_name?: (string | undefined) | undefined;
|
|
57479
|
-
/**
|
|
57479
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
57480
57480
|
display_name?: (string | undefined) | undefined;
|
|
57481
57481
|
} | undefined;
|
|
57482
57482
|
/** Metadata for an ecobee device. */
|
|
@@ -58985,7 +58985,7 @@ export type Routes = {
|
|
|
58985
58985
|
device_custom_name?: (string | undefined) | undefined;
|
|
58986
58986
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
58987
58987
|
structure_name?: (string | undefined) | undefined;
|
|
58988
|
-
/**
|
|
58988
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
58989
58989
|
display_name?: (string | undefined) | undefined;
|
|
58990
58990
|
} | undefined;
|
|
58991
58991
|
/** Metadata for an ecobee device. */
|
|
@@ -60517,7 +60517,7 @@ export type Routes = {
|
|
|
60517
60517
|
device_custom_name?: (string | undefined) | undefined;
|
|
60518
60518
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
60519
60519
|
structure_name?: (string | undefined) | undefined;
|
|
60520
|
-
/**
|
|
60520
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
60521
60521
|
display_name?: (string | undefined) | undefined;
|
|
60522
60522
|
} | undefined;
|
|
60523
60523
|
/** Metadata for an ecobee device. */
|
|
@@ -62025,7 +62025,7 @@ export type Routes = {
|
|
|
62025
62025
|
device_custom_name?: (string | undefined) | undefined;
|
|
62026
62026
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
62027
62027
|
structure_name?: (string | undefined) | undefined;
|
|
62028
|
-
/**
|
|
62028
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
62029
62029
|
display_name?: (string | undefined) | undefined;
|
|
62030
62030
|
} | undefined;
|
|
62031
62031
|
/** Metadata for an ecobee device. */
|
|
@@ -70803,7 +70803,7 @@ export type Routes = {
|
|
|
70803
70803
|
device_custom_name?: (string | undefined) | undefined;
|
|
70804
70804
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
70805
70805
|
structure_name?: (string | undefined) | undefined;
|
|
70806
|
-
/**
|
|
70806
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
70807
70807
|
display_name?: (string | undefined) | undefined;
|
|
70808
70808
|
} | undefined;
|
|
70809
70809
|
/** Metadata for an ecobee device. */
|
|
@@ -72311,7 +72311,7 @@ export type Routes = {
|
|
|
72311
72311
|
device_custom_name?: (string | undefined) | undefined;
|
|
72312
72312
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
72313
72313
|
structure_name?: (string | undefined) | undefined;
|
|
72314
|
-
/**
|
|
72314
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
72315
72315
|
display_name?: (string | undefined) | undefined;
|
|
72316
72316
|
} | undefined;
|
|
72317
72317
|
/** Metadata for an ecobee device. */
|
|
@@ -89064,6 +89064,3597 @@ export type Routes = {
|
|
|
89064
89064
|
jsonResponse: {};
|
|
89065
89065
|
maxDuration: undefined;
|
|
89066
89066
|
};
|
|
89067
|
+
'/seam/webhooks/v1/simulate_event': {
|
|
89068
|
+
route: '/seam/webhooks/v1/simulate_event';
|
|
89069
|
+
method: 'POST';
|
|
89070
|
+
queryParams: {};
|
|
89071
|
+
jsonBody: {
|
|
89072
|
+
/** Type of the event that you want to send to your webhooks. */
|
|
89073
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_expire' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
89074
|
+
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
89075
|
+
payload?: {
|
|
89076
|
+
[x: string]: unknown;
|
|
89077
|
+
};
|
|
89078
|
+
};
|
|
89079
|
+
commonParams: {};
|
|
89080
|
+
formData: {};
|
|
89081
|
+
jsonResponse: {
|
|
89082
|
+
/** Represents an event. Events let you know when something interesting happens in your workspace. For example, when a lock is unlocked, Seam creates a `lock.unlocked` event. When a device's battery level is low, Seam creates a `device.battery_low` event.
|
|
89083
|
+
|
|
89084
|
+
As with other API resources, you can retrieve an individual event or a list of events. Seam also provides a separate webhook system for sending the event objects directly to an endpoint on your sever. Manage webhooks through [Seam Console](https://console.seam.co). You can also use the webhooks sandbox in Seam Console to see the different payloads for each event and test them against your own endpoints. */
|
|
89085
|
+
event: {
|
|
89086
|
+
/** ID of the event. */
|
|
89087
|
+
event_id: string;
|
|
89088
|
+
/** ID of the workspace associated with the event. */
|
|
89089
|
+
workspace_id: string;
|
|
89090
|
+
/** Date and time at which the event was created. */
|
|
89091
|
+
created_at: string;
|
|
89092
|
+
/** Date and time at which the event occurred. */
|
|
89093
|
+
occurred_at: string;
|
|
89094
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89095
|
+
event_description?: string | undefined;
|
|
89096
|
+
/** ID of the affected access code. */
|
|
89097
|
+
access_code_id: string;
|
|
89098
|
+
/** ID of the device associated with the affected access code. */
|
|
89099
|
+
device_id: string;
|
|
89100
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89101
|
+
connected_account_id: string;
|
|
89102
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89103
|
+
device_custom_metadata?: {
|
|
89104
|
+
[x: string]: string | boolean;
|
|
89105
|
+
} | undefined;
|
|
89106
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89107
|
+
connected_account_custom_metadata?: {
|
|
89108
|
+
[x: string]: string | boolean;
|
|
89109
|
+
} | undefined;
|
|
89110
|
+
event_type: 'access_code.created';
|
|
89111
|
+
} | {
|
|
89112
|
+
/** ID of the event. */
|
|
89113
|
+
event_id: string;
|
|
89114
|
+
/** ID of the workspace associated with the event. */
|
|
89115
|
+
workspace_id: string;
|
|
89116
|
+
/** Date and time at which the event was created. */
|
|
89117
|
+
created_at: string;
|
|
89118
|
+
/** Date and time at which the event occurred. */
|
|
89119
|
+
occurred_at: string;
|
|
89120
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89121
|
+
event_description?: string | undefined;
|
|
89122
|
+
/** ID of the affected access code. */
|
|
89123
|
+
access_code_id: string;
|
|
89124
|
+
/** ID of the device associated with the affected access code. */
|
|
89125
|
+
device_id: string;
|
|
89126
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89127
|
+
connected_account_id: string;
|
|
89128
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89129
|
+
device_custom_metadata?: {
|
|
89130
|
+
[x: string]: string | boolean;
|
|
89131
|
+
} | undefined;
|
|
89132
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89133
|
+
connected_account_custom_metadata?: {
|
|
89134
|
+
[x: string]: string | boolean;
|
|
89135
|
+
} | undefined;
|
|
89136
|
+
event_type: 'access_code.changed';
|
|
89137
|
+
/** List of properties that changed on the access code. */
|
|
89138
|
+
changed_properties?: {
|
|
89139
|
+
/** Name of the property that changed (e.g. `code`). */
|
|
89140
|
+
property: string;
|
|
89141
|
+
/** Previous value of the property, or null if not set. */
|
|
89142
|
+
from: string | null;
|
|
89143
|
+
/** New value of the property, or null if cleared. */
|
|
89144
|
+
to: string | null;
|
|
89145
|
+
}[] | undefined;
|
|
89146
|
+
/** Human-readable reason for the change (e.g. `ongoing code auto-renewed`). */
|
|
89147
|
+
change_reason?: string | undefined;
|
|
89148
|
+
} | {
|
|
89149
|
+
/** ID of the event. */
|
|
89150
|
+
event_id: string;
|
|
89151
|
+
/** ID of the workspace associated with the event. */
|
|
89152
|
+
workspace_id: string;
|
|
89153
|
+
/** Date and time at which the event was created. */
|
|
89154
|
+
created_at: string;
|
|
89155
|
+
/** Date and time at which the event occurred. */
|
|
89156
|
+
occurred_at: string;
|
|
89157
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89158
|
+
event_description?: string | undefined;
|
|
89159
|
+
/** ID of the affected access code. */
|
|
89160
|
+
access_code_id: string;
|
|
89161
|
+
/** ID of the device associated with the affected access code. */
|
|
89162
|
+
device_id: string;
|
|
89163
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89164
|
+
connected_account_id: string;
|
|
89165
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89166
|
+
device_custom_metadata?: {
|
|
89167
|
+
[x: string]: string | boolean;
|
|
89168
|
+
} | undefined;
|
|
89169
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89170
|
+
connected_account_custom_metadata?: {
|
|
89171
|
+
[x: string]: string | boolean;
|
|
89172
|
+
} | undefined;
|
|
89173
|
+
event_type: 'access_code.name_changed';
|
|
89174
|
+
/** Previous access code name configuration. */
|
|
89175
|
+
from: {
|
|
89176
|
+
/** Previous name of the access code. */
|
|
89177
|
+
name: string | null;
|
|
89178
|
+
};
|
|
89179
|
+
/** New access code name configuration. */
|
|
89180
|
+
to: {
|
|
89181
|
+
/** New name of the access code. */
|
|
89182
|
+
name: string | null;
|
|
89183
|
+
};
|
|
89184
|
+
/** Human-readable description of the change and its source. */
|
|
89185
|
+
description: string;
|
|
89186
|
+
} | {
|
|
89187
|
+
/** ID of the event. */
|
|
89188
|
+
event_id: string;
|
|
89189
|
+
/** ID of the workspace associated with the event. */
|
|
89190
|
+
workspace_id: string;
|
|
89191
|
+
/** Date and time at which the event was created. */
|
|
89192
|
+
created_at: string;
|
|
89193
|
+
/** Date and time at which the event occurred. */
|
|
89194
|
+
occurred_at: string;
|
|
89195
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89196
|
+
event_description?: string | undefined;
|
|
89197
|
+
/** ID of the affected access code. */
|
|
89198
|
+
access_code_id: string;
|
|
89199
|
+
/** ID of the device associated with the affected access code. */
|
|
89200
|
+
device_id: string;
|
|
89201
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89202
|
+
connected_account_id: string;
|
|
89203
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89204
|
+
device_custom_metadata?: {
|
|
89205
|
+
[x: string]: string | boolean;
|
|
89206
|
+
} | undefined;
|
|
89207
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89208
|
+
connected_account_custom_metadata?: {
|
|
89209
|
+
[x: string]: string | boolean;
|
|
89210
|
+
} | undefined;
|
|
89211
|
+
event_type: 'access_code.code_changed';
|
|
89212
|
+
/** Previous pin code configuration. */
|
|
89213
|
+
from: {
|
|
89214
|
+
/** Previous pin code. */
|
|
89215
|
+
code: string | null;
|
|
89216
|
+
};
|
|
89217
|
+
/** New pin code configuration. */
|
|
89218
|
+
to: {
|
|
89219
|
+
/** New pin code. */
|
|
89220
|
+
code: string | null;
|
|
89221
|
+
};
|
|
89222
|
+
/** Human-readable description of the change and its source. */
|
|
89223
|
+
description: string;
|
|
89224
|
+
} | {
|
|
89225
|
+
/** ID of the event. */
|
|
89226
|
+
event_id: string;
|
|
89227
|
+
/** ID of the workspace associated with the event. */
|
|
89228
|
+
workspace_id: string;
|
|
89229
|
+
/** Date and time at which the event was created. */
|
|
89230
|
+
created_at: string;
|
|
89231
|
+
/** Date and time at which the event occurred. */
|
|
89232
|
+
occurred_at: string;
|
|
89233
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89234
|
+
event_description?: string | undefined;
|
|
89235
|
+
/** ID of the affected access code. */
|
|
89236
|
+
access_code_id: string;
|
|
89237
|
+
/** ID of the device associated with the affected access code. */
|
|
89238
|
+
device_id: string;
|
|
89239
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89240
|
+
connected_account_id: string;
|
|
89241
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89242
|
+
device_custom_metadata?: {
|
|
89243
|
+
[x: string]: string | boolean;
|
|
89244
|
+
} | undefined;
|
|
89245
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89246
|
+
connected_account_custom_metadata?: {
|
|
89247
|
+
[x: string]: string | boolean;
|
|
89248
|
+
} | undefined;
|
|
89249
|
+
event_type: 'access_code.time_frame_changed';
|
|
89250
|
+
/** Previous time frame configuration. */
|
|
89251
|
+
from: {
|
|
89252
|
+
/** Previous start time. */
|
|
89253
|
+
starts_at: string | null;
|
|
89254
|
+
/** Previous end time. */
|
|
89255
|
+
ends_at: string | null;
|
|
89256
|
+
};
|
|
89257
|
+
/** New time frame configuration. */
|
|
89258
|
+
to: {
|
|
89259
|
+
/** New start time. */
|
|
89260
|
+
starts_at: string | null;
|
|
89261
|
+
/** New end time. */
|
|
89262
|
+
ends_at: string | null;
|
|
89263
|
+
};
|
|
89264
|
+
/** Human-readable description of the change and its source. */
|
|
89265
|
+
description: string;
|
|
89266
|
+
} | {
|
|
89267
|
+
/** ID of the event. */
|
|
89268
|
+
event_id: string;
|
|
89269
|
+
/** ID of the workspace associated with the event. */
|
|
89270
|
+
workspace_id: string;
|
|
89271
|
+
/** Date and time at which the event was created. */
|
|
89272
|
+
created_at: string;
|
|
89273
|
+
/** Date and time at which the event occurred. */
|
|
89274
|
+
occurred_at: string;
|
|
89275
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89276
|
+
event_description?: string | undefined;
|
|
89277
|
+
/** ID of the affected access code. */
|
|
89278
|
+
access_code_id: string;
|
|
89279
|
+
/** ID of the device associated with the affected access code. */
|
|
89280
|
+
device_id: string;
|
|
89281
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89282
|
+
connected_account_id: string;
|
|
89283
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89284
|
+
device_custom_metadata?: {
|
|
89285
|
+
[x: string]: string | boolean;
|
|
89286
|
+
} | undefined;
|
|
89287
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89288
|
+
connected_account_custom_metadata?: {
|
|
89289
|
+
[x: string]: string | boolean;
|
|
89290
|
+
} | undefined;
|
|
89291
|
+
event_type: 'access_code.mutations_requested';
|
|
89292
|
+
/** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
|
|
89293
|
+
requested_mutations: {
|
|
89294
|
+
/** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
|
|
89295
|
+
mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
|
|
89296
|
+
/** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
89297
|
+
from?: {
|
|
89298
|
+
[x: string]: unknown;
|
|
89299
|
+
} | undefined;
|
|
89300
|
+
/** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
89301
|
+
to?: {
|
|
89302
|
+
[x: string]: unknown;
|
|
89303
|
+
} | undefined;
|
|
89304
|
+
}[];
|
|
89305
|
+
} | {
|
|
89306
|
+
/** ID of the event. */
|
|
89307
|
+
event_id: string;
|
|
89308
|
+
/** ID of the workspace associated with the event. */
|
|
89309
|
+
workspace_id: string;
|
|
89310
|
+
/** Date and time at which the event was created. */
|
|
89311
|
+
created_at: string;
|
|
89312
|
+
/** Date and time at which the event occurred. */
|
|
89313
|
+
occurred_at: string;
|
|
89314
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89315
|
+
event_description?: string | undefined;
|
|
89316
|
+
/** ID of the affected access code. */
|
|
89317
|
+
access_code_id: string;
|
|
89318
|
+
/** ID of the device associated with the affected access code. */
|
|
89319
|
+
device_id: string;
|
|
89320
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89321
|
+
connected_account_id: string;
|
|
89322
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89323
|
+
device_custom_metadata?: {
|
|
89324
|
+
[x: string]: string | boolean;
|
|
89325
|
+
} | undefined;
|
|
89326
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89327
|
+
connected_account_custom_metadata?: {
|
|
89328
|
+
[x: string]: string | boolean;
|
|
89329
|
+
} | undefined;
|
|
89330
|
+
event_type: 'access_code.scheduled_on_device';
|
|
89331
|
+
/** Code for the affected access code. */
|
|
89332
|
+
code: string;
|
|
89333
|
+
} | {
|
|
89334
|
+
/** ID of the event. */
|
|
89335
|
+
event_id: string;
|
|
89336
|
+
/** ID of the workspace associated with the event. */
|
|
89337
|
+
workspace_id: string;
|
|
89338
|
+
/** Date and time at which the event was created. */
|
|
89339
|
+
created_at: string;
|
|
89340
|
+
/** Date and time at which the event occurred. */
|
|
89341
|
+
occurred_at: string;
|
|
89342
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89343
|
+
event_description?: string | undefined;
|
|
89344
|
+
/** ID of the affected access code. */
|
|
89345
|
+
access_code_id: string;
|
|
89346
|
+
/** ID of the device associated with the affected access code. */
|
|
89347
|
+
device_id: string;
|
|
89348
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89349
|
+
connected_account_id: string;
|
|
89350
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89351
|
+
device_custom_metadata?: {
|
|
89352
|
+
[x: string]: string | boolean;
|
|
89353
|
+
} | undefined;
|
|
89354
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89355
|
+
connected_account_custom_metadata?: {
|
|
89356
|
+
[x: string]: string | boolean;
|
|
89357
|
+
} | undefined;
|
|
89358
|
+
event_type: 'access_code.set_on_device';
|
|
89359
|
+
/** Code for the affected access code. */
|
|
89360
|
+
code: string;
|
|
89361
|
+
} | {
|
|
89362
|
+
/** ID of the event. */
|
|
89363
|
+
event_id: string;
|
|
89364
|
+
/** ID of the workspace associated with the event. */
|
|
89365
|
+
workspace_id: string;
|
|
89366
|
+
/** Date and time at which the event was created. */
|
|
89367
|
+
created_at: string;
|
|
89368
|
+
/** Date and time at which the event occurred. */
|
|
89369
|
+
occurred_at: string;
|
|
89370
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89371
|
+
event_description?: string | undefined;
|
|
89372
|
+
/** ID of the affected access code. */
|
|
89373
|
+
access_code_id: string;
|
|
89374
|
+
/** ID of the device associated with the affected access code. */
|
|
89375
|
+
device_id: string;
|
|
89376
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89377
|
+
connected_account_id: string;
|
|
89378
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89379
|
+
device_custom_metadata?: {
|
|
89380
|
+
[x: string]: string | boolean;
|
|
89381
|
+
} | undefined;
|
|
89382
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89383
|
+
connected_account_custom_metadata?: {
|
|
89384
|
+
[x: string]: string | boolean;
|
|
89385
|
+
} | undefined;
|
|
89386
|
+
event_type: 'access_code.removed_from_device';
|
|
89387
|
+
} | {
|
|
89388
|
+
/** ID of the event. */
|
|
89389
|
+
event_id: string;
|
|
89390
|
+
/** ID of the workspace associated with the event. */
|
|
89391
|
+
workspace_id: string;
|
|
89392
|
+
/** Date and time at which the event was created. */
|
|
89393
|
+
created_at: string;
|
|
89394
|
+
/** Date and time at which the event occurred. */
|
|
89395
|
+
occurred_at: string;
|
|
89396
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89397
|
+
event_description?: string | undefined;
|
|
89398
|
+
/** ID of the affected access code. */
|
|
89399
|
+
access_code_id: string;
|
|
89400
|
+
/** ID of the device associated with the affected access code. */
|
|
89401
|
+
device_id: string;
|
|
89402
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89403
|
+
connected_account_id: string;
|
|
89404
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89405
|
+
device_custom_metadata?: {
|
|
89406
|
+
[x: string]: string | boolean;
|
|
89407
|
+
} | undefined;
|
|
89408
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89409
|
+
connected_account_custom_metadata?: {
|
|
89410
|
+
[x: string]: string | boolean;
|
|
89411
|
+
} | undefined;
|
|
89412
|
+
event_type: 'access_code.delay_in_setting_on_device';
|
|
89413
|
+
/** Errors associated with the connected account. */
|
|
89414
|
+
connected_account_errors: {
|
|
89415
|
+
/** Date and time at which Seam created the error. */
|
|
89416
|
+
created_at: string;
|
|
89417
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89418
|
+
message: string;
|
|
89419
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89420
|
+
error_code: string;
|
|
89421
|
+
}[];
|
|
89422
|
+
/** Warnings associated with the connected account. */
|
|
89423
|
+
connected_account_warnings: {
|
|
89424
|
+
/** Date and time at which Seam created the warning. */
|
|
89425
|
+
created_at: string;
|
|
89426
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89427
|
+
message: string;
|
|
89428
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89429
|
+
warning_code: string;
|
|
89430
|
+
}[];
|
|
89431
|
+
/** Errors associated with the device. */
|
|
89432
|
+
device_errors: {
|
|
89433
|
+
/** Date and time at which Seam created the error. */
|
|
89434
|
+
created_at: string;
|
|
89435
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89436
|
+
message: string;
|
|
89437
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89438
|
+
error_code: string;
|
|
89439
|
+
}[];
|
|
89440
|
+
/** Warnings associated with the device. */
|
|
89441
|
+
device_warnings: {
|
|
89442
|
+
/** Date and time at which Seam created the warning. */
|
|
89443
|
+
created_at: string;
|
|
89444
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89445
|
+
message: string;
|
|
89446
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89447
|
+
warning_code: string;
|
|
89448
|
+
}[];
|
|
89449
|
+
/** Errors associated with the access code. */
|
|
89450
|
+
access_code_errors: {
|
|
89451
|
+
/** Date and time at which Seam created the error. */
|
|
89452
|
+
created_at: string;
|
|
89453
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89454
|
+
message: string;
|
|
89455
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89456
|
+
error_code: string;
|
|
89457
|
+
}[];
|
|
89458
|
+
/** Warnings associated with the access code. */
|
|
89459
|
+
access_code_warnings: {
|
|
89460
|
+
/** Date and time at which Seam created the warning. */
|
|
89461
|
+
created_at: string;
|
|
89462
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89463
|
+
message: string;
|
|
89464
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89465
|
+
warning_code: string;
|
|
89466
|
+
}[];
|
|
89467
|
+
} | {
|
|
89468
|
+
/** ID of the event. */
|
|
89469
|
+
event_id: string;
|
|
89470
|
+
/** ID of the workspace associated with the event. */
|
|
89471
|
+
workspace_id: string;
|
|
89472
|
+
/** Date and time at which the event was created. */
|
|
89473
|
+
created_at: string;
|
|
89474
|
+
/** Date and time at which the event occurred. */
|
|
89475
|
+
occurred_at: string;
|
|
89476
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89477
|
+
event_description?: string | undefined;
|
|
89478
|
+
/** ID of the affected access code. */
|
|
89479
|
+
access_code_id: string;
|
|
89480
|
+
/** ID of the device associated with the affected access code. */
|
|
89481
|
+
device_id: string;
|
|
89482
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89483
|
+
connected_account_id: string;
|
|
89484
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89485
|
+
device_custom_metadata?: {
|
|
89486
|
+
[x: string]: string | boolean;
|
|
89487
|
+
} | undefined;
|
|
89488
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89489
|
+
connected_account_custom_metadata?: {
|
|
89490
|
+
[x: string]: string | boolean;
|
|
89491
|
+
} | undefined;
|
|
89492
|
+
event_type: 'access_code.failed_to_set_on_device';
|
|
89493
|
+
/** Errors associated with the connected account. */
|
|
89494
|
+
connected_account_errors: {
|
|
89495
|
+
/** Date and time at which Seam created the error. */
|
|
89496
|
+
created_at: string;
|
|
89497
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89498
|
+
message: string;
|
|
89499
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89500
|
+
error_code: string;
|
|
89501
|
+
}[];
|
|
89502
|
+
/** Warnings associated with the connected account. */
|
|
89503
|
+
connected_account_warnings: {
|
|
89504
|
+
/** Date and time at which Seam created the warning. */
|
|
89505
|
+
created_at: string;
|
|
89506
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89507
|
+
message: string;
|
|
89508
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89509
|
+
warning_code: string;
|
|
89510
|
+
}[];
|
|
89511
|
+
/** Errors associated with the device. */
|
|
89512
|
+
device_errors: {
|
|
89513
|
+
/** Date and time at which Seam created the error. */
|
|
89514
|
+
created_at: string;
|
|
89515
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89516
|
+
message: string;
|
|
89517
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89518
|
+
error_code: string;
|
|
89519
|
+
}[];
|
|
89520
|
+
/** Warnings associated with the device. */
|
|
89521
|
+
device_warnings: {
|
|
89522
|
+
/** Date and time at which Seam created the warning. */
|
|
89523
|
+
created_at: string;
|
|
89524
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89525
|
+
message: string;
|
|
89526
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89527
|
+
warning_code: string;
|
|
89528
|
+
}[];
|
|
89529
|
+
/** Errors associated with the access code. */
|
|
89530
|
+
access_code_errors: {
|
|
89531
|
+
/** Date and time at which Seam created the error. */
|
|
89532
|
+
created_at: string;
|
|
89533
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89534
|
+
message: string;
|
|
89535
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89536
|
+
error_code: string;
|
|
89537
|
+
}[];
|
|
89538
|
+
/** Warnings associated with the access code. */
|
|
89539
|
+
access_code_warnings: {
|
|
89540
|
+
/** Date and time at which Seam created the warning. */
|
|
89541
|
+
created_at: string;
|
|
89542
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89543
|
+
message: string;
|
|
89544
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89545
|
+
warning_code: string;
|
|
89546
|
+
}[];
|
|
89547
|
+
} | {
|
|
89548
|
+
/** ID of the event. */
|
|
89549
|
+
event_id: string;
|
|
89550
|
+
/** ID of the workspace associated with the event. */
|
|
89551
|
+
workspace_id: string;
|
|
89552
|
+
/** Date and time at which the event was created. */
|
|
89553
|
+
created_at: string;
|
|
89554
|
+
/** Date and time at which the event occurred. */
|
|
89555
|
+
occurred_at: string;
|
|
89556
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89557
|
+
event_description?: string | undefined;
|
|
89558
|
+
/** ID of the affected access code. */
|
|
89559
|
+
access_code_id: string;
|
|
89560
|
+
/** ID of the device associated with the affected access code. */
|
|
89561
|
+
device_id: string;
|
|
89562
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89563
|
+
connected_account_id: string;
|
|
89564
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89565
|
+
device_custom_metadata?: {
|
|
89566
|
+
[x: string]: string | boolean;
|
|
89567
|
+
} | undefined;
|
|
89568
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89569
|
+
connected_account_custom_metadata?: {
|
|
89570
|
+
[x: string]: string | boolean;
|
|
89571
|
+
} | undefined;
|
|
89572
|
+
event_type: 'access_code.issued';
|
|
89573
|
+
/** Code for the affected access code. */
|
|
89574
|
+
code: string;
|
|
89575
|
+
} | {
|
|
89576
|
+
/** ID of the event. */
|
|
89577
|
+
event_id: string;
|
|
89578
|
+
/** ID of the workspace associated with the event. */
|
|
89579
|
+
workspace_id: string;
|
|
89580
|
+
/** Date and time at which the event was created. */
|
|
89581
|
+
created_at: string;
|
|
89582
|
+
/** Date and time at which the event occurred. */
|
|
89583
|
+
occurred_at: string;
|
|
89584
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89585
|
+
event_description?: string | undefined;
|
|
89586
|
+
/** ID of the affected access code. */
|
|
89587
|
+
access_code_id: string;
|
|
89588
|
+
/** ID of the device associated with the affected access code. */
|
|
89589
|
+
device_id: string;
|
|
89590
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89591
|
+
connected_account_id: string;
|
|
89592
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89593
|
+
device_custom_metadata?: {
|
|
89594
|
+
[x: string]: string | boolean;
|
|
89595
|
+
} | undefined;
|
|
89596
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89597
|
+
connected_account_custom_metadata?: {
|
|
89598
|
+
[x: string]: string | boolean;
|
|
89599
|
+
} | undefined;
|
|
89600
|
+
event_type: 'access_code.delay_in_issuing';
|
|
89601
|
+
/** Errors associated with the connected account. */
|
|
89602
|
+
connected_account_errors: {
|
|
89603
|
+
/** Date and time at which Seam created the error. */
|
|
89604
|
+
created_at: string;
|
|
89605
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89606
|
+
message: string;
|
|
89607
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89608
|
+
error_code: string;
|
|
89609
|
+
}[];
|
|
89610
|
+
/** Warnings associated with the connected account. */
|
|
89611
|
+
connected_account_warnings: {
|
|
89612
|
+
/** Date and time at which Seam created the warning. */
|
|
89613
|
+
created_at: string;
|
|
89614
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89615
|
+
message: string;
|
|
89616
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89617
|
+
warning_code: string;
|
|
89618
|
+
}[];
|
|
89619
|
+
/** Errors associated with the device. */
|
|
89620
|
+
device_errors: {
|
|
89621
|
+
/** Date and time at which Seam created the error. */
|
|
89622
|
+
created_at: string;
|
|
89623
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89624
|
+
message: string;
|
|
89625
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89626
|
+
error_code: string;
|
|
89627
|
+
}[];
|
|
89628
|
+
/** Warnings associated with the device. */
|
|
89629
|
+
device_warnings: {
|
|
89630
|
+
/** Date and time at which Seam created the warning. */
|
|
89631
|
+
created_at: string;
|
|
89632
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89633
|
+
message: string;
|
|
89634
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89635
|
+
warning_code: string;
|
|
89636
|
+
}[];
|
|
89637
|
+
/** Errors associated with the access code. */
|
|
89638
|
+
access_code_errors: {
|
|
89639
|
+
/** Date and time at which Seam created the error. */
|
|
89640
|
+
created_at: string;
|
|
89641
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89642
|
+
message: string;
|
|
89643
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89644
|
+
error_code: string;
|
|
89645
|
+
}[];
|
|
89646
|
+
/** Warnings associated with the access code. */
|
|
89647
|
+
access_code_warnings: {
|
|
89648
|
+
/** Date and time at which Seam created the warning. */
|
|
89649
|
+
created_at: string;
|
|
89650
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89651
|
+
message: string;
|
|
89652
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89653
|
+
warning_code: string;
|
|
89654
|
+
}[];
|
|
89655
|
+
} | {
|
|
89656
|
+
/** ID of the event. */
|
|
89657
|
+
event_id: string;
|
|
89658
|
+
/** ID of the workspace associated with the event. */
|
|
89659
|
+
workspace_id: string;
|
|
89660
|
+
/** Date and time at which the event was created. */
|
|
89661
|
+
created_at: string;
|
|
89662
|
+
/** Date and time at which the event occurred. */
|
|
89663
|
+
occurred_at: string;
|
|
89664
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89665
|
+
event_description?: string | undefined;
|
|
89666
|
+
/** ID of the affected access code. */
|
|
89667
|
+
access_code_id: string;
|
|
89668
|
+
/** ID of the device associated with the affected access code. */
|
|
89669
|
+
device_id: string;
|
|
89670
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89671
|
+
connected_account_id: string;
|
|
89672
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89673
|
+
device_custom_metadata?: {
|
|
89674
|
+
[x: string]: string | boolean;
|
|
89675
|
+
} | undefined;
|
|
89676
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89677
|
+
connected_account_custom_metadata?: {
|
|
89678
|
+
[x: string]: string | boolean;
|
|
89679
|
+
} | undefined;
|
|
89680
|
+
event_type: 'access_code.failed_to_issue';
|
|
89681
|
+
/** Errors associated with the connected account. */
|
|
89682
|
+
connected_account_errors: {
|
|
89683
|
+
/** Date and time at which Seam created the error. */
|
|
89684
|
+
created_at: string;
|
|
89685
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89686
|
+
message: string;
|
|
89687
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89688
|
+
error_code: string;
|
|
89689
|
+
}[];
|
|
89690
|
+
/** Warnings associated with the connected account. */
|
|
89691
|
+
connected_account_warnings: {
|
|
89692
|
+
/** Date and time at which Seam created the warning. */
|
|
89693
|
+
created_at: string;
|
|
89694
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89695
|
+
message: string;
|
|
89696
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89697
|
+
warning_code: string;
|
|
89698
|
+
}[];
|
|
89699
|
+
/** Errors associated with the device. */
|
|
89700
|
+
device_errors: {
|
|
89701
|
+
/** Date and time at which Seam created the error. */
|
|
89702
|
+
created_at: string;
|
|
89703
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89704
|
+
message: string;
|
|
89705
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89706
|
+
error_code: string;
|
|
89707
|
+
}[];
|
|
89708
|
+
/** Warnings associated with the device. */
|
|
89709
|
+
device_warnings: {
|
|
89710
|
+
/** Date and time at which Seam created the warning. */
|
|
89711
|
+
created_at: string;
|
|
89712
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89713
|
+
message: string;
|
|
89714
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89715
|
+
warning_code: string;
|
|
89716
|
+
}[];
|
|
89717
|
+
/** Errors associated with the access code. */
|
|
89718
|
+
access_code_errors: {
|
|
89719
|
+
/** Date and time at which Seam created the error. */
|
|
89720
|
+
created_at: string;
|
|
89721
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89722
|
+
message: string;
|
|
89723
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89724
|
+
error_code: string;
|
|
89725
|
+
}[];
|
|
89726
|
+
/** Warnings associated with the access code. */
|
|
89727
|
+
access_code_warnings: {
|
|
89728
|
+
/** Date and time at which Seam created the warning. */
|
|
89729
|
+
created_at: string;
|
|
89730
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89731
|
+
message: string;
|
|
89732
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89733
|
+
warning_code: string;
|
|
89734
|
+
}[];
|
|
89735
|
+
} | {
|
|
89736
|
+
/** ID of the event. */
|
|
89737
|
+
event_id: string;
|
|
89738
|
+
/** ID of the workspace associated with the event. */
|
|
89739
|
+
workspace_id: string;
|
|
89740
|
+
/** Date and time at which the event was created. */
|
|
89741
|
+
created_at: string;
|
|
89742
|
+
/** Date and time at which the event occurred. */
|
|
89743
|
+
occurred_at: string;
|
|
89744
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89745
|
+
event_description?: string | undefined;
|
|
89746
|
+
/** ID of the affected access code. */
|
|
89747
|
+
access_code_id: string;
|
|
89748
|
+
/** ID of the device associated with the affected access code. */
|
|
89749
|
+
device_id: string;
|
|
89750
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89751
|
+
connected_account_id: string;
|
|
89752
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89753
|
+
device_custom_metadata?: {
|
|
89754
|
+
[x: string]: string | boolean;
|
|
89755
|
+
} | undefined;
|
|
89756
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89757
|
+
connected_account_custom_metadata?: {
|
|
89758
|
+
[x: string]: string | boolean;
|
|
89759
|
+
} | undefined;
|
|
89760
|
+
event_type: 'access_code.failed_to_update';
|
|
89761
|
+
/** Errors associated with the connected account. */
|
|
89762
|
+
connected_account_errors: {
|
|
89763
|
+
/** Date and time at which Seam created the error. */
|
|
89764
|
+
created_at: string;
|
|
89765
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89766
|
+
message: string;
|
|
89767
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89768
|
+
error_code: string;
|
|
89769
|
+
}[];
|
|
89770
|
+
/** Warnings associated with the connected account. */
|
|
89771
|
+
connected_account_warnings: {
|
|
89772
|
+
/** Date and time at which Seam created the warning. */
|
|
89773
|
+
created_at: string;
|
|
89774
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89775
|
+
message: string;
|
|
89776
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89777
|
+
warning_code: string;
|
|
89778
|
+
}[];
|
|
89779
|
+
/** Errors associated with the device. */
|
|
89780
|
+
device_errors: {
|
|
89781
|
+
/** Date and time at which Seam created the error. */
|
|
89782
|
+
created_at: string;
|
|
89783
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89784
|
+
message: string;
|
|
89785
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89786
|
+
error_code: string;
|
|
89787
|
+
}[];
|
|
89788
|
+
/** Warnings associated with the device. */
|
|
89789
|
+
device_warnings: {
|
|
89790
|
+
/** Date and time at which Seam created the warning. */
|
|
89791
|
+
created_at: string;
|
|
89792
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89793
|
+
message: string;
|
|
89794
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89795
|
+
warning_code: string;
|
|
89796
|
+
}[];
|
|
89797
|
+
/** Errors associated with the access code. */
|
|
89798
|
+
access_code_errors: {
|
|
89799
|
+
/** Date and time at which Seam created the error. */
|
|
89800
|
+
created_at: string;
|
|
89801
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89802
|
+
message: string;
|
|
89803
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89804
|
+
error_code: string;
|
|
89805
|
+
}[];
|
|
89806
|
+
/** Warnings associated with the access code. */
|
|
89807
|
+
access_code_warnings: {
|
|
89808
|
+
/** Date and time at which Seam created the warning. */
|
|
89809
|
+
created_at: string;
|
|
89810
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89811
|
+
message: string;
|
|
89812
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89813
|
+
warning_code: string;
|
|
89814
|
+
}[];
|
|
89815
|
+
} | {
|
|
89816
|
+
/** ID of the event. */
|
|
89817
|
+
event_id: string;
|
|
89818
|
+
/** ID of the workspace associated with the event. */
|
|
89819
|
+
workspace_id: string;
|
|
89820
|
+
/** Date and time at which the event was created. */
|
|
89821
|
+
created_at: string;
|
|
89822
|
+
/** Date and time at which the event occurred. */
|
|
89823
|
+
occurred_at: string;
|
|
89824
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89825
|
+
event_description?: string | undefined;
|
|
89826
|
+
/** ID of the affected access code. */
|
|
89827
|
+
access_code_id: string;
|
|
89828
|
+
/** ID of the device associated with the affected access code. */
|
|
89829
|
+
device_id: string;
|
|
89830
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89831
|
+
connected_account_id: string;
|
|
89832
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89833
|
+
device_custom_metadata?: {
|
|
89834
|
+
[x: string]: string | boolean;
|
|
89835
|
+
} | undefined;
|
|
89836
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89837
|
+
connected_account_custom_metadata?: {
|
|
89838
|
+
[x: string]: string | boolean;
|
|
89839
|
+
} | undefined;
|
|
89840
|
+
event_type: 'access_code.failed_to_expire';
|
|
89841
|
+
/** Errors associated with the connected account. */
|
|
89842
|
+
connected_account_errors: {
|
|
89843
|
+
/** Date and time at which Seam created the error. */
|
|
89844
|
+
created_at: string;
|
|
89845
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89846
|
+
message: string;
|
|
89847
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89848
|
+
error_code: string;
|
|
89849
|
+
}[];
|
|
89850
|
+
/** Warnings associated with the connected account. */
|
|
89851
|
+
connected_account_warnings: {
|
|
89852
|
+
/** Date and time at which Seam created the warning. */
|
|
89853
|
+
created_at: string;
|
|
89854
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89855
|
+
message: string;
|
|
89856
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89857
|
+
warning_code: string;
|
|
89858
|
+
}[];
|
|
89859
|
+
/** Errors associated with the device. */
|
|
89860
|
+
device_errors: {
|
|
89861
|
+
/** Date and time at which Seam created the error. */
|
|
89862
|
+
created_at: string;
|
|
89863
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89864
|
+
message: string;
|
|
89865
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89866
|
+
error_code: string;
|
|
89867
|
+
}[];
|
|
89868
|
+
/** Warnings associated with the device. */
|
|
89869
|
+
device_warnings: {
|
|
89870
|
+
/** Date and time at which Seam created the warning. */
|
|
89871
|
+
created_at: string;
|
|
89872
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89873
|
+
message: string;
|
|
89874
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89875
|
+
warning_code: string;
|
|
89876
|
+
}[];
|
|
89877
|
+
/** Errors associated with the access code. */
|
|
89878
|
+
access_code_errors: {
|
|
89879
|
+
/** Date and time at which Seam created the error. */
|
|
89880
|
+
created_at: string;
|
|
89881
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89882
|
+
message: string;
|
|
89883
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89884
|
+
error_code: string;
|
|
89885
|
+
}[];
|
|
89886
|
+
/** Warnings associated with the access code. */
|
|
89887
|
+
access_code_warnings: {
|
|
89888
|
+
/** Date and time at which Seam created the warning. */
|
|
89889
|
+
created_at: string;
|
|
89890
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89891
|
+
message: string;
|
|
89892
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89893
|
+
warning_code: string;
|
|
89894
|
+
}[];
|
|
89895
|
+
} | {
|
|
89896
|
+
/** ID of the event. */
|
|
89897
|
+
event_id: string;
|
|
89898
|
+
/** ID of the workspace associated with the event. */
|
|
89899
|
+
workspace_id: string;
|
|
89900
|
+
/** Date and time at which the event was created. */
|
|
89901
|
+
created_at: string;
|
|
89902
|
+
/** Date and time at which the event occurred. */
|
|
89903
|
+
occurred_at: string;
|
|
89904
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89905
|
+
event_description?: string | undefined;
|
|
89906
|
+
/** ID of the affected access code. */
|
|
89907
|
+
access_code_id: string;
|
|
89908
|
+
/** ID of the device associated with the affected access code. */
|
|
89909
|
+
device_id: string;
|
|
89910
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89911
|
+
connected_account_id: string;
|
|
89912
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89913
|
+
device_custom_metadata?: {
|
|
89914
|
+
[x: string]: string | boolean;
|
|
89915
|
+
} | undefined;
|
|
89916
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89917
|
+
connected_account_custom_metadata?: {
|
|
89918
|
+
[x: string]: string | boolean;
|
|
89919
|
+
} | undefined;
|
|
89920
|
+
event_type: 'access_code.deleted';
|
|
89921
|
+
/** Code for the affected access code. */
|
|
89922
|
+
code: string | null;
|
|
89923
|
+
} | {
|
|
89924
|
+
/** ID of the event. */
|
|
89925
|
+
event_id: string;
|
|
89926
|
+
/** ID of the workspace associated with the event. */
|
|
89927
|
+
workspace_id: string;
|
|
89928
|
+
/** Date and time at which the event was created. */
|
|
89929
|
+
created_at: string;
|
|
89930
|
+
/** Date and time at which the event occurred. */
|
|
89931
|
+
occurred_at: string;
|
|
89932
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
89933
|
+
event_description?: string | undefined;
|
|
89934
|
+
/** ID of the affected access code. */
|
|
89935
|
+
access_code_id: string;
|
|
89936
|
+
/** ID of the device associated with the affected access code. */
|
|
89937
|
+
device_id: string;
|
|
89938
|
+
/** ID of the connected account associated with the affected access code. */
|
|
89939
|
+
connected_account_id: string;
|
|
89940
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
89941
|
+
device_custom_metadata?: {
|
|
89942
|
+
[x: string]: string | boolean;
|
|
89943
|
+
} | undefined;
|
|
89944
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
89945
|
+
connected_account_custom_metadata?: {
|
|
89946
|
+
[x: string]: string | boolean;
|
|
89947
|
+
} | undefined;
|
|
89948
|
+
event_type: 'access_code.delay_in_removing_from_device';
|
|
89949
|
+
/** Errors associated with the connected account. */
|
|
89950
|
+
connected_account_errors: {
|
|
89951
|
+
/** Date and time at which Seam created the error. */
|
|
89952
|
+
created_at: string;
|
|
89953
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89954
|
+
message: string;
|
|
89955
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89956
|
+
error_code: string;
|
|
89957
|
+
}[];
|
|
89958
|
+
/** Warnings associated with the connected account. */
|
|
89959
|
+
connected_account_warnings: {
|
|
89960
|
+
/** Date and time at which Seam created the warning. */
|
|
89961
|
+
created_at: string;
|
|
89962
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89963
|
+
message: string;
|
|
89964
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89965
|
+
warning_code: string;
|
|
89966
|
+
}[];
|
|
89967
|
+
/** Errors associated with the device. */
|
|
89968
|
+
device_errors: {
|
|
89969
|
+
/** Date and time at which Seam created the error. */
|
|
89970
|
+
created_at: string;
|
|
89971
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89972
|
+
message: string;
|
|
89973
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89974
|
+
error_code: string;
|
|
89975
|
+
}[];
|
|
89976
|
+
/** Warnings associated with the device. */
|
|
89977
|
+
device_warnings: {
|
|
89978
|
+
/** Date and time at which Seam created the warning. */
|
|
89979
|
+
created_at: string;
|
|
89980
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89981
|
+
message: string;
|
|
89982
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
89983
|
+
warning_code: string;
|
|
89984
|
+
}[];
|
|
89985
|
+
/** Errors associated with the access code. */
|
|
89986
|
+
access_code_errors: {
|
|
89987
|
+
/** Date and time at which Seam created the error. */
|
|
89988
|
+
created_at: string;
|
|
89989
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
89990
|
+
message: string;
|
|
89991
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
89992
|
+
error_code: string;
|
|
89993
|
+
}[];
|
|
89994
|
+
/** Warnings associated with the access code. */
|
|
89995
|
+
access_code_warnings: {
|
|
89996
|
+
/** Date and time at which Seam created the warning. */
|
|
89997
|
+
created_at: string;
|
|
89998
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
89999
|
+
message: string;
|
|
90000
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90001
|
+
warning_code: string;
|
|
90002
|
+
}[];
|
|
90003
|
+
} | {
|
|
90004
|
+
/** ID of the event. */
|
|
90005
|
+
event_id: string;
|
|
90006
|
+
/** ID of the workspace associated with the event. */
|
|
90007
|
+
workspace_id: string;
|
|
90008
|
+
/** Date and time at which the event was created. */
|
|
90009
|
+
created_at: string;
|
|
90010
|
+
/** Date and time at which the event occurred. */
|
|
90011
|
+
occurred_at: string;
|
|
90012
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90013
|
+
event_description?: string | undefined;
|
|
90014
|
+
/** ID of the affected access code. */
|
|
90015
|
+
access_code_id: string;
|
|
90016
|
+
/** ID of the device associated with the affected access code. */
|
|
90017
|
+
device_id: string;
|
|
90018
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90019
|
+
connected_account_id: string;
|
|
90020
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90021
|
+
device_custom_metadata?: {
|
|
90022
|
+
[x: string]: string | boolean;
|
|
90023
|
+
} | undefined;
|
|
90024
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90025
|
+
connected_account_custom_metadata?: {
|
|
90026
|
+
[x: string]: string | boolean;
|
|
90027
|
+
} | undefined;
|
|
90028
|
+
event_type: 'access_code.failed_to_remove_from_device';
|
|
90029
|
+
/** Errors associated with the connected account. */
|
|
90030
|
+
connected_account_errors: {
|
|
90031
|
+
/** Date and time at which Seam created the error. */
|
|
90032
|
+
created_at: string;
|
|
90033
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90034
|
+
message: string;
|
|
90035
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90036
|
+
error_code: string;
|
|
90037
|
+
}[];
|
|
90038
|
+
/** Warnings associated with the connected account. */
|
|
90039
|
+
connected_account_warnings: {
|
|
90040
|
+
/** Date and time at which Seam created the warning. */
|
|
90041
|
+
created_at: string;
|
|
90042
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90043
|
+
message: string;
|
|
90044
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90045
|
+
warning_code: string;
|
|
90046
|
+
}[];
|
|
90047
|
+
/** Errors associated with the device. */
|
|
90048
|
+
device_errors: {
|
|
90049
|
+
/** Date and time at which Seam created the error. */
|
|
90050
|
+
created_at: string;
|
|
90051
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90052
|
+
message: string;
|
|
90053
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90054
|
+
error_code: string;
|
|
90055
|
+
}[];
|
|
90056
|
+
/** Warnings associated with the device. */
|
|
90057
|
+
device_warnings: {
|
|
90058
|
+
/** Date and time at which Seam created the warning. */
|
|
90059
|
+
created_at: string;
|
|
90060
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90061
|
+
message: string;
|
|
90062
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90063
|
+
warning_code: string;
|
|
90064
|
+
}[];
|
|
90065
|
+
/** Errors associated with the access code. */
|
|
90066
|
+
access_code_errors: {
|
|
90067
|
+
/** Date and time at which Seam created the error. */
|
|
90068
|
+
created_at: string;
|
|
90069
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90070
|
+
message: string;
|
|
90071
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90072
|
+
error_code: string;
|
|
90073
|
+
}[];
|
|
90074
|
+
/** Warnings associated with the access code. */
|
|
90075
|
+
access_code_warnings: {
|
|
90076
|
+
/** Date and time at which Seam created the warning. */
|
|
90077
|
+
created_at: string;
|
|
90078
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90079
|
+
message: string;
|
|
90080
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90081
|
+
warning_code: string;
|
|
90082
|
+
}[];
|
|
90083
|
+
} | {
|
|
90084
|
+
/** ID of the event. */
|
|
90085
|
+
event_id: string;
|
|
90086
|
+
/** ID of the workspace associated with the event. */
|
|
90087
|
+
workspace_id: string;
|
|
90088
|
+
/** Date and time at which the event was created. */
|
|
90089
|
+
created_at: string;
|
|
90090
|
+
/** Date and time at which the event occurred. */
|
|
90091
|
+
occurred_at: string;
|
|
90092
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90093
|
+
event_description?: string | undefined;
|
|
90094
|
+
/** ID of the affected access code. */
|
|
90095
|
+
access_code_id: string;
|
|
90096
|
+
/** ID of the device associated with the affected access code. */
|
|
90097
|
+
device_id: string;
|
|
90098
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90099
|
+
connected_account_id: string;
|
|
90100
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90101
|
+
device_custom_metadata?: {
|
|
90102
|
+
[x: string]: string | boolean;
|
|
90103
|
+
} | undefined;
|
|
90104
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90105
|
+
connected_account_custom_metadata?: {
|
|
90106
|
+
[x: string]: string | boolean;
|
|
90107
|
+
} | undefined;
|
|
90108
|
+
event_type: 'access_code.modified_external_to_seam';
|
|
90109
|
+
} | {
|
|
90110
|
+
/** ID of the event. */
|
|
90111
|
+
event_id: string;
|
|
90112
|
+
/** ID of the workspace associated with the event. */
|
|
90113
|
+
workspace_id: string;
|
|
90114
|
+
/** Date and time at which the event was created. */
|
|
90115
|
+
created_at: string;
|
|
90116
|
+
/** Date and time at which the event occurred. */
|
|
90117
|
+
occurred_at: string;
|
|
90118
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90119
|
+
event_description?: string | undefined;
|
|
90120
|
+
/** ID of the affected access code. */
|
|
90121
|
+
access_code_id: string;
|
|
90122
|
+
/** ID of the device associated with the affected access code. */
|
|
90123
|
+
device_id: string;
|
|
90124
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90125
|
+
connected_account_id: string;
|
|
90126
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90127
|
+
device_custom_metadata?: {
|
|
90128
|
+
[x: string]: string | boolean;
|
|
90129
|
+
} | undefined;
|
|
90130
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90131
|
+
connected_account_custom_metadata?: {
|
|
90132
|
+
[x: string]: string | boolean;
|
|
90133
|
+
} | undefined;
|
|
90134
|
+
event_type: 'access_code.deleted_external_to_seam';
|
|
90135
|
+
} | {
|
|
90136
|
+
/** ID of the event. */
|
|
90137
|
+
event_id: string;
|
|
90138
|
+
/** ID of the workspace associated with the event. */
|
|
90139
|
+
workspace_id: string;
|
|
90140
|
+
/** Date and time at which the event was created. */
|
|
90141
|
+
created_at: string;
|
|
90142
|
+
/** Date and time at which the event occurred. */
|
|
90143
|
+
occurred_at: string;
|
|
90144
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90145
|
+
event_description?: string | undefined;
|
|
90146
|
+
/** ID of the affected access code. */
|
|
90147
|
+
access_code_id: string;
|
|
90148
|
+
/** ID of the device associated with the affected access code. */
|
|
90149
|
+
device_id: string;
|
|
90150
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90151
|
+
connected_account_id: string;
|
|
90152
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90153
|
+
device_custom_metadata?: {
|
|
90154
|
+
[x: string]: string | boolean;
|
|
90155
|
+
} | undefined;
|
|
90156
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90157
|
+
connected_account_custom_metadata?: {
|
|
90158
|
+
[x: string]: string | boolean;
|
|
90159
|
+
} | undefined;
|
|
90160
|
+
event_type: 'access_code.backup_access_code_pulled';
|
|
90161
|
+
/** ID of the backup access code that was pulled from the pool. */
|
|
90162
|
+
backup_access_code_id: string;
|
|
90163
|
+
} | {
|
|
90164
|
+
/** ID of the event. */
|
|
90165
|
+
event_id: string;
|
|
90166
|
+
/** ID of the workspace associated with the event. */
|
|
90167
|
+
workspace_id: string;
|
|
90168
|
+
/** Date and time at which the event was created. */
|
|
90169
|
+
created_at: string;
|
|
90170
|
+
/** Date and time at which the event occurred. */
|
|
90171
|
+
occurred_at: string;
|
|
90172
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90173
|
+
event_description?: string | undefined;
|
|
90174
|
+
/** ID of the affected access code. */
|
|
90175
|
+
access_code_id: string;
|
|
90176
|
+
/** ID of the device associated with the affected access code. */
|
|
90177
|
+
device_id: string;
|
|
90178
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90179
|
+
connected_account_id: string;
|
|
90180
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90181
|
+
device_custom_metadata?: {
|
|
90182
|
+
[x: string]: string | boolean;
|
|
90183
|
+
} | undefined;
|
|
90184
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90185
|
+
connected_account_custom_metadata?: {
|
|
90186
|
+
[x: string]: string | boolean;
|
|
90187
|
+
} | undefined;
|
|
90188
|
+
event_type: 'access_code.unmanaged.converted_to_managed';
|
|
90189
|
+
} | {
|
|
90190
|
+
/** ID of the event. */
|
|
90191
|
+
event_id: string;
|
|
90192
|
+
/** ID of the workspace associated with the event. */
|
|
90193
|
+
workspace_id: string;
|
|
90194
|
+
/** Date and time at which the event was created. */
|
|
90195
|
+
created_at: string;
|
|
90196
|
+
/** Date and time at which the event occurred. */
|
|
90197
|
+
occurred_at: string;
|
|
90198
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90199
|
+
event_description?: string | undefined;
|
|
90200
|
+
/** ID of the affected access code. */
|
|
90201
|
+
access_code_id: string;
|
|
90202
|
+
/** ID of the device associated with the affected access code. */
|
|
90203
|
+
device_id: string;
|
|
90204
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90205
|
+
connected_account_id: string;
|
|
90206
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90207
|
+
device_custom_metadata?: {
|
|
90208
|
+
[x: string]: string | boolean;
|
|
90209
|
+
} | undefined;
|
|
90210
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90211
|
+
connected_account_custom_metadata?: {
|
|
90212
|
+
[x: string]: string | boolean;
|
|
90213
|
+
} | undefined;
|
|
90214
|
+
event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
|
|
90215
|
+
/** Errors associated with the connected account. */
|
|
90216
|
+
connected_account_errors: {
|
|
90217
|
+
/** Date and time at which Seam created the error. */
|
|
90218
|
+
created_at: string;
|
|
90219
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90220
|
+
message: string;
|
|
90221
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90222
|
+
error_code: string;
|
|
90223
|
+
}[];
|
|
90224
|
+
/** Warnings associated with the connected account. */
|
|
90225
|
+
connected_account_warnings: {
|
|
90226
|
+
/** Date and time at which Seam created the warning. */
|
|
90227
|
+
created_at: string;
|
|
90228
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90229
|
+
message: string;
|
|
90230
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90231
|
+
warning_code: string;
|
|
90232
|
+
}[];
|
|
90233
|
+
/** Errors associated with the device. */
|
|
90234
|
+
device_errors: {
|
|
90235
|
+
/** Date and time at which Seam created the error. */
|
|
90236
|
+
created_at: string;
|
|
90237
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90238
|
+
message: string;
|
|
90239
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90240
|
+
error_code: string;
|
|
90241
|
+
}[];
|
|
90242
|
+
/** Warnings associated with the device. */
|
|
90243
|
+
device_warnings: {
|
|
90244
|
+
/** Date and time at which Seam created the warning. */
|
|
90245
|
+
created_at: string;
|
|
90246
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90247
|
+
message: string;
|
|
90248
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90249
|
+
warning_code: string;
|
|
90250
|
+
}[];
|
|
90251
|
+
/** Errors associated with the access code. */
|
|
90252
|
+
access_code_errors: {
|
|
90253
|
+
/** Date and time at which Seam created the error. */
|
|
90254
|
+
created_at: string;
|
|
90255
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90256
|
+
message: string;
|
|
90257
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90258
|
+
error_code: string;
|
|
90259
|
+
}[];
|
|
90260
|
+
/** Warnings associated with the access code. */
|
|
90261
|
+
access_code_warnings: {
|
|
90262
|
+
/** Date and time at which Seam created the warning. */
|
|
90263
|
+
created_at: string;
|
|
90264
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90265
|
+
message: string;
|
|
90266
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90267
|
+
warning_code: string;
|
|
90268
|
+
}[];
|
|
90269
|
+
} | {
|
|
90270
|
+
/** ID of the event. */
|
|
90271
|
+
event_id: string;
|
|
90272
|
+
/** ID of the workspace associated with the event. */
|
|
90273
|
+
workspace_id: string;
|
|
90274
|
+
/** Date and time at which the event was created. */
|
|
90275
|
+
created_at: string;
|
|
90276
|
+
/** Date and time at which the event occurred. */
|
|
90277
|
+
occurred_at: string;
|
|
90278
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90279
|
+
event_description?: string | undefined;
|
|
90280
|
+
/** ID of the affected access code. */
|
|
90281
|
+
access_code_id: string;
|
|
90282
|
+
/** ID of the device associated with the affected access code. */
|
|
90283
|
+
device_id: string;
|
|
90284
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90285
|
+
connected_account_id: string;
|
|
90286
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90287
|
+
device_custom_metadata?: {
|
|
90288
|
+
[x: string]: string | boolean;
|
|
90289
|
+
} | undefined;
|
|
90290
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90291
|
+
connected_account_custom_metadata?: {
|
|
90292
|
+
[x: string]: string | boolean;
|
|
90293
|
+
} | undefined;
|
|
90294
|
+
event_type: 'access_code.unmanaged.created';
|
|
90295
|
+
} | {
|
|
90296
|
+
/** ID of the event. */
|
|
90297
|
+
event_id: string;
|
|
90298
|
+
/** ID of the workspace associated with the event. */
|
|
90299
|
+
workspace_id: string;
|
|
90300
|
+
/** Date and time at which the event was created. */
|
|
90301
|
+
created_at: string;
|
|
90302
|
+
/** Date and time at which the event occurred. */
|
|
90303
|
+
occurred_at: string;
|
|
90304
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90305
|
+
event_description?: string | undefined;
|
|
90306
|
+
/** ID of the affected access code. */
|
|
90307
|
+
access_code_id: string;
|
|
90308
|
+
/** ID of the device associated with the affected access code. */
|
|
90309
|
+
device_id: string;
|
|
90310
|
+
/** ID of the connected account associated with the affected access code. */
|
|
90311
|
+
connected_account_id: string;
|
|
90312
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
90313
|
+
device_custom_metadata?: {
|
|
90314
|
+
[x: string]: string | boolean;
|
|
90315
|
+
} | undefined;
|
|
90316
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90317
|
+
connected_account_custom_metadata?: {
|
|
90318
|
+
[x: string]: string | boolean;
|
|
90319
|
+
} | undefined;
|
|
90320
|
+
event_type: 'access_code.unmanaged.removed';
|
|
90321
|
+
} | {
|
|
90322
|
+
/** ID of the event. */
|
|
90323
|
+
event_id: string;
|
|
90324
|
+
/** ID of the workspace associated with the event. */
|
|
90325
|
+
workspace_id: string;
|
|
90326
|
+
/** Date and time at which the event was created. */
|
|
90327
|
+
created_at: string;
|
|
90328
|
+
/** Date and time at which the event occurred. */
|
|
90329
|
+
occurred_at: string;
|
|
90330
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90331
|
+
event_description?: string | undefined;
|
|
90332
|
+
/** ID of the affected Access Grant. */
|
|
90333
|
+
access_grant_id: string;
|
|
90334
|
+
event_type: 'access_grant.created';
|
|
90335
|
+
} | {
|
|
90336
|
+
/** ID of the event. */
|
|
90337
|
+
event_id: string;
|
|
90338
|
+
/** ID of the workspace associated with the event. */
|
|
90339
|
+
workspace_id: string;
|
|
90340
|
+
/** Date and time at which the event was created. */
|
|
90341
|
+
created_at: string;
|
|
90342
|
+
/** Date and time at which the event occurred. */
|
|
90343
|
+
occurred_at: string;
|
|
90344
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90345
|
+
event_description?: string | undefined;
|
|
90346
|
+
/** ID of the affected Access Grant. */
|
|
90347
|
+
access_grant_id: string;
|
|
90348
|
+
event_type: 'access_grant.deleted';
|
|
90349
|
+
} | {
|
|
90350
|
+
/** ID of the event. */
|
|
90351
|
+
event_id: string;
|
|
90352
|
+
/** ID of the workspace associated with the event. */
|
|
90353
|
+
workspace_id: string;
|
|
90354
|
+
/** Date and time at which the event was created. */
|
|
90355
|
+
created_at: string;
|
|
90356
|
+
/** Date and time at which the event occurred. */
|
|
90357
|
+
occurred_at: string;
|
|
90358
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90359
|
+
event_description?: string | undefined;
|
|
90360
|
+
/** ID of the affected Access Grant. */
|
|
90361
|
+
access_grant_id: string;
|
|
90362
|
+
event_type: 'access_grant.access_granted_to_all_doors';
|
|
90363
|
+
} | {
|
|
90364
|
+
/** ID of the event. */
|
|
90365
|
+
event_id: string;
|
|
90366
|
+
/** ID of the workspace associated with the event. */
|
|
90367
|
+
workspace_id: string;
|
|
90368
|
+
/** Date and time at which the event was created. */
|
|
90369
|
+
created_at: string;
|
|
90370
|
+
/** Date and time at which the event occurred. */
|
|
90371
|
+
occurred_at: string;
|
|
90372
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90373
|
+
event_description?: string | undefined;
|
|
90374
|
+
/** ID of the affected Access Grant. */
|
|
90375
|
+
access_grant_id: string;
|
|
90376
|
+
event_type: 'access_grant.access_granted_to_door';
|
|
90377
|
+
/** ID of the affected [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
90378
|
+
acs_entrance_id: string;
|
|
90379
|
+
} | {
|
|
90380
|
+
/** ID of the event. */
|
|
90381
|
+
event_id: string;
|
|
90382
|
+
/** ID of the workspace associated with the event. */
|
|
90383
|
+
workspace_id: string;
|
|
90384
|
+
/** Date and time at which the event was created. */
|
|
90385
|
+
created_at: string;
|
|
90386
|
+
/** Date and time at which the event occurred. */
|
|
90387
|
+
occurred_at: string;
|
|
90388
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90389
|
+
event_description?: string | undefined;
|
|
90390
|
+
/** ID of the affected Access Grant. */
|
|
90391
|
+
access_grant_id: string;
|
|
90392
|
+
event_type: 'access_grant.access_to_door_lost';
|
|
90393
|
+
/** ID of the affected [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details). */
|
|
90394
|
+
acs_entrance_id: string;
|
|
90395
|
+
} | {
|
|
90396
|
+
/** ID of the event. */
|
|
90397
|
+
event_id: string;
|
|
90398
|
+
/** ID of the workspace associated with the event. */
|
|
90399
|
+
workspace_id: string;
|
|
90400
|
+
/** Date and time at which the event was created. */
|
|
90401
|
+
created_at: string;
|
|
90402
|
+
/** Date and time at which the event occurred. */
|
|
90403
|
+
occurred_at: string;
|
|
90404
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90405
|
+
event_description?: string | undefined;
|
|
90406
|
+
/** ID of the affected Access Grant. */
|
|
90407
|
+
access_grant_id: string;
|
|
90408
|
+
event_type: 'access_grant.access_times_changed';
|
|
90409
|
+
/** Key of the affected Access Grant (if present). */
|
|
90410
|
+
access_grant_key?: string | undefined;
|
|
90411
|
+
/** The new start time for the access grant. */
|
|
90412
|
+
starts_at?: string | undefined;
|
|
90413
|
+
/** The new end time for the access grant. */
|
|
90414
|
+
ends_at?: string | undefined;
|
|
90415
|
+
} | {
|
|
90416
|
+
/** ID of the event. */
|
|
90417
|
+
event_id: string;
|
|
90418
|
+
/** ID of the workspace associated with the event. */
|
|
90419
|
+
workspace_id: string;
|
|
90420
|
+
/** Date and time at which the event was created. */
|
|
90421
|
+
created_at: string;
|
|
90422
|
+
/** Date and time at which the event occurred. */
|
|
90423
|
+
occurred_at: string;
|
|
90424
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90425
|
+
event_description?: string | undefined;
|
|
90426
|
+
/** ID of the affected Access Grant. */
|
|
90427
|
+
access_grant_id: string;
|
|
90428
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
90429
|
+
/** Description of why the access methods could not be created. */
|
|
90430
|
+
error_message: string;
|
|
90431
|
+
/** IDs of the devices that did not receive a requested access method. Use these to identify which specific devices failed without having to fetch the Access Grant. */
|
|
90432
|
+
missing_device_ids?: string[] | undefined;
|
|
90433
|
+
} | {
|
|
90434
|
+
/** ID of the event. */
|
|
90435
|
+
event_id: string;
|
|
90436
|
+
/** ID of the workspace associated with the event. */
|
|
90437
|
+
workspace_id: string;
|
|
90438
|
+
/** Date and time at which the event was created. */
|
|
90439
|
+
created_at: string;
|
|
90440
|
+
/** Date and time at which the event occurred. */
|
|
90441
|
+
occurred_at: string;
|
|
90442
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90443
|
+
event_description?: string | undefined;
|
|
90444
|
+
/** ID of the affected access method. */
|
|
90445
|
+
access_method_id: string;
|
|
90446
|
+
/** IDs of the access grants associated with this access method. */
|
|
90447
|
+
access_grant_ids: string[];
|
|
90448
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90449
|
+
access_grant_keys?: string[] | undefined;
|
|
90450
|
+
event_type: 'access_method.issued';
|
|
90451
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
90452
|
+
code?: string | undefined;
|
|
90453
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
90454
|
+
is_backup_code?: boolean | undefined;
|
|
90455
|
+
} | {
|
|
90456
|
+
/** ID of the event. */
|
|
90457
|
+
event_id: string;
|
|
90458
|
+
/** ID of the workspace associated with the event. */
|
|
90459
|
+
workspace_id: string;
|
|
90460
|
+
/** Date and time at which the event was created. */
|
|
90461
|
+
created_at: string;
|
|
90462
|
+
/** Date and time at which the event occurred. */
|
|
90463
|
+
occurred_at: string;
|
|
90464
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90465
|
+
event_description?: string | undefined;
|
|
90466
|
+
/** ID of the affected access method. */
|
|
90467
|
+
access_method_id: string;
|
|
90468
|
+
/** IDs of the access grants associated with this access method. */
|
|
90469
|
+
access_grant_ids: string[];
|
|
90470
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90471
|
+
access_grant_keys?: string[] | undefined;
|
|
90472
|
+
event_type: 'access_method.revoked';
|
|
90473
|
+
} | {
|
|
90474
|
+
/** ID of the event. */
|
|
90475
|
+
event_id: string;
|
|
90476
|
+
/** ID of the workspace associated with the event. */
|
|
90477
|
+
workspace_id: string;
|
|
90478
|
+
/** Date and time at which the event was created. */
|
|
90479
|
+
created_at: string;
|
|
90480
|
+
/** Date and time at which the event occurred. */
|
|
90481
|
+
occurred_at: string;
|
|
90482
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90483
|
+
event_description?: string | undefined;
|
|
90484
|
+
/** ID of the affected access method. */
|
|
90485
|
+
access_method_id: string;
|
|
90486
|
+
/** IDs of the access grants associated with this access method. */
|
|
90487
|
+
access_grant_ids: string[];
|
|
90488
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90489
|
+
access_grant_keys?: string[] | undefined;
|
|
90490
|
+
event_type: 'access_method.card_encoding_required';
|
|
90491
|
+
} | {
|
|
90492
|
+
/** ID of the event. */
|
|
90493
|
+
event_id: string;
|
|
90494
|
+
/** ID of the workspace associated with the event. */
|
|
90495
|
+
workspace_id: string;
|
|
90496
|
+
/** Date and time at which the event was created. */
|
|
90497
|
+
created_at: string;
|
|
90498
|
+
/** Date and time at which the event occurred. */
|
|
90499
|
+
occurred_at: string;
|
|
90500
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90501
|
+
event_description?: string | undefined;
|
|
90502
|
+
/** ID of the affected access method. */
|
|
90503
|
+
access_method_id: string;
|
|
90504
|
+
/** IDs of the access grants associated with this access method. */
|
|
90505
|
+
access_grant_ids: string[];
|
|
90506
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90507
|
+
access_grant_keys?: string[] | undefined;
|
|
90508
|
+
event_type: 'access_method.deleted';
|
|
90509
|
+
} | {
|
|
90510
|
+
/** ID of the event. */
|
|
90511
|
+
event_id: string;
|
|
90512
|
+
/** ID of the workspace associated with the event. */
|
|
90513
|
+
workspace_id: string;
|
|
90514
|
+
/** Date and time at which the event was created. */
|
|
90515
|
+
created_at: string;
|
|
90516
|
+
/** Date and time at which the event occurred. */
|
|
90517
|
+
occurred_at: string;
|
|
90518
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90519
|
+
event_description?: string | undefined;
|
|
90520
|
+
/** ID of the affected access method. */
|
|
90521
|
+
access_method_id: string;
|
|
90522
|
+
/** IDs of the access grants associated with this access method. */
|
|
90523
|
+
access_grant_ids: string[];
|
|
90524
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90525
|
+
access_grant_keys?: string[] | undefined;
|
|
90526
|
+
event_type: 'access_method.reissued';
|
|
90527
|
+
/** The actual PIN code for code access methods (only present when mode is 'code'). */
|
|
90528
|
+
code?: string | undefined;
|
|
90529
|
+
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
90530
|
+
is_backup_code?: boolean | undefined;
|
|
90531
|
+
} | {
|
|
90532
|
+
/** ID of the event. */
|
|
90533
|
+
event_id: string;
|
|
90534
|
+
/** ID of the workspace associated with the event. */
|
|
90535
|
+
workspace_id: string;
|
|
90536
|
+
/** Date and time at which the event was created. */
|
|
90537
|
+
created_at: string;
|
|
90538
|
+
/** Date and time at which the event occurred. */
|
|
90539
|
+
occurred_at: string;
|
|
90540
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90541
|
+
event_description?: string | undefined;
|
|
90542
|
+
/** ID of the affected access method. */
|
|
90543
|
+
access_method_id: string;
|
|
90544
|
+
/** IDs of the access grants associated with this access method. */
|
|
90545
|
+
access_grant_ids: string[];
|
|
90546
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90547
|
+
access_grant_keys?: string[] | undefined;
|
|
90548
|
+
event_type: 'access_method.created';
|
|
90549
|
+
} | {
|
|
90550
|
+
/** ID of the event. */
|
|
90551
|
+
event_id: string;
|
|
90552
|
+
/** ID of the workspace associated with the event. */
|
|
90553
|
+
workspace_id: string;
|
|
90554
|
+
/** Date and time at which the event was created. */
|
|
90555
|
+
created_at: string;
|
|
90556
|
+
/** Date and time at which the event occurred. */
|
|
90557
|
+
occurred_at: string;
|
|
90558
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90559
|
+
event_description?: string | undefined;
|
|
90560
|
+
/** ID of the affected access method. */
|
|
90561
|
+
access_method_id: string;
|
|
90562
|
+
/** IDs of the access grants associated with this access method. */
|
|
90563
|
+
access_grant_ids: string[];
|
|
90564
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90565
|
+
access_grant_keys?: string[] | undefined;
|
|
90566
|
+
event_type: 'access_method.delay_in_issuing';
|
|
90567
|
+
} | {
|
|
90568
|
+
/** ID of the event. */
|
|
90569
|
+
event_id: string;
|
|
90570
|
+
/** ID of the workspace associated with the event. */
|
|
90571
|
+
workspace_id: string;
|
|
90572
|
+
/** Date and time at which the event was created. */
|
|
90573
|
+
created_at: string;
|
|
90574
|
+
/** Date and time at which the event occurred. */
|
|
90575
|
+
occurred_at: string;
|
|
90576
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90577
|
+
event_description?: string | undefined;
|
|
90578
|
+
/** ID of the affected access method. */
|
|
90579
|
+
access_method_id: string;
|
|
90580
|
+
/** IDs of the access grants associated with this access method. */
|
|
90581
|
+
access_grant_ids: string[];
|
|
90582
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
90583
|
+
access_grant_keys?: string[] | undefined;
|
|
90584
|
+
event_type: 'access_method.failed_to_issue';
|
|
90585
|
+
} | {
|
|
90586
|
+
/** ID of the event. */
|
|
90587
|
+
event_id: string;
|
|
90588
|
+
/** ID of the workspace associated with the event. */
|
|
90589
|
+
workspace_id: string;
|
|
90590
|
+
/** Date and time at which the event was created. */
|
|
90591
|
+
created_at: string;
|
|
90592
|
+
/** Date and time at which the event occurred. */
|
|
90593
|
+
occurred_at: string;
|
|
90594
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90595
|
+
event_description?: string | undefined;
|
|
90596
|
+
/** ID of the connected account. */
|
|
90597
|
+
connected_account_id?: string | undefined;
|
|
90598
|
+
/** ID of the access system. */
|
|
90599
|
+
acs_system_id: string;
|
|
90600
|
+
event_type: 'acs_system.connected';
|
|
90601
|
+
} | {
|
|
90602
|
+
/** ID of the event. */
|
|
90603
|
+
event_id: string;
|
|
90604
|
+
/** ID of the workspace associated with the event. */
|
|
90605
|
+
workspace_id: string;
|
|
90606
|
+
/** Date and time at which the event was created. */
|
|
90607
|
+
created_at: string;
|
|
90608
|
+
/** Date and time at which the event occurred. */
|
|
90609
|
+
occurred_at: string;
|
|
90610
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90611
|
+
event_description?: string | undefined;
|
|
90612
|
+
/** ID of the connected account. */
|
|
90613
|
+
connected_account_id?: string | undefined;
|
|
90614
|
+
/** ID of the access system. */
|
|
90615
|
+
acs_system_id: string;
|
|
90616
|
+
event_type: 'acs_system.added';
|
|
90617
|
+
} | {
|
|
90618
|
+
/** ID of the event. */
|
|
90619
|
+
event_id: string;
|
|
90620
|
+
/** ID of the workspace associated with the event. */
|
|
90621
|
+
workspace_id: string;
|
|
90622
|
+
/** Date and time at which the event was created. */
|
|
90623
|
+
created_at: string;
|
|
90624
|
+
/** Date and time at which the event occurred. */
|
|
90625
|
+
occurred_at: string;
|
|
90626
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90627
|
+
event_description?: string | undefined;
|
|
90628
|
+
/** ID of the connected account. */
|
|
90629
|
+
connected_account_id?: string | undefined;
|
|
90630
|
+
/** ID of the access system. */
|
|
90631
|
+
acs_system_id: string;
|
|
90632
|
+
event_type: 'acs_system.disconnected';
|
|
90633
|
+
/** Errors associated with the access control system. */
|
|
90634
|
+
acs_system_errors: {
|
|
90635
|
+
/** Date and time at which Seam created the error. */
|
|
90636
|
+
created_at: string;
|
|
90637
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90638
|
+
message: string;
|
|
90639
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90640
|
+
error_code: string;
|
|
90641
|
+
}[];
|
|
90642
|
+
/** Warnings associated with the access control system. */
|
|
90643
|
+
acs_system_warnings: {
|
|
90644
|
+
/** Date and time at which Seam created the warning. */
|
|
90645
|
+
created_at: string;
|
|
90646
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90647
|
+
message: string;
|
|
90648
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90649
|
+
warning_code: string;
|
|
90650
|
+
}[];
|
|
90651
|
+
/** Errors associated with the connected account. */
|
|
90652
|
+
connected_account_errors: {
|
|
90653
|
+
/** Date and time at which Seam created the error. */
|
|
90654
|
+
created_at: string;
|
|
90655
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90656
|
+
message: string;
|
|
90657
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90658
|
+
error_code: string;
|
|
90659
|
+
}[];
|
|
90660
|
+
/** Warnings associated with the connected account. */
|
|
90661
|
+
connected_account_warnings: {
|
|
90662
|
+
/** Date and time at which Seam created the warning. */
|
|
90663
|
+
created_at: string;
|
|
90664
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90665
|
+
message: string;
|
|
90666
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90667
|
+
warning_code: string;
|
|
90668
|
+
}[];
|
|
90669
|
+
} | {
|
|
90670
|
+
/** ID of the event. */
|
|
90671
|
+
event_id: string;
|
|
90672
|
+
/** ID of the workspace associated with the event. */
|
|
90673
|
+
workspace_id: string;
|
|
90674
|
+
/** Date and time at which the event was created. */
|
|
90675
|
+
created_at: string;
|
|
90676
|
+
/** Date and time at which the event occurred. */
|
|
90677
|
+
occurred_at: string;
|
|
90678
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90679
|
+
event_description?: string | undefined;
|
|
90680
|
+
/** ID of the connected account. */
|
|
90681
|
+
connected_account_id?: string | undefined;
|
|
90682
|
+
/** ID of the access system. */
|
|
90683
|
+
acs_system_id: string;
|
|
90684
|
+
/** ID of the affected credential. */
|
|
90685
|
+
acs_credential_id: string;
|
|
90686
|
+
event_type: 'acs_credential.deleted';
|
|
90687
|
+
} | {
|
|
90688
|
+
/** ID of the event. */
|
|
90689
|
+
event_id: string;
|
|
90690
|
+
/** ID of the workspace associated with the event. */
|
|
90691
|
+
workspace_id: string;
|
|
90692
|
+
/** Date and time at which the event was created. */
|
|
90693
|
+
created_at: string;
|
|
90694
|
+
/** Date and time at which the event occurred. */
|
|
90695
|
+
occurred_at: string;
|
|
90696
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90697
|
+
event_description?: string | undefined;
|
|
90698
|
+
/** ID of the connected account. */
|
|
90699
|
+
connected_account_id?: string | undefined;
|
|
90700
|
+
/** ID of the access system. */
|
|
90701
|
+
acs_system_id: string;
|
|
90702
|
+
/** ID of the affected credential. */
|
|
90703
|
+
acs_credential_id: string;
|
|
90704
|
+
event_type: 'acs_credential.issued';
|
|
90705
|
+
} | {
|
|
90706
|
+
/** ID of the event. */
|
|
90707
|
+
event_id: string;
|
|
90708
|
+
/** ID of the workspace associated with the event. */
|
|
90709
|
+
workspace_id: string;
|
|
90710
|
+
/** Date and time at which the event was created. */
|
|
90711
|
+
created_at: string;
|
|
90712
|
+
/** Date and time at which the event occurred. */
|
|
90713
|
+
occurred_at: string;
|
|
90714
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90715
|
+
event_description?: string | undefined;
|
|
90716
|
+
/** ID of the connected account. */
|
|
90717
|
+
connected_account_id?: string | undefined;
|
|
90718
|
+
/** ID of the access system. */
|
|
90719
|
+
acs_system_id: string;
|
|
90720
|
+
/** ID of the affected credential. */
|
|
90721
|
+
acs_credential_id: string;
|
|
90722
|
+
event_type: 'acs_credential.reissued';
|
|
90723
|
+
} | {
|
|
90724
|
+
/** ID of the event. */
|
|
90725
|
+
event_id: string;
|
|
90726
|
+
/** ID of the workspace associated with the event. */
|
|
90727
|
+
workspace_id: string;
|
|
90728
|
+
/** Date and time at which the event was created. */
|
|
90729
|
+
created_at: string;
|
|
90730
|
+
/** Date and time at which the event occurred. */
|
|
90731
|
+
occurred_at: string;
|
|
90732
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90733
|
+
event_description?: string | undefined;
|
|
90734
|
+
/** ID of the connected account. */
|
|
90735
|
+
connected_account_id?: string | undefined;
|
|
90736
|
+
/** ID of the access system. */
|
|
90737
|
+
acs_system_id: string;
|
|
90738
|
+
/** ID of the affected credential. */
|
|
90739
|
+
acs_credential_id: string;
|
|
90740
|
+
event_type: 'acs_credential.invalidated';
|
|
90741
|
+
} | {
|
|
90742
|
+
/** ID of the event. */
|
|
90743
|
+
event_id: string;
|
|
90744
|
+
/** ID of the workspace associated with the event. */
|
|
90745
|
+
workspace_id: string;
|
|
90746
|
+
/** Date and time at which the event was created. */
|
|
90747
|
+
created_at: string;
|
|
90748
|
+
/** Date and time at which the event occurred. */
|
|
90749
|
+
occurred_at: string;
|
|
90750
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90751
|
+
event_description?: string | undefined;
|
|
90752
|
+
/** ID of the connected account. */
|
|
90753
|
+
connected_account_id?: string | undefined;
|
|
90754
|
+
/** ID of the access system. */
|
|
90755
|
+
acs_system_id: string;
|
|
90756
|
+
/** ID of the affected access system user. */
|
|
90757
|
+
acs_user_id: string;
|
|
90758
|
+
event_type: 'acs_user.created';
|
|
90759
|
+
} | {
|
|
90760
|
+
/** ID of the event. */
|
|
90761
|
+
event_id: string;
|
|
90762
|
+
/** ID of the workspace associated with the event. */
|
|
90763
|
+
workspace_id: string;
|
|
90764
|
+
/** Date and time at which the event was created. */
|
|
90765
|
+
created_at: string;
|
|
90766
|
+
/** Date and time at which the event occurred. */
|
|
90767
|
+
occurred_at: string;
|
|
90768
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90769
|
+
event_description?: string | undefined;
|
|
90770
|
+
/** ID of the connected account. */
|
|
90771
|
+
connected_account_id?: string | undefined;
|
|
90772
|
+
/** ID of the access system. */
|
|
90773
|
+
acs_system_id: string;
|
|
90774
|
+
/** ID of the affected access system user. */
|
|
90775
|
+
acs_user_id: string;
|
|
90776
|
+
event_type: 'acs_user.deleted';
|
|
90777
|
+
} | {
|
|
90778
|
+
/** ID of the event. */
|
|
90779
|
+
event_id: string;
|
|
90780
|
+
/** ID of the workspace associated with the event. */
|
|
90781
|
+
workspace_id: string;
|
|
90782
|
+
/** Date and time at which the event was created. */
|
|
90783
|
+
created_at: string;
|
|
90784
|
+
/** Date and time at which the event occurred. */
|
|
90785
|
+
occurred_at: string;
|
|
90786
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90787
|
+
event_description?: string | undefined;
|
|
90788
|
+
/** ID of the connected account. */
|
|
90789
|
+
connected_account_id?: string | undefined;
|
|
90790
|
+
/** ID of the access system. */
|
|
90791
|
+
acs_system_id: string;
|
|
90792
|
+
/** ID of the affected encoder. */
|
|
90793
|
+
acs_encoder_id: string;
|
|
90794
|
+
event_type: 'acs_encoder.added';
|
|
90795
|
+
} | {
|
|
90796
|
+
/** ID of the event. */
|
|
90797
|
+
event_id: string;
|
|
90798
|
+
/** ID of the workspace associated with the event. */
|
|
90799
|
+
workspace_id: string;
|
|
90800
|
+
/** Date and time at which the event was created. */
|
|
90801
|
+
created_at: string;
|
|
90802
|
+
/** Date and time at which the event occurred. */
|
|
90803
|
+
occurred_at: string;
|
|
90804
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90805
|
+
event_description?: string | undefined;
|
|
90806
|
+
/** ID of the connected account. */
|
|
90807
|
+
connected_account_id?: string | undefined;
|
|
90808
|
+
/** ID of the access system. */
|
|
90809
|
+
acs_system_id: string;
|
|
90810
|
+
/** ID of the affected encoder. */
|
|
90811
|
+
acs_encoder_id: string;
|
|
90812
|
+
event_type: 'acs_encoder.removed';
|
|
90813
|
+
} | {
|
|
90814
|
+
/** ID of the event. */
|
|
90815
|
+
event_id: string;
|
|
90816
|
+
/** ID of the workspace associated with the event. */
|
|
90817
|
+
workspace_id: string;
|
|
90818
|
+
/** Date and time at which the event was created. */
|
|
90819
|
+
created_at: string;
|
|
90820
|
+
/** Date and time at which the event occurred. */
|
|
90821
|
+
occurred_at: string;
|
|
90822
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90823
|
+
event_description?: string | undefined;
|
|
90824
|
+
/** ID of the connected account. */
|
|
90825
|
+
connected_account_id?: string | undefined;
|
|
90826
|
+
/** ID of the access system. */
|
|
90827
|
+
acs_system_id: string;
|
|
90828
|
+
/** ID of the affected access group. */
|
|
90829
|
+
acs_access_group_id: string;
|
|
90830
|
+
event_type: 'acs_access_group.deleted';
|
|
90831
|
+
} | {
|
|
90832
|
+
/** ID of the event. */
|
|
90833
|
+
event_id: string;
|
|
90834
|
+
/** ID of the workspace associated with the event. */
|
|
90835
|
+
workspace_id: string;
|
|
90836
|
+
/** Date and time at which the event was created. */
|
|
90837
|
+
created_at: string;
|
|
90838
|
+
/** Date and time at which the event occurred. */
|
|
90839
|
+
occurred_at: string;
|
|
90840
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90841
|
+
event_description?: string | undefined;
|
|
90842
|
+
/** ID of the connected account. */
|
|
90843
|
+
connected_account_id?: string | undefined;
|
|
90844
|
+
/** ID of the access system. */
|
|
90845
|
+
acs_system_id: string;
|
|
90846
|
+
/** ID of the affected entrance. */
|
|
90847
|
+
acs_entrance_id: string;
|
|
90848
|
+
event_type: 'acs_entrance.added';
|
|
90849
|
+
} | {
|
|
90850
|
+
/** ID of the event. */
|
|
90851
|
+
event_id: string;
|
|
90852
|
+
/** ID of the workspace associated with the event. */
|
|
90853
|
+
workspace_id: string;
|
|
90854
|
+
/** Date and time at which the event was created. */
|
|
90855
|
+
created_at: string;
|
|
90856
|
+
/** Date and time at which the event occurred. */
|
|
90857
|
+
occurred_at: string;
|
|
90858
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90859
|
+
event_description?: string | undefined;
|
|
90860
|
+
/** ID of the connected account. */
|
|
90861
|
+
connected_account_id?: string | undefined;
|
|
90862
|
+
/** ID of the access system. */
|
|
90863
|
+
acs_system_id: string;
|
|
90864
|
+
/** ID of the affected entrance. */
|
|
90865
|
+
acs_entrance_id: string;
|
|
90866
|
+
event_type: 'acs_entrance.removed';
|
|
90867
|
+
} | {
|
|
90868
|
+
/** ID of the event. */
|
|
90869
|
+
event_id: string;
|
|
90870
|
+
/** ID of the workspace associated with the event. */
|
|
90871
|
+
workspace_id: string;
|
|
90872
|
+
/** Date and time at which the event was created. */
|
|
90873
|
+
created_at: string;
|
|
90874
|
+
/** Date and time at which the event occurred. */
|
|
90875
|
+
occurred_at: string;
|
|
90876
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90877
|
+
event_description?: string | undefined;
|
|
90878
|
+
/** ID of the affected client session. */
|
|
90879
|
+
client_session_id: string;
|
|
90880
|
+
event_type: 'client_session.deleted';
|
|
90881
|
+
} | {
|
|
90882
|
+
/** ID of the event. */
|
|
90883
|
+
event_id: string;
|
|
90884
|
+
/** ID of the workspace associated with the event. */
|
|
90885
|
+
workspace_id: string;
|
|
90886
|
+
/** Date and time at which the event was created. */
|
|
90887
|
+
created_at: string;
|
|
90888
|
+
/** Date and time at which the event occurred. */
|
|
90889
|
+
occurred_at: string;
|
|
90890
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90891
|
+
event_description?: string | undefined;
|
|
90892
|
+
/** ID of the affected connected account. */
|
|
90893
|
+
connected_account_id: string;
|
|
90894
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90895
|
+
connected_account_custom_metadata?: {
|
|
90896
|
+
[x: string]: string | boolean;
|
|
90897
|
+
} | undefined;
|
|
90898
|
+
event_type: 'connected_account.connected';
|
|
90899
|
+
/** ID of the Connect Webview associated with the event. */
|
|
90900
|
+
connect_webview_id?: string | undefined;
|
|
90901
|
+
/** The customer key associated with this connected account, if any. */
|
|
90902
|
+
customer_key?: string | undefined;
|
|
90903
|
+
} | {
|
|
90904
|
+
/** ID of the event. */
|
|
90905
|
+
event_id: string;
|
|
90906
|
+
/** ID of the workspace associated with the event. */
|
|
90907
|
+
workspace_id: string;
|
|
90908
|
+
/** Date and time at which the event was created. */
|
|
90909
|
+
created_at: string;
|
|
90910
|
+
/** Date and time at which the event occurred. */
|
|
90911
|
+
occurred_at: string;
|
|
90912
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90913
|
+
event_description?: string | undefined;
|
|
90914
|
+
/** ID of the affected connected account. */
|
|
90915
|
+
connected_account_id: string;
|
|
90916
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90917
|
+
connected_account_custom_metadata?: {
|
|
90918
|
+
[x: string]: string | boolean;
|
|
90919
|
+
} | undefined;
|
|
90920
|
+
event_type: 'connected_account.created';
|
|
90921
|
+
/** ID of the Connect Webview associated with the event. */
|
|
90922
|
+
connect_webview_id: string;
|
|
90923
|
+
} | {
|
|
90924
|
+
/** ID of the event. */
|
|
90925
|
+
event_id: string;
|
|
90926
|
+
/** ID of the workspace associated with the event. */
|
|
90927
|
+
workspace_id: string;
|
|
90928
|
+
/** Date and time at which the event was created. */
|
|
90929
|
+
created_at: string;
|
|
90930
|
+
/** Date and time at which the event occurred. */
|
|
90931
|
+
occurred_at: string;
|
|
90932
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90933
|
+
event_description?: string | undefined;
|
|
90934
|
+
/** ID of the affected connected account. */
|
|
90935
|
+
connected_account_id: string;
|
|
90936
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90937
|
+
connected_account_custom_metadata?: {
|
|
90938
|
+
[x: string]: string | boolean;
|
|
90939
|
+
} | undefined;
|
|
90940
|
+
event_type: 'connected_account.successful_login';
|
|
90941
|
+
/** ID of the Connect Webview associated with the event. */
|
|
90942
|
+
connect_webview_id: string;
|
|
90943
|
+
} | {
|
|
90944
|
+
/** ID of the event. */
|
|
90945
|
+
event_id: string;
|
|
90946
|
+
/** ID of the workspace associated with the event. */
|
|
90947
|
+
workspace_id: string;
|
|
90948
|
+
/** Date and time at which the event was created. */
|
|
90949
|
+
created_at: string;
|
|
90950
|
+
/** Date and time at which the event occurred. */
|
|
90951
|
+
occurred_at: string;
|
|
90952
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90953
|
+
event_description?: string | undefined;
|
|
90954
|
+
/** ID of the affected connected account. */
|
|
90955
|
+
connected_account_id: string;
|
|
90956
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90957
|
+
connected_account_custom_metadata?: {
|
|
90958
|
+
[x: string]: string | boolean;
|
|
90959
|
+
} | undefined;
|
|
90960
|
+
event_type: 'connected_account.disconnected';
|
|
90961
|
+
/** Errors associated with the connected account. */
|
|
90962
|
+
connected_account_errors: {
|
|
90963
|
+
/** Date and time at which Seam created the error. */
|
|
90964
|
+
created_at: string;
|
|
90965
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
90966
|
+
message: string;
|
|
90967
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
90968
|
+
error_code: string;
|
|
90969
|
+
}[];
|
|
90970
|
+
/** Warnings associated with the connected account. */
|
|
90971
|
+
connected_account_warnings: {
|
|
90972
|
+
/** Date and time at which Seam created the warning. */
|
|
90973
|
+
created_at: string;
|
|
90974
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
90975
|
+
message: string;
|
|
90976
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
90977
|
+
warning_code: string;
|
|
90978
|
+
}[];
|
|
90979
|
+
} | {
|
|
90980
|
+
/** ID of the event. */
|
|
90981
|
+
event_id: string;
|
|
90982
|
+
/** ID of the workspace associated with the event. */
|
|
90983
|
+
workspace_id: string;
|
|
90984
|
+
/** Date and time at which the event was created. */
|
|
90985
|
+
created_at: string;
|
|
90986
|
+
/** Date and time at which the event occurred. */
|
|
90987
|
+
occurred_at: string;
|
|
90988
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
90989
|
+
event_description?: string | undefined;
|
|
90990
|
+
/** ID of the affected connected account. */
|
|
90991
|
+
connected_account_id: string;
|
|
90992
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
90993
|
+
connected_account_custom_metadata?: {
|
|
90994
|
+
[x: string]: string | boolean;
|
|
90995
|
+
} | undefined;
|
|
90996
|
+
event_type: 'connected_account.completed_first_sync';
|
|
90997
|
+
} | {
|
|
90998
|
+
/** ID of the event. */
|
|
90999
|
+
event_id: string;
|
|
91000
|
+
/** ID of the workspace associated with the event. */
|
|
91001
|
+
workspace_id: string;
|
|
91002
|
+
/** Date and time at which the event was created. */
|
|
91003
|
+
created_at: string;
|
|
91004
|
+
/** Date and time at which the event occurred. */
|
|
91005
|
+
occurred_at: string;
|
|
91006
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91007
|
+
event_description?: string | undefined;
|
|
91008
|
+
/** ID of the affected connected account. */
|
|
91009
|
+
connected_account_id: string;
|
|
91010
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91011
|
+
connected_account_custom_metadata?: {
|
|
91012
|
+
[x: string]: string | boolean;
|
|
91013
|
+
} | undefined;
|
|
91014
|
+
event_type: 'connected_account.deleted';
|
|
91015
|
+
/** */
|
|
91016
|
+
connected_account_type?: string | undefined;
|
|
91017
|
+
/** The customer key associated with this connected account, if any. */
|
|
91018
|
+
customer_key?: string | undefined;
|
|
91019
|
+
} | {
|
|
91020
|
+
/** ID of the event. */
|
|
91021
|
+
event_id: string;
|
|
91022
|
+
/** ID of the workspace associated with the event. */
|
|
91023
|
+
workspace_id: string;
|
|
91024
|
+
/** Date and time at which the event was created. */
|
|
91025
|
+
created_at: string;
|
|
91026
|
+
/** Date and time at which the event occurred. */
|
|
91027
|
+
occurred_at: string;
|
|
91028
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91029
|
+
event_description?: string | undefined;
|
|
91030
|
+
/** ID of the affected connected account. */
|
|
91031
|
+
connected_account_id: string;
|
|
91032
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91033
|
+
connected_account_custom_metadata?: {
|
|
91034
|
+
[x: string]: string | boolean;
|
|
91035
|
+
} | undefined;
|
|
91036
|
+
event_type: 'connected_account.completed_first_sync_after_reconnection';
|
|
91037
|
+
} | {
|
|
91038
|
+
/** ID of the event. */
|
|
91039
|
+
event_id: string;
|
|
91040
|
+
/** ID of the workspace associated with the event. */
|
|
91041
|
+
workspace_id: string;
|
|
91042
|
+
/** Date and time at which the event was created. */
|
|
91043
|
+
created_at: string;
|
|
91044
|
+
/** Date and time at which the event occurred. */
|
|
91045
|
+
occurred_at: string;
|
|
91046
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91047
|
+
event_description?: string | undefined;
|
|
91048
|
+
/** ID of the affected connected account. */
|
|
91049
|
+
connected_account_id: string;
|
|
91050
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91051
|
+
connected_account_custom_metadata?: {
|
|
91052
|
+
[x: string]: string | boolean;
|
|
91053
|
+
} | undefined;
|
|
91054
|
+
event_type: 'connected_account.reauthorization_requested';
|
|
91055
|
+
/** Errors associated with the connected account. */
|
|
91056
|
+
connected_account_errors: {
|
|
91057
|
+
/** Date and time at which Seam created the error. */
|
|
91058
|
+
created_at: string;
|
|
91059
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91060
|
+
message: string;
|
|
91061
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91062
|
+
error_code: string;
|
|
91063
|
+
}[];
|
|
91064
|
+
/** Warnings associated with the connected account. */
|
|
91065
|
+
connected_account_warnings: {
|
|
91066
|
+
/** Date and time at which Seam created the warning. */
|
|
91067
|
+
created_at: string;
|
|
91068
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91069
|
+
message: string;
|
|
91070
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91071
|
+
warning_code: string;
|
|
91072
|
+
}[];
|
|
91073
|
+
} | {
|
|
91074
|
+
/** ID of the event. */
|
|
91075
|
+
event_id: string;
|
|
91076
|
+
/** ID of the workspace associated with the event. */
|
|
91077
|
+
workspace_id: string;
|
|
91078
|
+
/** Date and time at which the event was created. */
|
|
91079
|
+
created_at: string;
|
|
91080
|
+
/** Date and time at which the event occurred. */
|
|
91081
|
+
occurred_at: string;
|
|
91082
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91083
|
+
event_description?: string | undefined;
|
|
91084
|
+
/** ID of the affected action attempt. */
|
|
91085
|
+
action_attempt_id: string;
|
|
91086
|
+
/** Type of the action. */
|
|
91087
|
+
action_type: string;
|
|
91088
|
+
/** Status of the action. */
|
|
91089
|
+
status: string;
|
|
91090
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91091
|
+
device_id?: string | undefined;
|
|
91092
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91093
|
+
connected_account_id?: string | undefined;
|
|
91094
|
+
event_type: 'action_attempt.lock_door.succeeded';
|
|
91095
|
+
} | {
|
|
91096
|
+
/** ID of the event. */
|
|
91097
|
+
event_id: string;
|
|
91098
|
+
/** ID of the workspace associated with the event. */
|
|
91099
|
+
workspace_id: string;
|
|
91100
|
+
/** Date and time at which the event was created. */
|
|
91101
|
+
created_at: string;
|
|
91102
|
+
/** Date and time at which the event occurred. */
|
|
91103
|
+
occurred_at: string;
|
|
91104
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91105
|
+
event_description?: string | undefined;
|
|
91106
|
+
/** ID of the affected action attempt. */
|
|
91107
|
+
action_attempt_id: string;
|
|
91108
|
+
/** Type of the action. */
|
|
91109
|
+
action_type: string;
|
|
91110
|
+
/** Status of the action. */
|
|
91111
|
+
status: string;
|
|
91112
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91113
|
+
device_id?: string | undefined;
|
|
91114
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91115
|
+
connected_account_id?: string | undefined;
|
|
91116
|
+
event_type: 'action_attempt.lock_door.failed';
|
|
91117
|
+
} | {
|
|
91118
|
+
/** ID of the event. */
|
|
91119
|
+
event_id: string;
|
|
91120
|
+
/** ID of the workspace associated with the event. */
|
|
91121
|
+
workspace_id: string;
|
|
91122
|
+
/** Date and time at which the event was created. */
|
|
91123
|
+
created_at: string;
|
|
91124
|
+
/** Date and time at which the event occurred. */
|
|
91125
|
+
occurred_at: string;
|
|
91126
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91127
|
+
event_description?: string | undefined;
|
|
91128
|
+
/** ID of the affected action attempt. */
|
|
91129
|
+
action_attempt_id: string;
|
|
91130
|
+
/** Type of the action. */
|
|
91131
|
+
action_type: string;
|
|
91132
|
+
/** Status of the action. */
|
|
91133
|
+
status: string;
|
|
91134
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91135
|
+
device_id?: string | undefined;
|
|
91136
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91137
|
+
connected_account_id?: string | undefined;
|
|
91138
|
+
event_type: 'action_attempt.unlock_door.succeeded';
|
|
91139
|
+
} | {
|
|
91140
|
+
/** ID of the event. */
|
|
91141
|
+
event_id: string;
|
|
91142
|
+
/** ID of the workspace associated with the event. */
|
|
91143
|
+
workspace_id: string;
|
|
91144
|
+
/** Date and time at which the event was created. */
|
|
91145
|
+
created_at: string;
|
|
91146
|
+
/** Date and time at which the event occurred. */
|
|
91147
|
+
occurred_at: string;
|
|
91148
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91149
|
+
event_description?: string | undefined;
|
|
91150
|
+
/** ID of the affected action attempt. */
|
|
91151
|
+
action_attempt_id: string;
|
|
91152
|
+
/** Type of the action. */
|
|
91153
|
+
action_type: string;
|
|
91154
|
+
/** Status of the action. */
|
|
91155
|
+
status: string;
|
|
91156
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91157
|
+
device_id?: string | undefined;
|
|
91158
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91159
|
+
connected_account_id?: string | undefined;
|
|
91160
|
+
event_type: 'action_attempt.unlock_door.failed';
|
|
91161
|
+
} | {
|
|
91162
|
+
/** ID of the event. */
|
|
91163
|
+
event_id: string;
|
|
91164
|
+
/** ID of the workspace associated with the event. */
|
|
91165
|
+
workspace_id: string;
|
|
91166
|
+
/** Date and time at which the event was created. */
|
|
91167
|
+
created_at: string;
|
|
91168
|
+
/** Date and time at which the event occurred. */
|
|
91169
|
+
occurred_at: string;
|
|
91170
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91171
|
+
event_description?: string | undefined;
|
|
91172
|
+
/** ID of the affected action attempt. */
|
|
91173
|
+
action_attempt_id: string;
|
|
91174
|
+
/** Type of the action. */
|
|
91175
|
+
action_type: string;
|
|
91176
|
+
/** Status of the action. */
|
|
91177
|
+
status: string;
|
|
91178
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91179
|
+
device_id?: string | undefined;
|
|
91180
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91181
|
+
connected_account_id?: string | undefined;
|
|
91182
|
+
event_type: 'action_attempt.simulate_keypad_code_entry.succeeded';
|
|
91183
|
+
} | {
|
|
91184
|
+
/** ID of the event. */
|
|
91185
|
+
event_id: string;
|
|
91186
|
+
/** ID of the workspace associated with the event. */
|
|
91187
|
+
workspace_id: string;
|
|
91188
|
+
/** Date and time at which the event was created. */
|
|
91189
|
+
created_at: string;
|
|
91190
|
+
/** Date and time at which the event occurred. */
|
|
91191
|
+
occurred_at: string;
|
|
91192
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91193
|
+
event_description?: string | undefined;
|
|
91194
|
+
/** ID of the affected action attempt. */
|
|
91195
|
+
action_attempt_id: string;
|
|
91196
|
+
/** Type of the action. */
|
|
91197
|
+
action_type: string;
|
|
91198
|
+
/** Status of the action. */
|
|
91199
|
+
status: string;
|
|
91200
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91201
|
+
device_id?: string | undefined;
|
|
91202
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91203
|
+
connected_account_id?: string | undefined;
|
|
91204
|
+
event_type: 'action_attempt.simulate_keypad_code_entry.failed';
|
|
91205
|
+
} | {
|
|
91206
|
+
/** ID of the event. */
|
|
91207
|
+
event_id: string;
|
|
91208
|
+
/** ID of the workspace associated with the event. */
|
|
91209
|
+
workspace_id: string;
|
|
91210
|
+
/** Date and time at which the event was created. */
|
|
91211
|
+
created_at: string;
|
|
91212
|
+
/** Date and time at which the event occurred. */
|
|
91213
|
+
occurred_at: string;
|
|
91214
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91215
|
+
event_description?: string | undefined;
|
|
91216
|
+
/** ID of the affected action attempt. */
|
|
91217
|
+
action_attempt_id: string;
|
|
91218
|
+
/** Type of the action. */
|
|
91219
|
+
action_type: string;
|
|
91220
|
+
/** Status of the action. */
|
|
91221
|
+
status: string;
|
|
91222
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91223
|
+
device_id?: string | undefined;
|
|
91224
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91225
|
+
connected_account_id?: string | undefined;
|
|
91226
|
+
event_type: 'action_attempt.simulate_manual_lock_via_keypad.succeeded';
|
|
91227
|
+
} | {
|
|
91228
|
+
/** ID of the event. */
|
|
91229
|
+
event_id: string;
|
|
91230
|
+
/** ID of the workspace associated with the event. */
|
|
91231
|
+
workspace_id: string;
|
|
91232
|
+
/** Date and time at which the event was created. */
|
|
91233
|
+
created_at: string;
|
|
91234
|
+
/** Date and time at which the event occurred. */
|
|
91235
|
+
occurred_at: string;
|
|
91236
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91237
|
+
event_description?: string | undefined;
|
|
91238
|
+
/** ID of the affected action attempt. */
|
|
91239
|
+
action_attempt_id: string;
|
|
91240
|
+
/** Type of the action. */
|
|
91241
|
+
action_type: string;
|
|
91242
|
+
/** Status of the action. */
|
|
91243
|
+
status: string;
|
|
91244
|
+
/** ID of the device associated with the action attempt, if applicable. */
|
|
91245
|
+
device_id?: string | undefined;
|
|
91246
|
+
/** ID of the connected account associated with the action attempt, if applicable. */
|
|
91247
|
+
connected_account_id?: string | undefined;
|
|
91248
|
+
event_type: 'action_attempt.simulate_manual_lock_via_keypad.failed';
|
|
91249
|
+
} | {
|
|
91250
|
+
/** ID of the event. */
|
|
91251
|
+
event_id: string;
|
|
91252
|
+
/** ID of the workspace associated with the event. */
|
|
91253
|
+
workspace_id: string;
|
|
91254
|
+
/** Date and time at which the event was created. */
|
|
91255
|
+
created_at: string;
|
|
91256
|
+
/** Date and time at which the event occurred. */
|
|
91257
|
+
occurred_at: string;
|
|
91258
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91259
|
+
event_description?: string | undefined;
|
|
91260
|
+
/** ID of the affected Connect Webview. */
|
|
91261
|
+
connect_webview_id: string;
|
|
91262
|
+
event_type: 'connect_webview.login_succeeded';
|
|
91263
|
+
/** ID of the connected account associated with the event. */
|
|
91264
|
+
connected_account_id: string;
|
|
91265
|
+
/** Custom metadata of the connected account; present when connected_account_id is provided. */
|
|
91266
|
+
connected_account_custom_metadata?: {
|
|
91267
|
+
[x: string]: string | boolean;
|
|
91268
|
+
} | undefined;
|
|
91269
|
+
/** The customer key associated with this connect webview, if any. */
|
|
91270
|
+
customer_key?: string | undefined;
|
|
91271
|
+
} | {
|
|
91272
|
+
/** ID of the event. */
|
|
91273
|
+
event_id: string;
|
|
91274
|
+
/** ID of the workspace associated with the event. */
|
|
91275
|
+
workspace_id: string;
|
|
91276
|
+
/** Date and time at which the event was created. */
|
|
91277
|
+
created_at: string;
|
|
91278
|
+
/** Date and time at which the event occurred. */
|
|
91279
|
+
occurred_at: string;
|
|
91280
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91281
|
+
event_description?: string | undefined;
|
|
91282
|
+
/** ID of the affected Connect Webview. */
|
|
91283
|
+
connect_webview_id: string;
|
|
91284
|
+
event_type: 'connect_webview.login_failed';
|
|
91285
|
+
} | {
|
|
91286
|
+
/** ID of the event. */
|
|
91287
|
+
event_id: string;
|
|
91288
|
+
/** ID of the workspace associated with the event. */
|
|
91289
|
+
workspace_id: string;
|
|
91290
|
+
/** Date and time at which the event was created. */
|
|
91291
|
+
created_at: string;
|
|
91292
|
+
/** Date and time at which the event occurred. */
|
|
91293
|
+
occurred_at: string;
|
|
91294
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91295
|
+
event_description?: string | undefined;
|
|
91296
|
+
/** ID of the affected device. */
|
|
91297
|
+
device_id: string;
|
|
91298
|
+
/** ID of the connected account associated with the event. */
|
|
91299
|
+
connected_account_id: string;
|
|
91300
|
+
/** The customer key associated with the device, if any. */
|
|
91301
|
+
customer_key?: string | undefined;
|
|
91302
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91303
|
+
device_custom_metadata?: {
|
|
91304
|
+
[x: string]: string | boolean;
|
|
91305
|
+
} | undefined;
|
|
91306
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91307
|
+
connected_account_custom_metadata?: {
|
|
91308
|
+
[x: string]: string | boolean;
|
|
91309
|
+
} | undefined;
|
|
91310
|
+
event_type: 'device.connected';
|
|
91311
|
+
} | {
|
|
91312
|
+
/** ID of the event. */
|
|
91313
|
+
event_id: string;
|
|
91314
|
+
/** ID of the workspace associated with the event. */
|
|
91315
|
+
workspace_id: string;
|
|
91316
|
+
/** Date and time at which the event was created. */
|
|
91317
|
+
created_at: string;
|
|
91318
|
+
/** Date and time at which the event occurred. */
|
|
91319
|
+
occurred_at: string;
|
|
91320
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91321
|
+
event_description?: string | undefined;
|
|
91322
|
+
/** ID of the affected device. */
|
|
91323
|
+
device_id: string;
|
|
91324
|
+
/** ID of the connected account associated with the event. */
|
|
91325
|
+
connected_account_id: string;
|
|
91326
|
+
/** The customer key associated with the device, if any. */
|
|
91327
|
+
customer_key?: string | undefined;
|
|
91328
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91329
|
+
device_custom_metadata?: {
|
|
91330
|
+
[x: string]: string | boolean;
|
|
91331
|
+
} | undefined;
|
|
91332
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91333
|
+
connected_account_custom_metadata?: {
|
|
91334
|
+
[x: string]: string | boolean;
|
|
91335
|
+
} | undefined;
|
|
91336
|
+
event_type: 'device.added';
|
|
91337
|
+
} | {
|
|
91338
|
+
/** ID of the event. */
|
|
91339
|
+
event_id: string;
|
|
91340
|
+
/** ID of the workspace associated with the event. */
|
|
91341
|
+
workspace_id: string;
|
|
91342
|
+
/** Date and time at which the event was created. */
|
|
91343
|
+
created_at: string;
|
|
91344
|
+
/** Date and time at which the event occurred. */
|
|
91345
|
+
occurred_at: string;
|
|
91346
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91347
|
+
event_description?: string | undefined;
|
|
91348
|
+
/** ID of the affected device. */
|
|
91349
|
+
device_id: string;
|
|
91350
|
+
/** ID of the connected account associated with the event. */
|
|
91351
|
+
connected_account_id: string;
|
|
91352
|
+
/** The customer key associated with the device, if any. */
|
|
91353
|
+
customer_key?: string | undefined;
|
|
91354
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91355
|
+
device_custom_metadata?: {
|
|
91356
|
+
[x: string]: string | boolean;
|
|
91357
|
+
} | undefined;
|
|
91358
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91359
|
+
connected_account_custom_metadata?: {
|
|
91360
|
+
[x: string]: string | boolean;
|
|
91361
|
+
} | undefined;
|
|
91362
|
+
event_type: 'device.converted_to_unmanaged';
|
|
91363
|
+
} | {
|
|
91364
|
+
/** ID of the event. */
|
|
91365
|
+
event_id: string;
|
|
91366
|
+
/** ID of the workspace associated with the event. */
|
|
91367
|
+
workspace_id: string;
|
|
91368
|
+
/** Date and time at which the event was created. */
|
|
91369
|
+
created_at: string;
|
|
91370
|
+
/** Date and time at which the event occurred. */
|
|
91371
|
+
occurred_at: string;
|
|
91372
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91373
|
+
event_description?: string | undefined;
|
|
91374
|
+
/** ID of the affected device. */
|
|
91375
|
+
device_id: string;
|
|
91376
|
+
/** ID of the connected account associated with the event. */
|
|
91377
|
+
connected_account_id: string;
|
|
91378
|
+
/** The customer key associated with the device, if any. */
|
|
91379
|
+
customer_key?: string | undefined;
|
|
91380
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91381
|
+
device_custom_metadata?: {
|
|
91382
|
+
[x: string]: string | boolean;
|
|
91383
|
+
} | undefined;
|
|
91384
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91385
|
+
connected_account_custom_metadata?: {
|
|
91386
|
+
[x: string]: string | boolean;
|
|
91387
|
+
} | undefined;
|
|
91388
|
+
event_type: 'device.unmanaged.converted_to_managed';
|
|
91389
|
+
} | {
|
|
91390
|
+
/** ID of the event. */
|
|
91391
|
+
event_id: string;
|
|
91392
|
+
/** ID of the workspace associated with the event. */
|
|
91393
|
+
workspace_id: string;
|
|
91394
|
+
/** Date and time at which the event was created. */
|
|
91395
|
+
created_at: string;
|
|
91396
|
+
/** Date and time at which the event occurred. */
|
|
91397
|
+
occurred_at: string;
|
|
91398
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91399
|
+
event_description?: string | undefined;
|
|
91400
|
+
/** ID of the affected device. */
|
|
91401
|
+
device_id: string;
|
|
91402
|
+
/** ID of the connected account associated with the event. */
|
|
91403
|
+
connected_account_id: string;
|
|
91404
|
+
/** The customer key associated with the device, if any. */
|
|
91405
|
+
customer_key?: string | undefined;
|
|
91406
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91407
|
+
device_custom_metadata?: {
|
|
91408
|
+
[x: string]: string | boolean;
|
|
91409
|
+
} | undefined;
|
|
91410
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91411
|
+
connected_account_custom_metadata?: {
|
|
91412
|
+
[x: string]: string | boolean;
|
|
91413
|
+
} | undefined;
|
|
91414
|
+
event_type: 'device.unmanaged.connected';
|
|
91415
|
+
} | {
|
|
91416
|
+
/** ID of the event. */
|
|
91417
|
+
event_id: string;
|
|
91418
|
+
/** ID of the workspace associated with the event. */
|
|
91419
|
+
workspace_id: string;
|
|
91420
|
+
/** Date and time at which the event was created. */
|
|
91421
|
+
created_at: string;
|
|
91422
|
+
/** Date and time at which the event occurred. */
|
|
91423
|
+
occurred_at: string;
|
|
91424
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91425
|
+
event_description?: string | undefined;
|
|
91426
|
+
/** ID of the affected device. */
|
|
91427
|
+
device_id: string;
|
|
91428
|
+
/** ID of the connected account associated with the event. */
|
|
91429
|
+
connected_account_id: string;
|
|
91430
|
+
/** The customer key associated with the device, if any. */
|
|
91431
|
+
customer_key?: string | undefined;
|
|
91432
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91433
|
+
device_custom_metadata?: {
|
|
91434
|
+
[x: string]: string | boolean;
|
|
91435
|
+
} | undefined;
|
|
91436
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91437
|
+
connected_account_custom_metadata?: {
|
|
91438
|
+
[x: string]: string | boolean;
|
|
91439
|
+
} | undefined;
|
|
91440
|
+
event_type: 'device.disconnected';
|
|
91441
|
+
/** Error code associated with the disconnection event, if any. */
|
|
91442
|
+
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
91443
|
+
/** Errors associated with the connected account. */
|
|
91444
|
+
connected_account_errors: {
|
|
91445
|
+
/** Date and time at which Seam created the error. */
|
|
91446
|
+
created_at: string;
|
|
91447
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91448
|
+
message: string;
|
|
91449
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91450
|
+
error_code: string;
|
|
91451
|
+
}[];
|
|
91452
|
+
/** Warnings associated with the connected account. */
|
|
91453
|
+
connected_account_warnings: {
|
|
91454
|
+
/** Date and time at which Seam created the warning. */
|
|
91455
|
+
created_at: string;
|
|
91456
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91457
|
+
message: string;
|
|
91458
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91459
|
+
warning_code: string;
|
|
91460
|
+
}[];
|
|
91461
|
+
/** Errors associated with the device. */
|
|
91462
|
+
device_errors: {
|
|
91463
|
+
/** Date and time at which Seam created the error. */
|
|
91464
|
+
created_at: string;
|
|
91465
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91466
|
+
message: string;
|
|
91467
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91468
|
+
error_code: string;
|
|
91469
|
+
}[];
|
|
91470
|
+
/** Warnings associated with the device. */
|
|
91471
|
+
device_warnings: {
|
|
91472
|
+
/** Date and time at which Seam created the warning. */
|
|
91473
|
+
created_at: string;
|
|
91474
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91475
|
+
message: string;
|
|
91476
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91477
|
+
warning_code: string;
|
|
91478
|
+
}[];
|
|
91479
|
+
} | {
|
|
91480
|
+
/** ID of the event. */
|
|
91481
|
+
event_id: string;
|
|
91482
|
+
/** ID of the workspace associated with the event. */
|
|
91483
|
+
workspace_id: string;
|
|
91484
|
+
/** Date and time at which the event was created. */
|
|
91485
|
+
created_at: string;
|
|
91486
|
+
/** Date and time at which the event occurred. */
|
|
91487
|
+
occurred_at: string;
|
|
91488
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91489
|
+
event_description?: string | undefined;
|
|
91490
|
+
/** ID of the affected device. */
|
|
91491
|
+
device_id: string;
|
|
91492
|
+
/** ID of the connected account associated with the event. */
|
|
91493
|
+
connected_account_id: string;
|
|
91494
|
+
/** The customer key associated with the device, if any. */
|
|
91495
|
+
customer_key?: string | undefined;
|
|
91496
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91497
|
+
device_custom_metadata?: {
|
|
91498
|
+
[x: string]: string | boolean;
|
|
91499
|
+
} | undefined;
|
|
91500
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91501
|
+
connected_account_custom_metadata?: {
|
|
91502
|
+
[x: string]: string | boolean;
|
|
91503
|
+
} | undefined;
|
|
91504
|
+
event_type: 'device.unmanaged.disconnected';
|
|
91505
|
+
/** Error code associated with the disconnection event, if any. */
|
|
91506
|
+
error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
|
|
91507
|
+
/** Errors associated with the connected account. */
|
|
91508
|
+
connected_account_errors: {
|
|
91509
|
+
/** Date and time at which Seam created the error. */
|
|
91510
|
+
created_at: string;
|
|
91511
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91512
|
+
message: string;
|
|
91513
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91514
|
+
error_code: string;
|
|
91515
|
+
}[];
|
|
91516
|
+
/** Warnings associated with the connected account. */
|
|
91517
|
+
connected_account_warnings: {
|
|
91518
|
+
/** Date and time at which Seam created the warning. */
|
|
91519
|
+
created_at: string;
|
|
91520
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91521
|
+
message: string;
|
|
91522
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91523
|
+
warning_code: string;
|
|
91524
|
+
}[];
|
|
91525
|
+
/** Errors associated with the device. */
|
|
91526
|
+
device_errors: {
|
|
91527
|
+
/** Date and time at which Seam created the error. */
|
|
91528
|
+
created_at: string;
|
|
91529
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91530
|
+
message: string;
|
|
91531
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91532
|
+
error_code: string;
|
|
91533
|
+
}[];
|
|
91534
|
+
/** Warnings associated with the device. */
|
|
91535
|
+
device_warnings: {
|
|
91536
|
+
/** Date and time at which Seam created the warning. */
|
|
91537
|
+
created_at: string;
|
|
91538
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91539
|
+
message: string;
|
|
91540
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91541
|
+
warning_code: string;
|
|
91542
|
+
}[];
|
|
91543
|
+
} | {
|
|
91544
|
+
/** ID of the event. */
|
|
91545
|
+
event_id: string;
|
|
91546
|
+
/** ID of the workspace associated with the event. */
|
|
91547
|
+
workspace_id: string;
|
|
91548
|
+
/** Date and time at which the event was created. */
|
|
91549
|
+
created_at: string;
|
|
91550
|
+
/** Date and time at which the event occurred. */
|
|
91551
|
+
occurred_at: string;
|
|
91552
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91553
|
+
event_description?: string | undefined;
|
|
91554
|
+
/** ID of the affected device. */
|
|
91555
|
+
device_id: string;
|
|
91556
|
+
/** ID of the connected account associated with the event. */
|
|
91557
|
+
connected_account_id: string;
|
|
91558
|
+
/** The customer key associated with the device, if any. */
|
|
91559
|
+
customer_key?: string | undefined;
|
|
91560
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91561
|
+
device_custom_metadata?: {
|
|
91562
|
+
[x: string]: string | boolean;
|
|
91563
|
+
} | undefined;
|
|
91564
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91565
|
+
connected_account_custom_metadata?: {
|
|
91566
|
+
[x: string]: string | boolean;
|
|
91567
|
+
} | undefined;
|
|
91568
|
+
event_type: 'device.tampered';
|
|
91569
|
+
} | {
|
|
91570
|
+
/** ID of the event. */
|
|
91571
|
+
event_id: string;
|
|
91572
|
+
/** ID of the workspace associated with the event. */
|
|
91573
|
+
workspace_id: string;
|
|
91574
|
+
/** Date and time at which the event was created. */
|
|
91575
|
+
created_at: string;
|
|
91576
|
+
/** Date and time at which the event occurred. */
|
|
91577
|
+
occurred_at: string;
|
|
91578
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91579
|
+
event_description?: string | undefined;
|
|
91580
|
+
/** ID of the affected device. */
|
|
91581
|
+
device_id: string;
|
|
91582
|
+
/** ID of the connected account associated with the event. */
|
|
91583
|
+
connected_account_id: string;
|
|
91584
|
+
/** The customer key associated with the device, if any. */
|
|
91585
|
+
customer_key?: string | undefined;
|
|
91586
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91587
|
+
device_custom_metadata?: {
|
|
91588
|
+
[x: string]: string | boolean;
|
|
91589
|
+
} | undefined;
|
|
91590
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91591
|
+
connected_account_custom_metadata?: {
|
|
91592
|
+
[x: string]: string | boolean;
|
|
91593
|
+
} | undefined;
|
|
91594
|
+
event_type: 'device.low_battery';
|
|
91595
|
+
/** Number in the range 0 to 1.0 indicating the level of the battery whose drop triggered this event.
|
|
91596
|
+
* @deprecated Use device_battery_level and accessory_keypad_battery_level, which distinguish the device's own battery from a paired accessory keypad's battery.*/
|
|
91597
|
+
battery_level: number;
|
|
91598
|
+
/** Number in the range 0 to 1.0 indicating the affected device's own battery level, when known. */
|
|
91599
|
+
device_battery_level?: number | undefined;
|
|
91600
|
+
/** Number in the range 0 to 1.0 indicating the battery level of the affected device's paired accessory keypad, when the device has one and its level is known. */
|
|
91601
|
+
accessory_keypad_battery_level?: number | undefined;
|
|
91602
|
+
} | {
|
|
91603
|
+
/** ID of the event. */
|
|
91604
|
+
event_id: string;
|
|
91605
|
+
/** ID of the workspace associated with the event. */
|
|
91606
|
+
workspace_id: string;
|
|
91607
|
+
/** Date and time at which the event was created. */
|
|
91608
|
+
created_at: string;
|
|
91609
|
+
/** Date and time at which the event occurred. */
|
|
91610
|
+
occurred_at: string;
|
|
91611
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91612
|
+
event_description?: string | undefined;
|
|
91613
|
+
/** ID of the affected device. */
|
|
91614
|
+
device_id: string;
|
|
91615
|
+
/** ID of the connected account associated with the event. */
|
|
91616
|
+
connected_account_id: string;
|
|
91617
|
+
/** The customer key associated with the device, if any. */
|
|
91618
|
+
customer_key?: string | undefined;
|
|
91619
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91620
|
+
device_custom_metadata?: {
|
|
91621
|
+
[x: string]: string | boolean;
|
|
91622
|
+
} | undefined;
|
|
91623
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91624
|
+
connected_account_custom_metadata?: {
|
|
91625
|
+
[x: string]: string | boolean;
|
|
91626
|
+
} | undefined;
|
|
91627
|
+
event_type: 'device.battery_status_changed';
|
|
91628
|
+
/** Battery status of the affected device, calculated from the numeric `battery_level` value. */
|
|
91629
|
+
battery_status: 'critical' | 'low' | 'good' | 'full';
|
|
91630
|
+
/** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
|
|
91631
|
+
battery_level: number;
|
|
91632
|
+
} | {
|
|
91633
|
+
/** ID of the event. */
|
|
91634
|
+
event_id: string;
|
|
91635
|
+
/** ID of the workspace associated with the event. */
|
|
91636
|
+
workspace_id: string;
|
|
91637
|
+
/** Date and time at which the event was created. */
|
|
91638
|
+
created_at: string;
|
|
91639
|
+
/** Date and time at which the event occurred. */
|
|
91640
|
+
occurred_at: string;
|
|
91641
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91642
|
+
event_description?: string | undefined;
|
|
91643
|
+
/** ID of the affected device. */
|
|
91644
|
+
device_id: string;
|
|
91645
|
+
/** ID of the connected account associated with the event. */
|
|
91646
|
+
connected_account_id: string;
|
|
91647
|
+
/** The customer key associated with the device, if any. */
|
|
91648
|
+
customer_key?: string | undefined;
|
|
91649
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91650
|
+
device_custom_metadata?: {
|
|
91651
|
+
[x: string]: string | boolean;
|
|
91652
|
+
} | undefined;
|
|
91653
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91654
|
+
connected_account_custom_metadata?: {
|
|
91655
|
+
[x: string]: string | boolean;
|
|
91656
|
+
} | undefined;
|
|
91657
|
+
event_type: 'device.removed';
|
|
91658
|
+
} | {
|
|
91659
|
+
/** ID of the event. */
|
|
91660
|
+
event_id: string;
|
|
91661
|
+
/** ID of the workspace associated with the event. */
|
|
91662
|
+
workspace_id: string;
|
|
91663
|
+
/** Date and time at which the event was created. */
|
|
91664
|
+
created_at: string;
|
|
91665
|
+
/** Date and time at which the event occurred. */
|
|
91666
|
+
occurred_at: string;
|
|
91667
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91668
|
+
event_description?: string | undefined;
|
|
91669
|
+
/** ID of the affected device. */
|
|
91670
|
+
device_id: string;
|
|
91671
|
+
/** ID of the connected account associated with the event. */
|
|
91672
|
+
connected_account_id: string;
|
|
91673
|
+
/** The customer key associated with the device, if any. */
|
|
91674
|
+
customer_key?: string | undefined;
|
|
91675
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91676
|
+
device_custom_metadata?: {
|
|
91677
|
+
[x: string]: string | boolean;
|
|
91678
|
+
} | undefined;
|
|
91679
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91680
|
+
connected_account_custom_metadata?: {
|
|
91681
|
+
[x: string]: string | boolean;
|
|
91682
|
+
} | undefined;
|
|
91683
|
+
event_type: 'device.deleted';
|
|
91684
|
+
/** Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name. */
|
|
91685
|
+
device_name?: (string | null) | undefined;
|
|
91686
|
+
} | {
|
|
91687
|
+
/** ID of the event. */
|
|
91688
|
+
event_id: string;
|
|
91689
|
+
/** ID of the workspace associated with the event. */
|
|
91690
|
+
workspace_id: string;
|
|
91691
|
+
/** Date and time at which the event was created. */
|
|
91692
|
+
created_at: string;
|
|
91693
|
+
/** Date and time at which the event occurred. */
|
|
91694
|
+
occurred_at: string;
|
|
91695
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91696
|
+
event_description?: string | undefined;
|
|
91697
|
+
/** ID of the affected device. */
|
|
91698
|
+
device_id: string;
|
|
91699
|
+
/** ID of the connected account associated with the event. */
|
|
91700
|
+
connected_account_id: string;
|
|
91701
|
+
/** The customer key associated with the device, if any. */
|
|
91702
|
+
customer_key?: string | undefined;
|
|
91703
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91704
|
+
device_custom_metadata?: {
|
|
91705
|
+
[x: string]: string | boolean;
|
|
91706
|
+
} | undefined;
|
|
91707
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91708
|
+
connected_account_custom_metadata?: {
|
|
91709
|
+
[x: string]: string | boolean;
|
|
91710
|
+
} | undefined;
|
|
91711
|
+
event_type: 'device.third_party_integration_detected';
|
|
91712
|
+
} | {
|
|
91713
|
+
/** ID of the event. */
|
|
91714
|
+
event_id: string;
|
|
91715
|
+
/** ID of the workspace associated with the event. */
|
|
91716
|
+
workspace_id: string;
|
|
91717
|
+
/** Date and time at which the event was created. */
|
|
91718
|
+
created_at: string;
|
|
91719
|
+
/** Date and time at which the event occurred. */
|
|
91720
|
+
occurred_at: string;
|
|
91721
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91722
|
+
event_description?: string | undefined;
|
|
91723
|
+
/** ID of the affected device. */
|
|
91724
|
+
device_id: string;
|
|
91725
|
+
/** ID of the connected account associated with the event. */
|
|
91726
|
+
connected_account_id: string;
|
|
91727
|
+
/** The customer key associated with the device, if any. */
|
|
91728
|
+
customer_key?: string | undefined;
|
|
91729
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91730
|
+
device_custom_metadata?: {
|
|
91731
|
+
[x: string]: string | boolean;
|
|
91732
|
+
} | undefined;
|
|
91733
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91734
|
+
connected_account_custom_metadata?: {
|
|
91735
|
+
[x: string]: string | boolean;
|
|
91736
|
+
} | undefined;
|
|
91737
|
+
event_type: 'device.third_party_integration_no_longer_detected';
|
|
91738
|
+
} | {
|
|
91739
|
+
/** ID of the event. */
|
|
91740
|
+
event_id: string;
|
|
91741
|
+
/** ID of the workspace associated with the event. */
|
|
91742
|
+
workspace_id: string;
|
|
91743
|
+
/** Date and time at which the event was created. */
|
|
91744
|
+
created_at: string;
|
|
91745
|
+
/** Date and time at which the event occurred. */
|
|
91746
|
+
occurred_at: string;
|
|
91747
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91748
|
+
event_description?: string | undefined;
|
|
91749
|
+
/** ID of the affected device. */
|
|
91750
|
+
device_id: string;
|
|
91751
|
+
/** ID of the connected account associated with the event. */
|
|
91752
|
+
connected_account_id: string;
|
|
91753
|
+
/** The customer key associated with the device, if any. */
|
|
91754
|
+
customer_key?: string | undefined;
|
|
91755
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91756
|
+
device_custom_metadata?: {
|
|
91757
|
+
[x: string]: string | boolean;
|
|
91758
|
+
} | undefined;
|
|
91759
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91760
|
+
connected_account_custom_metadata?: {
|
|
91761
|
+
[x: string]: string | boolean;
|
|
91762
|
+
} | undefined;
|
|
91763
|
+
event_type: 'device.salto.privacy_mode_activated';
|
|
91764
|
+
} | {
|
|
91765
|
+
/** ID of the event. */
|
|
91766
|
+
event_id: string;
|
|
91767
|
+
/** ID of the workspace associated with the event. */
|
|
91768
|
+
workspace_id: string;
|
|
91769
|
+
/** Date and time at which the event was created. */
|
|
91770
|
+
created_at: string;
|
|
91771
|
+
/** Date and time at which the event occurred. */
|
|
91772
|
+
occurred_at: string;
|
|
91773
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91774
|
+
event_description?: string | undefined;
|
|
91775
|
+
/** ID of the affected device. */
|
|
91776
|
+
device_id: string;
|
|
91777
|
+
/** ID of the connected account associated with the event. */
|
|
91778
|
+
connected_account_id: string;
|
|
91779
|
+
/** The customer key associated with the device, if any. */
|
|
91780
|
+
customer_key?: string | undefined;
|
|
91781
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91782
|
+
device_custom_metadata?: {
|
|
91783
|
+
[x: string]: string | boolean;
|
|
91784
|
+
} | undefined;
|
|
91785
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91786
|
+
connected_account_custom_metadata?: {
|
|
91787
|
+
[x: string]: string | boolean;
|
|
91788
|
+
} | undefined;
|
|
91789
|
+
event_type: 'device.salto.privacy_mode_deactivated';
|
|
91790
|
+
} | {
|
|
91791
|
+
/** ID of the event. */
|
|
91792
|
+
event_id: string;
|
|
91793
|
+
/** ID of the workspace associated with the event. */
|
|
91794
|
+
workspace_id: string;
|
|
91795
|
+
/** Date and time at which the event was created. */
|
|
91796
|
+
created_at: string;
|
|
91797
|
+
/** Date and time at which the event occurred. */
|
|
91798
|
+
occurred_at: string;
|
|
91799
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91800
|
+
event_description?: string | undefined;
|
|
91801
|
+
/** ID of the affected device. */
|
|
91802
|
+
device_id: string;
|
|
91803
|
+
/** ID of the connected account associated with the event. */
|
|
91804
|
+
connected_account_id: string;
|
|
91805
|
+
/** The customer key associated with the device, if any. */
|
|
91806
|
+
customer_key?: string | undefined;
|
|
91807
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91808
|
+
device_custom_metadata?: {
|
|
91809
|
+
[x: string]: string | boolean;
|
|
91810
|
+
} | undefined;
|
|
91811
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91812
|
+
connected_account_custom_metadata?: {
|
|
91813
|
+
[x: string]: string | boolean;
|
|
91814
|
+
} | undefined;
|
|
91815
|
+
event_type: 'device.connection_became_flaky';
|
|
91816
|
+
/** Errors associated with the connected account. */
|
|
91817
|
+
connected_account_errors: {
|
|
91818
|
+
/** Date and time at which Seam created the error. */
|
|
91819
|
+
created_at: string;
|
|
91820
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91821
|
+
message: string;
|
|
91822
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91823
|
+
error_code: string;
|
|
91824
|
+
}[];
|
|
91825
|
+
/** Warnings associated with the connected account. */
|
|
91826
|
+
connected_account_warnings: {
|
|
91827
|
+
/** Date and time at which Seam created the warning. */
|
|
91828
|
+
created_at: string;
|
|
91829
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91830
|
+
message: string;
|
|
91831
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91832
|
+
warning_code: string;
|
|
91833
|
+
}[];
|
|
91834
|
+
/** Errors associated with the device. */
|
|
91835
|
+
device_errors: {
|
|
91836
|
+
/** Date and time at which Seam created the error. */
|
|
91837
|
+
created_at: string;
|
|
91838
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91839
|
+
message: string;
|
|
91840
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91841
|
+
error_code: string;
|
|
91842
|
+
}[];
|
|
91843
|
+
/** Warnings associated with the device. */
|
|
91844
|
+
device_warnings: {
|
|
91845
|
+
/** Date and time at which Seam created the warning. */
|
|
91846
|
+
created_at: string;
|
|
91847
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91848
|
+
message: string;
|
|
91849
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91850
|
+
warning_code: string;
|
|
91851
|
+
}[];
|
|
91852
|
+
} | {
|
|
91853
|
+
/** ID of the event. */
|
|
91854
|
+
event_id: string;
|
|
91855
|
+
/** ID of the workspace associated with the event. */
|
|
91856
|
+
workspace_id: string;
|
|
91857
|
+
/** Date and time at which the event was created. */
|
|
91858
|
+
created_at: string;
|
|
91859
|
+
/** Date and time at which the event occurred. */
|
|
91860
|
+
occurred_at: string;
|
|
91861
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91862
|
+
event_description?: string | undefined;
|
|
91863
|
+
/** ID of the affected device. */
|
|
91864
|
+
device_id: string;
|
|
91865
|
+
/** ID of the connected account associated with the event. */
|
|
91866
|
+
connected_account_id: string;
|
|
91867
|
+
/** The customer key associated with the device, if any. */
|
|
91868
|
+
customer_key?: string | undefined;
|
|
91869
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91870
|
+
device_custom_metadata?: {
|
|
91871
|
+
[x: string]: string | boolean;
|
|
91872
|
+
} | undefined;
|
|
91873
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91874
|
+
connected_account_custom_metadata?: {
|
|
91875
|
+
[x: string]: string | boolean;
|
|
91876
|
+
} | undefined;
|
|
91877
|
+
event_type: 'device.connection_stabilized';
|
|
91878
|
+
} | {
|
|
91879
|
+
/** ID of the event. */
|
|
91880
|
+
event_id: string;
|
|
91881
|
+
/** ID of the workspace associated with the event. */
|
|
91882
|
+
workspace_id: string;
|
|
91883
|
+
/** Date and time at which the event was created. */
|
|
91884
|
+
created_at: string;
|
|
91885
|
+
/** Date and time at which the event occurred. */
|
|
91886
|
+
occurred_at: string;
|
|
91887
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91888
|
+
event_description?: string | undefined;
|
|
91889
|
+
/** ID of the affected device. */
|
|
91890
|
+
device_id: string;
|
|
91891
|
+
/** ID of the connected account associated with the event. */
|
|
91892
|
+
connected_account_id: string;
|
|
91893
|
+
/** The customer key associated with the device, if any. */
|
|
91894
|
+
customer_key?: string | undefined;
|
|
91895
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91896
|
+
device_custom_metadata?: {
|
|
91897
|
+
[x: string]: string | boolean;
|
|
91898
|
+
} | undefined;
|
|
91899
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91900
|
+
connected_account_custom_metadata?: {
|
|
91901
|
+
[x: string]: string | boolean;
|
|
91902
|
+
} | undefined;
|
|
91903
|
+
event_type: 'device.error.subscription_required';
|
|
91904
|
+
/** Errors associated with the connected account. */
|
|
91905
|
+
connected_account_errors: {
|
|
91906
|
+
/** Date and time at which Seam created the error. */
|
|
91907
|
+
created_at: string;
|
|
91908
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91909
|
+
message: string;
|
|
91910
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91911
|
+
error_code: string;
|
|
91912
|
+
}[];
|
|
91913
|
+
/** Warnings associated with the connected account. */
|
|
91914
|
+
connected_account_warnings: {
|
|
91915
|
+
/** Date and time at which Seam created the warning. */
|
|
91916
|
+
created_at: string;
|
|
91917
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91918
|
+
message: string;
|
|
91919
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91920
|
+
warning_code: string;
|
|
91921
|
+
}[];
|
|
91922
|
+
/** Errors associated with the device. */
|
|
91923
|
+
device_errors: {
|
|
91924
|
+
/** Date and time at which Seam created the error. */
|
|
91925
|
+
created_at: string;
|
|
91926
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
91927
|
+
message: string;
|
|
91928
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
91929
|
+
error_code: string;
|
|
91930
|
+
}[];
|
|
91931
|
+
/** Warnings associated with the device. */
|
|
91932
|
+
device_warnings: {
|
|
91933
|
+
/** Date and time at which Seam created the warning. */
|
|
91934
|
+
created_at: string;
|
|
91935
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
91936
|
+
message: string;
|
|
91937
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
91938
|
+
warning_code: string;
|
|
91939
|
+
}[];
|
|
91940
|
+
} | {
|
|
91941
|
+
/** ID of the event. */
|
|
91942
|
+
event_id: string;
|
|
91943
|
+
/** ID of the workspace associated with the event. */
|
|
91944
|
+
workspace_id: string;
|
|
91945
|
+
/** Date and time at which the event was created. */
|
|
91946
|
+
created_at: string;
|
|
91947
|
+
/** Date and time at which the event occurred. */
|
|
91948
|
+
occurred_at: string;
|
|
91949
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91950
|
+
event_description?: string | undefined;
|
|
91951
|
+
/** ID of the affected device. */
|
|
91952
|
+
device_id: string;
|
|
91953
|
+
/** ID of the connected account associated with the event. */
|
|
91954
|
+
connected_account_id: string;
|
|
91955
|
+
/** The customer key associated with the device, if any. */
|
|
91956
|
+
customer_key?: string | undefined;
|
|
91957
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91958
|
+
device_custom_metadata?: {
|
|
91959
|
+
[x: string]: string | boolean;
|
|
91960
|
+
} | undefined;
|
|
91961
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91962
|
+
connected_account_custom_metadata?: {
|
|
91963
|
+
[x: string]: string | boolean;
|
|
91964
|
+
} | undefined;
|
|
91965
|
+
event_type: 'device.error.subscription_required.resolved';
|
|
91966
|
+
} | {
|
|
91967
|
+
/** ID of the event. */
|
|
91968
|
+
event_id: string;
|
|
91969
|
+
/** ID of the workspace associated with the event. */
|
|
91970
|
+
workspace_id: string;
|
|
91971
|
+
/** Date and time at which the event was created. */
|
|
91972
|
+
created_at: string;
|
|
91973
|
+
/** Date and time at which the event occurred. */
|
|
91974
|
+
occurred_at: string;
|
|
91975
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
91976
|
+
event_description?: string | undefined;
|
|
91977
|
+
/** ID of the affected device. */
|
|
91978
|
+
device_id: string;
|
|
91979
|
+
/** ID of the connected account associated with the event. */
|
|
91980
|
+
connected_account_id: string;
|
|
91981
|
+
/** The customer key associated with the device, if any. */
|
|
91982
|
+
customer_key?: string | undefined;
|
|
91983
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
91984
|
+
device_custom_metadata?: {
|
|
91985
|
+
[x: string]: string | boolean;
|
|
91986
|
+
} | undefined;
|
|
91987
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
91988
|
+
connected_account_custom_metadata?: {
|
|
91989
|
+
[x: string]: string | boolean;
|
|
91990
|
+
} | undefined;
|
|
91991
|
+
event_type: 'device.accessory_keypad_connected';
|
|
91992
|
+
} | {
|
|
91993
|
+
/** ID of the event. */
|
|
91994
|
+
event_id: string;
|
|
91995
|
+
/** ID of the workspace associated with the event. */
|
|
91996
|
+
workspace_id: string;
|
|
91997
|
+
/** Date and time at which the event was created. */
|
|
91998
|
+
created_at: string;
|
|
91999
|
+
/** Date and time at which the event occurred. */
|
|
92000
|
+
occurred_at: string;
|
|
92001
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92002
|
+
event_description?: string | undefined;
|
|
92003
|
+
/** ID of the affected device. */
|
|
92004
|
+
device_id: string;
|
|
92005
|
+
/** ID of the connected account associated with the event. */
|
|
92006
|
+
connected_account_id: string;
|
|
92007
|
+
/** The customer key associated with the device, if any. */
|
|
92008
|
+
customer_key?: string | undefined;
|
|
92009
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92010
|
+
device_custom_metadata?: {
|
|
92011
|
+
[x: string]: string | boolean;
|
|
92012
|
+
} | undefined;
|
|
92013
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92014
|
+
connected_account_custom_metadata?: {
|
|
92015
|
+
[x: string]: string | boolean;
|
|
92016
|
+
} | undefined;
|
|
92017
|
+
event_type: 'device.accessory_keypad_disconnected';
|
|
92018
|
+
/** Errors associated with the connected account. */
|
|
92019
|
+
connected_account_errors: {
|
|
92020
|
+
/** Date and time at which Seam created the error. */
|
|
92021
|
+
created_at: string;
|
|
92022
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
92023
|
+
message: string;
|
|
92024
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
92025
|
+
error_code: string;
|
|
92026
|
+
}[];
|
|
92027
|
+
/** Warnings associated with the connected account. */
|
|
92028
|
+
connected_account_warnings: {
|
|
92029
|
+
/** Date and time at which Seam created the warning. */
|
|
92030
|
+
created_at: string;
|
|
92031
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
92032
|
+
message: string;
|
|
92033
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92034
|
+
warning_code: string;
|
|
92035
|
+
}[];
|
|
92036
|
+
/** Errors associated with the device. */
|
|
92037
|
+
device_errors: {
|
|
92038
|
+
/** Date and time at which Seam created the error. */
|
|
92039
|
+
created_at: string;
|
|
92040
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
92041
|
+
message: string;
|
|
92042
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
92043
|
+
error_code: string;
|
|
92044
|
+
}[];
|
|
92045
|
+
/** Warnings associated with the device. */
|
|
92046
|
+
device_warnings: {
|
|
92047
|
+
/** Date and time at which Seam created the warning. */
|
|
92048
|
+
created_at: string;
|
|
92049
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
92050
|
+
message: string;
|
|
92051
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
92052
|
+
warning_code: string;
|
|
92053
|
+
}[];
|
|
92054
|
+
} | {
|
|
92055
|
+
/** ID of the event. */
|
|
92056
|
+
event_id: string;
|
|
92057
|
+
/** ID of the workspace associated with the event. */
|
|
92058
|
+
workspace_id: string;
|
|
92059
|
+
/** Date and time at which the event was created. */
|
|
92060
|
+
created_at: string;
|
|
92061
|
+
/** Date and time at which the event occurred. */
|
|
92062
|
+
occurred_at: string;
|
|
92063
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92064
|
+
event_description?: string | undefined;
|
|
92065
|
+
/** ID of the affected device. */
|
|
92066
|
+
device_id: string;
|
|
92067
|
+
/** ID of the connected account associated with the event. */
|
|
92068
|
+
connected_account_id: string;
|
|
92069
|
+
/** The customer key associated with the device, if any. */
|
|
92070
|
+
customer_key?: string | undefined;
|
|
92071
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92072
|
+
device_custom_metadata?: {
|
|
92073
|
+
[x: string]: string | boolean;
|
|
92074
|
+
} | undefined;
|
|
92075
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92076
|
+
connected_account_custom_metadata?: {
|
|
92077
|
+
[x: string]: string | boolean;
|
|
92078
|
+
} | undefined;
|
|
92079
|
+
event_type: 'noise_sensor.noise_threshold_triggered';
|
|
92080
|
+
/** Detected noise level in decibels. */
|
|
92081
|
+
noise_level_decibels?: number | undefined;
|
|
92082
|
+
/** Detected noise level in Noiseaware Noise Risk Score (NRS). */
|
|
92083
|
+
noise_level_nrs?: number | undefined;
|
|
92084
|
+
/** ID of the noise threshold that was triggered. */
|
|
92085
|
+
noise_threshold_id?: string | undefined;
|
|
92086
|
+
/** Name of the noise threshold that was triggered. */
|
|
92087
|
+
noise_threshold_name?: string | undefined;
|
|
92088
|
+
/** Metadata from Noiseaware. */
|
|
92089
|
+
noiseaware_metadata?: {
|
|
92090
|
+
[x: string]: unknown;
|
|
92091
|
+
} | undefined;
|
|
92092
|
+
/** Metadata from Minut. */
|
|
92093
|
+
minut_metadata?: {
|
|
92094
|
+
[x: string]: unknown;
|
|
92095
|
+
} | undefined;
|
|
92096
|
+
} | {
|
|
92097
|
+
/** ID of the event. */
|
|
92098
|
+
event_id: string;
|
|
92099
|
+
/** ID of the workspace associated with the event. */
|
|
92100
|
+
workspace_id: string;
|
|
92101
|
+
/** Date and time at which the event was created. */
|
|
92102
|
+
created_at: string;
|
|
92103
|
+
/** Date and time at which the event occurred. */
|
|
92104
|
+
occurred_at: string;
|
|
92105
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92106
|
+
event_description?: string | undefined;
|
|
92107
|
+
/** ID of the affected device. */
|
|
92108
|
+
device_id: string;
|
|
92109
|
+
/** ID of the connected account associated with the event. */
|
|
92110
|
+
connected_account_id: string;
|
|
92111
|
+
/** The customer key associated with the device, if any. */
|
|
92112
|
+
customer_key?: string | undefined;
|
|
92113
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92114
|
+
device_custom_metadata?: {
|
|
92115
|
+
[x: string]: string | boolean;
|
|
92116
|
+
} | undefined;
|
|
92117
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92118
|
+
connected_account_custom_metadata?: {
|
|
92119
|
+
[x: string]: string | boolean;
|
|
92120
|
+
} | undefined;
|
|
92121
|
+
event_type: 'lock.locked';
|
|
92122
|
+
/** ID of the access code that was used to lock the device. */
|
|
92123
|
+
access_code_id?: string | undefined;
|
|
92124
|
+
/**
|
|
92125
|
+
Code (PIN) that was used to lock the device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
92126
|
+
*/
|
|
92127
|
+
code?: string | undefined;
|
|
92128
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
92129
|
+
access_code_is_managed?: boolean | undefined;
|
|
92130
|
+
/** ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt). */
|
|
92131
|
+
action_attempt_id?: string | undefined;
|
|
92132
|
+
/** Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined. */
|
|
92133
|
+
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card' | 'mobile_key';
|
|
92134
|
+
/** ID of the user identity associated with the lock event. */
|
|
92135
|
+
user_identity_id?: string | undefined;
|
|
92136
|
+
/** ID of the ACS system associated with the lock event. */
|
|
92137
|
+
acs_system_id?: string | undefined;
|
|
92138
|
+
/** ID of the ACS user associated with the lock event. */
|
|
92139
|
+
acs_user_id?: string | undefined;
|
|
92140
|
+
/** ID of the ACS entrance associated with the lock event. */
|
|
92141
|
+
acs_entrance_id?: string | undefined;
|
|
92142
|
+
/**
|
|
92143
|
+
Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
92144
|
+
*/
|
|
92145
|
+
is_via_bluetooth?: boolean | undefined;
|
|
92146
|
+
/**
|
|
92147
|
+
Whether the lock action was performed by an NFC credential tap (such as an Apple Home Key or an NFC key fob) presented to the lock, rather than a direct physical interaction or a Seam-initiated remote action.
|
|
92148
|
+
*/
|
|
92149
|
+
is_via_nfc?: boolean | undefined;
|
|
92150
|
+
} | {
|
|
92151
|
+
/** ID of the event. */
|
|
92152
|
+
event_id: string;
|
|
92153
|
+
/** ID of the workspace associated with the event. */
|
|
92154
|
+
workspace_id: string;
|
|
92155
|
+
/** Date and time at which the event was created. */
|
|
92156
|
+
created_at: string;
|
|
92157
|
+
/** Date and time at which the event occurred. */
|
|
92158
|
+
occurred_at: string;
|
|
92159
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92160
|
+
event_description?: string | undefined;
|
|
92161
|
+
/** ID of the affected device. */
|
|
92162
|
+
device_id?: string | undefined;
|
|
92163
|
+
/** ID of the connected account associated with the event. */
|
|
92164
|
+
connected_account_id: string;
|
|
92165
|
+
/** The customer key associated with the device, if any. */
|
|
92166
|
+
customer_key?: string | undefined;
|
|
92167
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92168
|
+
device_custom_metadata?: {
|
|
92169
|
+
[x: string]: string | boolean;
|
|
92170
|
+
} | undefined;
|
|
92171
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92172
|
+
connected_account_custom_metadata?: {
|
|
92173
|
+
[x: string]: string | boolean;
|
|
92174
|
+
} | undefined;
|
|
92175
|
+
event_type: 'lock.unlocked';
|
|
92176
|
+
/** ID of the access code that was used to unlock the affected device. */
|
|
92177
|
+
access_code_id?: string | undefined;
|
|
92178
|
+
/**
|
|
92179
|
+
Code (PIN) that was used to unlock the affected device, if known. Taken from the matched managed or unmanaged access code, or from the code reported by the provider when no access code matched.
|
|
92180
|
+
*/
|
|
92181
|
+
code?: string | undefined;
|
|
92182
|
+
/** Whether the access code is managed by Seam (true) or unmanaged (false). Only present when access_code_id is set. */
|
|
92183
|
+
access_code_is_managed?: boolean | undefined;
|
|
92184
|
+
/** ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt). */
|
|
92185
|
+
action_attempt_id?: string | undefined;
|
|
92186
|
+
/** Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined. */
|
|
92187
|
+
method: 'keycode' | 'manual' | 'automatic' | 'unknown' | 'remote' | 'card' | 'mobile_key';
|
|
92188
|
+
/** ID of the user identity associated with the unlock event. */
|
|
92189
|
+
user_identity_id?: string | undefined;
|
|
92190
|
+
/** ID of the ACS system associated with the unlock event. */
|
|
92191
|
+
acs_system_id?: string | undefined;
|
|
92192
|
+
/** ID of the ACS user associated with the unlock event. */
|
|
92193
|
+
acs_user_id?: string | undefined;
|
|
92194
|
+
/** ID of the ACS entrance associated with the unlock event. */
|
|
92195
|
+
acs_entrance_id?: string | undefined;
|
|
92196
|
+
/**
|
|
92197
|
+
Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.
|
|
92198
|
+
*/
|
|
92199
|
+
is_via_bluetooth?: boolean | undefined;
|
|
92200
|
+
/**
|
|
92201
|
+
Whether the unlock action was performed by an NFC credential tap (such as an Apple Home Key or an NFC key fob) presented to the lock, rather than a direct physical interaction or a Seam-initiated remote action.
|
|
92202
|
+
*/
|
|
92203
|
+
is_via_nfc?: boolean | undefined;
|
|
92204
|
+
} | {
|
|
92205
|
+
/** ID of the event. */
|
|
92206
|
+
event_id: string;
|
|
92207
|
+
/** ID of the workspace associated with the event. */
|
|
92208
|
+
workspace_id: string;
|
|
92209
|
+
/** Date and time at which the event was created. */
|
|
92210
|
+
created_at: string;
|
|
92211
|
+
/** Date and time at which the event occurred. */
|
|
92212
|
+
occurred_at: string;
|
|
92213
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92214
|
+
event_description?: string | undefined;
|
|
92215
|
+
/** ID of the affected device. */
|
|
92216
|
+
device_id?: string | undefined;
|
|
92217
|
+
/** ID of the connected account associated with the event. */
|
|
92218
|
+
connected_account_id: string;
|
|
92219
|
+
/** The customer key associated with the device, if any. */
|
|
92220
|
+
customer_key?: string | undefined;
|
|
92221
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92222
|
+
device_custom_metadata?: {
|
|
92223
|
+
[x: string]: string | boolean;
|
|
92224
|
+
} | undefined;
|
|
92225
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92226
|
+
connected_account_custom_metadata?: {
|
|
92227
|
+
[x: string]: string | boolean;
|
|
92228
|
+
} | undefined;
|
|
92229
|
+
event_type: 'lock.access_denied';
|
|
92230
|
+
/** ID of the access code that was used in the unlock attempts. */
|
|
92231
|
+
access_code_id?: string | undefined;
|
|
92232
|
+
/** ID of the user identity associated with the access-denied event. */
|
|
92233
|
+
user_identity_id?: string | undefined;
|
|
92234
|
+
/** ID of the ACS system associated with the access-denied event. */
|
|
92235
|
+
acs_system_id?: string | undefined;
|
|
92236
|
+
/** ID of the ACS user associated with the access-denied event. */
|
|
92237
|
+
acs_user_id?: string | undefined;
|
|
92238
|
+
/** ID of the ACS entrance associated with the access-denied event. */
|
|
92239
|
+
acs_entrance_id?: string | undefined;
|
|
92240
|
+
/** Why access was denied, when the provider reports a determinable cause. Omitted when unknown. */
|
|
92241
|
+
reason?: {
|
|
92242
|
+
/** Normalized reason a lock denied access. Provider-agnostic; not all providers report every value. */
|
|
92243
|
+
reason_code: 'unknown_code' | 'expired_code' | 'blocklisted_code' | 'too_many_attempts' | 'blocked_by_privacy_mode' | 'credential_error';
|
|
92244
|
+
/** Human-readable explanation of why access was denied. */
|
|
92245
|
+
message: string;
|
|
92246
|
+
} | undefined;
|
|
92247
|
+
} | {
|
|
92248
|
+
/** ID of the event. */
|
|
92249
|
+
event_id: string;
|
|
92250
|
+
/** ID of the workspace associated with the event. */
|
|
92251
|
+
workspace_id: string;
|
|
92252
|
+
/** Date and time at which the event was created. */
|
|
92253
|
+
created_at: string;
|
|
92254
|
+
/** Date and time at which the event occurred. */
|
|
92255
|
+
occurred_at: string;
|
|
92256
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92257
|
+
event_description?: string | undefined;
|
|
92258
|
+
/** ID of the affected device. */
|
|
92259
|
+
device_id: string;
|
|
92260
|
+
/** ID of the connected account associated with the event. */
|
|
92261
|
+
connected_account_id: string;
|
|
92262
|
+
/** The customer key associated with the device, if any. */
|
|
92263
|
+
customer_key?: string | undefined;
|
|
92264
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92265
|
+
device_custom_metadata?: {
|
|
92266
|
+
[x: string]: string | boolean;
|
|
92267
|
+
} | undefined;
|
|
92268
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92269
|
+
connected_account_custom_metadata?: {
|
|
92270
|
+
[x: string]: string | boolean;
|
|
92271
|
+
} | undefined;
|
|
92272
|
+
event_type: 'thermostat.climate_preset_activated';
|
|
92273
|
+
/** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
|
|
92274
|
+
thermostat_schedule_id: string | null;
|
|
92275
|
+
/** Key of the climate preset that was activated. */
|
|
92276
|
+
climate_preset_key: string;
|
|
92277
|
+
/** Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat. */
|
|
92278
|
+
is_fallback_climate_preset: boolean;
|
|
92279
|
+
} | {
|
|
92280
|
+
/** ID of the event. */
|
|
92281
|
+
event_id: string;
|
|
92282
|
+
/** ID of the workspace associated with the event. */
|
|
92283
|
+
workspace_id: string;
|
|
92284
|
+
/** Date and time at which the event was created. */
|
|
92285
|
+
created_at: string;
|
|
92286
|
+
/** Date and time at which the event occurred. */
|
|
92287
|
+
occurred_at: string;
|
|
92288
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92289
|
+
event_description?: string | undefined;
|
|
92290
|
+
/** ID of the affected device. */
|
|
92291
|
+
device_id: string;
|
|
92292
|
+
/** ID of the connected account associated with the event. */
|
|
92293
|
+
connected_account_id: string;
|
|
92294
|
+
/** The customer key associated with the device, if any. */
|
|
92295
|
+
customer_key?: string | undefined;
|
|
92296
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92297
|
+
device_custom_metadata?: {
|
|
92298
|
+
[x: string]: string | boolean;
|
|
92299
|
+
} | undefined;
|
|
92300
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92301
|
+
connected_account_custom_metadata?: {
|
|
92302
|
+
[x: string]: string | boolean;
|
|
92303
|
+
} | undefined;
|
|
92304
|
+
event_type: 'thermostat.manually_adjusted';
|
|
92305
|
+
/** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
|
|
92306
|
+
method: 'seam' | 'external';
|
|
92307
|
+
/** Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`. */
|
|
92308
|
+
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
92309
|
+
/** Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
|
|
92310
|
+
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool' | 'eco') | undefined) | undefined;
|
|
92311
|
+
/** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
92312
|
+
cooling_set_point_celsius?: (number | undefined) | undefined;
|
|
92313
|
+
/** Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
92314
|
+
heating_set_point_celsius?: (number | undefined) | undefined;
|
|
92315
|
+
/** Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
92316
|
+
cooling_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
92317
|
+
/** Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
92318
|
+
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
92319
|
+
} | {
|
|
92320
|
+
/** ID of the event. */
|
|
92321
|
+
event_id: string;
|
|
92322
|
+
/** ID of the workspace associated with the event. */
|
|
92323
|
+
workspace_id: string;
|
|
92324
|
+
/** Date and time at which the event was created. */
|
|
92325
|
+
created_at: string;
|
|
92326
|
+
/** Date and time at which the event occurred. */
|
|
92327
|
+
occurred_at: string;
|
|
92328
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92329
|
+
event_description?: string | undefined;
|
|
92330
|
+
/** ID of the affected device. */
|
|
92331
|
+
device_id: string;
|
|
92332
|
+
/** ID of the connected account associated with the event. */
|
|
92333
|
+
connected_account_id: string;
|
|
92334
|
+
/** The customer key associated with the device, if any. */
|
|
92335
|
+
customer_key?: string | undefined;
|
|
92336
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92337
|
+
device_custom_metadata?: {
|
|
92338
|
+
[x: string]: string | boolean;
|
|
92339
|
+
} | undefined;
|
|
92340
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92341
|
+
connected_account_custom_metadata?: {
|
|
92342
|
+
[x: string]: string | boolean;
|
|
92343
|
+
} | undefined;
|
|
92344
|
+
event_type: 'thermostat.temperature_threshold_exceeded';
|
|
92345
|
+
/** Temperature, in °C, reported by the affected thermostat. */
|
|
92346
|
+
temperature_celsius: number;
|
|
92347
|
+
/** Temperature, in °F, reported by the affected thermostat. */
|
|
92348
|
+
temperature_fahrenheit: number;
|
|
92349
|
+
/** Upper temperature limit, in °C, defined by the set threshold. */
|
|
92350
|
+
upper_limit_celsius: number | null;
|
|
92351
|
+
/** Upper temperature limit, in °F, defined by the set threshold. */
|
|
92352
|
+
upper_limit_fahrenheit: number | null;
|
|
92353
|
+
/** Lower temperature limit, in °C, defined by the set threshold. */
|
|
92354
|
+
lower_limit_celsius: number | null;
|
|
92355
|
+
/** Lower temperature limit, in °F, defined by the set threshold. */
|
|
92356
|
+
lower_limit_fahrenheit: number | null;
|
|
92357
|
+
} | {
|
|
92358
|
+
/** ID of the event. */
|
|
92359
|
+
event_id: string;
|
|
92360
|
+
/** ID of the workspace associated with the event. */
|
|
92361
|
+
workspace_id: string;
|
|
92362
|
+
/** Date and time at which the event was created. */
|
|
92363
|
+
created_at: string;
|
|
92364
|
+
/** Date and time at which the event occurred. */
|
|
92365
|
+
occurred_at: string;
|
|
92366
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92367
|
+
event_description?: string | undefined;
|
|
92368
|
+
/** ID of the affected device. */
|
|
92369
|
+
device_id: string;
|
|
92370
|
+
/** ID of the connected account associated with the event. */
|
|
92371
|
+
connected_account_id: string;
|
|
92372
|
+
/** The customer key associated with the device, if any. */
|
|
92373
|
+
customer_key?: string | undefined;
|
|
92374
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92375
|
+
device_custom_metadata?: {
|
|
92376
|
+
[x: string]: string | boolean;
|
|
92377
|
+
} | undefined;
|
|
92378
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92379
|
+
connected_account_custom_metadata?: {
|
|
92380
|
+
[x: string]: string | boolean;
|
|
92381
|
+
} | undefined;
|
|
92382
|
+
event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
|
|
92383
|
+
/** Temperature, in °C, reported by the affected thermostat. */
|
|
92384
|
+
temperature_celsius: number;
|
|
92385
|
+
/** Temperature, in °F, reported by the affected thermostat. */
|
|
92386
|
+
temperature_fahrenheit: number;
|
|
92387
|
+
/** Upper temperature limit, in °C, defined by the set threshold. */
|
|
92388
|
+
upper_limit_celsius: number | null;
|
|
92389
|
+
/** Upper temperature limit, in °F, defined by the set threshold. */
|
|
92390
|
+
upper_limit_fahrenheit: number | null;
|
|
92391
|
+
/** Lower temperature limit, in °C, defined by the set threshold. */
|
|
92392
|
+
lower_limit_celsius: number | null;
|
|
92393
|
+
/** Lower temperature limit, in °F, defined by the set threshold. */
|
|
92394
|
+
lower_limit_fahrenheit: number | null;
|
|
92395
|
+
} | {
|
|
92396
|
+
/** ID of the event. */
|
|
92397
|
+
event_id: string;
|
|
92398
|
+
/** ID of the workspace associated with the event. */
|
|
92399
|
+
workspace_id: string;
|
|
92400
|
+
/** Date and time at which the event was created. */
|
|
92401
|
+
created_at: string;
|
|
92402
|
+
/** Date and time at which the event occurred. */
|
|
92403
|
+
occurred_at: string;
|
|
92404
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92405
|
+
event_description?: string | undefined;
|
|
92406
|
+
/** ID of the affected device. */
|
|
92407
|
+
device_id: string;
|
|
92408
|
+
/** ID of the connected account associated with the event. */
|
|
92409
|
+
connected_account_id: string;
|
|
92410
|
+
/** The customer key associated with the device, if any. */
|
|
92411
|
+
customer_key?: string | undefined;
|
|
92412
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92413
|
+
device_custom_metadata?: {
|
|
92414
|
+
[x: string]: string | boolean;
|
|
92415
|
+
} | undefined;
|
|
92416
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92417
|
+
connected_account_custom_metadata?: {
|
|
92418
|
+
[x: string]: string | boolean;
|
|
92419
|
+
} | undefined;
|
|
92420
|
+
event_type: 'thermostat.temperature_reached_set_point';
|
|
92421
|
+
/** Temperature, in °C, reported by the affected thermostat. */
|
|
92422
|
+
temperature_celsius: number;
|
|
92423
|
+
/** Temperature, in °F, reported by the affected thermostat. */
|
|
92424
|
+
temperature_fahrenheit: number;
|
|
92425
|
+
/** Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point. */
|
|
92426
|
+
desired_temperature_celsius?: number | undefined;
|
|
92427
|
+
/** Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point. */
|
|
92428
|
+
desired_temperature_fahrenheit?: number | undefined;
|
|
92429
|
+
} | {
|
|
92430
|
+
/** ID of the event. */
|
|
92431
|
+
event_id: string;
|
|
92432
|
+
/** ID of the workspace associated with the event. */
|
|
92433
|
+
workspace_id: string;
|
|
92434
|
+
/** Date and time at which the event was created. */
|
|
92435
|
+
created_at: string;
|
|
92436
|
+
/** Date and time at which the event occurred. */
|
|
92437
|
+
occurred_at: string;
|
|
92438
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92439
|
+
event_description?: string | undefined;
|
|
92440
|
+
/** ID of the affected device. */
|
|
92441
|
+
device_id: string;
|
|
92442
|
+
/** ID of the connected account associated with the event. */
|
|
92443
|
+
connected_account_id: string;
|
|
92444
|
+
/** The customer key associated with the device, if any. */
|
|
92445
|
+
customer_key?: string | undefined;
|
|
92446
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92447
|
+
device_custom_metadata?: {
|
|
92448
|
+
[x: string]: string | boolean;
|
|
92449
|
+
} | undefined;
|
|
92450
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92451
|
+
connected_account_custom_metadata?: {
|
|
92452
|
+
[x: string]: string | boolean;
|
|
92453
|
+
} | undefined;
|
|
92454
|
+
event_type: 'thermostat.temperature_changed';
|
|
92455
|
+
/** Temperature, in °C, reported by the affected thermostat. */
|
|
92456
|
+
temperature_celsius: number;
|
|
92457
|
+
/** Temperature, in °F, reported by the affected thermostat. */
|
|
92458
|
+
temperature_fahrenheit: number;
|
|
92459
|
+
} | {
|
|
92460
|
+
/** ID of the event. */
|
|
92461
|
+
event_id: string;
|
|
92462
|
+
/** ID of the workspace associated with the event. */
|
|
92463
|
+
workspace_id: string;
|
|
92464
|
+
/** Date and time at which the event was created. */
|
|
92465
|
+
created_at: string;
|
|
92466
|
+
/** Date and time at which the event occurred. */
|
|
92467
|
+
occurred_at: string;
|
|
92468
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92469
|
+
event_description?: string | undefined;
|
|
92470
|
+
/** ID of the affected device. */
|
|
92471
|
+
device_id: string;
|
|
92472
|
+
/** ID of the connected account associated with the event. */
|
|
92473
|
+
connected_account_id: string;
|
|
92474
|
+
/** The customer key associated with the device, if any. */
|
|
92475
|
+
customer_key?: string | undefined;
|
|
92476
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92477
|
+
device_custom_metadata?: {
|
|
92478
|
+
[x: string]: string | boolean;
|
|
92479
|
+
} | undefined;
|
|
92480
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92481
|
+
connected_account_custom_metadata?: {
|
|
92482
|
+
[x: string]: string | boolean;
|
|
92483
|
+
} | undefined;
|
|
92484
|
+
event_type: 'device.name_changed';
|
|
92485
|
+
/** The new name of the affected device. */
|
|
92486
|
+
device_name: string;
|
|
92487
|
+
} | {
|
|
92488
|
+
/** ID of the event. */
|
|
92489
|
+
event_id: string;
|
|
92490
|
+
/** ID of the workspace associated with the event. */
|
|
92491
|
+
workspace_id: string;
|
|
92492
|
+
/** Date and time at which the event was created. */
|
|
92493
|
+
created_at: string;
|
|
92494
|
+
/** Date and time at which the event occurred. */
|
|
92495
|
+
occurred_at: string;
|
|
92496
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92497
|
+
event_description?: string | undefined;
|
|
92498
|
+
/** ID of the affected device. */
|
|
92499
|
+
device_id: string;
|
|
92500
|
+
/** ID of the connected account associated with the event. */
|
|
92501
|
+
connected_account_id: string;
|
|
92502
|
+
/** The customer key associated with the device, if any. */
|
|
92503
|
+
customer_key?: string | undefined;
|
|
92504
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92505
|
+
device_custom_metadata?: {
|
|
92506
|
+
[x: string]: string | boolean;
|
|
92507
|
+
} | undefined;
|
|
92508
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92509
|
+
connected_account_custom_metadata?: {
|
|
92510
|
+
[x: string]: string | boolean;
|
|
92511
|
+
} | undefined;
|
|
92512
|
+
event_type: 'camera.activated';
|
|
92513
|
+
/** The reason the camera was activated. */
|
|
92514
|
+
activation_reason: 'motion_detected';
|
|
92515
|
+
/** Sub-type of motion detected, if available. */
|
|
92516
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
92517
|
+
/** URL to a thumbnail image captured at the time of activation. */
|
|
92518
|
+
image_url?: string | undefined;
|
|
92519
|
+
/** URL to a short video clip captured at the time of activation. */
|
|
92520
|
+
video_url?: string | undefined;
|
|
92521
|
+
} | {
|
|
92522
|
+
/** ID of the event. */
|
|
92523
|
+
event_id: string;
|
|
92524
|
+
/** ID of the workspace associated with the event. */
|
|
92525
|
+
workspace_id: string;
|
|
92526
|
+
/** Date and time at which the event was created. */
|
|
92527
|
+
created_at: string;
|
|
92528
|
+
/** Date and time at which the event occurred. */
|
|
92529
|
+
occurred_at: string;
|
|
92530
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92531
|
+
event_description?: string | undefined;
|
|
92532
|
+
/** ID of the affected device. */
|
|
92533
|
+
device_id: string;
|
|
92534
|
+
/** ID of the connected account associated with the event. */
|
|
92535
|
+
connected_account_id: string;
|
|
92536
|
+
/** The customer key associated with the device, if any. */
|
|
92537
|
+
customer_key?: string | undefined;
|
|
92538
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92539
|
+
device_custom_metadata?: {
|
|
92540
|
+
[x: string]: string | boolean;
|
|
92541
|
+
} | undefined;
|
|
92542
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92543
|
+
connected_account_custom_metadata?: {
|
|
92544
|
+
[x: string]: string | boolean;
|
|
92545
|
+
} | undefined;
|
|
92546
|
+
event_type: 'device.doorbell_rang';
|
|
92547
|
+
/** URL to a thumbnail image captured at the time the doorbell was pressed. */
|
|
92548
|
+
image_url?: string | undefined;
|
|
92549
|
+
/** URL to a short video clip captured at the time the doorbell was pressed. */
|
|
92550
|
+
video_url?: string | undefined;
|
|
92551
|
+
} | {
|
|
92552
|
+
/** ID of the event. */
|
|
92553
|
+
event_id: string;
|
|
92554
|
+
/** ID of the workspace associated with the event. */
|
|
92555
|
+
workspace_id: string;
|
|
92556
|
+
/** Date and time at which the event was created. */
|
|
92557
|
+
created_at: string;
|
|
92558
|
+
/** Date and time at which the event occurred. */
|
|
92559
|
+
occurred_at: string;
|
|
92560
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92561
|
+
event_description?: string | undefined;
|
|
92562
|
+
/** ID of the affected enrollment automation. */
|
|
92563
|
+
enrollment_automation_id: string;
|
|
92564
|
+
event_type: 'enrollment_automation.deleted';
|
|
92565
|
+
} | {
|
|
92566
|
+
/** ID of the event. */
|
|
92567
|
+
event_id: string;
|
|
92568
|
+
/** ID of the workspace associated with the event. */
|
|
92569
|
+
workspace_id: string;
|
|
92570
|
+
/** Date and time at which the event was created. */
|
|
92571
|
+
created_at: string;
|
|
92572
|
+
/** Date and time at which the event occurred. */
|
|
92573
|
+
occurred_at: string;
|
|
92574
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92575
|
+
event_description?: string | undefined;
|
|
92576
|
+
/** ID of the affected phone device. */
|
|
92577
|
+
device_id: string;
|
|
92578
|
+
/** Custom metadata of the device; present when device_id is provided. */
|
|
92579
|
+
device_custom_metadata?: {
|
|
92580
|
+
[x: string]: string | boolean;
|
|
92581
|
+
} | undefined;
|
|
92582
|
+
event_type: 'phone.deactivated';
|
|
92583
|
+
} | {
|
|
92584
|
+
/** ID of the event. */
|
|
92585
|
+
event_id: string;
|
|
92586
|
+
/** ID of the workspace associated with the event. */
|
|
92587
|
+
workspace_id: string;
|
|
92588
|
+
/** Date and time at which the event was created. */
|
|
92589
|
+
created_at: string;
|
|
92590
|
+
/** Date and time at which the event occurred. */
|
|
92591
|
+
occurred_at: string;
|
|
92592
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92593
|
+
event_description?: string | undefined;
|
|
92594
|
+
/** ID of the affected space. */
|
|
92595
|
+
space_id: string;
|
|
92596
|
+
/** Type of the event. */
|
|
92597
|
+
event_type: 'space.device_membership_changed';
|
|
92598
|
+
/** Unique key for the space within the workspace. */
|
|
92599
|
+
space_key?: string | undefined;
|
|
92600
|
+
/** IDs of all devices currently attached to the space. */
|
|
92601
|
+
device_ids: string[];
|
|
92602
|
+
/** IDs of all ACS entrances currently attached to the space. */
|
|
92603
|
+
acs_entrance_ids: string[];
|
|
92604
|
+
} | {
|
|
92605
|
+
/** ID of the event. */
|
|
92606
|
+
event_id: string;
|
|
92607
|
+
/** ID of the workspace associated with the event. */
|
|
92608
|
+
workspace_id: string;
|
|
92609
|
+
/** Date and time at which the event was created. */
|
|
92610
|
+
created_at: string;
|
|
92611
|
+
/** Date and time at which the event occurred. */
|
|
92612
|
+
occurred_at: string;
|
|
92613
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92614
|
+
event_description?: string | undefined;
|
|
92615
|
+
/** ID of the affected space. */
|
|
92616
|
+
space_id: string;
|
|
92617
|
+
/** Type of the event. */
|
|
92618
|
+
event_type: 'space.created';
|
|
92619
|
+
/** Unique key for the space within the workspace. */
|
|
92620
|
+
space_key?: string | undefined;
|
|
92621
|
+
/** IDs of all devices attached to the space when it was created. */
|
|
92622
|
+
device_ids: string[];
|
|
92623
|
+
/** IDs of all ACS entrances attached to the space when it was created. */
|
|
92624
|
+
acs_entrance_ids: string[];
|
|
92625
|
+
} | {
|
|
92626
|
+
/** ID of the event. */
|
|
92627
|
+
event_id: string;
|
|
92628
|
+
/** ID of the workspace associated with the event. */
|
|
92629
|
+
workspace_id: string;
|
|
92630
|
+
/** Date and time at which the event was created. */
|
|
92631
|
+
created_at: string;
|
|
92632
|
+
/** Date and time at which the event occurred. */
|
|
92633
|
+
occurred_at: string;
|
|
92634
|
+
/** Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event. */
|
|
92635
|
+
event_description?: string | undefined;
|
|
92636
|
+
/** ID of the affected space. */
|
|
92637
|
+
space_id: string;
|
|
92638
|
+
/** Type of the event. */
|
|
92639
|
+
event_type: 'space.deleted';
|
|
92640
|
+
/** Unique key for the space within the workspace. */
|
|
92641
|
+
space_key?: string | undefined;
|
|
92642
|
+
/** IDs of all devices attached to the space when it was deleted. */
|
|
92643
|
+
device_ids: string[];
|
|
92644
|
+
/** IDs of all ACS entrances currently attached to the space when it was deleted. */
|
|
92645
|
+
acs_entrance_ids: string[];
|
|
92646
|
+
};
|
|
92647
|
+
simulation: {
|
|
92648
|
+
/** Payload fields that Seam set to a real resource in your workspace. */
|
|
92649
|
+
resolved_fields: string[];
|
|
92650
|
+
/** Number of webhooks in your workspace that are subscribed to this event type and therefore receive this event. If this is `0`, no webhook receives the event. `null` if Seam could not determine the count. */
|
|
92651
|
+
subscribed_webhook_count: number | null;
|
|
92652
|
+
/** Payload fields that Seam set to a placeholder value because your workspace has no matching resource and you did not provide one. */
|
|
92653
|
+
synthesized_fields: string[];
|
|
92654
|
+
};
|
|
92655
|
+
};
|
|
92656
|
+
maxDuration: undefined;
|
|
92657
|
+
};
|
|
89067
92658
|
'/seam/wizard/v1/session': {
|
|
89068
92659
|
route: '/seam/wizard/v1/session';
|
|
89069
92660
|
method: 'POST';
|
|
@@ -89769,7 +93360,7 @@ export type Routes = {
|
|
|
89769
93360
|
device_custom_name?: (string | undefined) | undefined;
|
|
89770
93361
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
89771
93362
|
structure_name?: (string | undefined) | undefined;
|
|
89772
|
-
/**
|
|
93363
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
89773
93364
|
display_name?: (string | undefined) | undefined;
|
|
89774
93365
|
} | undefined;
|
|
89775
93366
|
/** Metadata for an ecobee device. */
|
|
@@ -97746,7 +101337,7 @@ export type Routes = {
|
|
|
97746
101337
|
device_custom_name?: (string | undefined) | undefined;
|
|
97747
101338
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
97748
101339
|
structure_name?: (string | undefined) | undefined;
|
|
97749
|
-
/**
|
|
101340
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
97750
101341
|
display_name?: (string | undefined) | undefined;
|
|
97751
101342
|
} | undefined;
|
|
97752
101343
|
/** Metadata for an ecobee device. */
|
|
@@ -102914,7 +106505,7 @@ export type Routes = {
|
|
|
102914
106505
|
device_custom_name?: (string | undefined) | undefined;
|
|
102915
106506
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
102916
106507
|
structure_name?: (string | undefined) | undefined;
|
|
102917
|
-
/**
|
|
106508
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
102918
106509
|
display_name?: (string | undefined) | undefined;
|
|
102919
106510
|
} | undefined;
|
|
102920
106511
|
/** Metadata for an ecobee device. */
|
|
@@ -104422,7 +108013,7 @@ export type Routes = {
|
|
|
104422
108013
|
device_custom_name?: (string | undefined) | undefined;
|
|
104423
108014
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
104424
108015
|
structure_name?: (string | undefined) | undefined;
|
|
104425
|
-
/**
|
|
108016
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
104426
108017
|
display_name?: (string | undefined) | undefined;
|
|
104427
108018
|
} | undefined;
|
|
104428
108019
|
/** Metadata for an ecobee device. */
|
|
@@ -114184,7 +117775,7 @@ export type Routes = {
|
|
|
114184
117775
|
device_custom_name?: (string | undefined) | undefined;
|
|
114185
117776
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
114186
117777
|
structure_name?: (string | undefined) | undefined;
|
|
114187
|
-
/**
|
|
117778
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
114188
117779
|
display_name?: (string | undefined) | undefined;
|
|
114189
117780
|
} | undefined;
|
|
114190
117781
|
/** Metadata for an ecobee device. */
|
|
@@ -115694,7 +119285,7 @@ export type Routes = {
|
|
|
115694
119285
|
device_custom_name?: (string | undefined) | undefined;
|
|
115695
119286
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
115696
119287
|
structure_name?: (string | undefined) | undefined;
|
|
115697
|
-
/**
|
|
119288
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
115698
119289
|
display_name?: (string | undefined) | undefined;
|
|
115699
119290
|
} | undefined;
|
|
115700
119291
|
/** Metadata for an ecobee device. */
|
|
@@ -118541,7 +122132,7 @@ export type Routes = {
|
|
|
118541
122132
|
device_custom_name?: (string | undefined) | undefined;
|
|
118542
122133
|
/** Name of the Google Nest structure containing the device. The device owner sets this value. */
|
|
118543
122134
|
structure_name?: (string | undefined) | undefined;
|
|
118544
|
-
/**
|
|
122135
|
+
/** Name of the Google Home room containing the device. The device owner sets this value. */
|
|
118545
122136
|
display_name?: (string | undefined) | undefined;
|
|
118546
122137
|
} | undefined;
|
|
118547
122138
|
/** Metadata for an ecobee device. */
|