Skip to content

Commit 789e19a

Browse files
razor-xseambot
andauthored
Fix missing action attempt samples (#690)
* Use resourceSample from actionAttempt * Report events and actionAttempts without samples * ci: Generate docs --------- Co-authored-by: Seam Bot <[email protected]>
1 parent d287db2 commit 789e19a

17 files changed

+2563
-10257
lines changed

docs/api/_blueprint.json

Lines changed: 2121 additions & 10223 deletions
Large diffs are not rendered by default.

docs/api/_report.md

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,3 +547,99 @@ These items are deprecated.
547547
### Resources without resource samples
548548

549549
- `enrollment_automation`
550+
- `event: access_code.created`
551+
- `event: access_code.changed`
552+
- `event: access_code.scheduled_on_device`
553+
- `event: access_code.set_on_device`
554+
- `event: access_code.removed_from_device`
555+
- `event: access_code.delay_in_setting_on_device`
556+
- `event: access_code.failed_to_set_on_device`
557+
- `event: access_code.deleted`
558+
- `event: access_code.delay_in_removing_from_device`
559+
- `event: access_code.failed_to_remove_from_device`
560+
- `event: access_code.modified_external_to_seam`
561+
- `event: access_code.deleted_external_to_seam`
562+
- `event: access_code.backup_access_code_pulled`
563+
- `event: access_code.unmanaged.converted_to_managed`
564+
- `event: access_code.unmanaged.failed_to_convert_to_managed`
565+
- `event: access_code.unmanaged.created`
566+
- `event: access_code.unmanaged.removed`
567+
- `event: access_grant.created`
568+
- `event: access_grant.deleted`
569+
- `event: access_grant.access_granted_to_all_doors`
570+
- `event: access_grant.access_granted_to_door`
571+
- `event: access_grant.access_to_door_lost`
572+
- `event: access_method.issued`
573+
- `event: access_method.revoked`
574+
- `event: access_method.card_encoding_required`
575+
- `event: access_method.deleted`
576+
- `event: access_method.reissued`
577+
- `event: acs_system.connected`
578+
- `event: acs_system.added`
579+
- `event: acs_system.disconnected`
580+
- `event: acs_credential.deleted`
581+
- `event: acs_credential.issued`
582+
- `event: acs_credential.reissued`
583+
- `event: acs_credential.invalidated`
584+
- `event: acs_user.created`
585+
- `event: acs_user.deleted`
586+
- `event: acs_encoder.added`
587+
- `event: acs_encoder.removed`
588+
- `event: acs_access_group.deleted`
589+
- `event: acs_entrance.added`
590+
- `event: acs_entrance.removed`
591+
- `event: client_session.deleted`
592+
- `event: connected_account.connected`
593+
- `event: connected_account.created`
594+
- `event: connected_account.successful_login`
595+
- `event: connected_account.disconnected`
596+
- `event: connected_account.completed_first_sync`
597+
- `event: connected_account.deleted`
598+
- `event: connected_account.completed_first_sync_after_reconnection`
599+
- `event: action_attempt.lock_door.succeeded`
600+
- `event: action_attempt.lock_door.failed`
601+
- `event: action_attempt.unlock_door.succeeded`
602+
- `event: action_attempt.unlock_door.failed`
603+
- `event: connect_webview.login_succeeded`
604+
- `event: connect_webview.login_failed`
605+
- `event: device.added`
606+
- `event: device.converted_to_unmanaged`
607+
- `event: device.unmanaged.converted_to_managed`
608+
- `event: device.unmanaged.connected`
609+
- `event: device.disconnected`
610+
- `event: device.unmanaged.disconnected`
611+
- `event: device.tampered`
612+
- `event: device.low_battery`
613+
- `event: device.battery_status_changed`
614+
- `event: device.removed`
615+
- `event: device.deleted`
616+
- `event: device.third_party_integration_detected`
617+
- `event: device.third_party_integration_no_longer_detected`
618+
- `event: device.salto.privacy_mode_activated`
619+
- `event: device.salto.privacy_mode_deactivated`
620+
- `event: device.connection_became_flaky`
621+
- `event: device.connection_stabilized`
622+
- `event: device.error.subscription_required`
623+
- `event: device.error.subscription_required.resolved`
624+
- `event: device.accessory_keypad_connected`
625+
- `event: device.accessory_keypad_disconnected`
626+
- `event: noise_sensor.noise_threshold_triggered`
627+
- `event: lock.locked`
628+
- `event: lock.unlocked`
629+
- `event: lock.access_denied`
630+
- `event: thermostat.climate_preset_activated`
631+
- `event: thermostat.manually_adjusted`
632+
- `event: thermostat.temperature_threshold_exceeded`
633+
- `event: thermostat.temperature_threshold_no_longer_exceeded`
634+
- `event: thermostat.temperature_reached_set_point`
635+
- `event: thermostat.temperature_changed`
636+
- `event: device.name_changed`
637+
- `event: enrollment_automation.deleted`
638+
- `event: phone.deactivated`
639+
- `action_attempt: SYNC_ACCESS_CODES`
640+
- `action_attempt: CREATE_ACCESS_CODE`
641+
- `action_attempt: DELETE_ACCESS_CODE`
642+
- `action_attempt: UPDATE_ACCESS_CODE`
643+
- `action_attempt: CREATE_NOISE_THRESHOLD`
644+
- `action_attempt: DELETE_NOISE_THRESHOLD`
645+
- `action_attempt: UPDATE_NOISE_THRESHOLD`

docs/api/acs/encoders/encode_access_method.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,29 @@ ID of the `acs_encoder` to use to encode the `access_method`.
255255

256256
[action\_attempt](./)
257257

258+
259+
{% tabs %}
260+
{% tab title="JSON" %}
261+
262+
263+
264+
```json
265+
{
266+
"action_attempt_id": "550e8400-e29b-41d4-a716-446655440000",
267+
"action_type": "ENCODE_ACCESS_METHOD",
268+
"error": null,
269+
"result": {
270+
"access_method_id": "9e8d7c6b-5a4b-3c2d-1e0f-9a8b7c6d5e4f",
271+
"created_at": "2025-06-14T16:54:17.946612Z",
272+
"display_name": "My Card",
273+
"instant_key_url": "https://se.am/1234",
274+
"is_card_encoding_required": true,
275+
"issued_at": "2025-06-14T16:54:17.946612Z",
276+
"mode": "card",
277+
"workspace_id": "7c8d9e0f-1a2b-3c4d-5e6f-7a8b9c0d1e2f"
278+
},
279+
"status": "success"
280+
}
281+
```
282+
{% endtab %}
283+
{% endtabs %}

docs/api/acs/encoders/encode_credential.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,3 +380,49 @@ ID of the `acs_encoder` to use to encode the `acs_credential`.
380380

381381
[action\_attempt](./)
382382

383+
384+
{% tabs %}
385+
{% tab title="JSON" %}
386+
387+
388+
389+
```json
390+
{
391+
"action_attempt_id": "1b4e28ba-2fa1-11d2-883f-0016d3cca427",
392+
"action_type": "ENCODE_CREDENTIAL",
393+
"error": null,
394+
"result": {
395+
"access_method": "card",
396+
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
397+
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
398+
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
399+
"card_number": "164d29dc4a09b65f",
400+
"created_at": "2025-06-16T16:54:17.946514Z",
401+
"display_name": "Guest Lock 1, Vingcard Lock 2",
402+
"ends_at": "2025-07-12T16:54:17.946512Z",
403+
"errors": [],
404+
"external_type": "visionline_card",
405+
"external_type_display_name": "Visionline Card",
406+
"is_issued": true,
407+
"is_latest_desired_state_synced_with_provider": true,
408+
"is_managed": true,
409+
"is_multi_phone_sync_credential": false,
410+
"issued_at": "2025-06-16T16:54:17.946512Z",
411+
"latest_desired_state_synced_with_provider_at": "2025-06-18T16:54:17.946514Z",
412+
"starts_at": "2025-07-10T16:54:17.946512Z",
413+
"visionline_metadata": {
414+
"card_function_type": "guest",
415+
"card_id": "5",
416+
"common_acs_entrance_ids": ["5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f"],
417+
"credential_id": "15",
418+
"guest_acs_entrance_ids": ["a1b2c3d4-e5f6-4a3b-2c1d-0e9f8a7b6c5d"],
419+
"is_valid": true
420+
},
421+
"warnings": [],
422+
"workspace_id": "005f1e54-5360-40db-8c31-4ef6baaad1fd"
423+
},
424+
"status": "success"
425+
}
426+
```
427+
{% endtab %}
428+
{% endtabs %}

docs/api/acs/encoders/scan_credential.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,3 +545,78 @@ ID of the encoder to use for the scan.
545545

546546
[action\_attempt](./)
547547

548+
549+
{% tabs %}
550+
{% tab title="JSON" %}
551+
552+
553+
554+
```json
555+
{
556+
"action_attempt_id": "123e4567-e89b-12d3-a456-426614174000",
557+
"action_type": "SCAN_CREDENTIAL",
558+
"error": null,
559+
"result": {
560+
"acs_credential_on_encoder": {
561+
"card_number": "164d29dc4a09b65f",
562+
"created_at": "2025-06-16T16:54:17.946514Z",
563+
"ends_at": "2025-07-13T16:54:17.946512Z",
564+
"is_issued": true,
565+
"starts_at": "2025-07-10T16:54:17.946512Z",
566+
"visionline_metadata": {
567+
"cancelled": false,
568+
"card_format": "guest",
569+
"card_holder": "Guest",
570+
"card_id": "5",
571+
"common_acs_entrance_ids": ["5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f"],
572+
"discarded": false,
573+
"expired": false,
574+
"guest_acs_entrance_ids": ["a1b2c3d4-e5f6-4a3b-2c1d-0e9f8a7b6c5d"],
575+
"number_of_issued_cards": 1,
576+
"overridden": false,
577+
"overwritten": false,
578+
"pending_auto_update": false
579+
}
580+
},
581+
"acs_credential_on_seam": {
582+
"access_method": "card",
583+
"acs_credential_id": "73a0a199-024f-454d-a916-9bbda8502c12",
584+
"acs_system_id": "b1d03165-2759-474b-a342-e02223f27b39",
585+
"acs_user_id": "0fc82df4-391b-4d00-a234-86378f1c3952",
586+
"card_number": "164d29dc4a09b65f",
587+
"created_at": "2025-06-16T16:54:17.946514Z",
588+
"display_name": "Guest Lock 1, Vingcard Lock 2",
589+
"ends_at": "2025-07-12T16:54:17.946512Z",
590+
"errors": [],
591+
"external_type": "visionline_card",
592+
"external_type_display_name": "Visionline Card",
593+
"is_issued": true,
594+
"is_latest_desired_state_synced_with_provider": true,
595+
"is_managed": true,
596+
"is_multi_phone_sync_credential": false,
597+
"issued_at": "2025-06-16T16:54:17.946512Z",
598+
"latest_desired_state_synced_with_provider_at": "2025-06-18T16:54:17.946514Z",
599+
"starts_at": "2025-07-10T16:54:17.946512Z",
600+
"visionline_metadata": {
601+
"card_function_type": "guest",
602+
"card_id": "5",
603+
"common_acs_entrance_ids": ["5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f"],
604+
"credential_id": "15",
605+
"guest_acs_entrance_ids": ["a1b2c3d4-e5f6-4a3b-2c1d-0e9f8a7b6c5d"],
606+
"is_valid": true
607+
},
608+
"warnings": [],
609+
"workspace_id": "005f1e54-5360-40db-8c31-4ef6baaad1fd"
610+
},
611+
"warnings": [
612+
{
613+
"warning_code": "acs_credential_on_encoder_out_of_sync",
614+
"warning_message": "The following properties are out of sync between acs_credential_on_encoder and acs_credential_on_seam: ends_at"
615+
}
616+
]
617+
},
618+
"status": "success"
619+
}
620+
```
621+
{% endtab %}
622+
{% endtabs %}

docs/api/thermostats/activate_climate_preset.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,20 @@ ID of the thermostat device for which you want to activate a climate preset.
201201

202202
[action\_attempt](./)
203203

204+
205+
{% tabs %}
206+
{% tab title="JSON" %}
207+
208+
209+
210+
```json
211+
{
212+
"action_attempt_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
213+
"action_type": "ACTIVATE_CLIMATE_PRESET",
214+
"error": null,
215+
"result": {},
216+
"status": "success"
217+
}
218+
```
219+
{% endtab %}
220+
{% endtabs %}

docs/api/thermostats/cool.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,20 @@ ID of the thermostat device that you want to set to cool mode.
208208

209209
[action\_attempt](./)
210210

211+
212+
{% tabs %}
213+
{% tab title="JSON" %}
214+
215+
216+
217+
```json
218+
{
219+
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
220+
"action_type": "SET_HVAC_MODE",
221+
"error": null,
222+
"result": {},
223+
"status": "success"
224+
}
225+
```
226+
{% endtab %}
227+
{% endtabs %}

docs/api/thermostats/heat.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,20 @@ ID of the thermostat device that you want to set to heat mode.
208208

209209
[action\_attempt](./)
210210

211+
212+
{% tabs %}
213+
{% tab title="JSON" %}
214+
215+
216+
217+
```json
218+
{
219+
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
220+
"action_type": "SET_HVAC_MODE",
221+
"error": null,
222+
"result": {},
223+
"status": "success"
224+
}
225+
```
226+
{% endtab %}
227+
{% endtabs %}

docs/api/thermostats/heat_cool.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,20 @@ ID of the thermostat device that you want to set to heat-cool mode.
226226

227227
[action\_attempt](./)
228228

229+
230+
{% tabs %}
231+
{% tab title="JSON" %}
232+
233+
234+
235+
```json
236+
{
237+
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
238+
"action_type": "SET_HVAC_MODE",
239+
"error": null,
240+
"result": {},
241+
"status": "success"
242+
}
243+
```
244+
{% endtab %}
245+
{% endtabs %}

docs/api/thermostats/off.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,20 @@ ID of the thermostat device that you want to set to off mode.
186186

187187
[action\_attempt](./)
188188

189+
190+
{% tabs %}
191+
{% tab title="JSON" %}
192+
193+
194+
195+
```json
196+
{
197+
"action_attempt_id": "b0e1d2c3-4f5e-6a7b-8c9d-0e1f2a3b4c5d",
198+
"action_type": "SET_HVAC_MODE",
199+
"error": null,
200+
"result": {},
201+
"status": "success"
202+
}
203+
```
204+
{% endtab %}
205+
{% endtabs %}

0 commit comments

Comments
 (0)