@seamapi/types 1.772.0 → 1.774.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 +508 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1506 -707
- package/dist/index.cjs +508 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +48 -34
- package/lib/seam/connect/models/devices/device.d.ts +14 -9
- package/lib/seam/connect/models/devices/device.js +8 -3
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +14 -9
- package/lib/seam/connect/openapi.d.ts +528 -2
- package/lib/seam/connect/openapi.js +500 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +289 -40
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +8 -3
- package/src/lib/seam/connect/openapi.ts +551 -6
- package/src/lib/seam/connect/route-types.ts +469 -160
package/dist/connect.d.cts
CHANGED
|
@@ -14516,13 +14516,16 @@ declare const batch: z.ZodObject<{
|
|
|
14516
14516
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
14517
14517
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
14518
14518
|
}>>>;
|
|
14519
|
-
location: z.
|
|
14519
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
14520
14520
|
location_name: z.ZodOptional<z.ZodString>;
|
|
14521
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
14521
14522
|
timezone: z.ZodOptional<z.ZodString>;
|
|
14522
14523
|
}, "strip", z.ZodTypeAny, {
|
|
14524
|
+
time_zone?: string | undefined;
|
|
14523
14525
|
location_name?: string | undefined;
|
|
14524
14526
|
timezone?: string | undefined;
|
|
14525
14527
|
}, {
|
|
14528
|
+
time_zone?: string | undefined;
|
|
14526
14529
|
location_name?: string | undefined;
|
|
14527
14530
|
timezone?: string | undefined;
|
|
14528
14531
|
}>>;
|
|
@@ -15907,10 +15910,6 @@ declare const batch: z.ZodObject<{
|
|
|
15907
15910
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
15908
15911
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
15909
15912
|
};
|
|
15910
|
-
location: {
|
|
15911
|
-
location_name?: string | undefined;
|
|
15912
|
-
timezone?: string | undefined;
|
|
15913
|
-
} | null;
|
|
15914
15913
|
is_managed: true;
|
|
15915
15914
|
can_remotely_unlock?: boolean | undefined;
|
|
15916
15915
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -15933,6 +15932,11 @@ declare const batch: z.ZodObject<{
|
|
|
15933
15932
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
15934
15933
|
can_configure_auto_lock?: boolean | undefined;
|
|
15935
15934
|
nickname?: string | undefined;
|
|
15935
|
+
location?: {
|
|
15936
|
+
time_zone?: string | undefined;
|
|
15937
|
+
location_name?: string | undefined;
|
|
15938
|
+
timezone?: string | undefined;
|
|
15939
|
+
} | undefined;
|
|
15936
15940
|
device_provider?: {
|
|
15937
15941
|
display_name: string;
|
|
15938
15942
|
provider_category: string;
|
|
@@ -16628,10 +16632,6 @@ declare const batch: z.ZodObject<{
|
|
|
16628
16632
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
16629
16633
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
16630
16634
|
};
|
|
16631
|
-
location: {
|
|
16632
|
-
location_name?: string | undefined;
|
|
16633
|
-
timezone?: string | undefined;
|
|
16634
|
-
} | null;
|
|
16635
16635
|
is_managed: true;
|
|
16636
16636
|
can_remotely_unlock?: boolean | undefined;
|
|
16637
16637
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -16654,6 +16654,11 @@ declare const batch: z.ZodObject<{
|
|
|
16654
16654
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
16655
16655
|
can_configure_auto_lock?: boolean | undefined;
|
|
16656
16656
|
nickname?: string | undefined;
|
|
16657
|
+
location?: {
|
|
16658
|
+
time_zone?: string | undefined;
|
|
16659
|
+
location_name?: string | undefined;
|
|
16660
|
+
timezone?: string | undefined;
|
|
16661
|
+
} | undefined;
|
|
16657
16662
|
device_provider?: {
|
|
16658
16663
|
display_name: string;
|
|
16659
16664
|
provider_category: string;
|
|
@@ -27027,13 +27032,16 @@ declare const batch: z.ZodObject<{
|
|
|
27027
27032
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
27028
27033
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
27029
27034
|
}>>>;
|
|
27030
|
-
location: z.
|
|
27035
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
27031
27036
|
location_name: z.ZodOptional<z.ZodString>;
|
|
27037
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
27032
27038
|
timezone: z.ZodOptional<z.ZodString>;
|
|
27033
27039
|
}, "strip", z.ZodTypeAny, {
|
|
27040
|
+
time_zone?: string | undefined;
|
|
27034
27041
|
location_name?: string | undefined;
|
|
27035
27042
|
timezone?: string | undefined;
|
|
27036
27043
|
}, {
|
|
27044
|
+
time_zone?: string | undefined;
|
|
27037
27045
|
location_name?: string | undefined;
|
|
27038
27046
|
timezone?: string | undefined;
|
|
27039
27047
|
}>>;
|
|
@@ -28122,10 +28130,263 @@ declare const batch: z.ZodObject<{
|
|
|
28122
28130
|
online_access_codes_enabled?: boolean | undefined;
|
|
28123
28131
|
offline_access_codes_enabled?: boolean | undefined;
|
|
28124
28132
|
};
|
|
28125
|
-
|
|
28133
|
+
is_managed: false;
|
|
28134
|
+
can_remotely_unlock?: boolean | undefined;
|
|
28135
|
+
can_remotely_lock?: boolean | undefined;
|
|
28136
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
28137
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
28138
|
+
can_hvac_heat?: boolean | undefined;
|
|
28139
|
+
can_hvac_cool?: boolean | undefined;
|
|
28140
|
+
can_hvac_heat_cool?: boolean | undefined;
|
|
28141
|
+
can_turn_off_hvac?: boolean | undefined;
|
|
28142
|
+
can_simulate_removal?: boolean | undefined;
|
|
28143
|
+
can_simulate_connection?: boolean | undefined;
|
|
28144
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
28145
|
+
can_unlock_with_code?: boolean | undefined;
|
|
28146
|
+
can_run_thermostat_programs?: boolean | undefined;
|
|
28147
|
+
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
28148
|
+
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
28149
|
+
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
28150
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
28151
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
28152
|
+
can_simulate_paid_subscription?: boolean | undefined;
|
|
28153
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
28154
|
+
location?: {
|
|
28155
|
+
time_zone?: string | undefined;
|
|
28126
28156
|
location_name?: string | undefined;
|
|
28127
28157
|
timezone?: string | undefined;
|
|
28128
|
-
} |
|
|
28158
|
+
} | undefined;
|
|
28159
|
+
}, {
|
|
28160
|
+
device_id: string;
|
|
28161
|
+
workspace_id: string;
|
|
28162
|
+
created_at: string;
|
|
28163
|
+
errors: ({
|
|
28164
|
+
message: string;
|
|
28165
|
+
created_at: string;
|
|
28166
|
+
error_code: "account_disconnected";
|
|
28167
|
+
is_connected_account_error?: boolean | undefined;
|
|
28168
|
+
is_bridge_error?: boolean | undefined;
|
|
28169
|
+
} | {
|
|
28170
|
+
message: string;
|
|
28171
|
+
created_at: string;
|
|
28172
|
+
error_code: "bridge_disconnected";
|
|
28173
|
+
is_connected_account_error?: boolean | undefined;
|
|
28174
|
+
is_bridge_error?: boolean | undefined;
|
|
28175
|
+
} | {
|
|
28176
|
+
message: string;
|
|
28177
|
+
created_at: string;
|
|
28178
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
28179
|
+
salto_ks_metadata: {
|
|
28180
|
+
sites: {
|
|
28181
|
+
site_id: string;
|
|
28182
|
+
site_name: string;
|
|
28183
|
+
subscribed_site_user_count: number;
|
|
28184
|
+
site_user_subscription_limit: number;
|
|
28185
|
+
}[];
|
|
28186
|
+
};
|
|
28187
|
+
is_connected_account_error?: boolean | undefined;
|
|
28188
|
+
is_bridge_error?: boolean | undefined;
|
|
28189
|
+
} | {
|
|
28190
|
+
message: string;
|
|
28191
|
+
created_at: string;
|
|
28192
|
+
error_code: "device_offline";
|
|
28193
|
+
is_device_error: true;
|
|
28194
|
+
} | {
|
|
28195
|
+
message: string;
|
|
28196
|
+
created_at: string;
|
|
28197
|
+
error_code: "device_removed";
|
|
28198
|
+
is_device_error: true;
|
|
28199
|
+
} | {
|
|
28200
|
+
message: string;
|
|
28201
|
+
created_at: string;
|
|
28202
|
+
error_code: "hub_disconnected";
|
|
28203
|
+
is_device_error: true;
|
|
28204
|
+
} | {
|
|
28205
|
+
message: string;
|
|
28206
|
+
created_at: string;
|
|
28207
|
+
error_code: "device_disconnected";
|
|
28208
|
+
is_device_error: true;
|
|
28209
|
+
} | {
|
|
28210
|
+
message: string;
|
|
28211
|
+
created_at: string;
|
|
28212
|
+
error_code: "account_disconnected";
|
|
28213
|
+
is_connected_account_error: true;
|
|
28214
|
+
is_device_error: false;
|
|
28215
|
+
} | {
|
|
28216
|
+
message: string;
|
|
28217
|
+
created_at: string;
|
|
28218
|
+
error_code: "empty_backup_access_code_pool";
|
|
28219
|
+
is_device_error: true;
|
|
28220
|
+
} | {
|
|
28221
|
+
message: string;
|
|
28222
|
+
created_at: string;
|
|
28223
|
+
error_code: "august_lock_not_authorized";
|
|
28224
|
+
is_device_error: true;
|
|
28225
|
+
} | {
|
|
28226
|
+
message: string;
|
|
28227
|
+
created_at: string;
|
|
28228
|
+
error_code: "august_lock_missing_bridge";
|
|
28229
|
+
is_device_error: true;
|
|
28230
|
+
} | {
|
|
28231
|
+
message: string;
|
|
28232
|
+
created_at: string;
|
|
28233
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
28234
|
+
is_connected_account_error: true;
|
|
28235
|
+
is_device_error: false;
|
|
28236
|
+
} | {
|
|
28237
|
+
message: string;
|
|
28238
|
+
created_at: string;
|
|
28239
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
28240
|
+
is_device_error: true;
|
|
28241
|
+
} | {
|
|
28242
|
+
message: string;
|
|
28243
|
+
created_at: string;
|
|
28244
|
+
error_code: "missing_device_credentials";
|
|
28245
|
+
is_device_error: true;
|
|
28246
|
+
} | {
|
|
28247
|
+
message: string;
|
|
28248
|
+
created_at: string;
|
|
28249
|
+
error_code: "auxiliary_heat_running";
|
|
28250
|
+
is_device_error: true;
|
|
28251
|
+
} | {
|
|
28252
|
+
message: string;
|
|
28253
|
+
created_at: string;
|
|
28254
|
+
error_code: "subscription_required";
|
|
28255
|
+
is_device_error: true;
|
|
28256
|
+
} | {
|
|
28257
|
+
message: string;
|
|
28258
|
+
created_at: string;
|
|
28259
|
+
error_code: "lockly_missing_wifi_bridge";
|
|
28260
|
+
is_device_error: true;
|
|
28261
|
+
})[];
|
|
28262
|
+
connected_account_id: string;
|
|
28263
|
+
warnings: ({
|
|
28264
|
+
message: string;
|
|
28265
|
+
created_at: string;
|
|
28266
|
+
warning_code: "partial_backup_access_code_pool";
|
|
28267
|
+
} | {
|
|
28268
|
+
message: string;
|
|
28269
|
+
created_at: string;
|
|
28270
|
+
warning_code: "many_active_backup_codes";
|
|
28271
|
+
} | {
|
|
28272
|
+
message: string;
|
|
28273
|
+
created_at: string;
|
|
28274
|
+
warning_code: "salto_ks_office_mode";
|
|
28275
|
+
} | {
|
|
28276
|
+
message: string;
|
|
28277
|
+
created_at: string;
|
|
28278
|
+
warning_code: "salto_ks_privacy_mode";
|
|
28279
|
+
} | {
|
|
28280
|
+
message: string;
|
|
28281
|
+
created_at: string;
|
|
28282
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
28283
|
+
} | {
|
|
28284
|
+
message: string;
|
|
28285
|
+
created_at: string;
|
|
28286
|
+
warning_code: "wyze_device_missing_gateway";
|
|
28287
|
+
} | {
|
|
28288
|
+
message: string;
|
|
28289
|
+
created_at: string;
|
|
28290
|
+
warning_code: "third_party_integration_detected";
|
|
28291
|
+
} | {
|
|
28292
|
+
message: string;
|
|
28293
|
+
created_at: string;
|
|
28294
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
28295
|
+
} | {
|
|
28296
|
+
message: string;
|
|
28297
|
+
created_at: string;
|
|
28298
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
28299
|
+
} | {
|
|
28300
|
+
message: string;
|
|
28301
|
+
created_at: string;
|
|
28302
|
+
warning_code: "power_saving_mode";
|
|
28303
|
+
} | {
|
|
28304
|
+
message: string;
|
|
28305
|
+
created_at: string;
|
|
28306
|
+
warning_code: "temperature_threshold_exceeded";
|
|
28307
|
+
} | {
|
|
28308
|
+
message: string;
|
|
28309
|
+
created_at: string;
|
|
28310
|
+
warning_code: "device_communication_degraded";
|
|
28311
|
+
} | {
|
|
28312
|
+
message: string;
|
|
28313
|
+
created_at: string;
|
|
28314
|
+
warning_code: "scheduled_maintenance_window";
|
|
28315
|
+
} | {
|
|
28316
|
+
message: string;
|
|
28317
|
+
created_at: string;
|
|
28318
|
+
warning_code: "device_has_flaky_connection";
|
|
28319
|
+
} | {
|
|
28320
|
+
message: string;
|
|
28321
|
+
created_at: string;
|
|
28322
|
+
warning_code: "lockly_time_zone_not_configured";
|
|
28323
|
+
} | {
|
|
28324
|
+
message: string;
|
|
28325
|
+
created_at: string;
|
|
28326
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
28327
|
+
} | {
|
|
28328
|
+
message: string;
|
|
28329
|
+
created_at: string;
|
|
28330
|
+
warning_code: "two_n_device_missing_timezone";
|
|
28331
|
+
} | {
|
|
28332
|
+
message: string;
|
|
28333
|
+
created_at: string;
|
|
28334
|
+
warning_code: "unknown_issue_with_phone";
|
|
28335
|
+
} | {
|
|
28336
|
+
message: string;
|
|
28337
|
+
created_at: string;
|
|
28338
|
+
warning_code: "hub_required_for_additional_capabilities";
|
|
28339
|
+
} | {
|
|
28340
|
+
message: string;
|
|
28341
|
+
created_at: string;
|
|
28342
|
+
warning_code: "keynest_unsupported_locker";
|
|
28343
|
+
} | {
|
|
28344
|
+
message: string;
|
|
28345
|
+
created_at: string;
|
|
28346
|
+
warning_code: "accessory_keypad_setup_required";
|
|
28347
|
+
} | {
|
|
28348
|
+
message: string;
|
|
28349
|
+
created_at: string;
|
|
28350
|
+
warning_code: "unreliable_online_status";
|
|
28351
|
+
} | {
|
|
28352
|
+
message: string;
|
|
28353
|
+
created_at: string;
|
|
28354
|
+
warning_code: "max_access_codes_reached";
|
|
28355
|
+
active_access_code_count: number;
|
|
28356
|
+
max_active_access_code_count: number;
|
|
28357
|
+
})[];
|
|
28358
|
+
custom_metadata: Record<string, string | boolean>;
|
|
28359
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
28360
|
+
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
28361
|
+
properties: {
|
|
28362
|
+
name: string;
|
|
28363
|
+
model: {
|
|
28364
|
+
display_name: string;
|
|
28365
|
+
manufacturer_display_name: string;
|
|
28366
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
28367
|
+
has_built_in_keypad?: boolean | undefined;
|
|
28368
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
28369
|
+
online_access_codes_supported?: boolean | undefined;
|
|
28370
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
28371
|
+
};
|
|
28372
|
+
online: boolean;
|
|
28373
|
+
battery?: {
|
|
28374
|
+
status: "critical" | "low" | "good" | "full";
|
|
28375
|
+
level: number;
|
|
28376
|
+
} | undefined;
|
|
28377
|
+
image_url?: string | undefined;
|
|
28378
|
+
battery_level?: number | undefined;
|
|
28379
|
+
manufacturer?: string | undefined;
|
|
28380
|
+
accessory_keypad?: {
|
|
28381
|
+
is_connected: boolean;
|
|
28382
|
+
battery?: {
|
|
28383
|
+
level: number;
|
|
28384
|
+
} | undefined;
|
|
28385
|
+
} | undefined;
|
|
28386
|
+
image_alt_text?: string | undefined;
|
|
28387
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
28388
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
28389
|
+
};
|
|
28129
28390
|
is_managed: false;
|
|
28130
28391
|
can_remotely_unlock?: boolean | undefined;
|
|
28131
28392
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -28147,262 +28408,11 @@ declare const batch: z.ZodObject<{
|
|
|
28147
28408
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
28148
28409
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
28149
28410
|
can_configure_auto_lock?: boolean | undefined;
|
|
28150
|
-
|
|
28151
|
-
|
|
28152
|
-
workspace_id: string;
|
|
28153
|
-
created_at: string;
|
|
28154
|
-
errors: ({
|
|
28155
|
-
message: string;
|
|
28156
|
-
created_at: string;
|
|
28157
|
-
error_code: "account_disconnected";
|
|
28158
|
-
is_connected_account_error?: boolean | undefined;
|
|
28159
|
-
is_bridge_error?: boolean | undefined;
|
|
28160
|
-
} | {
|
|
28161
|
-
message: string;
|
|
28162
|
-
created_at: string;
|
|
28163
|
-
error_code: "bridge_disconnected";
|
|
28164
|
-
is_connected_account_error?: boolean | undefined;
|
|
28165
|
-
is_bridge_error?: boolean | undefined;
|
|
28166
|
-
} | {
|
|
28167
|
-
message: string;
|
|
28168
|
-
created_at: string;
|
|
28169
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
28170
|
-
salto_ks_metadata: {
|
|
28171
|
-
sites: {
|
|
28172
|
-
site_id: string;
|
|
28173
|
-
site_name: string;
|
|
28174
|
-
subscribed_site_user_count: number;
|
|
28175
|
-
site_user_subscription_limit: number;
|
|
28176
|
-
}[];
|
|
28177
|
-
};
|
|
28178
|
-
is_connected_account_error?: boolean | undefined;
|
|
28179
|
-
is_bridge_error?: boolean | undefined;
|
|
28180
|
-
} | {
|
|
28181
|
-
message: string;
|
|
28182
|
-
created_at: string;
|
|
28183
|
-
error_code: "device_offline";
|
|
28184
|
-
is_device_error: true;
|
|
28185
|
-
} | {
|
|
28186
|
-
message: string;
|
|
28187
|
-
created_at: string;
|
|
28188
|
-
error_code: "device_removed";
|
|
28189
|
-
is_device_error: true;
|
|
28190
|
-
} | {
|
|
28191
|
-
message: string;
|
|
28192
|
-
created_at: string;
|
|
28193
|
-
error_code: "hub_disconnected";
|
|
28194
|
-
is_device_error: true;
|
|
28195
|
-
} | {
|
|
28196
|
-
message: string;
|
|
28197
|
-
created_at: string;
|
|
28198
|
-
error_code: "device_disconnected";
|
|
28199
|
-
is_device_error: true;
|
|
28200
|
-
} | {
|
|
28201
|
-
message: string;
|
|
28202
|
-
created_at: string;
|
|
28203
|
-
error_code: "account_disconnected";
|
|
28204
|
-
is_connected_account_error: true;
|
|
28205
|
-
is_device_error: false;
|
|
28206
|
-
} | {
|
|
28207
|
-
message: string;
|
|
28208
|
-
created_at: string;
|
|
28209
|
-
error_code: "empty_backup_access_code_pool";
|
|
28210
|
-
is_device_error: true;
|
|
28211
|
-
} | {
|
|
28212
|
-
message: string;
|
|
28213
|
-
created_at: string;
|
|
28214
|
-
error_code: "august_lock_not_authorized";
|
|
28215
|
-
is_device_error: true;
|
|
28216
|
-
} | {
|
|
28217
|
-
message: string;
|
|
28218
|
-
created_at: string;
|
|
28219
|
-
error_code: "august_lock_missing_bridge";
|
|
28220
|
-
is_device_error: true;
|
|
28221
|
-
} | {
|
|
28222
|
-
message: string;
|
|
28223
|
-
created_at: string;
|
|
28224
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
28225
|
-
is_connected_account_error: true;
|
|
28226
|
-
is_device_error: false;
|
|
28227
|
-
} | {
|
|
28228
|
-
message: string;
|
|
28229
|
-
created_at: string;
|
|
28230
|
-
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
28231
|
-
is_device_error: true;
|
|
28232
|
-
} | {
|
|
28233
|
-
message: string;
|
|
28234
|
-
created_at: string;
|
|
28235
|
-
error_code: "missing_device_credentials";
|
|
28236
|
-
is_device_error: true;
|
|
28237
|
-
} | {
|
|
28238
|
-
message: string;
|
|
28239
|
-
created_at: string;
|
|
28240
|
-
error_code: "auxiliary_heat_running";
|
|
28241
|
-
is_device_error: true;
|
|
28242
|
-
} | {
|
|
28243
|
-
message: string;
|
|
28244
|
-
created_at: string;
|
|
28245
|
-
error_code: "subscription_required";
|
|
28246
|
-
is_device_error: true;
|
|
28247
|
-
} | {
|
|
28248
|
-
message: string;
|
|
28249
|
-
created_at: string;
|
|
28250
|
-
error_code: "lockly_missing_wifi_bridge";
|
|
28251
|
-
is_device_error: true;
|
|
28252
|
-
})[];
|
|
28253
|
-
connected_account_id: string;
|
|
28254
|
-
warnings: ({
|
|
28255
|
-
message: string;
|
|
28256
|
-
created_at: string;
|
|
28257
|
-
warning_code: "partial_backup_access_code_pool";
|
|
28258
|
-
} | {
|
|
28259
|
-
message: string;
|
|
28260
|
-
created_at: string;
|
|
28261
|
-
warning_code: "many_active_backup_codes";
|
|
28262
|
-
} | {
|
|
28263
|
-
message: string;
|
|
28264
|
-
created_at: string;
|
|
28265
|
-
warning_code: "salto_ks_office_mode";
|
|
28266
|
-
} | {
|
|
28267
|
-
message: string;
|
|
28268
|
-
created_at: string;
|
|
28269
|
-
warning_code: "salto_ks_privacy_mode";
|
|
28270
|
-
} | {
|
|
28271
|
-
message: string;
|
|
28272
|
-
created_at: string;
|
|
28273
|
-
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
28274
|
-
} | {
|
|
28275
|
-
message: string;
|
|
28276
|
-
created_at: string;
|
|
28277
|
-
warning_code: "wyze_device_missing_gateway";
|
|
28278
|
-
} | {
|
|
28279
|
-
message: string;
|
|
28280
|
-
created_at: string;
|
|
28281
|
-
warning_code: "third_party_integration_detected";
|
|
28282
|
-
} | {
|
|
28283
|
-
message: string;
|
|
28284
|
-
created_at: string;
|
|
28285
|
-
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
28286
|
-
} | {
|
|
28287
|
-
message: string;
|
|
28288
|
-
created_at: string;
|
|
28289
|
-
warning_code: "ttlock_weak_gateway_signal";
|
|
28290
|
-
} | {
|
|
28291
|
-
message: string;
|
|
28292
|
-
created_at: string;
|
|
28293
|
-
warning_code: "power_saving_mode";
|
|
28294
|
-
} | {
|
|
28295
|
-
message: string;
|
|
28296
|
-
created_at: string;
|
|
28297
|
-
warning_code: "temperature_threshold_exceeded";
|
|
28298
|
-
} | {
|
|
28299
|
-
message: string;
|
|
28300
|
-
created_at: string;
|
|
28301
|
-
warning_code: "device_communication_degraded";
|
|
28302
|
-
} | {
|
|
28303
|
-
message: string;
|
|
28304
|
-
created_at: string;
|
|
28305
|
-
warning_code: "scheduled_maintenance_window";
|
|
28306
|
-
} | {
|
|
28307
|
-
message: string;
|
|
28308
|
-
created_at: string;
|
|
28309
|
-
warning_code: "device_has_flaky_connection";
|
|
28310
|
-
} | {
|
|
28311
|
-
message: string;
|
|
28312
|
-
created_at: string;
|
|
28313
|
-
warning_code: "lockly_time_zone_not_configured";
|
|
28314
|
-
} | {
|
|
28315
|
-
message: string;
|
|
28316
|
-
created_at: string;
|
|
28317
|
-
warning_code: "ultraloq_time_zone_unknown";
|
|
28318
|
-
} | {
|
|
28319
|
-
message: string;
|
|
28320
|
-
created_at: string;
|
|
28321
|
-
warning_code: "two_n_device_missing_timezone";
|
|
28322
|
-
} | {
|
|
28323
|
-
message: string;
|
|
28324
|
-
created_at: string;
|
|
28325
|
-
warning_code: "unknown_issue_with_phone";
|
|
28326
|
-
} | {
|
|
28327
|
-
message: string;
|
|
28328
|
-
created_at: string;
|
|
28329
|
-
warning_code: "hub_required_for_additional_capabilities";
|
|
28330
|
-
} | {
|
|
28331
|
-
message: string;
|
|
28332
|
-
created_at: string;
|
|
28333
|
-
warning_code: "keynest_unsupported_locker";
|
|
28334
|
-
} | {
|
|
28335
|
-
message: string;
|
|
28336
|
-
created_at: string;
|
|
28337
|
-
warning_code: "accessory_keypad_setup_required";
|
|
28338
|
-
} | {
|
|
28339
|
-
message: string;
|
|
28340
|
-
created_at: string;
|
|
28341
|
-
warning_code: "unreliable_online_status";
|
|
28342
|
-
} | {
|
|
28343
|
-
message: string;
|
|
28344
|
-
created_at: string;
|
|
28345
|
-
warning_code: "max_access_codes_reached";
|
|
28346
|
-
active_access_code_count: number;
|
|
28347
|
-
max_active_access_code_count: number;
|
|
28348
|
-
})[];
|
|
28349
|
-
custom_metadata: Record<string, string | boolean>;
|
|
28350
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
28351
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
28352
|
-
properties: {
|
|
28353
|
-
name: string;
|
|
28354
|
-
model: {
|
|
28355
|
-
display_name: string;
|
|
28356
|
-
manufacturer_display_name: string;
|
|
28357
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
28358
|
-
has_built_in_keypad?: boolean | undefined;
|
|
28359
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
28360
|
-
online_access_codes_supported?: boolean | undefined;
|
|
28361
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
28362
|
-
};
|
|
28363
|
-
online: boolean;
|
|
28364
|
-
battery?: {
|
|
28365
|
-
status: "critical" | "low" | "good" | "full";
|
|
28366
|
-
level: number;
|
|
28367
|
-
} | undefined;
|
|
28368
|
-
image_url?: string | undefined;
|
|
28369
|
-
battery_level?: number | undefined;
|
|
28370
|
-
manufacturer?: string | undefined;
|
|
28371
|
-
accessory_keypad?: {
|
|
28372
|
-
is_connected: boolean;
|
|
28373
|
-
battery?: {
|
|
28374
|
-
level: number;
|
|
28375
|
-
} | undefined;
|
|
28376
|
-
} | undefined;
|
|
28377
|
-
image_alt_text?: string | undefined;
|
|
28378
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
28379
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
28380
|
-
};
|
|
28381
|
-
location: {
|
|
28411
|
+
location?: {
|
|
28412
|
+
time_zone?: string | undefined;
|
|
28382
28413
|
location_name?: string | undefined;
|
|
28383
28414
|
timezone?: string | undefined;
|
|
28384
|
-
} |
|
|
28385
|
-
is_managed: false;
|
|
28386
|
-
can_remotely_unlock?: boolean | undefined;
|
|
28387
|
-
can_remotely_lock?: boolean | undefined;
|
|
28388
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
28389
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
28390
|
-
can_hvac_heat?: boolean | undefined;
|
|
28391
|
-
can_hvac_cool?: boolean | undefined;
|
|
28392
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
28393
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
28394
|
-
can_simulate_removal?: boolean | undefined;
|
|
28395
|
-
can_simulate_connection?: boolean | undefined;
|
|
28396
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
28397
|
-
can_unlock_with_code?: boolean | undefined;
|
|
28398
|
-
can_run_thermostat_programs?: boolean | undefined;
|
|
28399
|
-
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
28400
|
-
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
28401
|
-
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
28402
|
-
can_simulate_hub_connection?: boolean | undefined;
|
|
28403
|
-
can_simulate_hub_disconnection?: boolean | undefined;
|
|
28404
|
-
can_simulate_paid_subscription?: boolean | undefined;
|
|
28405
|
-
can_configure_auto_lock?: boolean | undefined;
|
|
28415
|
+
} | undefined;
|
|
28406
28416
|
}>, "many">>;
|
|
28407
28417
|
connect_webviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28408
28418
|
connect_webview_id: z.ZodString;
|
|
@@ -38089,10 +38099,6 @@ declare const batch: z.ZodObject<{
|
|
|
38089
38099
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
38090
38100
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
38091
38101
|
};
|
|
38092
|
-
location: {
|
|
38093
|
-
location_name?: string | undefined;
|
|
38094
|
-
timezone?: string | undefined;
|
|
38095
|
-
} | null;
|
|
38096
38102
|
is_managed: true;
|
|
38097
38103
|
can_remotely_unlock?: boolean | undefined;
|
|
38098
38104
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -38115,6 +38121,11 @@ declare const batch: z.ZodObject<{
|
|
|
38115
38121
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
38116
38122
|
can_configure_auto_lock?: boolean | undefined;
|
|
38117
38123
|
nickname?: string | undefined;
|
|
38124
|
+
location?: {
|
|
38125
|
+
time_zone?: string | undefined;
|
|
38126
|
+
location_name?: string | undefined;
|
|
38127
|
+
timezone?: string | undefined;
|
|
38128
|
+
} | undefined;
|
|
38118
38129
|
device_provider?: {
|
|
38119
38130
|
display_name: string;
|
|
38120
38131
|
provider_category: string;
|
|
@@ -39962,10 +39973,6 @@ declare const batch: z.ZodObject<{
|
|
|
39962
39973
|
online_access_codes_enabled?: boolean | undefined;
|
|
39963
39974
|
offline_access_codes_enabled?: boolean | undefined;
|
|
39964
39975
|
};
|
|
39965
|
-
location: {
|
|
39966
|
-
location_name?: string | undefined;
|
|
39967
|
-
timezone?: string | undefined;
|
|
39968
|
-
} | null;
|
|
39969
39976
|
is_managed: false;
|
|
39970
39977
|
can_remotely_unlock?: boolean | undefined;
|
|
39971
39978
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -39987,6 +39994,11 @@ declare const batch: z.ZodObject<{
|
|
|
39987
39994
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
39988
39995
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
39989
39996
|
can_configure_auto_lock?: boolean | undefined;
|
|
39997
|
+
location?: {
|
|
39998
|
+
time_zone?: string | undefined;
|
|
39999
|
+
location_name?: string | undefined;
|
|
40000
|
+
timezone?: string | undefined;
|
|
40001
|
+
} | undefined;
|
|
39990
40002
|
}[] | undefined;
|
|
39991
40003
|
connect_webviews?: {
|
|
39992
40004
|
status: "pending" | "failed" | "authorized";
|
|
@@ -42950,10 +42962,6 @@ declare const batch: z.ZodObject<{
|
|
|
42950
42962
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
42951
42963
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
42952
42964
|
};
|
|
42953
|
-
location: {
|
|
42954
|
-
location_name?: string | undefined;
|
|
42955
|
-
timezone?: string | undefined;
|
|
42956
|
-
} | null;
|
|
42957
42965
|
is_managed: true;
|
|
42958
42966
|
can_remotely_unlock?: boolean | undefined;
|
|
42959
42967
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -42976,6 +42984,11 @@ declare const batch: z.ZodObject<{
|
|
|
42976
42984
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
42977
42985
|
can_configure_auto_lock?: boolean | undefined;
|
|
42978
42986
|
nickname?: string | undefined;
|
|
42987
|
+
location?: {
|
|
42988
|
+
time_zone?: string | undefined;
|
|
42989
|
+
location_name?: string | undefined;
|
|
42990
|
+
timezone?: string | undefined;
|
|
42991
|
+
} | undefined;
|
|
42979
42992
|
device_provider?: {
|
|
42980
42993
|
display_name: string;
|
|
42981
42994
|
provider_category: string;
|
|
@@ -44823,10 +44836,6 @@ declare const batch: z.ZodObject<{
|
|
|
44823
44836
|
online_access_codes_enabled?: boolean | undefined;
|
|
44824
44837
|
offline_access_codes_enabled?: boolean | undefined;
|
|
44825
44838
|
};
|
|
44826
|
-
location: {
|
|
44827
|
-
location_name?: string | undefined;
|
|
44828
|
-
timezone?: string | undefined;
|
|
44829
|
-
} | null;
|
|
44830
44839
|
is_managed: false;
|
|
44831
44840
|
can_remotely_unlock?: boolean | undefined;
|
|
44832
44841
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -44848,6 +44857,11 @@ declare const batch: z.ZodObject<{
|
|
|
44848
44857
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
44849
44858
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
44850
44859
|
can_configure_auto_lock?: boolean | undefined;
|
|
44860
|
+
location?: {
|
|
44861
|
+
time_zone?: string | undefined;
|
|
44862
|
+
location_name?: string | undefined;
|
|
44863
|
+
timezone?: string | undefined;
|
|
44864
|
+
} | undefined;
|
|
44851
44865
|
}[] | undefined;
|
|
44852
44866
|
connect_webviews?: {
|
|
44853
44867
|
status: "pending" | "failed" | "authorized";
|
|
@@ -50928,13 +50942,16 @@ declare const device: z.ZodObject<{
|
|
|
50928
50942
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
50929
50943
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
50930
50944
|
}>>>;
|
|
50931
|
-
location: z.
|
|
50945
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
50932
50946
|
location_name: z.ZodOptional<z.ZodString>;
|
|
50947
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
50933
50948
|
timezone: z.ZodOptional<z.ZodString>;
|
|
50934
50949
|
}, "strip", z.ZodTypeAny, {
|
|
50950
|
+
time_zone?: string | undefined;
|
|
50935
50951
|
location_name?: string | undefined;
|
|
50936
50952
|
timezone?: string | undefined;
|
|
50937
50953
|
}, {
|
|
50954
|
+
time_zone?: string | undefined;
|
|
50938
50955
|
location_name?: string | undefined;
|
|
50939
50956
|
timezone?: string | undefined;
|
|
50940
50957
|
}>>;
|
|
@@ -52319,10 +52336,6 @@ declare const device: z.ZodObject<{
|
|
|
52319
52336
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
52320
52337
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
52321
52338
|
};
|
|
52322
|
-
location: {
|
|
52323
|
-
location_name?: string | undefined;
|
|
52324
|
-
timezone?: string | undefined;
|
|
52325
|
-
} | null;
|
|
52326
52339
|
is_managed: true;
|
|
52327
52340
|
can_remotely_unlock?: boolean | undefined;
|
|
52328
52341
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -52345,6 +52358,11 @@ declare const device: z.ZodObject<{
|
|
|
52345
52358
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
52346
52359
|
can_configure_auto_lock?: boolean | undefined;
|
|
52347
52360
|
nickname?: string | undefined;
|
|
52361
|
+
location?: {
|
|
52362
|
+
time_zone?: string | undefined;
|
|
52363
|
+
location_name?: string | undefined;
|
|
52364
|
+
timezone?: string | undefined;
|
|
52365
|
+
} | undefined;
|
|
52348
52366
|
device_provider?: {
|
|
52349
52367
|
display_name: string;
|
|
52350
52368
|
provider_category: string;
|
|
@@ -53040,10 +53058,6 @@ declare const device: z.ZodObject<{
|
|
|
53040
53058
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
53041
53059
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
53042
53060
|
};
|
|
53043
|
-
location: {
|
|
53044
|
-
location_name?: string | undefined;
|
|
53045
|
-
timezone?: string | undefined;
|
|
53046
|
-
} | null;
|
|
53047
53061
|
is_managed: true;
|
|
53048
53062
|
can_remotely_unlock?: boolean | undefined;
|
|
53049
53063
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -53066,6 +53080,11 @@ declare const device: z.ZodObject<{
|
|
|
53066
53080
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
53067
53081
|
can_configure_auto_lock?: boolean | undefined;
|
|
53068
53082
|
nickname?: string | undefined;
|
|
53083
|
+
location?: {
|
|
53084
|
+
time_zone?: string | undefined;
|
|
53085
|
+
location_name?: string | undefined;
|
|
53086
|
+
timezone?: string | undefined;
|
|
53087
|
+
} | undefined;
|
|
53069
53088
|
device_provider?: {
|
|
53070
53089
|
display_name: string;
|
|
53071
53090
|
provider_category: string;
|
|
@@ -55569,13 +55588,16 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
55569
55588
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
55570
55589
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
55571
55590
|
}>>>;
|
|
55572
|
-
location: z.
|
|
55591
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
55573
55592
|
location_name: z.ZodOptional<z.ZodString>;
|
|
55593
|
+
time_zone: z.ZodOptional<z.ZodString>;
|
|
55574
55594
|
timezone: z.ZodOptional<z.ZodString>;
|
|
55575
55595
|
}, "strip", z.ZodTypeAny, {
|
|
55596
|
+
time_zone?: string | undefined;
|
|
55576
55597
|
location_name?: string | undefined;
|
|
55577
55598
|
timezone?: string | undefined;
|
|
55578
55599
|
}, {
|
|
55600
|
+
time_zone?: string | undefined;
|
|
55579
55601
|
location_name?: string | undefined;
|
|
55580
55602
|
timezone?: string | undefined;
|
|
55581
55603
|
}>>;
|
|
@@ -56664,10 +56686,263 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56664
56686
|
online_access_codes_enabled?: boolean | undefined;
|
|
56665
56687
|
offline_access_codes_enabled?: boolean | undefined;
|
|
56666
56688
|
};
|
|
56667
|
-
|
|
56689
|
+
is_managed: false;
|
|
56690
|
+
can_remotely_unlock?: boolean | undefined;
|
|
56691
|
+
can_remotely_lock?: boolean | undefined;
|
|
56692
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
56693
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
56694
|
+
can_hvac_heat?: boolean | undefined;
|
|
56695
|
+
can_hvac_cool?: boolean | undefined;
|
|
56696
|
+
can_hvac_heat_cool?: boolean | undefined;
|
|
56697
|
+
can_turn_off_hvac?: boolean | undefined;
|
|
56698
|
+
can_simulate_removal?: boolean | undefined;
|
|
56699
|
+
can_simulate_connection?: boolean | undefined;
|
|
56700
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
56701
|
+
can_unlock_with_code?: boolean | undefined;
|
|
56702
|
+
can_run_thermostat_programs?: boolean | undefined;
|
|
56703
|
+
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
56704
|
+
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
56705
|
+
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
56706
|
+
can_simulate_hub_connection?: boolean | undefined;
|
|
56707
|
+
can_simulate_hub_disconnection?: boolean | undefined;
|
|
56708
|
+
can_simulate_paid_subscription?: boolean | undefined;
|
|
56709
|
+
can_configure_auto_lock?: boolean | undefined;
|
|
56710
|
+
location?: {
|
|
56711
|
+
time_zone?: string | undefined;
|
|
56668
56712
|
location_name?: string | undefined;
|
|
56669
56713
|
timezone?: string | undefined;
|
|
56670
|
-
} |
|
|
56714
|
+
} | undefined;
|
|
56715
|
+
}, {
|
|
56716
|
+
device_id: string;
|
|
56717
|
+
workspace_id: string;
|
|
56718
|
+
created_at: string;
|
|
56719
|
+
errors: ({
|
|
56720
|
+
message: string;
|
|
56721
|
+
created_at: string;
|
|
56722
|
+
error_code: "account_disconnected";
|
|
56723
|
+
is_connected_account_error?: boolean | undefined;
|
|
56724
|
+
is_bridge_error?: boolean | undefined;
|
|
56725
|
+
} | {
|
|
56726
|
+
message: string;
|
|
56727
|
+
created_at: string;
|
|
56728
|
+
error_code: "bridge_disconnected";
|
|
56729
|
+
is_connected_account_error?: boolean | undefined;
|
|
56730
|
+
is_bridge_error?: boolean | undefined;
|
|
56731
|
+
} | {
|
|
56732
|
+
message: string;
|
|
56733
|
+
created_at: string;
|
|
56734
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
56735
|
+
salto_ks_metadata: {
|
|
56736
|
+
sites: {
|
|
56737
|
+
site_id: string;
|
|
56738
|
+
site_name: string;
|
|
56739
|
+
subscribed_site_user_count: number;
|
|
56740
|
+
site_user_subscription_limit: number;
|
|
56741
|
+
}[];
|
|
56742
|
+
};
|
|
56743
|
+
is_connected_account_error?: boolean | undefined;
|
|
56744
|
+
is_bridge_error?: boolean | undefined;
|
|
56745
|
+
} | {
|
|
56746
|
+
message: string;
|
|
56747
|
+
created_at: string;
|
|
56748
|
+
error_code: "device_offline";
|
|
56749
|
+
is_device_error: true;
|
|
56750
|
+
} | {
|
|
56751
|
+
message: string;
|
|
56752
|
+
created_at: string;
|
|
56753
|
+
error_code: "device_removed";
|
|
56754
|
+
is_device_error: true;
|
|
56755
|
+
} | {
|
|
56756
|
+
message: string;
|
|
56757
|
+
created_at: string;
|
|
56758
|
+
error_code: "hub_disconnected";
|
|
56759
|
+
is_device_error: true;
|
|
56760
|
+
} | {
|
|
56761
|
+
message: string;
|
|
56762
|
+
created_at: string;
|
|
56763
|
+
error_code: "device_disconnected";
|
|
56764
|
+
is_device_error: true;
|
|
56765
|
+
} | {
|
|
56766
|
+
message: string;
|
|
56767
|
+
created_at: string;
|
|
56768
|
+
error_code: "account_disconnected";
|
|
56769
|
+
is_connected_account_error: true;
|
|
56770
|
+
is_device_error: false;
|
|
56771
|
+
} | {
|
|
56772
|
+
message: string;
|
|
56773
|
+
created_at: string;
|
|
56774
|
+
error_code: "empty_backup_access_code_pool";
|
|
56775
|
+
is_device_error: true;
|
|
56776
|
+
} | {
|
|
56777
|
+
message: string;
|
|
56778
|
+
created_at: string;
|
|
56779
|
+
error_code: "august_lock_not_authorized";
|
|
56780
|
+
is_device_error: true;
|
|
56781
|
+
} | {
|
|
56782
|
+
message: string;
|
|
56783
|
+
created_at: string;
|
|
56784
|
+
error_code: "august_lock_missing_bridge";
|
|
56785
|
+
is_device_error: true;
|
|
56786
|
+
} | {
|
|
56787
|
+
message: string;
|
|
56788
|
+
created_at: string;
|
|
56789
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
56790
|
+
is_connected_account_error: true;
|
|
56791
|
+
is_device_error: false;
|
|
56792
|
+
} | {
|
|
56793
|
+
message: string;
|
|
56794
|
+
created_at: string;
|
|
56795
|
+
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
56796
|
+
is_device_error: true;
|
|
56797
|
+
} | {
|
|
56798
|
+
message: string;
|
|
56799
|
+
created_at: string;
|
|
56800
|
+
error_code: "missing_device_credentials";
|
|
56801
|
+
is_device_error: true;
|
|
56802
|
+
} | {
|
|
56803
|
+
message: string;
|
|
56804
|
+
created_at: string;
|
|
56805
|
+
error_code: "auxiliary_heat_running";
|
|
56806
|
+
is_device_error: true;
|
|
56807
|
+
} | {
|
|
56808
|
+
message: string;
|
|
56809
|
+
created_at: string;
|
|
56810
|
+
error_code: "subscription_required";
|
|
56811
|
+
is_device_error: true;
|
|
56812
|
+
} | {
|
|
56813
|
+
message: string;
|
|
56814
|
+
created_at: string;
|
|
56815
|
+
error_code: "lockly_missing_wifi_bridge";
|
|
56816
|
+
is_device_error: true;
|
|
56817
|
+
})[];
|
|
56818
|
+
connected_account_id: string;
|
|
56819
|
+
warnings: ({
|
|
56820
|
+
message: string;
|
|
56821
|
+
created_at: string;
|
|
56822
|
+
warning_code: "partial_backup_access_code_pool";
|
|
56823
|
+
} | {
|
|
56824
|
+
message: string;
|
|
56825
|
+
created_at: string;
|
|
56826
|
+
warning_code: "many_active_backup_codes";
|
|
56827
|
+
} | {
|
|
56828
|
+
message: string;
|
|
56829
|
+
created_at: string;
|
|
56830
|
+
warning_code: "salto_ks_office_mode";
|
|
56831
|
+
} | {
|
|
56832
|
+
message: string;
|
|
56833
|
+
created_at: string;
|
|
56834
|
+
warning_code: "salto_ks_privacy_mode";
|
|
56835
|
+
} | {
|
|
56836
|
+
message: string;
|
|
56837
|
+
created_at: string;
|
|
56838
|
+
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
56839
|
+
} | {
|
|
56840
|
+
message: string;
|
|
56841
|
+
created_at: string;
|
|
56842
|
+
warning_code: "wyze_device_missing_gateway";
|
|
56843
|
+
} | {
|
|
56844
|
+
message: string;
|
|
56845
|
+
created_at: string;
|
|
56846
|
+
warning_code: "third_party_integration_detected";
|
|
56847
|
+
} | {
|
|
56848
|
+
message: string;
|
|
56849
|
+
created_at: string;
|
|
56850
|
+
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
56851
|
+
} | {
|
|
56852
|
+
message: string;
|
|
56853
|
+
created_at: string;
|
|
56854
|
+
warning_code: "ttlock_weak_gateway_signal";
|
|
56855
|
+
} | {
|
|
56856
|
+
message: string;
|
|
56857
|
+
created_at: string;
|
|
56858
|
+
warning_code: "power_saving_mode";
|
|
56859
|
+
} | {
|
|
56860
|
+
message: string;
|
|
56861
|
+
created_at: string;
|
|
56862
|
+
warning_code: "temperature_threshold_exceeded";
|
|
56863
|
+
} | {
|
|
56864
|
+
message: string;
|
|
56865
|
+
created_at: string;
|
|
56866
|
+
warning_code: "device_communication_degraded";
|
|
56867
|
+
} | {
|
|
56868
|
+
message: string;
|
|
56869
|
+
created_at: string;
|
|
56870
|
+
warning_code: "scheduled_maintenance_window";
|
|
56871
|
+
} | {
|
|
56872
|
+
message: string;
|
|
56873
|
+
created_at: string;
|
|
56874
|
+
warning_code: "device_has_flaky_connection";
|
|
56875
|
+
} | {
|
|
56876
|
+
message: string;
|
|
56877
|
+
created_at: string;
|
|
56878
|
+
warning_code: "lockly_time_zone_not_configured";
|
|
56879
|
+
} | {
|
|
56880
|
+
message: string;
|
|
56881
|
+
created_at: string;
|
|
56882
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
56883
|
+
} | {
|
|
56884
|
+
message: string;
|
|
56885
|
+
created_at: string;
|
|
56886
|
+
warning_code: "two_n_device_missing_timezone";
|
|
56887
|
+
} | {
|
|
56888
|
+
message: string;
|
|
56889
|
+
created_at: string;
|
|
56890
|
+
warning_code: "unknown_issue_with_phone";
|
|
56891
|
+
} | {
|
|
56892
|
+
message: string;
|
|
56893
|
+
created_at: string;
|
|
56894
|
+
warning_code: "hub_required_for_additional_capabilities";
|
|
56895
|
+
} | {
|
|
56896
|
+
message: string;
|
|
56897
|
+
created_at: string;
|
|
56898
|
+
warning_code: "keynest_unsupported_locker";
|
|
56899
|
+
} | {
|
|
56900
|
+
message: string;
|
|
56901
|
+
created_at: string;
|
|
56902
|
+
warning_code: "accessory_keypad_setup_required";
|
|
56903
|
+
} | {
|
|
56904
|
+
message: string;
|
|
56905
|
+
created_at: string;
|
|
56906
|
+
warning_code: "unreliable_online_status";
|
|
56907
|
+
} | {
|
|
56908
|
+
message: string;
|
|
56909
|
+
created_at: string;
|
|
56910
|
+
warning_code: "max_access_codes_reached";
|
|
56911
|
+
active_access_code_count: number;
|
|
56912
|
+
max_active_access_code_count: number;
|
|
56913
|
+
})[];
|
|
56914
|
+
custom_metadata: Record<string, string | boolean>;
|
|
56915
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
56916
|
+
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
56917
|
+
properties: {
|
|
56918
|
+
name: string;
|
|
56919
|
+
model: {
|
|
56920
|
+
display_name: string;
|
|
56921
|
+
manufacturer_display_name: string;
|
|
56922
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
56923
|
+
has_built_in_keypad?: boolean | undefined;
|
|
56924
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
56925
|
+
online_access_codes_supported?: boolean | undefined;
|
|
56926
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
56927
|
+
};
|
|
56928
|
+
online: boolean;
|
|
56929
|
+
battery?: {
|
|
56930
|
+
status: "critical" | "low" | "good" | "full";
|
|
56931
|
+
level: number;
|
|
56932
|
+
} | undefined;
|
|
56933
|
+
image_url?: string | undefined;
|
|
56934
|
+
battery_level?: number | undefined;
|
|
56935
|
+
manufacturer?: string | undefined;
|
|
56936
|
+
accessory_keypad?: {
|
|
56937
|
+
is_connected: boolean;
|
|
56938
|
+
battery?: {
|
|
56939
|
+
level: number;
|
|
56940
|
+
} | undefined;
|
|
56941
|
+
} | undefined;
|
|
56942
|
+
image_alt_text?: string | undefined;
|
|
56943
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
56944
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
56945
|
+
};
|
|
56671
56946
|
is_managed: false;
|
|
56672
56947
|
can_remotely_unlock?: boolean | undefined;
|
|
56673
56948
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -56689,262 +56964,11 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
56689
56964
|
can_simulate_hub_disconnection?: boolean | undefined;
|
|
56690
56965
|
can_simulate_paid_subscription?: boolean | undefined;
|
|
56691
56966
|
can_configure_auto_lock?: boolean | undefined;
|
|
56692
|
-
|
|
56693
|
-
|
|
56694
|
-
workspace_id: string;
|
|
56695
|
-
created_at: string;
|
|
56696
|
-
errors: ({
|
|
56697
|
-
message: string;
|
|
56698
|
-
created_at: string;
|
|
56699
|
-
error_code: "account_disconnected";
|
|
56700
|
-
is_connected_account_error?: boolean | undefined;
|
|
56701
|
-
is_bridge_error?: boolean | undefined;
|
|
56702
|
-
} | {
|
|
56703
|
-
message: string;
|
|
56704
|
-
created_at: string;
|
|
56705
|
-
error_code: "bridge_disconnected";
|
|
56706
|
-
is_connected_account_error?: boolean | undefined;
|
|
56707
|
-
is_bridge_error?: boolean | undefined;
|
|
56708
|
-
} | {
|
|
56709
|
-
message: string;
|
|
56710
|
-
created_at: string;
|
|
56711
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
56712
|
-
salto_ks_metadata: {
|
|
56713
|
-
sites: {
|
|
56714
|
-
site_id: string;
|
|
56715
|
-
site_name: string;
|
|
56716
|
-
subscribed_site_user_count: number;
|
|
56717
|
-
site_user_subscription_limit: number;
|
|
56718
|
-
}[];
|
|
56719
|
-
};
|
|
56720
|
-
is_connected_account_error?: boolean | undefined;
|
|
56721
|
-
is_bridge_error?: boolean | undefined;
|
|
56722
|
-
} | {
|
|
56723
|
-
message: string;
|
|
56724
|
-
created_at: string;
|
|
56725
|
-
error_code: "device_offline";
|
|
56726
|
-
is_device_error: true;
|
|
56727
|
-
} | {
|
|
56728
|
-
message: string;
|
|
56729
|
-
created_at: string;
|
|
56730
|
-
error_code: "device_removed";
|
|
56731
|
-
is_device_error: true;
|
|
56732
|
-
} | {
|
|
56733
|
-
message: string;
|
|
56734
|
-
created_at: string;
|
|
56735
|
-
error_code: "hub_disconnected";
|
|
56736
|
-
is_device_error: true;
|
|
56737
|
-
} | {
|
|
56738
|
-
message: string;
|
|
56739
|
-
created_at: string;
|
|
56740
|
-
error_code: "device_disconnected";
|
|
56741
|
-
is_device_error: true;
|
|
56742
|
-
} | {
|
|
56743
|
-
message: string;
|
|
56744
|
-
created_at: string;
|
|
56745
|
-
error_code: "account_disconnected";
|
|
56746
|
-
is_connected_account_error: true;
|
|
56747
|
-
is_device_error: false;
|
|
56748
|
-
} | {
|
|
56749
|
-
message: string;
|
|
56750
|
-
created_at: string;
|
|
56751
|
-
error_code: "empty_backup_access_code_pool";
|
|
56752
|
-
is_device_error: true;
|
|
56753
|
-
} | {
|
|
56754
|
-
message: string;
|
|
56755
|
-
created_at: string;
|
|
56756
|
-
error_code: "august_lock_not_authorized";
|
|
56757
|
-
is_device_error: true;
|
|
56758
|
-
} | {
|
|
56759
|
-
message: string;
|
|
56760
|
-
created_at: string;
|
|
56761
|
-
error_code: "august_lock_missing_bridge";
|
|
56762
|
-
is_device_error: true;
|
|
56763
|
-
} | {
|
|
56764
|
-
message: string;
|
|
56765
|
-
created_at: string;
|
|
56766
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
56767
|
-
is_connected_account_error: true;
|
|
56768
|
-
is_device_error: false;
|
|
56769
|
-
} | {
|
|
56770
|
-
message: string;
|
|
56771
|
-
created_at: string;
|
|
56772
|
-
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
56773
|
-
is_device_error: true;
|
|
56774
|
-
} | {
|
|
56775
|
-
message: string;
|
|
56776
|
-
created_at: string;
|
|
56777
|
-
error_code: "missing_device_credentials";
|
|
56778
|
-
is_device_error: true;
|
|
56779
|
-
} | {
|
|
56780
|
-
message: string;
|
|
56781
|
-
created_at: string;
|
|
56782
|
-
error_code: "auxiliary_heat_running";
|
|
56783
|
-
is_device_error: true;
|
|
56784
|
-
} | {
|
|
56785
|
-
message: string;
|
|
56786
|
-
created_at: string;
|
|
56787
|
-
error_code: "subscription_required";
|
|
56788
|
-
is_device_error: true;
|
|
56789
|
-
} | {
|
|
56790
|
-
message: string;
|
|
56791
|
-
created_at: string;
|
|
56792
|
-
error_code: "lockly_missing_wifi_bridge";
|
|
56793
|
-
is_device_error: true;
|
|
56794
|
-
})[];
|
|
56795
|
-
connected_account_id: string;
|
|
56796
|
-
warnings: ({
|
|
56797
|
-
message: string;
|
|
56798
|
-
created_at: string;
|
|
56799
|
-
warning_code: "partial_backup_access_code_pool";
|
|
56800
|
-
} | {
|
|
56801
|
-
message: string;
|
|
56802
|
-
created_at: string;
|
|
56803
|
-
warning_code: "many_active_backup_codes";
|
|
56804
|
-
} | {
|
|
56805
|
-
message: string;
|
|
56806
|
-
created_at: string;
|
|
56807
|
-
warning_code: "salto_ks_office_mode";
|
|
56808
|
-
} | {
|
|
56809
|
-
message: string;
|
|
56810
|
-
created_at: string;
|
|
56811
|
-
warning_code: "salto_ks_privacy_mode";
|
|
56812
|
-
} | {
|
|
56813
|
-
message: string;
|
|
56814
|
-
created_at: string;
|
|
56815
|
-
warning_code: "salto_ks_subscription_limit_almost_reached";
|
|
56816
|
-
} | {
|
|
56817
|
-
message: string;
|
|
56818
|
-
created_at: string;
|
|
56819
|
-
warning_code: "wyze_device_missing_gateway";
|
|
56820
|
-
} | {
|
|
56821
|
-
message: string;
|
|
56822
|
-
created_at: string;
|
|
56823
|
-
warning_code: "third_party_integration_detected";
|
|
56824
|
-
} | {
|
|
56825
|
-
message: string;
|
|
56826
|
-
created_at: string;
|
|
56827
|
-
warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
|
|
56828
|
-
} | {
|
|
56829
|
-
message: string;
|
|
56830
|
-
created_at: string;
|
|
56831
|
-
warning_code: "ttlock_weak_gateway_signal";
|
|
56832
|
-
} | {
|
|
56833
|
-
message: string;
|
|
56834
|
-
created_at: string;
|
|
56835
|
-
warning_code: "power_saving_mode";
|
|
56836
|
-
} | {
|
|
56837
|
-
message: string;
|
|
56838
|
-
created_at: string;
|
|
56839
|
-
warning_code: "temperature_threshold_exceeded";
|
|
56840
|
-
} | {
|
|
56841
|
-
message: string;
|
|
56842
|
-
created_at: string;
|
|
56843
|
-
warning_code: "device_communication_degraded";
|
|
56844
|
-
} | {
|
|
56845
|
-
message: string;
|
|
56846
|
-
created_at: string;
|
|
56847
|
-
warning_code: "scheduled_maintenance_window";
|
|
56848
|
-
} | {
|
|
56849
|
-
message: string;
|
|
56850
|
-
created_at: string;
|
|
56851
|
-
warning_code: "device_has_flaky_connection";
|
|
56852
|
-
} | {
|
|
56853
|
-
message: string;
|
|
56854
|
-
created_at: string;
|
|
56855
|
-
warning_code: "lockly_time_zone_not_configured";
|
|
56856
|
-
} | {
|
|
56857
|
-
message: string;
|
|
56858
|
-
created_at: string;
|
|
56859
|
-
warning_code: "ultraloq_time_zone_unknown";
|
|
56860
|
-
} | {
|
|
56861
|
-
message: string;
|
|
56862
|
-
created_at: string;
|
|
56863
|
-
warning_code: "two_n_device_missing_timezone";
|
|
56864
|
-
} | {
|
|
56865
|
-
message: string;
|
|
56866
|
-
created_at: string;
|
|
56867
|
-
warning_code: "unknown_issue_with_phone";
|
|
56868
|
-
} | {
|
|
56869
|
-
message: string;
|
|
56870
|
-
created_at: string;
|
|
56871
|
-
warning_code: "hub_required_for_additional_capabilities";
|
|
56872
|
-
} | {
|
|
56873
|
-
message: string;
|
|
56874
|
-
created_at: string;
|
|
56875
|
-
warning_code: "keynest_unsupported_locker";
|
|
56876
|
-
} | {
|
|
56877
|
-
message: string;
|
|
56878
|
-
created_at: string;
|
|
56879
|
-
warning_code: "accessory_keypad_setup_required";
|
|
56880
|
-
} | {
|
|
56881
|
-
message: string;
|
|
56882
|
-
created_at: string;
|
|
56883
|
-
warning_code: "unreliable_online_status";
|
|
56884
|
-
} | {
|
|
56885
|
-
message: string;
|
|
56886
|
-
created_at: string;
|
|
56887
|
-
warning_code: "max_access_codes_reached";
|
|
56888
|
-
active_access_code_count: number;
|
|
56889
|
-
max_active_access_code_count: number;
|
|
56890
|
-
})[];
|
|
56891
|
-
custom_metadata: Record<string, string | boolean>;
|
|
56892
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
56893
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
56894
|
-
properties: {
|
|
56895
|
-
name: string;
|
|
56896
|
-
model: {
|
|
56897
|
-
display_name: string;
|
|
56898
|
-
manufacturer_display_name: string;
|
|
56899
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
56900
|
-
has_built_in_keypad?: boolean | undefined;
|
|
56901
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
56902
|
-
online_access_codes_supported?: boolean | undefined;
|
|
56903
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
56904
|
-
};
|
|
56905
|
-
online: boolean;
|
|
56906
|
-
battery?: {
|
|
56907
|
-
status: "critical" | "low" | "good" | "full";
|
|
56908
|
-
level: number;
|
|
56909
|
-
} | undefined;
|
|
56910
|
-
image_url?: string | undefined;
|
|
56911
|
-
battery_level?: number | undefined;
|
|
56912
|
-
manufacturer?: string | undefined;
|
|
56913
|
-
accessory_keypad?: {
|
|
56914
|
-
is_connected: boolean;
|
|
56915
|
-
battery?: {
|
|
56916
|
-
level: number;
|
|
56917
|
-
} | undefined;
|
|
56918
|
-
} | undefined;
|
|
56919
|
-
image_alt_text?: string | undefined;
|
|
56920
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
56921
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
56922
|
-
};
|
|
56923
|
-
location: {
|
|
56967
|
+
location?: {
|
|
56968
|
+
time_zone?: string | undefined;
|
|
56924
56969
|
location_name?: string | undefined;
|
|
56925
56970
|
timezone?: string | undefined;
|
|
56926
|
-
} |
|
|
56927
|
-
is_managed: false;
|
|
56928
|
-
can_remotely_unlock?: boolean | undefined;
|
|
56929
|
-
can_remotely_lock?: boolean | undefined;
|
|
56930
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
56931
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
56932
|
-
can_hvac_heat?: boolean | undefined;
|
|
56933
|
-
can_hvac_cool?: boolean | undefined;
|
|
56934
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
56935
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
56936
|
-
can_simulate_removal?: boolean | undefined;
|
|
56937
|
-
can_simulate_connection?: boolean | undefined;
|
|
56938
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
56939
|
-
can_unlock_with_code?: boolean | undefined;
|
|
56940
|
-
can_run_thermostat_programs?: boolean | undefined;
|
|
56941
|
-
can_program_thermostat_programs_as_weekday_weekend?: boolean | undefined;
|
|
56942
|
-
can_program_thermostat_programs_as_different_each_day?: boolean | undefined;
|
|
56943
|
-
can_program_thermostat_programs_as_same_each_day?: boolean | undefined;
|
|
56944
|
-
can_simulate_hub_connection?: boolean | undefined;
|
|
56945
|
-
can_simulate_hub_disconnection?: boolean | undefined;
|
|
56946
|
-
can_simulate_paid_subscription?: boolean | undefined;
|
|
56947
|
-
can_configure_auto_lock?: boolean | undefined;
|
|
56971
|
+
} | undefined;
|
|
56948
56972
|
}>;
|
|
56949
56973
|
type UnmanagedDevice = z.infer<typeof unmanaged_device>;
|
|
56950
56974
|
|
|
@@ -68345,15 +68369,20 @@ declare const _default: {
|
|
|
68345
68369
|
};
|
|
68346
68370
|
location: {
|
|
68347
68371
|
description: string;
|
|
68348
|
-
nullable: boolean;
|
|
68349
68372
|
properties: {
|
|
68350
68373
|
location_name: {
|
|
68351
68374
|
description: string;
|
|
68352
68375
|
type: string;
|
|
68353
68376
|
};
|
|
68377
|
+
time_zone: {
|
|
68378
|
+
description: string;
|
|
68379
|
+
type: string;
|
|
68380
|
+
};
|
|
68354
68381
|
timezone: {
|
|
68382
|
+
deprecated: boolean;
|
|
68355
68383
|
description: string;
|
|
68356
68384
|
type: string;
|
|
68385
|
+
'x-deprecated': string;
|
|
68357
68386
|
};
|
|
68358
68387
|
};
|
|
68359
68388
|
type: string;
|
|
@@ -80864,15 +80893,20 @@ declare const _default: {
|
|
|
80864
80893
|
};
|
|
80865
80894
|
location: {
|
|
80866
80895
|
description: string;
|
|
80867
|
-
nullable: boolean;
|
|
80868
80896
|
properties: {
|
|
80869
80897
|
location_name: {
|
|
80870
80898
|
description: string;
|
|
80871
80899
|
type: string;
|
|
80872
80900
|
};
|
|
80901
|
+
time_zone: {
|
|
80902
|
+
description: string;
|
|
80903
|
+
type: string;
|
|
80904
|
+
};
|
|
80873
80905
|
timezone: {
|
|
80906
|
+
deprecated: boolean;
|
|
80874
80907
|
description: string;
|
|
80875
80908
|
type: string;
|
|
80909
|
+
'x-deprecated': string;
|
|
80876
80910
|
};
|
|
80877
80911
|
};
|
|
80878
80912
|
type: string;
|
|
@@ -114958,140 +114992,656 @@ declare const _default: {
|
|
|
114958
114992
|
'x-undocumented': string;
|
|
114959
114993
|
};
|
|
114960
114994
|
};
|
|
114961
|
-
'/seam/customer/v1/connectors/
|
|
114962
|
-
|
|
114995
|
+
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
114996
|
+
post: {
|
|
114963
114997
|
description: string;
|
|
114964
114998
|
operationId: string;
|
|
114965
|
-
|
|
114966
|
-
|
|
114967
|
-
|
|
114968
|
-
|
|
114969
|
-
|
|
114970
|
-
|
|
114971
|
-
|
|
114972
|
-
|
|
114973
|
-
|
|
114974
|
-
config: {
|
|
114975
|
-
additionalProperties: {
|
|
114976
|
-
$ref: string;
|
|
114977
|
-
};
|
|
114978
|
-
type: string;
|
|
114979
|
-
};
|
|
114980
|
-
connector_id: {
|
|
114981
|
-
type: string;
|
|
114982
|
-
};
|
|
114983
|
-
connector_type: {
|
|
114984
|
-
type: string;
|
|
114985
|
-
};
|
|
114986
|
-
created_at: {
|
|
114987
|
-
type: string;
|
|
114988
|
-
};
|
|
114989
|
-
customer_key: {
|
|
114990
|
-
nullable: boolean;
|
|
114991
|
-
type: string;
|
|
114992
|
-
};
|
|
114993
|
-
status: {
|
|
114994
|
-
enum: string[];
|
|
114995
|
-
type: string;
|
|
114996
|
-
};
|
|
114997
|
-
unique_provider_resource_key: {
|
|
114998
|
-
nullable: boolean;
|
|
114999
|
-
type: string;
|
|
115000
|
-
};
|
|
115001
|
-
updated_at: {
|
|
115002
|
-
type: string;
|
|
115003
|
-
};
|
|
115004
|
-
};
|
|
115005
|
-
required: string[];
|
|
115006
|
-
type: string;
|
|
115007
|
-
};
|
|
115008
|
-
type: string;
|
|
115009
|
-
};
|
|
115010
|
-
ok: {
|
|
115011
|
-
type: string;
|
|
115012
|
-
};
|
|
114999
|
+
requestBody: {
|
|
115000
|
+
content: {
|
|
115001
|
+
'application/json': {
|
|
115002
|
+
schema: {
|
|
115003
|
+
properties: {
|
|
115004
|
+
ical_url: {
|
|
115005
|
+
description: string;
|
|
115006
|
+
format: string;
|
|
115007
|
+
type: string;
|
|
115013
115008
|
};
|
|
115014
|
-
required: string[];
|
|
115015
|
-
type: string;
|
|
115016
115009
|
};
|
|
115010
|
+
required: string[];
|
|
115011
|
+
type: string;
|
|
115017
115012
|
};
|
|
115018
115013
|
};
|
|
115019
|
-
description: string;
|
|
115020
|
-
};
|
|
115021
|
-
400: {
|
|
115022
|
-
description: string;
|
|
115023
|
-
};
|
|
115024
|
-
401: {
|
|
115025
|
-
description: string;
|
|
115026
115014
|
};
|
|
115027
115015
|
};
|
|
115028
|
-
security: ({
|
|
115029
|
-
api_key: never[];
|
|
115030
|
-
client_session_with_customer?: never;
|
|
115031
|
-
console_session_with_workspace?: never;
|
|
115032
|
-
} | {
|
|
115033
|
-
client_session_with_customer: never[];
|
|
115034
|
-
api_key?: never;
|
|
115035
|
-
console_session_with_workspace?: never;
|
|
115036
|
-
} | {
|
|
115037
|
-
console_session_with_workspace: never[];
|
|
115038
|
-
api_key?: never;
|
|
115039
|
-
client_session_with_customer?: never;
|
|
115040
|
-
})[];
|
|
115041
|
-
summary: string;
|
|
115042
|
-
tags: never[];
|
|
115043
|
-
'x-fern-sdk-group-name': string[];
|
|
115044
|
-
'x-fern-sdk-method-name': string;
|
|
115045
|
-
'x-fern-sdk-return-value': string;
|
|
115046
|
-
'x-response-key': string;
|
|
115047
|
-
'x-title': string;
|
|
115048
|
-
'x-undocumented': string;
|
|
115049
|
-
};
|
|
115050
|
-
post: {
|
|
115051
|
-
description: string;
|
|
115052
|
-
operationId: string;
|
|
115053
115016
|
responses: {
|
|
115054
115017
|
200: {
|
|
115055
115018
|
content: {
|
|
115056
115019
|
'application/json': {
|
|
115057
115020
|
schema: {
|
|
115058
115021
|
properties: {
|
|
115059
|
-
|
|
115060
|
-
|
|
115061
|
-
|
|
115062
|
-
|
|
115063
|
-
|
|
115064
|
-
|
|
115022
|
+
generated_config: {
|
|
115023
|
+
properties: {
|
|
115024
|
+
ical_config: {
|
|
115025
|
+
properties: {
|
|
115026
|
+
default_check_in_time: {
|
|
115027
|
+
description: string;
|
|
115028
|
+
pattern: string;
|
|
115029
|
+
type: string;
|
|
115030
|
+
};
|
|
115031
|
+
default_check_out_time: {
|
|
115032
|
+
description: string;
|
|
115033
|
+
pattern: string;
|
|
115034
|
+
type: string;
|
|
115035
|
+
};
|
|
115036
|
+
fields: {
|
|
115037
|
+
properties: {
|
|
115038
|
+
ends_at: {
|
|
115039
|
+
description: string;
|
|
115040
|
+
properties: {
|
|
115041
|
+
pattern: {
|
|
115042
|
+
description: string;
|
|
115043
|
+
type: string;
|
|
115044
|
+
};
|
|
115045
|
+
source: {
|
|
115046
|
+
description: string;
|
|
115047
|
+
type: string;
|
|
115048
|
+
};
|
|
115049
|
+
type: {
|
|
115050
|
+
description: string;
|
|
115051
|
+
enum: string[];
|
|
115052
|
+
type: string;
|
|
115053
|
+
};
|
|
115054
|
+
};
|
|
115055
|
+
required: string[];
|
|
115056
|
+
type: string;
|
|
115057
|
+
};
|
|
115058
|
+
guest_email: {
|
|
115059
|
+
description: string;
|
|
115060
|
+
properties: {
|
|
115061
|
+
pattern: {
|
|
115062
|
+
description: string;
|
|
115063
|
+
type: string;
|
|
115064
|
+
};
|
|
115065
|
+
source: {
|
|
115066
|
+
description: string;
|
|
115067
|
+
type: string;
|
|
115068
|
+
};
|
|
115069
|
+
type: {
|
|
115070
|
+
description: string;
|
|
115071
|
+
enum: string[];
|
|
115072
|
+
type: string;
|
|
115073
|
+
};
|
|
115074
|
+
};
|
|
115075
|
+
required: string[];
|
|
115076
|
+
type: string;
|
|
115077
|
+
};
|
|
115078
|
+
guest_name: {
|
|
115079
|
+
description: string;
|
|
115080
|
+
properties: {
|
|
115081
|
+
pattern: {
|
|
115082
|
+
description: string;
|
|
115083
|
+
type: string;
|
|
115084
|
+
};
|
|
115085
|
+
source: {
|
|
115086
|
+
description: string;
|
|
115087
|
+
type: string;
|
|
115088
|
+
};
|
|
115089
|
+
type: {
|
|
115090
|
+
description: string;
|
|
115091
|
+
enum: string[];
|
|
115092
|
+
type: string;
|
|
115093
|
+
};
|
|
115094
|
+
};
|
|
115095
|
+
required: string[];
|
|
115096
|
+
type: string;
|
|
115097
|
+
};
|
|
115098
|
+
guest_phone: {
|
|
115099
|
+
description: string;
|
|
115100
|
+
properties: {
|
|
115101
|
+
pattern: {
|
|
115102
|
+
description: string;
|
|
115103
|
+
type: string;
|
|
115104
|
+
};
|
|
115105
|
+
source: {
|
|
115106
|
+
description: string;
|
|
115107
|
+
type: string;
|
|
115108
|
+
};
|
|
115109
|
+
type: {
|
|
115110
|
+
description: string;
|
|
115111
|
+
enum: string[];
|
|
115112
|
+
type: string;
|
|
115113
|
+
};
|
|
115114
|
+
};
|
|
115115
|
+
required: string[];
|
|
115116
|
+
type: string;
|
|
115117
|
+
};
|
|
115118
|
+
reservation_key: {
|
|
115119
|
+
description: string;
|
|
115120
|
+
properties: {
|
|
115121
|
+
pattern: {
|
|
115122
|
+
description: string;
|
|
115123
|
+
type: string;
|
|
115124
|
+
};
|
|
115125
|
+
source: {
|
|
115126
|
+
description: string;
|
|
115127
|
+
type: string;
|
|
115128
|
+
};
|
|
115129
|
+
type: {
|
|
115130
|
+
description: string;
|
|
115131
|
+
enum: string[];
|
|
115132
|
+
type: string;
|
|
115133
|
+
};
|
|
115134
|
+
};
|
|
115135
|
+
required: string[];
|
|
115136
|
+
type: string;
|
|
115137
|
+
};
|
|
115138
|
+
starts_at: {
|
|
115139
|
+
description: string;
|
|
115140
|
+
properties: {
|
|
115141
|
+
pattern: {
|
|
115142
|
+
description: string;
|
|
115143
|
+
type: string;
|
|
115144
|
+
};
|
|
115145
|
+
source: {
|
|
115146
|
+
description: string;
|
|
115147
|
+
type: string;
|
|
115148
|
+
};
|
|
115149
|
+
type: {
|
|
115150
|
+
description: string;
|
|
115151
|
+
enum: string[];
|
|
115152
|
+
type: string;
|
|
115153
|
+
};
|
|
115154
|
+
};
|
|
115155
|
+
required: string[];
|
|
115156
|
+
type: string;
|
|
115157
|
+
};
|
|
115158
|
+
};
|
|
115159
|
+
required: string[];
|
|
115160
|
+
type: string;
|
|
115161
|
+
};
|
|
115162
|
+
filter: {
|
|
115163
|
+
description: string;
|
|
115164
|
+
properties: {
|
|
115165
|
+
pattern: {
|
|
115166
|
+
description: string;
|
|
115167
|
+
type: string;
|
|
115168
|
+
};
|
|
115169
|
+
source: {
|
|
115170
|
+
description: string;
|
|
115171
|
+
type: string;
|
|
115172
|
+
};
|
|
115173
|
+
};
|
|
115174
|
+
required: string[];
|
|
115175
|
+
type: string;
|
|
115176
|
+
};
|
|
115177
|
+
time_zone: {
|
|
115178
|
+
description: string;
|
|
115179
|
+
type: string;
|
|
115065
115180
|
};
|
|
115066
|
-
type: string;
|
|
115067
|
-
};
|
|
115068
|
-
connector_id: {
|
|
115069
|
-
type: string;
|
|
115070
|
-
};
|
|
115071
|
-
connector_type: {
|
|
115072
|
-
type: string;
|
|
115073
|
-
};
|
|
115074
|
-
created_at: {
|
|
115075
|
-
type: string;
|
|
115076
|
-
};
|
|
115077
|
-
customer_key: {
|
|
115078
|
-
nullable: boolean;
|
|
115079
|
-
type: string;
|
|
115080
|
-
};
|
|
115081
|
-
status: {
|
|
115082
|
-
enum: string[];
|
|
115083
|
-
type: string;
|
|
115084
|
-
};
|
|
115085
|
-
unique_provider_resource_key: {
|
|
115086
|
-
nullable: boolean;
|
|
115087
|
-
type: string;
|
|
115088
|
-
};
|
|
115089
|
-
updated_at: {
|
|
115090
|
-
type: string;
|
|
115091
115181
|
};
|
|
115182
|
+
required: string[];
|
|
115183
|
+
type: string;
|
|
115092
115184
|
};
|
|
115093
|
-
|
|
115094
|
-
|
|
115185
|
+
};
|
|
115186
|
+
required: string[];
|
|
115187
|
+
type: string;
|
|
115188
|
+
};
|
|
115189
|
+
ok: {
|
|
115190
|
+
type: string;
|
|
115191
|
+
};
|
|
115192
|
+
};
|
|
115193
|
+
required: string[];
|
|
115194
|
+
type: string;
|
|
115195
|
+
};
|
|
115196
|
+
};
|
|
115197
|
+
};
|
|
115198
|
+
description: string;
|
|
115199
|
+
};
|
|
115200
|
+
400: {
|
|
115201
|
+
description: string;
|
|
115202
|
+
};
|
|
115203
|
+
401: {
|
|
115204
|
+
description: string;
|
|
115205
|
+
};
|
|
115206
|
+
};
|
|
115207
|
+
security: ({
|
|
115208
|
+
api_key: never[];
|
|
115209
|
+
console_session_with_workspace?: never;
|
|
115210
|
+
} | {
|
|
115211
|
+
console_session_with_workspace: never[];
|
|
115212
|
+
api_key?: never;
|
|
115213
|
+
})[];
|
|
115214
|
+
summary: string;
|
|
115215
|
+
tags: never[];
|
|
115216
|
+
'x-fern-sdk-group-name': string[];
|
|
115217
|
+
'x-fern-sdk-method-name': string;
|
|
115218
|
+
'x-fern-sdk-return-value': string;
|
|
115219
|
+
'x-response-key': string;
|
|
115220
|
+
'x-title': string;
|
|
115221
|
+
'x-undocumented': string;
|
|
115222
|
+
};
|
|
115223
|
+
};
|
|
115224
|
+
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
115225
|
+
post: {
|
|
115226
|
+
description: string;
|
|
115227
|
+
operationId: string;
|
|
115228
|
+
requestBody: {
|
|
115229
|
+
content: {
|
|
115230
|
+
'application/json': {
|
|
115231
|
+
schema: {
|
|
115232
|
+
properties: {
|
|
115233
|
+
ical_config: {
|
|
115234
|
+
description: string;
|
|
115235
|
+
properties: {
|
|
115236
|
+
default_check_in_time: {
|
|
115237
|
+
description: string;
|
|
115238
|
+
pattern: string;
|
|
115239
|
+
type: string;
|
|
115240
|
+
};
|
|
115241
|
+
default_check_out_time: {
|
|
115242
|
+
description: string;
|
|
115243
|
+
pattern: string;
|
|
115244
|
+
type: string;
|
|
115245
|
+
};
|
|
115246
|
+
fields: {
|
|
115247
|
+
properties: {
|
|
115248
|
+
ends_at: {
|
|
115249
|
+
description: string;
|
|
115250
|
+
properties: {
|
|
115251
|
+
pattern: {
|
|
115252
|
+
description: string;
|
|
115253
|
+
type: string;
|
|
115254
|
+
};
|
|
115255
|
+
source: {
|
|
115256
|
+
description: string;
|
|
115257
|
+
type: string;
|
|
115258
|
+
};
|
|
115259
|
+
type: {
|
|
115260
|
+
description: string;
|
|
115261
|
+
enum: string[];
|
|
115262
|
+
type: string;
|
|
115263
|
+
};
|
|
115264
|
+
};
|
|
115265
|
+
required: string[];
|
|
115266
|
+
type: string;
|
|
115267
|
+
};
|
|
115268
|
+
guest_email: {
|
|
115269
|
+
description: string;
|
|
115270
|
+
properties: {
|
|
115271
|
+
pattern: {
|
|
115272
|
+
description: string;
|
|
115273
|
+
type: string;
|
|
115274
|
+
};
|
|
115275
|
+
source: {
|
|
115276
|
+
description: string;
|
|
115277
|
+
type: string;
|
|
115278
|
+
};
|
|
115279
|
+
type: {
|
|
115280
|
+
description: string;
|
|
115281
|
+
enum: string[];
|
|
115282
|
+
type: string;
|
|
115283
|
+
};
|
|
115284
|
+
};
|
|
115285
|
+
required: string[];
|
|
115286
|
+
type: string;
|
|
115287
|
+
};
|
|
115288
|
+
guest_name: {
|
|
115289
|
+
description: string;
|
|
115290
|
+
properties: {
|
|
115291
|
+
pattern: {
|
|
115292
|
+
description: string;
|
|
115293
|
+
type: string;
|
|
115294
|
+
};
|
|
115295
|
+
source: {
|
|
115296
|
+
description: string;
|
|
115297
|
+
type: string;
|
|
115298
|
+
};
|
|
115299
|
+
type: {
|
|
115300
|
+
description: string;
|
|
115301
|
+
enum: string[];
|
|
115302
|
+
type: string;
|
|
115303
|
+
};
|
|
115304
|
+
};
|
|
115305
|
+
required: string[];
|
|
115306
|
+
type: string;
|
|
115307
|
+
};
|
|
115308
|
+
guest_phone: {
|
|
115309
|
+
description: string;
|
|
115310
|
+
properties: {
|
|
115311
|
+
pattern: {
|
|
115312
|
+
description: string;
|
|
115313
|
+
type: string;
|
|
115314
|
+
};
|
|
115315
|
+
source: {
|
|
115316
|
+
description: string;
|
|
115317
|
+
type: string;
|
|
115318
|
+
};
|
|
115319
|
+
type: {
|
|
115320
|
+
description: string;
|
|
115321
|
+
enum: string[];
|
|
115322
|
+
type: string;
|
|
115323
|
+
};
|
|
115324
|
+
};
|
|
115325
|
+
required: string[];
|
|
115326
|
+
type: string;
|
|
115327
|
+
};
|
|
115328
|
+
reservation_key: {
|
|
115329
|
+
description: string;
|
|
115330
|
+
properties: {
|
|
115331
|
+
pattern: {
|
|
115332
|
+
description: string;
|
|
115333
|
+
type: string;
|
|
115334
|
+
};
|
|
115335
|
+
source: {
|
|
115336
|
+
description: string;
|
|
115337
|
+
type: string;
|
|
115338
|
+
};
|
|
115339
|
+
type: {
|
|
115340
|
+
description: string;
|
|
115341
|
+
enum: string[];
|
|
115342
|
+
type: string;
|
|
115343
|
+
};
|
|
115344
|
+
};
|
|
115345
|
+
required: string[];
|
|
115346
|
+
type: string;
|
|
115347
|
+
};
|
|
115348
|
+
starts_at: {
|
|
115349
|
+
description: string;
|
|
115350
|
+
properties: {
|
|
115351
|
+
pattern: {
|
|
115352
|
+
description: string;
|
|
115353
|
+
type: string;
|
|
115354
|
+
};
|
|
115355
|
+
source: {
|
|
115356
|
+
description: string;
|
|
115357
|
+
type: string;
|
|
115358
|
+
};
|
|
115359
|
+
type: {
|
|
115360
|
+
description: string;
|
|
115361
|
+
enum: string[];
|
|
115362
|
+
type: string;
|
|
115363
|
+
};
|
|
115364
|
+
};
|
|
115365
|
+
required: string[];
|
|
115366
|
+
type: string;
|
|
115367
|
+
};
|
|
115368
|
+
};
|
|
115369
|
+
required: string[];
|
|
115370
|
+
type: string;
|
|
115371
|
+
};
|
|
115372
|
+
filter: {
|
|
115373
|
+
description: string;
|
|
115374
|
+
properties: {
|
|
115375
|
+
pattern: {
|
|
115376
|
+
description: string;
|
|
115377
|
+
type: string;
|
|
115378
|
+
};
|
|
115379
|
+
source: {
|
|
115380
|
+
description: string;
|
|
115381
|
+
type: string;
|
|
115382
|
+
};
|
|
115383
|
+
};
|
|
115384
|
+
required: string[];
|
|
115385
|
+
type: string;
|
|
115386
|
+
};
|
|
115387
|
+
time_zone: {
|
|
115388
|
+
description: string;
|
|
115389
|
+
type: string;
|
|
115390
|
+
};
|
|
115391
|
+
};
|
|
115392
|
+
required: string[];
|
|
115393
|
+
type: string;
|
|
115394
|
+
};
|
|
115395
|
+
ical_url: {
|
|
115396
|
+
description: string;
|
|
115397
|
+
format: string;
|
|
115398
|
+
type: string;
|
|
115399
|
+
};
|
|
115400
|
+
};
|
|
115401
|
+
required: string[];
|
|
115402
|
+
type: string;
|
|
115403
|
+
};
|
|
115404
|
+
};
|
|
115405
|
+
};
|
|
115406
|
+
};
|
|
115407
|
+
responses: {
|
|
115408
|
+
200: {
|
|
115409
|
+
content: {
|
|
115410
|
+
'application/json': {
|
|
115411
|
+
schema: {
|
|
115412
|
+
properties: {
|
|
115413
|
+
ok: {
|
|
115414
|
+
type: string;
|
|
115415
|
+
};
|
|
115416
|
+
validation_result: {
|
|
115417
|
+
properties: {
|
|
115418
|
+
errors: {
|
|
115419
|
+
items: {
|
|
115420
|
+
type: string;
|
|
115421
|
+
};
|
|
115422
|
+
type: string;
|
|
115423
|
+
};
|
|
115424
|
+
filtered_events: {
|
|
115425
|
+
format: string;
|
|
115426
|
+
type: string;
|
|
115427
|
+
};
|
|
115428
|
+
is_valid: {
|
|
115429
|
+
type: string;
|
|
115430
|
+
};
|
|
115431
|
+
matched_events: {
|
|
115432
|
+
format: string;
|
|
115433
|
+
type: string;
|
|
115434
|
+
};
|
|
115435
|
+
reservations: {
|
|
115436
|
+
items: {
|
|
115437
|
+
properties: {
|
|
115438
|
+
ends_at: {
|
|
115439
|
+
nullable: boolean;
|
|
115440
|
+
type: string;
|
|
115441
|
+
};
|
|
115442
|
+
guest_email: {
|
|
115443
|
+
nullable: boolean;
|
|
115444
|
+
type: string;
|
|
115445
|
+
};
|
|
115446
|
+
guest_name: {
|
|
115447
|
+
nullable: boolean;
|
|
115448
|
+
type: string;
|
|
115449
|
+
};
|
|
115450
|
+
guest_phone: {
|
|
115451
|
+
nullable: boolean;
|
|
115452
|
+
type: string;
|
|
115453
|
+
};
|
|
115454
|
+
reservation_key: {
|
|
115455
|
+
nullable: boolean;
|
|
115456
|
+
type: string;
|
|
115457
|
+
};
|
|
115458
|
+
starts_at: {
|
|
115459
|
+
nullable: boolean;
|
|
115460
|
+
type: string;
|
|
115461
|
+
};
|
|
115462
|
+
uid: {
|
|
115463
|
+
type: string;
|
|
115464
|
+
};
|
|
115465
|
+
};
|
|
115466
|
+
required: string[];
|
|
115467
|
+
type: string;
|
|
115468
|
+
};
|
|
115469
|
+
type: string;
|
|
115470
|
+
};
|
|
115471
|
+
total_events: {
|
|
115472
|
+
format: string;
|
|
115473
|
+
type: string;
|
|
115474
|
+
};
|
|
115475
|
+
};
|
|
115476
|
+
required: string[];
|
|
115477
|
+
type: string;
|
|
115478
|
+
};
|
|
115479
|
+
};
|
|
115480
|
+
required: string[];
|
|
115481
|
+
type: string;
|
|
115482
|
+
};
|
|
115483
|
+
};
|
|
115484
|
+
};
|
|
115485
|
+
description: string;
|
|
115486
|
+
};
|
|
115487
|
+
400: {
|
|
115488
|
+
description: string;
|
|
115489
|
+
};
|
|
115490
|
+
401: {
|
|
115491
|
+
description: string;
|
|
115492
|
+
};
|
|
115493
|
+
};
|
|
115494
|
+
security: ({
|
|
115495
|
+
api_key: never[];
|
|
115496
|
+
console_session_with_workspace?: never;
|
|
115497
|
+
} | {
|
|
115498
|
+
console_session_with_workspace: never[];
|
|
115499
|
+
api_key?: never;
|
|
115500
|
+
})[];
|
|
115501
|
+
summary: string;
|
|
115502
|
+
tags: never[];
|
|
115503
|
+
'x-fern-sdk-group-name': string[];
|
|
115504
|
+
'x-fern-sdk-method-name': string;
|
|
115505
|
+
'x-fern-sdk-return-value': string;
|
|
115506
|
+
'x-response-key': string;
|
|
115507
|
+
'x-title': string;
|
|
115508
|
+
'x-undocumented': string;
|
|
115509
|
+
};
|
|
115510
|
+
};
|
|
115511
|
+
'/seam/customer/v1/connectors/list': {
|
|
115512
|
+
get: {
|
|
115513
|
+
description: string;
|
|
115514
|
+
operationId: string;
|
|
115515
|
+
responses: {
|
|
115516
|
+
200: {
|
|
115517
|
+
content: {
|
|
115518
|
+
'application/json': {
|
|
115519
|
+
schema: {
|
|
115520
|
+
properties: {
|
|
115521
|
+
connectors: {
|
|
115522
|
+
items: {
|
|
115523
|
+
properties: {
|
|
115524
|
+
config: {
|
|
115525
|
+
additionalProperties: {
|
|
115526
|
+
$ref: string;
|
|
115527
|
+
};
|
|
115528
|
+
type: string;
|
|
115529
|
+
};
|
|
115530
|
+
connector_id: {
|
|
115531
|
+
type: string;
|
|
115532
|
+
};
|
|
115533
|
+
connector_type: {
|
|
115534
|
+
type: string;
|
|
115535
|
+
};
|
|
115536
|
+
created_at: {
|
|
115537
|
+
type: string;
|
|
115538
|
+
};
|
|
115539
|
+
customer_key: {
|
|
115540
|
+
nullable: boolean;
|
|
115541
|
+
type: string;
|
|
115542
|
+
};
|
|
115543
|
+
status: {
|
|
115544
|
+
enum: string[];
|
|
115545
|
+
type: string;
|
|
115546
|
+
};
|
|
115547
|
+
unique_provider_resource_key: {
|
|
115548
|
+
nullable: boolean;
|
|
115549
|
+
type: string;
|
|
115550
|
+
};
|
|
115551
|
+
updated_at: {
|
|
115552
|
+
type: string;
|
|
115553
|
+
};
|
|
115554
|
+
};
|
|
115555
|
+
required: string[];
|
|
115556
|
+
type: string;
|
|
115557
|
+
};
|
|
115558
|
+
type: string;
|
|
115559
|
+
};
|
|
115560
|
+
ok: {
|
|
115561
|
+
type: string;
|
|
115562
|
+
};
|
|
115563
|
+
};
|
|
115564
|
+
required: string[];
|
|
115565
|
+
type: string;
|
|
115566
|
+
};
|
|
115567
|
+
};
|
|
115568
|
+
};
|
|
115569
|
+
description: string;
|
|
115570
|
+
};
|
|
115571
|
+
400: {
|
|
115572
|
+
description: string;
|
|
115573
|
+
};
|
|
115574
|
+
401: {
|
|
115575
|
+
description: string;
|
|
115576
|
+
};
|
|
115577
|
+
};
|
|
115578
|
+
security: ({
|
|
115579
|
+
api_key: never[];
|
|
115580
|
+
client_session_with_customer?: never;
|
|
115581
|
+
console_session_with_workspace?: never;
|
|
115582
|
+
} | {
|
|
115583
|
+
client_session_with_customer: never[];
|
|
115584
|
+
api_key?: never;
|
|
115585
|
+
console_session_with_workspace?: never;
|
|
115586
|
+
} | {
|
|
115587
|
+
console_session_with_workspace: never[];
|
|
115588
|
+
api_key?: never;
|
|
115589
|
+
client_session_with_customer?: never;
|
|
115590
|
+
})[];
|
|
115591
|
+
summary: string;
|
|
115592
|
+
tags: never[];
|
|
115593
|
+
'x-fern-sdk-group-name': string[];
|
|
115594
|
+
'x-fern-sdk-method-name': string;
|
|
115595
|
+
'x-fern-sdk-return-value': string;
|
|
115596
|
+
'x-response-key': string;
|
|
115597
|
+
'x-title': string;
|
|
115598
|
+
'x-undocumented': string;
|
|
115599
|
+
};
|
|
115600
|
+
post: {
|
|
115601
|
+
description: string;
|
|
115602
|
+
operationId: string;
|
|
115603
|
+
responses: {
|
|
115604
|
+
200: {
|
|
115605
|
+
content: {
|
|
115606
|
+
'application/json': {
|
|
115607
|
+
schema: {
|
|
115608
|
+
properties: {
|
|
115609
|
+
connectors: {
|
|
115610
|
+
items: {
|
|
115611
|
+
properties: {
|
|
115612
|
+
config: {
|
|
115613
|
+
additionalProperties: {
|
|
115614
|
+
$ref: string;
|
|
115615
|
+
};
|
|
115616
|
+
type: string;
|
|
115617
|
+
};
|
|
115618
|
+
connector_id: {
|
|
115619
|
+
type: string;
|
|
115620
|
+
};
|
|
115621
|
+
connector_type: {
|
|
115622
|
+
type: string;
|
|
115623
|
+
};
|
|
115624
|
+
created_at: {
|
|
115625
|
+
type: string;
|
|
115626
|
+
};
|
|
115627
|
+
customer_key: {
|
|
115628
|
+
nullable: boolean;
|
|
115629
|
+
type: string;
|
|
115630
|
+
};
|
|
115631
|
+
status: {
|
|
115632
|
+
enum: string[];
|
|
115633
|
+
type: string;
|
|
115634
|
+
};
|
|
115635
|
+
unique_provider_resource_key: {
|
|
115636
|
+
nullable: boolean;
|
|
115637
|
+
type: string;
|
|
115638
|
+
};
|
|
115639
|
+
updated_at: {
|
|
115640
|
+
type: string;
|
|
115641
|
+
};
|
|
115642
|
+
};
|
|
115643
|
+
required: string[];
|
|
115644
|
+
type: string;
|
|
115095
115645
|
};
|
|
115096
115646
|
type: string;
|
|
115097
115647
|
};
|
|
@@ -146575,14 +147125,17 @@ type Routes = {
|
|
|
146575
147125
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
146576
147126
|
});
|
|
146577
147127
|
/** Location information for the device. */
|
|
146578
|
-
location
|
|
147128
|
+
location?: {
|
|
146579
147129
|
/** Name of the device location.
|
|
146580
147130
|
*/
|
|
146581
147131
|
location_name?: string | undefined;
|
|
146582
147132
|
/** Time zone of the device location.
|
|
146583
147133
|
*/
|
|
147134
|
+
time_zone?: string | undefined;
|
|
147135
|
+
/** Time zone of the device location.
|
|
147136
|
+
* @deprecated Use `time_zone` instead.*/
|
|
146584
147137
|
timezone?: string | undefined;
|
|
146585
|
-
} |
|
|
147138
|
+
} | undefined;
|
|
146586
147139
|
/** Unique identifier for the account associated with the device. */
|
|
146587
147140
|
connected_account_id: string;
|
|
146588
147141
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -150879,14 +151432,17 @@ type Routes = {
|
|
|
150879
151432
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
150880
151433
|
});
|
|
150881
151434
|
/** Location information for the device. */
|
|
150882
|
-
location
|
|
151435
|
+
location?: {
|
|
150883
151436
|
/** Name of the device location.
|
|
150884
151437
|
*/
|
|
150885
151438
|
location_name?: string | undefined;
|
|
150886
151439
|
/** Time zone of the device location.
|
|
150887
151440
|
*/
|
|
151441
|
+
time_zone?: string | undefined;
|
|
151442
|
+
/** Time zone of the device location.
|
|
151443
|
+
* @deprecated Use `time_zone` instead.*/
|
|
150888
151444
|
timezone?: string | undefined;
|
|
150889
|
-
} |
|
|
151445
|
+
} | undefined;
|
|
150890
151446
|
/** Unique identifier for the account associated with the device. */
|
|
150891
151447
|
connected_account_id: string;
|
|
150892
151448
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -167341,14 +167897,17 @@ type Routes = {
|
|
|
167341
167897
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
167342
167898
|
});
|
|
167343
167899
|
/** Location information for the device. */
|
|
167344
|
-
location
|
|
167900
|
+
location?: {
|
|
167345
167901
|
/** Name of the device location.
|
|
167346
167902
|
*/
|
|
167347
167903
|
location_name?: string | undefined;
|
|
167348
167904
|
/** Time zone of the device location.
|
|
167349
167905
|
*/
|
|
167906
|
+
time_zone?: string | undefined;
|
|
167907
|
+
/** Time zone of the device location.
|
|
167908
|
+
* @deprecated Use `time_zone` instead.*/
|
|
167350
167909
|
timezone?: string | undefined;
|
|
167351
|
-
} |
|
|
167910
|
+
} | undefined;
|
|
167352
167911
|
/** Unique identifier for the account associated with the device. */
|
|
167353
167912
|
connected_account_id: string;
|
|
167354
167913
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -168711,14 +169270,17 @@ type Routes = {
|
|
|
168711
169270
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
168712
169271
|
});
|
|
168713
169272
|
/** Location information for the device. */
|
|
168714
|
-
location
|
|
169273
|
+
location?: {
|
|
168715
169274
|
/** Name of the device location.
|
|
168716
169275
|
*/
|
|
168717
169276
|
location_name?: string | undefined;
|
|
168718
169277
|
/** Time zone of the device location.
|
|
168719
169278
|
*/
|
|
169279
|
+
time_zone?: string | undefined;
|
|
169280
|
+
/** Time zone of the device location.
|
|
169281
|
+
* @deprecated Use `time_zone` instead.*/
|
|
168720
169282
|
timezone?: string | undefined;
|
|
168721
|
-
} |
|
|
169283
|
+
} | undefined;
|
|
168722
169284
|
/** Unique identifier for the account associated with the device. */
|
|
168723
169285
|
connected_account_id: string;
|
|
168724
169286
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -169255,14 +169817,17 @@ type Routes = {
|
|
|
169255
169817
|
/** Unique identifier for the account associated with the device. */
|
|
169256
169818
|
connected_account_id: string;
|
|
169257
169819
|
/** Location information for the device. */
|
|
169258
|
-
location
|
|
169820
|
+
location?: {
|
|
169259
169821
|
/** Name of the device location.
|
|
169260
169822
|
*/
|
|
169261
169823
|
location_name?: string | undefined;
|
|
169262
169824
|
/** Time zone of the device location.
|
|
169263
169825
|
*/
|
|
169826
|
+
time_zone?: string | undefined;
|
|
169827
|
+
/** Time zone of the device location.
|
|
169828
|
+
* @deprecated Use `time_zone` instead.*/
|
|
169264
169829
|
timezone?: string | undefined;
|
|
169265
|
-
} |
|
|
169830
|
+
} | undefined;
|
|
169266
169831
|
/**
|
|
169267
169832
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
169268
169833
|
*/
|
|
@@ -169736,14 +170301,17 @@ type Routes = {
|
|
|
169736
170301
|
/** Unique identifier for the account associated with the device. */
|
|
169737
170302
|
connected_account_id: string;
|
|
169738
170303
|
/** Location information for the device. */
|
|
169739
|
-
location
|
|
170304
|
+
location?: {
|
|
169740
170305
|
/** Name of the device location.
|
|
169741
170306
|
*/
|
|
169742
170307
|
location_name?: string | undefined;
|
|
169743
170308
|
/** Time zone of the device location.
|
|
169744
170309
|
*/
|
|
170310
|
+
time_zone?: string | undefined;
|
|
170311
|
+
/** Time zone of the device location.
|
|
170312
|
+
* @deprecated Use `time_zone` instead.*/
|
|
169745
170313
|
timezone?: string | undefined;
|
|
169746
|
-
} |
|
|
170314
|
+
} | undefined;
|
|
169747
170315
|
/**
|
|
169748
170316
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
169749
170317
|
*/
|
|
@@ -178223,14 +178791,17 @@ type Routes = {
|
|
|
178223
178791
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
178224
178792
|
});
|
|
178225
178793
|
/** Location information for the device. */
|
|
178226
|
-
location
|
|
178794
|
+
location?: {
|
|
178227
178795
|
/** Name of the device location.
|
|
178228
178796
|
*/
|
|
178229
178797
|
location_name?: string | undefined;
|
|
178230
178798
|
/** Time zone of the device location.
|
|
178231
178799
|
*/
|
|
178800
|
+
time_zone?: string | undefined;
|
|
178801
|
+
/** Time zone of the device location.
|
|
178802
|
+
* @deprecated Use `time_zone` instead.*/
|
|
178232
178803
|
timezone?: string | undefined;
|
|
178233
|
-
} |
|
|
178804
|
+
} | undefined;
|
|
178234
178805
|
/** Unique identifier for the account associated with the device. */
|
|
178235
178806
|
connected_account_id: string;
|
|
178236
178807
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -179543,14 +180114,17 @@ type Routes = {
|
|
|
179543
180114
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
179544
180115
|
});
|
|
179545
180116
|
/** Location information for the device. */
|
|
179546
|
-
location
|
|
180117
|
+
location?: {
|
|
179547
180118
|
/** Name of the device location.
|
|
179548
180119
|
*/
|
|
179549
180120
|
location_name?: string | undefined;
|
|
179550
180121
|
/** Time zone of the device location.
|
|
179551
180122
|
*/
|
|
180123
|
+
time_zone?: string | undefined;
|
|
180124
|
+
/** Time zone of the device location.
|
|
180125
|
+
* @deprecated Use `time_zone` instead.*/
|
|
179552
180126
|
timezone?: string | undefined;
|
|
179553
|
-
} |
|
|
180127
|
+
} | undefined;
|
|
179554
180128
|
/** Unique identifier for the account associated with the device. */
|
|
179555
180129
|
connected_account_id: string;
|
|
179556
180130
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -180913,14 +181487,17 @@ type Routes = {
|
|
|
180913
181487
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
180914
181488
|
});
|
|
180915
181489
|
/** Location information for the device. */
|
|
180916
|
-
location
|
|
181490
|
+
location?: {
|
|
180917
181491
|
/** Name of the device location.
|
|
180918
181492
|
*/
|
|
180919
181493
|
location_name?: string | undefined;
|
|
180920
181494
|
/** Time zone of the device location.
|
|
180921
181495
|
*/
|
|
181496
|
+
time_zone?: string | undefined;
|
|
181497
|
+
/** Time zone of the device location.
|
|
181498
|
+
* @deprecated Use `time_zone` instead.*/
|
|
180922
181499
|
timezone?: string | undefined;
|
|
180923
|
-
} |
|
|
181500
|
+
} | undefined;
|
|
180924
181501
|
/** Unique identifier for the account associated with the device. */
|
|
180925
181502
|
connected_account_id: string;
|
|
180926
181503
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -182232,14 +182809,17 @@ type Routes = {
|
|
|
182232
182809
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
182233
182810
|
});
|
|
182234
182811
|
/** Location information for the device. */
|
|
182235
|
-
location
|
|
182812
|
+
location?: {
|
|
182236
182813
|
/** Name of the device location.
|
|
182237
182814
|
*/
|
|
182238
182815
|
location_name?: string | undefined;
|
|
182239
182816
|
/** Time zone of the device location.
|
|
182240
182817
|
*/
|
|
182818
|
+
time_zone?: string | undefined;
|
|
182819
|
+
/** Time zone of the device location.
|
|
182820
|
+
* @deprecated Use `time_zone` instead.*/
|
|
182241
182821
|
timezone?: string | undefined;
|
|
182242
|
-
} |
|
|
182822
|
+
} | undefined;
|
|
182243
182823
|
/** Unique identifier for the account associated with the device. */
|
|
182244
182824
|
connected_account_id: string;
|
|
182245
182825
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -188948,14 +189528,17 @@ type Routes = {
|
|
|
188948
189528
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
188949
189529
|
});
|
|
188950
189530
|
/** Location information for the device. */
|
|
188951
|
-
location
|
|
189531
|
+
location?: {
|
|
188952
189532
|
/** Name of the device location.
|
|
188953
189533
|
*/
|
|
188954
189534
|
location_name?: string | undefined;
|
|
188955
189535
|
/** Time zone of the device location.
|
|
188956
189536
|
*/
|
|
189537
|
+
time_zone?: string | undefined;
|
|
189538
|
+
/** Time zone of the device location.
|
|
189539
|
+
* @deprecated Use `time_zone` instead.*/
|
|
188957
189540
|
timezone?: string | undefined;
|
|
188958
|
-
} |
|
|
189541
|
+
} | undefined;
|
|
188959
189542
|
/** Unique identifier for the account associated with the device. */
|
|
188960
189543
|
connected_account_id: string;
|
|
188961
189544
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -190267,14 +190850,17 @@ type Routes = {
|
|
|
190267
190850
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
190268
190851
|
});
|
|
190269
190852
|
/** Location information for the device. */
|
|
190270
|
-
location
|
|
190853
|
+
location?: {
|
|
190271
190854
|
/** Name of the device location.
|
|
190272
190855
|
*/
|
|
190273
190856
|
location_name?: string | undefined;
|
|
190274
190857
|
/** Time zone of the device location.
|
|
190275
190858
|
*/
|
|
190859
|
+
time_zone?: string | undefined;
|
|
190860
|
+
/** Time zone of the device location.
|
|
190861
|
+
* @deprecated Use `time_zone` instead.*/
|
|
190276
190862
|
timezone?: string | undefined;
|
|
190277
|
-
} |
|
|
190863
|
+
} | undefined;
|
|
190278
190864
|
/** Unique identifier for the account associated with the device. */
|
|
190279
190865
|
connected_account_id: string;
|
|
190280
190866
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -197426,6 +198012,195 @@ type Routes = {
|
|
|
197426
198012
|
};
|
|
197427
198013
|
maxDuration: undefined;
|
|
197428
198014
|
};
|
|
198015
|
+
'/seam/customer/v1/connectors/ical/generate-config': {
|
|
198016
|
+
route: '/seam/customer/v1/connectors/ical/generate-config';
|
|
198017
|
+
method: 'POST';
|
|
198018
|
+
queryParams: {};
|
|
198019
|
+
jsonBody: {
|
|
198020
|
+
/** iCal feed URL to analyze */
|
|
198021
|
+
ical_url: string;
|
|
198022
|
+
};
|
|
198023
|
+
commonParams: {};
|
|
198024
|
+
formData: {};
|
|
198025
|
+
jsonResponse: {
|
|
198026
|
+
generated_config: {
|
|
198027
|
+
ical_config: {
|
|
198028
|
+
/** Optional filter to skip non-matching events */
|
|
198029
|
+
filter?: {
|
|
198030
|
+
/** iCal property name to match against */
|
|
198031
|
+
source: string;
|
|
198032
|
+
/** Regex pattern — events not matching are skipped */
|
|
198033
|
+
pattern: string;
|
|
198034
|
+
} | undefined;
|
|
198035
|
+
fields: {
|
|
198036
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
198037
|
+
reservation_key?: {
|
|
198038
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198039
|
+
source: string;
|
|
198040
|
+
/** Regex with capture group to extract value from the property */
|
|
198041
|
+
pattern?: string | undefined;
|
|
198042
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198043
|
+
type?: 'date' | undefined;
|
|
198044
|
+
} | undefined;
|
|
198045
|
+
/** How to extract guest name */
|
|
198046
|
+
guest_name?: {
|
|
198047
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198048
|
+
source: string;
|
|
198049
|
+
/** Regex with capture group to extract value from the property */
|
|
198050
|
+
pattern?: string | undefined;
|
|
198051
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198052
|
+
type?: 'date' | undefined;
|
|
198053
|
+
} | undefined;
|
|
198054
|
+
/** How to extract guest email */
|
|
198055
|
+
guest_email?: {
|
|
198056
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198057
|
+
source: string;
|
|
198058
|
+
/** Regex with capture group to extract value from the property */
|
|
198059
|
+
pattern?: string | undefined;
|
|
198060
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198061
|
+
type?: 'date' | undefined;
|
|
198062
|
+
} | undefined;
|
|
198063
|
+
/** How to extract guest phone */
|
|
198064
|
+
guest_phone?: {
|
|
198065
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198066
|
+
source: string;
|
|
198067
|
+
/** Regex with capture group to extract value from the property */
|
|
198068
|
+
pattern?: string | undefined;
|
|
198069
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198070
|
+
type?: 'date' | undefined;
|
|
198071
|
+
} | undefined;
|
|
198072
|
+
/** How to extract check-in date */
|
|
198073
|
+
starts_at: {
|
|
198074
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198075
|
+
source: string;
|
|
198076
|
+
/** Regex with capture group to extract value from the property */
|
|
198077
|
+
pattern?: string | undefined;
|
|
198078
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198079
|
+
type?: 'date' | undefined;
|
|
198080
|
+
};
|
|
198081
|
+
/** How to extract check-out date */
|
|
198082
|
+
ends_at: {
|
|
198083
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198084
|
+
source: string;
|
|
198085
|
+
/** Regex with capture group to extract value from the property */
|
|
198086
|
+
pattern?: string | undefined;
|
|
198087
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198088
|
+
type?: 'date' | undefined;
|
|
198089
|
+
};
|
|
198090
|
+
};
|
|
198091
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
198092
|
+
time_zone?: string | undefined;
|
|
198093
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
198094
|
+
default_check_in_time?: string | undefined;
|
|
198095
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
198096
|
+
default_check_out_time?: string | undefined;
|
|
198097
|
+
};
|
|
198098
|
+
};
|
|
198099
|
+
};
|
|
198100
|
+
maxDuration: undefined;
|
|
198101
|
+
};
|
|
198102
|
+
'/seam/customer/v1/connectors/ical/validate-config': {
|
|
198103
|
+
route: '/seam/customer/v1/connectors/ical/validate-config';
|
|
198104
|
+
method: 'POST';
|
|
198105
|
+
queryParams: {};
|
|
198106
|
+
jsonBody: {
|
|
198107
|
+
/** iCal feed URL to validate against */
|
|
198108
|
+
ical_url: string;
|
|
198109
|
+
/** Config to validate */
|
|
198110
|
+
ical_config: {
|
|
198111
|
+
/** Optional filter to skip non-matching events */
|
|
198112
|
+
filter?: {
|
|
198113
|
+
/** iCal property name to match against */
|
|
198114
|
+
source: string;
|
|
198115
|
+
/** Regex pattern — events not matching are skipped */
|
|
198116
|
+
pattern: string;
|
|
198117
|
+
} | undefined;
|
|
198118
|
+
fields: {
|
|
198119
|
+
/** How to extract the reservation key (falls back to UID) */
|
|
198120
|
+
reservation_key?: {
|
|
198121
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198122
|
+
source: string;
|
|
198123
|
+
/** Regex with capture group to extract value from the property */
|
|
198124
|
+
pattern?: string | undefined;
|
|
198125
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198126
|
+
type?: 'date' | undefined;
|
|
198127
|
+
} | undefined;
|
|
198128
|
+
/** How to extract guest name */
|
|
198129
|
+
guest_name?: {
|
|
198130
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198131
|
+
source: string;
|
|
198132
|
+
/** Regex with capture group to extract value from the property */
|
|
198133
|
+
pattern?: string | undefined;
|
|
198134
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198135
|
+
type?: 'date' | undefined;
|
|
198136
|
+
} | undefined;
|
|
198137
|
+
/** How to extract guest email */
|
|
198138
|
+
guest_email?: {
|
|
198139
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198140
|
+
source: string;
|
|
198141
|
+
/** Regex with capture group to extract value from the property */
|
|
198142
|
+
pattern?: string | undefined;
|
|
198143
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198144
|
+
type?: 'date' | undefined;
|
|
198145
|
+
} | undefined;
|
|
198146
|
+
/** How to extract guest phone */
|
|
198147
|
+
guest_phone?: {
|
|
198148
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198149
|
+
source: string;
|
|
198150
|
+
/** Regex with capture group to extract value from the property */
|
|
198151
|
+
pattern?: string | undefined;
|
|
198152
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198153
|
+
type?: 'date' | undefined;
|
|
198154
|
+
} | undefined;
|
|
198155
|
+
/** How to extract check-in date */
|
|
198156
|
+
starts_at: {
|
|
198157
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198158
|
+
source: string;
|
|
198159
|
+
/** Regex with capture group to extract value from the property */
|
|
198160
|
+
pattern?: string | undefined;
|
|
198161
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198162
|
+
type?: 'date' | undefined;
|
|
198163
|
+
};
|
|
198164
|
+
/** How to extract check-out date */
|
|
198165
|
+
ends_at: {
|
|
198166
|
+
/** iCal property name to read from: UID, SUMMARY, DESCRIPTION, DTSTART, DTEND, etc. */
|
|
198167
|
+
source: string;
|
|
198168
|
+
/** Regex with capture group to extract value from the property */
|
|
198169
|
+
pattern?: string | undefined;
|
|
198170
|
+
/** Special type handling — 'date' parses iCal date formats */
|
|
198171
|
+
type?: 'date' | undefined;
|
|
198172
|
+
};
|
|
198173
|
+
};
|
|
198174
|
+
/** IANA time zone (e.g. America/New_York) applied when dates have no time/timezone */
|
|
198175
|
+
time_zone?: string | undefined;
|
|
198176
|
+
/** Default check-in time (HH:MM) used when iCal gives date-only values */
|
|
198177
|
+
default_check_in_time?: string | undefined;
|
|
198178
|
+
/** Default check-out time (HH:MM) used when iCal gives date-only values */
|
|
198179
|
+
default_check_out_time?: string | undefined;
|
|
198180
|
+
};
|
|
198181
|
+
};
|
|
198182
|
+
commonParams: {};
|
|
198183
|
+
formData: {};
|
|
198184
|
+
jsonResponse: {
|
|
198185
|
+
validation_result: {
|
|
198186
|
+
is_valid: boolean;
|
|
198187
|
+
total_events: number;
|
|
198188
|
+
matched_events: number;
|
|
198189
|
+
filtered_events: number;
|
|
198190
|
+
reservations: {
|
|
198191
|
+
uid: string;
|
|
198192
|
+
reservation_key: string | null;
|
|
198193
|
+
guest_name: string | null;
|
|
198194
|
+
guest_email: string | null;
|
|
198195
|
+
guest_phone: string | null;
|
|
198196
|
+
starts_at: string | null;
|
|
198197
|
+
ends_at: string | null;
|
|
198198
|
+
}[];
|
|
198199
|
+
errors: string[];
|
|
198200
|
+
};
|
|
198201
|
+
};
|
|
198202
|
+
maxDuration: undefined;
|
|
198203
|
+
};
|
|
197429
198204
|
'/seam/customer/v1/connectors/list': {
|
|
197430
198205
|
route: '/seam/customer/v1/connectors/list';
|
|
197431
198206
|
method: 'GET' | 'POST';
|
|
@@ -203385,14 +204160,17 @@ type Routes = {
|
|
|
203385
204160
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
203386
204161
|
});
|
|
203387
204162
|
/** Location information for the device. */
|
|
203388
|
-
location
|
|
204163
|
+
location?: {
|
|
203389
204164
|
/** Name of the device location.
|
|
203390
204165
|
*/
|
|
203391
204166
|
location_name?: string | undefined;
|
|
203392
204167
|
/** Time zone of the device location.
|
|
203393
204168
|
*/
|
|
204169
|
+
time_zone?: string | undefined;
|
|
204170
|
+
/** Time zone of the device location.
|
|
204171
|
+
* @deprecated Use `time_zone` instead.*/
|
|
203394
204172
|
timezone?: string | undefined;
|
|
203395
|
-
} |
|
|
204173
|
+
} | undefined;
|
|
203396
204174
|
/** Unique identifier for the account associated with the device. */
|
|
203397
204175
|
connected_account_id: string;
|
|
203398
204176
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -209478,14 +210256,17 @@ type Routes = {
|
|
|
209478
210256
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
209479
210257
|
});
|
|
209480
210258
|
/** Location information for the device. */
|
|
209481
|
-
location
|
|
210259
|
+
location?: {
|
|
209482
210260
|
/** Name of the device location.
|
|
209483
210261
|
*/
|
|
209484
210262
|
location_name?: string | undefined;
|
|
209485
210263
|
/** Time zone of the device location.
|
|
209486
210264
|
*/
|
|
210265
|
+
time_zone?: string | undefined;
|
|
210266
|
+
/** Time zone of the device location.
|
|
210267
|
+
* @deprecated Use `time_zone` instead.*/
|
|
209487
210268
|
timezone?: string | undefined;
|
|
209488
|
-
} |
|
|
210269
|
+
} | undefined;
|
|
209489
210270
|
/** Unique identifier for the account associated with the device. */
|
|
209490
210271
|
connected_account_id: string;
|
|
209491
210272
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -213534,14 +214315,17 @@ type Routes = {
|
|
|
213534
214315
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
213535
214316
|
});
|
|
213536
214317
|
/** Location information for the device. */
|
|
213537
|
-
location
|
|
214318
|
+
location?: {
|
|
213538
214319
|
/** Name of the device location.
|
|
213539
214320
|
*/
|
|
213540
214321
|
location_name?: string | undefined;
|
|
213541
214322
|
/** Time zone of the device location.
|
|
213542
214323
|
*/
|
|
214324
|
+
time_zone?: string | undefined;
|
|
214325
|
+
/** Time zone of the device location.
|
|
214326
|
+
* @deprecated Use `time_zone` instead.*/
|
|
213543
214327
|
timezone?: string | undefined;
|
|
213544
|
-
} |
|
|
214328
|
+
} | undefined;
|
|
213545
214329
|
/** Unique identifier for the account associated with the device. */
|
|
213546
214330
|
connected_account_id: string;
|
|
213547
214331
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -214853,14 +215637,17 @@ type Routes = {
|
|
|
214853
215637
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
214854
215638
|
});
|
|
214855
215639
|
/** Location information for the device. */
|
|
214856
|
-
location
|
|
215640
|
+
location?: {
|
|
214857
215641
|
/** Name of the device location.
|
|
214858
215642
|
*/
|
|
214859
215643
|
location_name?: string | undefined;
|
|
214860
215644
|
/** Time zone of the device location.
|
|
214861
215645
|
*/
|
|
215646
|
+
time_zone?: string | undefined;
|
|
215647
|
+
/** Time zone of the device location.
|
|
215648
|
+
* @deprecated Use `time_zone` instead.*/
|
|
214862
215649
|
timezone?: string | undefined;
|
|
214863
|
-
} |
|
|
215650
|
+
} | undefined;
|
|
214864
215651
|
/** Unique identifier for the account associated with the device. */
|
|
214865
215652
|
connected_account_id: string;
|
|
214866
215653
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -222458,14 +223245,17 @@ type Routes = {
|
|
|
222458
223245
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
222459
223246
|
});
|
|
222460
223247
|
/** Location information for the device. */
|
|
222461
|
-
location
|
|
223248
|
+
location?: {
|
|
222462
223249
|
/** Name of the device location.
|
|
222463
223250
|
*/
|
|
222464
223251
|
location_name?: string | undefined;
|
|
222465
223252
|
/** Time zone of the device location.
|
|
222466
223253
|
*/
|
|
223254
|
+
time_zone?: string | undefined;
|
|
223255
|
+
/** Time zone of the device location.
|
|
223256
|
+
* @deprecated Use `time_zone` instead.*/
|
|
222467
223257
|
timezone?: string | undefined;
|
|
222468
|
-
} |
|
|
223258
|
+
} | undefined;
|
|
222469
223259
|
/** Unique identifier for the account associated with the device. */
|
|
222470
223260
|
connected_account_id: string;
|
|
222471
223261
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -223779,14 +224569,17 @@ type Routes = {
|
|
|
223779
224569
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
223780
224570
|
});
|
|
223781
224571
|
/** Location information for the device. */
|
|
223782
|
-
location
|
|
224572
|
+
location?: {
|
|
223783
224573
|
/** Name of the device location.
|
|
223784
224574
|
*/
|
|
223785
224575
|
location_name?: string | undefined;
|
|
223786
224576
|
/** Time zone of the device location.
|
|
223787
224577
|
*/
|
|
224578
|
+
time_zone?: string | undefined;
|
|
224579
|
+
/** Time zone of the device location.
|
|
224580
|
+
* @deprecated Use `time_zone` instead.*/
|
|
223788
224581
|
timezone?: string | undefined;
|
|
223789
|
-
} |
|
|
224582
|
+
} | undefined;
|
|
223790
224583
|
/** Unique identifier for the account associated with the device. */
|
|
223791
224584
|
connected_account_id: string;
|
|
223792
224585
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -226078,14 +226871,17 @@ type Routes = {
|
|
|
226078
226871
|
max_thermostat_daily_program_periods_per_day?: (number | undefined) | undefined;
|
|
226079
226872
|
});
|
|
226080
226873
|
/** Location information for the device. */
|
|
226081
|
-
location
|
|
226874
|
+
location?: {
|
|
226082
226875
|
/** Name of the device location.
|
|
226083
226876
|
*/
|
|
226084
226877
|
location_name?: string | undefined;
|
|
226085
226878
|
/** Time zone of the device location.
|
|
226086
226879
|
*/
|
|
226880
|
+
time_zone?: string | undefined;
|
|
226881
|
+
/** Time zone of the device location.
|
|
226882
|
+
* @deprecated Use `time_zone` instead.*/
|
|
226087
226883
|
timezone?: string | undefined;
|
|
226088
|
-
} |
|
|
226884
|
+
} | undefined;
|
|
226089
226885
|
/** Unique identifier for the account associated with the device. */
|
|
226090
226886
|
connected_account_id: string;
|
|
226091
226887
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -228852,14 +229648,17 @@ type Routes = {
|
|
|
228852
229648
|
/** Unique identifier for the account associated with the device. */
|
|
228853
229649
|
connected_account_id: string;
|
|
228854
229650
|
/** Location information for the device. */
|
|
228855
|
-
location
|
|
229651
|
+
location?: {
|
|
228856
229652
|
/** Name of the device location.
|
|
228857
229653
|
*/
|
|
228858
229654
|
location_name?: string | undefined;
|
|
228859
229655
|
/** Time zone of the device location.
|
|
228860
229656
|
*/
|
|
229657
|
+
time_zone?: string | undefined;
|
|
229658
|
+
/** Time zone of the device location.
|
|
229659
|
+
* @deprecated Use `time_zone` instead.*/
|
|
228861
229660
|
timezone?: string | undefined;
|
|
228862
|
-
} |
|
|
229661
|
+
} | undefined;
|
|
228863
229662
|
/**
|
|
228864
229663
|
Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).
|
|
228865
229664
|
*/
|