@seamapi/types 1.918.0 → 1.920.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/dist/connect.cjs +592 -184
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +210 -4
- package/dist/index.cjs +592 -184
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +58 -31
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +51 -27
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +118 -0
- package/lib/seam/connect/models/events/access-codes.js +34 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +59 -1
- package/lib/seam/connect/openapi.js +230 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +152 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
- package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
- package/src/lib/seam/connect/models/devices/device.ts +70 -46
- package/src/lib/seam/connect/models/events/access-codes.ts +48 -0
- package/src/lib/seam/connect/openapi.ts +239 -3
- package/src/lib/seam/connect/route-types.ts +212 -0
package/dist/connect.d.cts
CHANGED
|
@@ -23932,6 +23932,64 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
23932
23932
|
connected_account_id: z.ZodString;
|
|
23933
23933
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
23934
23934
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
23935
|
+
} & {
|
|
23936
|
+
event_type: z.ZodLiteral<"access_code.mutations_requested">;
|
|
23937
|
+
requested_mutations: z.ZodArray<z.ZodObject<{
|
|
23938
|
+
mutation_code: z.ZodEnum<["updating_name", "updating_code", "updating_time_frame", "deleting", "creating", "deferring_creation"]>;
|
|
23939
|
+
from: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23940
|
+
to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23941
|
+
}, "strip", z.ZodTypeAny, {
|
|
23942
|
+
mutation_code: "creating" | "deferring_creation" | "deleting" | "updating_code" | "updating_name" | "updating_time_frame";
|
|
23943
|
+
from?: Record<string, unknown> | undefined;
|
|
23944
|
+
to?: Record<string, unknown> | undefined;
|
|
23945
|
+
}, {
|
|
23946
|
+
mutation_code: "creating" | "deferring_creation" | "deleting" | "updating_code" | "updating_name" | "updating_time_frame";
|
|
23947
|
+
from?: Record<string, unknown> | undefined;
|
|
23948
|
+
to?: Record<string, unknown> | undefined;
|
|
23949
|
+
}>, "many">;
|
|
23950
|
+
}, "strip", z.ZodTypeAny, {
|
|
23951
|
+
device_id: string;
|
|
23952
|
+
workspace_id: string;
|
|
23953
|
+
created_at: string;
|
|
23954
|
+
connected_account_id: string;
|
|
23955
|
+
access_code_id: string;
|
|
23956
|
+
event_id: string;
|
|
23957
|
+
occurred_at: string;
|
|
23958
|
+
event_type: "access_code.mutations_requested";
|
|
23959
|
+
requested_mutations: {
|
|
23960
|
+
mutation_code: "creating" | "deferring_creation" | "deleting" | "updating_code" | "updating_name" | "updating_time_frame";
|
|
23961
|
+
from?: Record<string, unknown> | undefined;
|
|
23962
|
+
to?: Record<string, unknown> | undefined;
|
|
23963
|
+
}[];
|
|
23964
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
23965
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
23966
|
+
}, {
|
|
23967
|
+
device_id: string;
|
|
23968
|
+
workspace_id: string;
|
|
23969
|
+
created_at: string;
|
|
23970
|
+
connected_account_id: string;
|
|
23971
|
+
access_code_id: string;
|
|
23972
|
+
event_id: string;
|
|
23973
|
+
occurred_at: string;
|
|
23974
|
+
event_type: "access_code.mutations_requested";
|
|
23975
|
+
requested_mutations: {
|
|
23976
|
+
mutation_code: "creating" | "deferring_creation" | "deleting" | "updating_code" | "updating_name" | "updating_time_frame";
|
|
23977
|
+
from?: Record<string, unknown> | undefined;
|
|
23978
|
+
to?: Record<string, unknown> | undefined;
|
|
23979
|
+
}[];
|
|
23980
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
23981
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
23982
|
+
}>, z.ZodObject<{
|
|
23983
|
+
event_id: z.ZodString;
|
|
23984
|
+
workspace_id: z.ZodString;
|
|
23985
|
+
created_at: z.ZodString;
|
|
23986
|
+
occurred_at: z.ZodString;
|
|
23987
|
+
} & {
|
|
23988
|
+
access_code_id: z.ZodString;
|
|
23989
|
+
device_id: z.ZodString;
|
|
23990
|
+
connected_account_id: z.ZodString;
|
|
23991
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
23992
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
23935
23993
|
} & {
|
|
23936
23994
|
event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
|
|
23937
23995
|
code: z.ZodString;
|
|
@@ -74862,6 +74920,43 @@ type Routes = {
|
|
|
74862
74920
|
};
|
|
74863
74921
|
/** Human-readable description of the change and its source. */
|
|
74864
74922
|
description: string;
|
|
74923
|
+
} | {
|
|
74924
|
+
/** ID of the event. */
|
|
74925
|
+
event_id: string;
|
|
74926
|
+
/** ID of the workspace associated with the event. */
|
|
74927
|
+
workspace_id: string;
|
|
74928
|
+
/** Date and time at which the event was created. */
|
|
74929
|
+
created_at: string;
|
|
74930
|
+
/** Date and time at which the event occurred. */
|
|
74931
|
+
occurred_at: string;
|
|
74932
|
+
/** ID of the affected access code. */
|
|
74933
|
+
access_code_id: string;
|
|
74934
|
+
/** ID of the device associated with the affected access code. */
|
|
74935
|
+
device_id: string;
|
|
74936
|
+
/** ID of the connected account associated with the affected access code. */
|
|
74937
|
+
connected_account_id: string;
|
|
74938
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
74939
|
+
device_custom_metadata?: {
|
|
74940
|
+
[x: string]: string | boolean;
|
|
74941
|
+
} | undefined;
|
|
74942
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
74943
|
+
connected_account_custom_metadata?: {
|
|
74944
|
+
[x: string]: string | boolean;
|
|
74945
|
+
} | undefined;
|
|
74946
|
+
event_type: 'access_code.mutations_requested';
|
|
74947
|
+
/** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
|
|
74948
|
+
requested_mutations: {
|
|
74949
|
+
/** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
|
|
74950
|
+
mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
|
|
74951
|
+
/** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
74952
|
+
from?: {
|
|
74953
|
+
[x: string]: unknown;
|
|
74954
|
+
} | undefined;
|
|
74955
|
+
/** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
74956
|
+
to?: {
|
|
74957
|
+
[x: string]: unknown;
|
|
74958
|
+
} | undefined;
|
|
74959
|
+
}[];
|
|
74865
74960
|
} | {
|
|
74866
74961
|
/** ID of the event. */
|
|
74867
74962
|
event_id: string;
|
|
@@ -77653,9 +77748,9 @@ type Routes = {
|
|
|
77653
77748
|
/** IDs of the access codes for which you want to list events. */
|
|
77654
77749
|
access_code_ids?: string[] | undefined;
|
|
77655
77750
|
/** Type of the events that you want to list. */
|
|
77656
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | '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.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' | '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') | undefined;
|
|
77751
|
+
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.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' | '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') | undefined;
|
|
77657
77752
|
/** Types of the events that you want to list. */
|
|
77658
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | '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.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' | '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')[] | undefined;
|
|
77753
|
+
event_types?: ('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.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' | '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')[] | undefined;
|
|
77659
77754
|
/** ID of the connected account for which you want to list events. */
|
|
77660
77755
|
connected_account_id?: string | undefined;
|
|
77661
77756
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -77862,6 +77957,43 @@ type Routes = {
|
|
|
77862
77957
|
};
|
|
77863
77958
|
/** Human-readable description of the change and its source. */
|
|
77864
77959
|
description: string;
|
|
77960
|
+
} | {
|
|
77961
|
+
/** ID of the event. */
|
|
77962
|
+
event_id: string;
|
|
77963
|
+
/** ID of the workspace associated with the event. */
|
|
77964
|
+
workspace_id: string;
|
|
77965
|
+
/** Date and time at which the event was created. */
|
|
77966
|
+
created_at: string;
|
|
77967
|
+
/** Date and time at which the event occurred. */
|
|
77968
|
+
occurred_at: string;
|
|
77969
|
+
/** ID of the affected access code. */
|
|
77970
|
+
access_code_id: string;
|
|
77971
|
+
/** ID of the device associated with the affected access code. */
|
|
77972
|
+
device_id: string;
|
|
77973
|
+
/** ID of the connected account associated with the affected access code. */
|
|
77974
|
+
connected_account_id: string;
|
|
77975
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
77976
|
+
device_custom_metadata?: {
|
|
77977
|
+
[x: string]: string | boolean;
|
|
77978
|
+
} | undefined;
|
|
77979
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
77980
|
+
connected_account_custom_metadata?: {
|
|
77981
|
+
[x: string]: string | boolean;
|
|
77982
|
+
} | undefined;
|
|
77983
|
+
event_type: 'access_code.mutations_requested';
|
|
77984
|
+
/** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
|
|
77985
|
+
requested_mutations: {
|
|
77986
|
+
/** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
|
|
77987
|
+
mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
|
|
77988
|
+
/** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
77989
|
+
from?: {
|
|
77990
|
+
[x: string]: unknown;
|
|
77991
|
+
} | undefined;
|
|
77992
|
+
/** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
77993
|
+
to?: {
|
|
77994
|
+
[x: string]: unknown;
|
|
77995
|
+
} | undefined;
|
|
77996
|
+
}[];
|
|
77865
77997
|
} | {
|
|
77866
77998
|
/** ID of the event. */
|
|
77867
77999
|
event_id: string;
|
|
@@ -106519,9 +106651,9 @@ type Routes = {
|
|
|
106519
106651
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
106520
106652
|
between?: (string | Date)[] | undefined;
|
|
106521
106653
|
/** Type of the events that you want to list. */
|
|
106522
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | '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.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' | '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') | undefined;
|
|
106654
|
+
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.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' | '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') | undefined;
|
|
106523
106655
|
/** Types of the events that you want to list. */
|
|
106524
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | '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.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' | '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')[] | undefined;
|
|
106656
|
+
event_types?: ('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.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' | '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')[] | undefined;
|
|
106525
106657
|
/** Numerical limit on the number of events to return. */
|
|
106526
106658
|
limit?: number;
|
|
106527
106659
|
};
|
|
@@ -106698,6 +106830,43 @@ type Routes = {
|
|
|
106698
106830
|
};
|
|
106699
106831
|
/** Human-readable description of the change and its source. */
|
|
106700
106832
|
description: string;
|
|
106833
|
+
} | {
|
|
106834
|
+
/** ID of the event. */
|
|
106835
|
+
event_id: string;
|
|
106836
|
+
/** ID of the workspace associated with the event. */
|
|
106837
|
+
workspace_id: string;
|
|
106838
|
+
/** Date and time at which the event was created. */
|
|
106839
|
+
created_at: string;
|
|
106840
|
+
/** Date and time at which the event occurred. */
|
|
106841
|
+
occurred_at: string;
|
|
106842
|
+
/** ID of the affected access code. */
|
|
106843
|
+
access_code_id: string;
|
|
106844
|
+
/** ID of the device associated with the affected access code. */
|
|
106845
|
+
device_id: string;
|
|
106846
|
+
/** ID of the connected account associated with the affected access code. */
|
|
106847
|
+
connected_account_id: string;
|
|
106848
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
106849
|
+
device_custom_metadata?: {
|
|
106850
|
+
[x: string]: string | boolean;
|
|
106851
|
+
} | undefined;
|
|
106852
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
106853
|
+
connected_account_custom_metadata?: {
|
|
106854
|
+
[x: string]: string | boolean;
|
|
106855
|
+
} | undefined;
|
|
106856
|
+
event_type: 'access_code.mutations_requested';
|
|
106857
|
+
/** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
|
|
106858
|
+
requested_mutations: {
|
|
106859
|
+
/** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
|
|
106860
|
+
mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
|
|
106861
|
+
/** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
106862
|
+
from?: {
|
|
106863
|
+
[x: string]: unknown;
|
|
106864
|
+
} | undefined;
|
|
106865
|
+
/** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
106866
|
+
to?: {
|
|
106867
|
+
[x: string]: unknown;
|
|
106868
|
+
} | undefined;
|
|
106869
|
+
}[];
|
|
106701
106870
|
} | {
|
|
106702
106871
|
/** ID of the event. */
|
|
106703
106872
|
event_id: string;
|
|
@@ -143855,6 +144024,43 @@ type Routes = {
|
|
|
143855
144024
|
};
|
|
143856
144025
|
/** Human-readable description of the change and its source. */
|
|
143857
144026
|
description: string;
|
|
144027
|
+
} | {
|
|
144028
|
+
/** ID of the event. */
|
|
144029
|
+
event_id: string;
|
|
144030
|
+
/** ID of the workspace associated with the event. */
|
|
144031
|
+
workspace_id: string;
|
|
144032
|
+
/** Date and time at which the event was created. */
|
|
144033
|
+
created_at: string;
|
|
144034
|
+
/** Date and time at which the event occurred. */
|
|
144035
|
+
occurred_at: string;
|
|
144036
|
+
/** ID of the affected access code. */
|
|
144037
|
+
access_code_id: string;
|
|
144038
|
+
/** ID of the device associated with the affected access code. */
|
|
144039
|
+
device_id: string;
|
|
144040
|
+
/** ID of the connected account associated with the affected access code. */
|
|
144041
|
+
connected_account_id: string;
|
|
144042
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
144043
|
+
device_custom_metadata?: {
|
|
144044
|
+
[x: string]: string | boolean;
|
|
144045
|
+
} | undefined;
|
|
144046
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
144047
|
+
connected_account_custom_metadata?: {
|
|
144048
|
+
[x: string]: string | boolean;
|
|
144049
|
+
} | undefined;
|
|
144050
|
+
event_type: 'access_code.mutations_requested';
|
|
144051
|
+
/** Array of mutations requested on the access code, each containing the mutation type and from/to values. */
|
|
144052
|
+
requested_mutations: {
|
|
144053
|
+
/** Code identifying the type of mutation requested, such as `updating_name`, `updating_code`, `updating_time_frame`, or `deleting`. */
|
|
144054
|
+
mutation_code: 'updating_name' | 'updating_code' | 'updating_time_frame' | 'deleting' | 'creating' | 'deferring_creation';
|
|
144055
|
+
/** Previous property values before the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
144056
|
+
from?: {
|
|
144057
|
+
[x: string]: unknown;
|
|
144058
|
+
} | undefined;
|
|
144059
|
+
/** New property values after the requested change. Keys depend on the mutation type. Absent for non-property mutations like `deleting`. */
|
|
144060
|
+
to?: {
|
|
144061
|
+
[x: string]: unknown;
|
|
144062
|
+
} | undefined;
|
|
144063
|
+
}[];
|
|
143858
144064
|
} | {
|
|
143859
144065
|
/** ID of the event. */
|
|
143860
144066
|
event_id: string;
|