@seamapi/types 1.467.0 → 1.468.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 +646 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2209 -0
- package/dist/index.cjs +646 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +344 -0
- package/lib/seam/connect/openapi.js +646 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1865 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +654 -0
- package/src/lib/seam/connect/route-types.ts +2382 -0
package/dist/connect.cjs
CHANGED
|
@@ -48895,6 +48895,566 @@ var openapi_default = {
|
|
|
48895
48895
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
48896
48896
|
}
|
|
48897
48897
|
},
|
|
48898
|
+
"/seam/customer/v1/events/list": {
|
|
48899
|
+
get: {
|
|
48900
|
+
description: "Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.",
|
|
48901
|
+
operationId: "seamCustomerV1EventsListGet",
|
|
48902
|
+
parameters: [
|
|
48903
|
+
{
|
|
48904
|
+
in: "query",
|
|
48905
|
+
name: "space_id",
|
|
48906
|
+
required: true,
|
|
48907
|
+
schema: {
|
|
48908
|
+
description: "ID of the space for which you want to list events.",
|
|
48909
|
+
format: "uuid",
|
|
48910
|
+
type: "string"
|
|
48911
|
+
}
|
|
48912
|
+
},
|
|
48913
|
+
{
|
|
48914
|
+
in: "query",
|
|
48915
|
+
name: "since",
|
|
48916
|
+
required: false,
|
|
48917
|
+
schema: {
|
|
48918
|
+
description: "Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.",
|
|
48919
|
+
type: "string"
|
|
48920
|
+
}
|
|
48921
|
+
},
|
|
48922
|
+
{
|
|
48923
|
+
in: "query",
|
|
48924
|
+
name: "between",
|
|
48925
|
+
required: false,
|
|
48926
|
+
schema: {
|
|
48927
|
+
description: "Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.",
|
|
48928
|
+
items: {
|
|
48929
|
+
oneOf: [
|
|
48930
|
+
{ type: "string" },
|
|
48931
|
+
{ format: "date-time", type: "string" }
|
|
48932
|
+
]
|
|
48933
|
+
},
|
|
48934
|
+
maxItems: 2,
|
|
48935
|
+
minItems: 2,
|
|
48936
|
+
type: "array"
|
|
48937
|
+
}
|
|
48938
|
+
},
|
|
48939
|
+
{
|
|
48940
|
+
in: "query",
|
|
48941
|
+
name: "event_type",
|
|
48942
|
+
required: false,
|
|
48943
|
+
schema: {
|
|
48944
|
+
description: "Type of the events that you want to list.",
|
|
48945
|
+
enum: [
|
|
48946
|
+
"access_code.created",
|
|
48947
|
+
"access_code.changed",
|
|
48948
|
+
"access_code.scheduled_on_device",
|
|
48949
|
+
"access_code.set_on_device",
|
|
48950
|
+
"access_code.removed_from_device",
|
|
48951
|
+
"access_code.delay_in_setting_on_device",
|
|
48952
|
+
"access_code.failed_to_set_on_device",
|
|
48953
|
+
"access_code.deleted",
|
|
48954
|
+
"access_code.delay_in_removing_from_device",
|
|
48955
|
+
"access_code.failed_to_remove_from_device",
|
|
48956
|
+
"access_code.modified_external_to_seam",
|
|
48957
|
+
"access_code.deleted_external_to_seam",
|
|
48958
|
+
"access_code.backup_access_code_pulled",
|
|
48959
|
+
"access_code.unmanaged.converted_to_managed",
|
|
48960
|
+
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
48961
|
+
"access_code.unmanaged.created",
|
|
48962
|
+
"access_code.unmanaged.removed",
|
|
48963
|
+
"access_grant.created",
|
|
48964
|
+
"access_grant.deleted",
|
|
48965
|
+
"access_grant.access_granted_to_all_doors",
|
|
48966
|
+
"access_grant.access_granted_to_door",
|
|
48967
|
+
"access_grant.access_to_door_lost",
|
|
48968
|
+
"access_method.issued",
|
|
48969
|
+
"access_method.revoked",
|
|
48970
|
+
"access_method.card_encoding_required",
|
|
48971
|
+
"access_method.deleted",
|
|
48972
|
+
"access_method.reissued",
|
|
48973
|
+
"acs_system.connected",
|
|
48974
|
+
"acs_system.added",
|
|
48975
|
+
"acs_system.disconnected",
|
|
48976
|
+
"acs_credential.deleted",
|
|
48977
|
+
"acs_credential.issued",
|
|
48978
|
+
"acs_credential.reissued",
|
|
48979
|
+
"acs_credential.invalidated",
|
|
48980
|
+
"acs_user.created",
|
|
48981
|
+
"acs_user.deleted",
|
|
48982
|
+
"acs_encoder.added",
|
|
48983
|
+
"acs_encoder.removed",
|
|
48984
|
+
"acs_access_group.deleted",
|
|
48985
|
+
"acs_entrance.added",
|
|
48986
|
+
"acs_entrance.removed",
|
|
48987
|
+
"client_session.deleted",
|
|
48988
|
+
"connected_account.connected",
|
|
48989
|
+
"connected_account.created",
|
|
48990
|
+
"connected_account.successful_login",
|
|
48991
|
+
"connected_account.disconnected",
|
|
48992
|
+
"connected_account.completed_first_sync",
|
|
48993
|
+
"connected_account.deleted",
|
|
48994
|
+
"connected_account.completed_first_sync_after_reconnection",
|
|
48995
|
+
"action_attempt.lock_door.succeeded",
|
|
48996
|
+
"action_attempt.lock_door.failed",
|
|
48997
|
+
"action_attempt.unlock_door.succeeded",
|
|
48998
|
+
"action_attempt.unlock_door.failed",
|
|
48999
|
+
"connect_webview.login_succeeded",
|
|
49000
|
+
"connect_webview.login_failed",
|
|
49001
|
+
"device.connected",
|
|
49002
|
+
"device.added",
|
|
49003
|
+
"device.converted_to_unmanaged",
|
|
49004
|
+
"device.unmanaged.converted_to_managed",
|
|
49005
|
+
"device.unmanaged.connected",
|
|
49006
|
+
"device.disconnected",
|
|
49007
|
+
"device.unmanaged.disconnected",
|
|
49008
|
+
"device.tampered",
|
|
49009
|
+
"device.low_battery",
|
|
49010
|
+
"device.battery_status_changed",
|
|
49011
|
+
"device.removed",
|
|
49012
|
+
"device.deleted",
|
|
49013
|
+
"device.third_party_integration_detected",
|
|
49014
|
+
"device.third_party_integration_no_longer_detected",
|
|
49015
|
+
"device.salto.privacy_mode_activated",
|
|
49016
|
+
"device.salto.privacy_mode_deactivated",
|
|
49017
|
+
"device.connection_became_flaky",
|
|
49018
|
+
"device.connection_stabilized",
|
|
49019
|
+
"device.error.subscription_required",
|
|
49020
|
+
"device.error.subscription_required.resolved",
|
|
49021
|
+
"device.accessory_keypad_connected",
|
|
49022
|
+
"device.accessory_keypad_disconnected",
|
|
49023
|
+
"noise_sensor.noise_threshold_triggered",
|
|
49024
|
+
"lock.locked",
|
|
49025
|
+
"lock.unlocked",
|
|
49026
|
+
"lock.access_denied",
|
|
49027
|
+
"thermostat.climate_preset_activated",
|
|
49028
|
+
"thermostat.manually_adjusted",
|
|
49029
|
+
"thermostat.temperature_threshold_exceeded",
|
|
49030
|
+
"thermostat.temperature_threshold_no_longer_exceeded",
|
|
49031
|
+
"thermostat.temperature_reached_set_point",
|
|
49032
|
+
"thermostat.temperature_changed",
|
|
49033
|
+
"device.name_changed",
|
|
49034
|
+
"enrollment_automation.deleted",
|
|
49035
|
+
"phone.deactivated"
|
|
49036
|
+
],
|
|
49037
|
+
type: "string"
|
|
49038
|
+
}
|
|
49039
|
+
},
|
|
49040
|
+
{
|
|
49041
|
+
in: "query",
|
|
49042
|
+
name: "event_types",
|
|
49043
|
+
required: false,
|
|
49044
|
+
schema: {
|
|
49045
|
+
description: "Types of the events that you want to list.",
|
|
49046
|
+
items: {
|
|
49047
|
+
enum: [
|
|
49048
|
+
"access_code.created",
|
|
49049
|
+
"access_code.changed",
|
|
49050
|
+
"access_code.scheduled_on_device",
|
|
49051
|
+
"access_code.set_on_device",
|
|
49052
|
+
"access_code.removed_from_device",
|
|
49053
|
+
"access_code.delay_in_setting_on_device",
|
|
49054
|
+
"access_code.failed_to_set_on_device",
|
|
49055
|
+
"access_code.deleted",
|
|
49056
|
+
"access_code.delay_in_removing_from_device",
|
|
49057
|
+
"access_code.failed_to_remove_from_device",
|
|
49058
|
+
"access_code.modified_external_to_seam",
|
|
49059
|
+
"access_code.deleted_external_to_seam",
|
|
49060
|
+
"access_code.backup_access_code_pulled",
|
|
49061
|
+
"access_code.unmanaged.converted_to_managed",
|
|
49062
|
+
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
49063
|
+
"access_code.unmanaged.created",
|
|
49064
|
+
"access_code.unmanaged.removed",
|
|
49065
|
+
"access_grant.created",
|
|
49066
|
+
"access_grant.deleted",
|
|
49067
|
+
"access_grant.access_granted_to_all_doors",
|
|
49068
|
+
"access_grant.access_granted_to_door",
|
|
49069
|
+
"access_grant.access_to_door_lost",
|
|
49070
|
+
"access_method.issued",
|
|
49071
|
+
"access_method.revoked",
|
|
49072
|
+
"access_method.card_encoding_required",
|
|
49073
|
+
"access_method.deleted",
|
|
49074
|
+
"access_method.reissued",
|
|
49075
|
+
"acs_system.connected",
|
|
49076
|
+
"acs_system.added",
|
|
49077
|
+
"acs_system.disconnected",
|
|
49078
|
+
"acs_credential.deleted",
|
|
49079
|
+
"acs_credential.issued",
|
|
49080
|
+
"acs_credential.reissued",
|
|
49081
|
+
"acs_credential.invalidated",
|
|
49082
|
+
"acs_user.created",
|
|
49083
|
+
"acs_user.deleted",
|
|
49084
|
+
"acs_encoder.added",
|
|
49085
|
+
"acs_encoder.removed",
|
|
49086
|
+
"acs_access_group.deleted",
|
|
49087
|
+
"acs_entrance.added",
|
|
49088
|
+
"acs_entrance.removed",
|
|
49089
|
+
"client_session.deleted",
|
|
49090
|
+
"connected_account.connected",
|
|
49091
|
+
"connected_account.created",
|
|
49092
|
+
"connected_account.successful_login",
|
|
49093
|
+
"connected_account.disconnected",
|
|
49094
|
+
"connected_account.completed_first_sync",
|
|
49095
|
+
"connected_account.deleted",
|
|
49096
|
+
"connected_account.completed_first_sync_after_reconnection",
|
|
49097
|
+
"action_attempt.lock_door.succeeded",
|
|
49098
|
+
"action_attempt.lock_door.failed",
|
|
49099
|
+
"action_attempt.unlock_door.succeeded",
|
|
49100
|
+
"action_attempt.unlock_door.failed",
|
|
49101
|
+
"connect_webview.login_succeeded",
|
|
49102
|
+
"connect_webview.login_failed",
|
|
49103
|
+
"device.connected",
|
|
49104
|
+
"device.added",
|
|
49105
|
+
"device.converted_to_unmanaged",
|
|
49106
|
+
"device.unmanaged.converted_to_managed",
|
|
49107
|
+
"device.unmanaged.connected",
|
|
49108
|
+
"device.disconnected",
|
|
49109
|
+
"device.unmanaged.disconnected",
|
|
49110
|
+
"device.tampered",
|
|
49111
|
+
"device.low_battery",
|
|
49112
|
+
"device.battery_status_changed",
|
|
49113
|
+
"device.removed",
|
|
49114
|
+
"device.deleted",
|
|
49115
|
+
"device.third_party_integration_detected",
|
|
49116
|
+
"device.third_party_integration_no_longer_detected",
|
|
49117
|
+
"device.salto.privacy_mode_activated",
|
|
49118
|
+
"device.salto.privacy_mode_deactivated",
|
|
49119
|
+
"device.connection_became_flaky",
|
|
49120
|
+
"device.connection_stabilized",
|
|
49121
|
+
"device.error.subscription_required",
|
|
49122
|
+
"device.error.subscription_required.resolved",
|
|
49123
|
+
"device.accessory_keypad_connected",
|
|
49124
|
+
"device.accessory_keypad_disconnected",
|
|
49125
|
+
"noise_sensor.noise_threshold_triggered",
|
|
49126
|
+
"lock.locked",
|
|
49127
|
+
"lock.unlocked",
|
|
49128
|
+
"lock.access_denied",
|
|
49129
|
+
"thermostat.climate_preset_activated",
|
|
49130
|
+
"thermostat.manually_adjusted",
|
|
49131
|
+
"thermostat.temperature_threshold_exceeded",
|
|
49132
|
+
"thermostat.temperature_threshold_no_longer_exceeded",
|
|
49133
|
+
"thermostat.temperature_reached_set_point",
|
|
49134
|
+
"thermostat.temperature_changed",
|
|
49135
|
+
"device.name_changed",
|
|
49136
|
+
"enrollment_automation.deleted",
|
|
49137
|
+
"phone.deactivated"
|
|
49138
|
+
],
|
|
49139
|
+
type: "string"
|
|
49140
|
+
},
|
|
49141
|
+
type: "array"
|
|
49142
|
+
}
|
|
49143
|
+
},
|
|
49144
|
+
{
|
|
49145
|
+
in: "query",
|
|
49146
|
+
name: "limit",
|
|
49147
|
+
required: false,
|
|
49148
|
+
schema: {
|
|
49149
|
+
default: 500,
|
|
49150
|
+
description: "Numerical limit on the number of events to return.",
|
|
49151
|
+
format: "float",
|
|
49152
|
+
type: "number"
|
|
49153
|
+
}
|
|
49154
|
+
}
|
|
49155
|
+
],
|
|
49156
|
+
responses: {
|
|
49157
|
+
200: {
|
|
49158
|
+
content: {
|
|
49159
|
+
"application/json": {
|
|
49160
|
+
schema: {
|
|
49161
|
+
properties: {
|
|
49162
|
+
events: {
|
|
49163
|
+
items: { $ref: "#/components/schemas/event" },
|
|
49164
|
+
type: "array"
|
|
49165
|
+
},
|
|
49166
|
+
ok: { type: "boolean" }
|
|
49167
|
+
},
|
|
49168
|
+
required: ["events", "ok"],
|
|
49169
|
+
type: "object"
|
|
49170
|
+
}
|
|
49171
|
+
}
|
|
49172
|
+
},
|
|
49173
|
+
description: "OK"
|
|
49174
|
+
},
|
|
49175
|
+
400: { description: "Bad Request" },
|
|
49176
|
+
401: { description: "Unauthorized" }
|
|
49177
|
+
},
|
|
49178
|
+
security: [{ client_session_with_customer: [] }],
|
|
49179
|
+
summary: "/seam/customer/v1/events/list",
|
|
49180
|
+
tags: ["/events"],
|
|
49181
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "events"],
|
|
49182
|
+
"x-fern-sdk-method-name": "list",
|
|
49183
|
+
"x-fern-sdk-return-value": "events",
|
|
49184
|
+
"x-response-key": "events",
|
|
49185
|
+
"x-title": "List Events for Customer Space",
|
|
49186
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
49187
|
+
},
|
|
49188
|
+
post: {
|
|
49189
|
+
description: "Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.",
|
|
49190
|
+
operationId: "seamCustomerV1EventsListPost",
|
|
49191
|
+
requestBody: {
|
|
49192
|
+
content: {
|
|
49193
|
+
"application/json": {
|
|
49194
|
+
schema: {
|
|
49195
|
+
properties: {
|
|
49196
|
+
between: {
|
|
49197
|
+
description: "Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.",
|
|
49198
|
+
items: {
|
|
49199
|
+
oneOf: [
|
|
49200
|
+
{ type: "string" },
|
|
49201
|
+
{ format: "date-time", type: "string" }
|
|
49202
|
+
]
|
|
49203
|
+
},
|
|
49204
|
+
maxItems: 2,
|
|
49205
|
+
minItems: 2,
|
|
49206
|
+
type: "array"
|
|
49207
|
+
},
|
|
49208
|
+
event_type: {
|
|
49209
|
+
description: "Type of the events that you want to list.",
|
|
49210
|
+
enum: [
|
|
49211
|
+
"access_code.created",
|
|
49212
|
+
"access_code.changed",
|
|
49213
|
+
"access_code.scheduled_on_device",
|
|
49214
|
+
"access_code.set_on_device",
|
|
49215
|
+
"access_code.removed_from_device",
|
|
49216
|
+
"access_code.delay_in_setting_on_device",
|
|
49217
|
+
"access_code.failed_to_set_on_device",
|
|
49218
|
+
"access_code.deleted",
|
|
49219
|
+
"access_code.delay_in_removing_from_device",
|
|
49220
|
+
"access_code.failed_to_remove_from_device",
|
|
49221
|
+
"access_code.modified_external_to_seam",
|
|
49222
|
+
"access_code.deleted_external_to_seam",
|
|
49223
|
+
"access_code.backup_access_code_pulled",
|
|
49224
|
+
"access_code.unmanaged.converted_to_managed",
|
|
49225
|
+
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
49226
|
+
"access_code.unmanaged.created",
|
|
49227
|
+
"access_code.unmanaged.removed",
|
|
49228
|
+
"access_grant.created",
|
|
49229
|
+
"access_grant.deleted",
|
|
49230
|
+
"access_grant.access_granted_to_all_doors",
|
|
49231
|
+
"access_grant.access_granted_to_door",
|
|
49232
|
+
"access_grant.access_to_door_lost",
|
|
49233
|
+
"access_method.issued",
|
|
49234
|
+
"access_method.revoked",
|
|
49235
|
+
"access_method.card_encoding_required",
|
|
49236
|
+
"access_method.deleted",
|
|
49237
|
+
"access_method.reissued",
|
|
49238
|
+
"acs_system.connected",
|
|
49239
|
+
"acs_system.added",
|
|
49240
|
+
"acs_system.disconnected",
|
|
49241
|
+
"acs_credential.deleted",
|
|
49242
|
+
"acs_credential.issued",
|
|
49243
|
+
"acs_credential.reissued",
|
|
49244
|
+
"acs_credential.invalidated",
|
|
49245
|
+
"acs_user.created",
|
|
49246
|
+
"acs_user.deleted",
|
|
49247
|
+
"acs_encoder.added",
|
|
49248
|
+
"acs_encoder.removed",
|
|
49249
|
+
"acs_access_group.deleted",
|
|
49250
|
+
"acs_entrance.added",
|
|
49251
|
+
"acs_entrance.removed",
|
|
49252
|
+
"client_session.deleted",
|
|
49253
|
+
"connected_account.connected",
|
|
49254
|
+
"connected_account.created",
|
|
49255
|
+
"connected_account.successful_login",
|
|
49256
|
+
"connected_account.disconnected",
|
|
49257
|
+
"connected_account.completed_first_sync",
|
|
49258
|
+
"connected_account.deleted",
|
|
49259
|
+
"connected_account.completed_first_sync_after_reconnection",
|
|
49260
|
+
"action_attempt.lock_door.succeeded",
|
|
49261
|
+
"action_attempt.lock_door.failed",
|
|
49262
|
+
"action_attempt.unlock_door.succeeded",
|
|
49263
|
+
"action_attempt.unlock_door.failed",
|
|
49264
|
+
"connect_webview.login_succeeded",
|
|
49265
|
+
"connect_webview.login_failed",
|
|
49266
|
+
"device.connected",
|
|
49267
|
+
"device.added",
|
|
49268
|
+
"device.converted_to_unmanaged",
|
|
49269
|
+
"device.unmanaged.converted_to_managed",
|
|
49270
|
+
"device.unmanaged.connected",
|
|
49271
|
+
"device.disconnected",
|
|
49272
|
+
"device.unmanaged.disconnected",
|
|
49273
|
+
"device.tampered",
|
|
49274
|
+
"device.low_battery",
|
|
49275
|
+
"device.battery_status_changed",
|
|
49276
|
+
"device.removed",
|
|
49277
|
+
"device.deleted",
|
|
49278
|
+
"device.third_party_integration_detected",
|
|
49279
|
+
"device.third_party_integration_no_longer_detected",
|
|
49280
|
+
"device.salto.privacy_mode_activated",
|
|
49281
|
+
"device.salto.privacy_mode_deactivated",
|
|
49282
|
+
"device.connection_became_flaky",
|
|
49283
|
+
"device.connection_stabilized",
|
|
49284
|
+
"device.error.subscription_required",
|
|
49285
|
+
"device.error.subscription_required.resolved",
|
|
49286
|
+
"device.accessory_keypad_connected",
|
|
49287
|
+
"device.accessory_keypad_disconnected",
|
|
49288
|
+
"noise_sensor.noise_threshold_triggered",
|
|
49289
|
+
"lock.locked",
|
|
49290
|
+
"lock.unlocked",
|
|
49291
|
+
"lock.access_denied",
|
|
49292
|
+
"thermostat.climate_preset_activated",
|
|
49293
|
+
"thermostat.manually_adjusted",
|
|
49294
|
+
"thermostat.temperature_threshold_exceeded",
|
|
49295
|
+
"thermostat.temperature_threshold_no_longer_exceeded",
|
|
49296
|
+
"thermostat.temperature_reached_set_point",
|
|
49297
|
+
"thermostat.temperature_changed",
|
|
49298
|
+
"device.name_changed",
|
|
49299
|
+
"enrollment_automation.deleted",
|
|
49300
|
+
"phone.deactivated"
|
|
49301
|
+
],
|
|
49302
|
+
type: "string"
|
|
49303
|
+
},
|
|
49304
|
+
event_types: {
|
|
49305
|
+
description: "Types of the events that you want to list.",
|
|
49306
|
+
items: {
|
|
49307
|
+
enum: [
|
|
49308
|
+
"access_code.created",
|
|
49309
|
+
"access_code.changed",
|
|
49310
|
+
"access_code.scheduled_on_device",
|
|
49311
|
+
"access_code.set_on_device",
|
|
49312
|
+
"access_code.removed_from_device",
|
|
49313
|
+
"access_code.delay_in_setting_on_device",
|
|
49314
|
+
"access_code.failed_to_set_on_device",
|
|
49315
|
+
"access_code.deleted",
|
|
49316
|
+
"access_code.delay_in_removing_from_device",
|
|
49317
|
+
"access_code.failed_to_remove_from_device",
|
|
49318
|
+
"access_code.modified_external_to_seam",
|
|
49319
|
+
"access_code.deleted_external_to_seam",
|
|
49320
|
+
"access_code.backup_access_code_pulled",
|
|
49321
|
+
"access_code.unmanaged.converted_to_managed",
|
|
49322
|
+
"access_code.unmanaged.failed_to_convert_to_managed",
|
|
49323
|
+
"access_code.unmanaged.created",
|
|
49324
|
+
"access_code.unmanaged.removed",
|
|
49325
|
+
"access_grant.created",
|
|
49326
|
+
"access_grant.deleted",
|
|
49327
|
+
"access_grant.access_granted_to_all_doors",
|
|
49328
|
+
"access_grant.access_granted_to_door",
|
|
49329
|
+
"access_grant.access_to_door_lost",
|
|
49330
|
+
"access_method.issued",
|
|
49331
|
+
"access_method.revoked",
|
|
49332
|
+
"access_method.card_encoding_required",
|
|
49333
|
+
"access_method.deleted",
|
|
49334
|
+
"access_method.reissued",
|
|
49335
|
+
"acs_system.connected",
|
|
49336
|
+
"acs_system.added",
|
|
49337
|
+
"acs_system.disconnected",
|
|
49338
|
+
"acs_credential.deleted",
|
|
49339
|
+
"acs_credential.issued",
|
|
49340
|
+
"acs_credential.reissued",
|
|
49341
|
+
"acs_credential.invalidated",
|
|
49342
|
+
"acs_user.created",
|
|
49343
|
+
"acs_user.deleted",
|
|
49344
|
+
"acs_encoder.added",
|
|
49345
|
+
"acs_encoder.removed",
|
|
49346
|
+
"acs_access_group.deleted",
|
|
49347
|
+
"acs_entrance.added",
|
|
49348
|
+
"acs_entrance.removed",
|
|
49349
|
+
"client_session.deleted",
|
|
49350
|
+
"connected_account.connected",
|
|
49351
|
+
"connected_account.created",
|
|
49352
|
+
"connected_account.successful_login",
|
|
49353
|
+
"connected_account.disconnected",
|
|
49354
|
+
"connected_account.completed_first_sync",
|
|
49355
|
+
"connected_account.deleted",
|
|
49356
|
+
"connected_account.completed_first_sync_after_reconnection",
|
|
49357
|
+
"action_attempt.lock_door.succeeded",
|
|
49358
|
+
"action_attempt.lock_door.failed",
|
|
49359
|
+
"action_attempt.unlock_door.succeeded",
|
|
49360
|
+
"action_attempt.unlock_door.failed",
|
|
49361
|
+
"connect_webview.login_succeeded",
|
|
49362
|
+
"connect_webview.login_failed",
|
|
49363
|
+
"device.connected",
|
|
49364
|
+
"device.added",
|
|
49365
|
+
"device.converted_to_unmanaged",
|
|
49366
|
+
"device.unmanaged.converted_to_managed",
|
|
49367
|
+
"device.unmanaged.connected",
|
|
49368
|
+
"device.disconnected",
|
|
49369
|
+
"device.unmanaged.disconnected",
|
|
49370
|
+
"device.tampered",
|
|
49371
|
+
"device.low_battery",
|
|
49372
|
+
"device.battery_status_changed",
|
|
49373
|
+
"device.removed",
|
|
49374
|
+
"device.deleted",
|
|
49375
|
+
"device.third_party_integration_detected",
|
|
49376
|
+
"device.third_party_integration_no_longer_detected",
|
|
49377
|
+
"device.salto.privacy_mode_activated",
|
|
49378
|
+
"device.salto.privacy_mode_deactivated",
|
|
49379
|
+
"device.connection_became_flaky",
|
|
49380
|
+
"device.connection_stabilized",
|
|
49381
|
+
"device.error.subscription_required",
|
|
49382
|
+
"device.error.subscription_required.resolved",
|
|
49383
|
+
"device.accessory_keypad_connected",
|
|
49384
|
+
"device.accessory_keypad_disconnected",
|
|
49385
|
+
"noise_sensor.noise_threshold_triggered",
|
|
49386
|
+
"lock.locked",
|
|
49387
|
+
"lock.unlocked",
|
|
49388
|
+
"lock.access_denied",
|
|
49389
|
+
"thermostat.climate_preset_activated",
|
|
49390
|
+
"thermostat.manually_adjusted",
|
|
49391
|
+
"thermostat.temperature_threshold_exceeded",
|
|
49392
|
+
"thermostat.temperature_threshold_no_longer_exceeded",
|
|
49393
|
+
"thermostat.temperature_reached_set_point",
|
|
49394
|
+
"thermostat.temperature_changed",
|
|
49395
|
+
"device.name_changed",
|
|
49396
|
+
"enrollment_automation.deleted",
|
|
49397
|
+
"phone.deactivated"
|
|
49398
|
+
],
|
|
49399
|
+
type: "string"
|
|
49400
|
+
},
|
|
49401
|
+
type: "array"
|
|
49402
|
+
},
|
|
49403
|
+
limit: {
|
|
49404
|
+
default: 500,
|
|
49405
|
+
description: "Numerical limit on the number of events to return.",
|
|
49406
|
+
format: "float",
|
|
49407
|
+
type: "number"
|
|
49408
|
+
},
|
|
49409
|
+
since: {
|
|
49410
|
+
description: "Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.",
|
|
49411
|
+
type: "string"
|
|
49412
|
+
},
|
|
49413
|
+
space_id: {
|
|
49414
|
+
description: "ID of the space for which you want to list events.",
|
|
49415
|
+
format: "uuid",
|
|
49416
|
+
type: "string"
|
|
49417
|
+
}
|
|
49418
|
+
},
|
|
49419
|
+
required: ["space_id"],
|
|
49420
|
+
type: "object"
|
|
49421
|
+
}
|
|
49422
|
+
}
|
|
49423
|
+
}
|
|
49424
|
+
},
|
|
49425
|
+
responses: {
|
|
49426
|
+
200: {
|
|
49427
|
+
content: {
|
|
49428
|
+
"application/json": {
|
|
49429
|
+
schema: {
|
|
49430
|
+
properties: {
|
|
49431
|
+
events: {
|
|
49432
|
+
items: { $ref: "#/components/schemas/event" },
|
|
49433
|
+
type: "array"
|
|
49434
|
+
},
|
|
49435
|
+
ok: { type: "boolean" }
|
|
49436
|
+
},
|
|
49437
|
+
required: ["events", "ok"],
|
|
49438
|
+
type: "object"
|
|
49439
|
+
}
|
|
49440
|
+
}
|
|
49441
|
+
},
|
|
49442
|
+
description: "OK"
|
|
49443
|
+
},
|
|
49444
|
+
400: { description: "Bad Request" },
|
|
49445
|
+
401: { description: "Unauthorized" }
|
|
49446
|
+
},
|
|
49447
|
+
security: [{ client_session_with_customer: [] }],
|
|
49448
|
+
summary: "/seam/customer/v1/events/list",
|
|
49449
|
+
tags: ["/events"],
|
|
49450
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "events"],
|
|
49451
|
+
"x-fern-sdk-method-name": "list",
|
|
49452
|
+
"x-fern-sdk-return-value": "events",
|
|
49453
|
+
"x-response-key": "events",
|
|
49454
|
+
"x-title": "List Events for Customer Space",
|
|
49455
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
49456
|
+
}
|
|
49457
|
+
},
|
|
48898
49458
|
"/seam/customer/v1/portals/get": {
|
|
48899
49459
|
get: {
|
|
48900
49460
|
description: "Retrieves the configuration for a customer portal identified by customer_portal_id.",
|
|
@@ -49075,6 +49635,92 @@ var openapi_default = {
|
|
|
49075
49635
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
49076
49636
|
}
|
|
49077
49637
|
},
|
|
49638
|
+
"/seam/customer/v1/settings/get": {
|
|
49639
|
+
get: {
|
|
49640
|
+
description: "Retrieves the settings for a customer portal workspace.",
|
|
49641
|
+
operationId: "seamCustomerV1SettingsGetGet",
|
|
49642
|
+
responses: {
|
|
49643
|
+
200: {
|
|
49644
|
+
content: {
|
|
49645
|
+
"application/json": {
|
|
49646
|
+
schema: {
|
|
49647
|
+
properties: {
|
|
49648
|
+
business_vertical: {
|
|
49649
|
+
description: "Business vertical of the customer portal.",
|
|
49650
|
+
enum: [
|
|
49651
|
+
"short_term_rental",
|
|
49652
|
+
"hospitality",
|
|
49653
|
+
"multi_family",
|
|
49654
|
+
"gym_management",
|
|
49655
|
+
"property_tours"
|
|
49656
|
+
],
|
|
49657
|
+
type: "string"
|
|
49658
|
+
},
|
|
49659
|
+
ok: { type: "boolean" }
|
|
49660
|
+
},
|
|
49661
|
+
required: ["ok"],
|
|
49662
|
+
type: "object"
|
|
49663
|
+
}
|
|
49664
|
+
}
|
|
49665
|
+
},
|
|
49666
|
+
description: "OK"
|
|
49667
|
+
},
|
|
49668
|
+
400: { description: "Bad Request" },
|
|
49669
|
+
401: { description: "Unauthorized" }
|
|
49670
|
+
},
|
|
49671
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
49672
|
+
summary: "/seam/customer/v1/settings/get",
|
|
49673
|
+
tags: [],
|
|
49674
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "settings"],
|
|
49675
|
+
"x-fern-sdk-method-name": "get",
|
|
49676
|
+
"x-fern-sdk-return-value": "business_vertical",
|
|
49677
|
+
"x-response-key": "business_vertical",
|
|
49678
|
+
"x-title": "Get Customer Portal Settings",
|
|
49679
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
49680
|
+
},
|
|
49681
|
+
post: {
|
|
49682
|
+
description: "Retrieves the settings for a customer portal workspace.",
|
|
49683
|
+
operationId: "seamCustomerV1SettingsGetPost",
|
|
49684
|
+
responses: {
|
|
49685
|
+
200: {
|
|
49686
|
+
content: {
|
|
49687
|
+
"application/json": {
|
|
49688
|
+
schema: {
|
|
49689
|
+
properties: {
|
|
49690
|
+
business_vertical: {
|
|
49691
|
+
description: "Business vertical of the customer portal.",
|
|
49692
|
+
enum: [
|
|
49693
|
+
"short_term_rental",
|
|
49694
|
+
"hospitality",
|
|
49695
|
+
"multi_family",
|
|
49696
|
+
"gym_management",
|
|
49697
|
+
"property_tours"
|
|
49698
|
+
],
|
|
49699
|
+
type: "string"
|
|
49700
|
+
},
|
|
49701
|
+
ok: { type: "boolean" }
|
|
49702
|
+
},
|
|
49703
|
+
required: ["ok"],
|
|
49704
|
+
type: "object"
|
|
49705
|
+
}
|
|
49706
|
+
}
|
|
49707
|
+
},
|
|
49708
|
+
description: "OK"
|
|
49709
|
+
},
|
|
49710
|
+
400: { description: "Bad Request" },
|
|
49711
|
+
401: { description: "Unauthorized" }
|
|
49712
|
+
},
|
|
49713
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
49714
|
+
summary: "/seam/customer/v1/settings/get",
|
|
49715
|
+
tags: [],
|
|
49716
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "settings"],
|
|
49717
|
+
"x-fern-sdk-method-name": "get",
|
|
49718
|
+
"x-fern-sdk-return-value": "business_vertical",
|
|
49719
|
+
"x-response-key": "business_vertical",
|
|
49720
|
+
"x-title": "Get Customer Portal Settings",
|
|
49721
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
49722
|
+
}
|
|
49723
|
+
},
|
|
49078
49724
|
"/seam/customer/v1/settings/update": {
|
|
49079
49725
|
patch: {
|
|
49080
49726
|
description: "Updates the settings for a customer portal workspace.",
|