@seamapi/types 1.1187.0 → 1.1189.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/customer/customer-portal.d.ts +19 -0
- package/lib/seam/connect/models/customer/customer-portal.js +5 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/customization-profiles/customization-profile.d.ts +7 -0
- package/lib/seam/connect/models/devices/device.d.ts +104 -95
- package/lib/seam/connect/models/devices/device.js +16 -1
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +72 -64
- package/lib/seam/connect/models/devices/unmanaged-device.js +5 -2
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.js +164 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +562 -438
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +7 -0
- package/src/lib/seam/connect/models/devices/device.ts +21 -2
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +21 -14
- package/src/lib/seam/connect/openapi.ts +176 -2
- package/src/lib/seam/connect/route-types.ts +25269 -24523
|
@@ -64,7 +64,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
64
64
|
nickname: z.ZodOptional<z.ZodString>;
|
|
65
65
|
display_name: z.ZodString;
|
|
66
66
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
67
|
-
|
|
67
|
+
is_online: z.ZodBoolean;
|
|
68
|
+
is_door_locked: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
properties: z.ZodOptional<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
68
70
|
online: z.ZodBoolean;
|
|
69
71
|
name: z.ZodString;
|
|
70
72
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
@@ -3181,7 +3183,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3181
3183
|
thermostat_daily_program_period_precision_minutes?: number | undefined;
|
|
3182
3184
|
max_unique_climate_presets_per_thermostat_weekly_program?: number | undefined;
|
|
3183
3185
|
max_thermostat_daily_program_periods_per_day?: number | undefined;
|
|
3184
|
-
}
|
|
3186
|
+
}>>>>;
|
|
3185
3187
|
location: z.ZodOptional<z.ZodObject<{
|
|
3186
3188
|
location_name: z.ZodOptional<z.ZodString>;
|
|
3187
3189
|
room_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3992,9 +3994,9 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3992
3994
|
can_play_speaker_chime: z.ZodOptional<z.ZodBoolean>;
|
|
3993
3995
|
can_play_speaker_favorite: z.ZodOptional<z.ZodBoolean>;
|
|
3994
3996
|
can_play_speaker_audio_clip: z.ZodOptional<z.ZodBoolean>;
|
|
3995
|
-
}, "display_name" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "location"> & {
|
|
3997
|
+
}, "display_name" | "device_id" | "workspace_id" | "created_at" | "errors" | "connected_account_id" | "warnings" | "custom_metadata" | "device_type" | "capabilities_supported" | "is_online" | "location"> & {
|
|
3996
3998
|
is_managed: z.ZodLiteral<false>;
|
|
3997
|
-
properties: z.ZodObject<Pick<{
|
|
3999
|
+
properties: z.ZodOptional<z.ZodObject<Pick<{
|
|
3998
4000
|
online: z.ZodBoolean;
|
|
3999
4001
|
name: z.ZodString;
|
|
4000
4002
|
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
@@ -4127,7 +4129,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4127
4129
|
image_alt_text?: string | undefined;
|
|
4128
4130
|
online_access_codes_enabled?: boolean | undefined;
|
|
4129
4131
|
offline_access_codes_enabled?: boolean | undefined;
|
|
4130
|
-
}
|
|
4132
|
+
}>>;
|
|
4131
4133
|
} & {
|
|
4132
4134
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
4133
4135
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4389,35 +4391,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4389
4391
|
custom_metadata: Record<string, string | boolean>;
|
|
4390
4392
|
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" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_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" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
|
|
4391
4393
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4392
|
-
|
|
4393
|
-
name: string;
|
|
4394
|
-
model: {
|
|
4395
|
-
display_name: string;
|
|
4396
|
-
manufacturer_display_name: string;
|
|
4397
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
4398
|
-
has_built_in_keypad?: boolean | undefined;
|
|
4399
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
4400
|
-
online_access_codes_supported?: boolean | undefined;
|
|
4401
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
4402
|
-
};
|
|
4403
|
-
online: boolean;
|
|
4404
|
-
battery?: {
|
|
4405
|
-
status: "critical" | "low" | "good" | "full";
|
|
4406
|
-
level: number;
|
|
4407
|
-
} | undefined;
|
|
4408
|
-
image_url?: string | undefined;
|
|
4409
|
-
battery_level?: number | undefined;
|
|
4410
|
-
manufacturer?: string | undefined;
|
|
4411
|
-
accessory_keypad?: {
|
|
4412
|
-
is_connected: boolean;
|
|
4413
|
-
battery?: {
|
|
4414
|
-
level: number;
|
|
4415
|
-
} | undefined;
|
|
4416
|
-
} | undefined;
|
|
4417
|
-
image_alt_text?: string | undefined;
|
|
4418
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
4419
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
4420
|
-
};
|
|
4394
|
+
is_online: boolean;
|
|
4421
4395
|
is_managed: false;
|
|
4422
4396
|
can_remotely_unlock?: boolean | undefined;
|
|
4423
4397
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -4449,6 +4423,35 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4449
4423
|
can_play_speaker_chime?: boolean | undefined;
|
|
4450
4424
|
can_play_speaker_favorite?: boolean | undefined;
|
|
4451
4425
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
4426
|
+
properties?: {
|
|
4427
|
+
name: string;
|
|
4428
|
+
model: {
|
|
4429
|
+
display_name: string;
|
|
4430
|
+
manufacturer_display_name: string;
|
|
4431
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
4432
|
+
has_built_in_keypad?: boolean | undefined;
|
|
4433
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
4434
|
+
online_access_codes_supported?: boolean | undefined;
|
|
4435
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
4436
|
+
};
|
|
4437
|
+
online: boolean;
|
|
4438
|
+
battery?: {
|
|
4439
|
+
status: "critical" | "low" | "good" | "full";
|
|
4440
|
+
level: number;
|
|
4441
|
+
} | undefined;
|
|
4442
|
+
image_url?: string | undefined;
|
|
4443
|
+
battery_level?: number | undefined;
|
|
4444
|
+
manufacturer?: string | undefined;
|
|
4445
|
+
accessory_keypad?: {
|
|
4446
|
+
is_connected: boolean;
|
|
4447
|
+
battery?: {
|
|
4448
|
+
level: number;
|
|
4449
|
+
} | undefined;
|
|
4450
|
+
} | undefined;
|
|
4451
|
+
image_alt_text?: string | undefined;
|
|
4452
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
4453
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
4454
|
+
} | undefined;
|
|
4452
4455
|
location?: {
|
|
4453
4456
|
time_zone?: string | undefined;
|
|
4454
4457
|
location_name?: string | undefined;
|
|
@@ -4685,35 +4688,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4685
4688
|
custom_metadata: Record<string, string | boolean>;
|
|
4686
4689
|
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" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "eufy_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" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor";
|
|
4687
4690
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4688
|
-
|
|
4689
|
-
name: string;
|
|
4690
|
-
model: {
|
|
4691
|
-
display_name: string;
|
|
4692
|
-
manufacturer_display_name: string;
|
|
4693
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
4694
|
-
has_built_in_keypad?: boolean | undefined;
|
|
4695
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
4696
|
-
online_access_codes_supported?: boolean | undefined;
|
|
4697
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
4698
|
-
};
|
|
4699
|
-
online: boolean;
|
|
4700
|
-
battery?: {
|
|
4701
|
-
status: "critical" | "low" | "good" | "full";
|
|
4702
|
-
level: number;
|
|
4703
|
-
} | undefined;
|
|
4704
|
-
image_url?: string | undefined;
|
|
4705
|
-
battery_level?: number | undefined;
|
|
4706
|
-
manufacturer?: string | undefined;
|
|
4707
|
-
accessory_keypad?: {
|
|
4708
|
-
is_connected: boolean;
|
|
4709
|
-
battery?: {
|
|
4710
|
-
level: number;
|
|
4711
|
-
} | undefined;
|
|
4712
|
-
} | undefined;
|
|
4713
|
-
image_alt_text?: string | undefined;
|
|
4714
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
4715
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
4716
|
-
};
|
|
4691
|
+
is_online: boolean;
|
|
4717
4692
|
is_managed: false;
|
|
4718
4693
|
can_remotely_unlock?: boolean | undefined;
|
|
4719
4694
|
can_remotely_lock?: boolean | undefined;
|
|
@@ -4745,6 +4720,35 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4745
4720
|
can_play_speaker_chime?: boolean | undefined;
|
|
4746
4721
|
can_play_speaker_favorite?: boolean | undefined;
|
|
4747
4722
|
can_play_speaker_audio_clip?: boolean | undefined;
|
|
4723
|
+
properties?: {
|
|
4724
|
+
name: string;
|
|
4725
|
+
model: {
|
|
4726
|
+
display_name: string;
|
|
4727
|
+
manufacturer_display_name: string;
|
|
4728
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
4729
|
+
has_built_in_keypad?: boolean | undefined;
|
|
4730
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
4731
|
+
online_access_codes_supported?: boolean | undefined;
|
|
4732
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
4733
|
+
};
|
|
4734
|
+
online: boolean;
|
|
4735
|
+
battery?: {
|
|
4736
|
+
status: "critical" | "low" | "good" | "full";
|
|
4737
|
+
level: number;
|
|
4738
|
+
} | undefined;
|
|
4739
|
+
image_url?: string | undefined;
|
|
4740
|
+
battery_level?: number | undefined;
|
|
4741
|
+
manufacturer?: string | undefined;
|
|
4742
|
+
accessory_keypad?: {
|
|
4743
|
+
is_connected: boolean;
|
|
4744
|
+
battery?: {
|
|
4745
|
+
level: number;
|
|
4746
|
+
} | undefined;
|
|
4747
|
+
} | undefined;
|
|
4748
|
+
image_alt_text?: string | undefined;
|
|
4749
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
4750
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
4751
|
+
} | undefined;
|
|
4748
4752
|
location?: {
|
|
4749
4753
|
time_zone?: string | undefined;
|
|
4750
4754
|
location_name?: string | undefined;
|
|
@@ -4752,4 +4756,8 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
4752
4756
|
timezone?: string | undefined;
|
|
4753
4757
|
} | undefined;
|
|
4754
4758
|
}>;
|
|
4755
|
-
|
|
4759
|
+
type UnmanagedDeviceFromSchema = z.infer<typeof unmanaged_device>;
|
|
4760
|
+
export type UnmanagedDevice = Omit<UnmanagedDeviceFromSchema, 'properties'> & {
|
|
4761
|
+
properties: NonNullable<UnmanagedDeviceFromSchema['properties']>;
|
|
4762
|
+
};
|
|
4763
|
+
export {};
|
|
@@ -13,12 +13,14 @@ export const unmanaged_device = device
|
|
|
13
13
|
created_at: true,
|
|
14
14
|
custom_metadata: true,
|
|
15
15
|
display_name: true,
|
|
16
|
+
is_online: true,
|
|
16
17
|
})
|
|
17
18
|
.extend({
|
|
18
19
|
is_managed: z
|
|
19
20
|
.literal(false)
|
|
20
21
|
.describe('Indicates that Seam does not manage the device.'),
|
|
21
|
-
properties: common_device_properties
|
|
22
|
+
properties: common_device_properties
|
|
23
|
+
.pick({
|
|
22
24
|
accessory_keypad: true,
|
|
23
25
|
name: true,
|
|
24
26
|
online: true,
|
|
@@ -30,7 +32,8 @@ export const unmanaged_device = device
|
|
|
30
32
|
online_access_codes_enabled: true,
|
|
31
33
|
offline_access_codes_enabled: true,
|
|
32
34
|
model: true,
|
|
33
|
-
})
|
|
35
|
+
})
|
|
36
|
+
.optional().describe(`
|
|
34
37
|
---
|
|
35
38
|
property_groups:
|
|
36
39
|
locks:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;IAChB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,IAAI;IAClB,SAAS,EAAE,IAAI;CAChB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,KAAK,CAAC;SACd,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,UAAU,EAAE,wBAAwB;SACjC,IAAI,CAAC;QACJ,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC;SACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;GAmBxB,CAAC;CACD,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;GAoBxC,CAAC,CAAA"}
|
|
@@ -13437,6 +13437,11 @@ const openapi = {
|
|
|
13437
13437
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
13438
13438
|
type: 'boolean',
|
|
13439
13439
|
},
|
|
13440
|
+
allow_bridge_replacement: {
|
|
13441
|
+
default: false,
|
|
13442
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
13443
|
+
type: 'boolean',
|
|
13444
|
+
},
|
|
13440
13445
|
allow_climate_automation_rule_customization: {
|
|
13441
13446
|
default: false,
|
|
13442
13447
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -14762,6 +14767,12 @@ const openapi = {
|
|
|
14762
14767
|
thermostats: { name: 'Thermostats' },
|
|
14763
14768
|
},
|
|
14764
14769
|
},
|
|
14770
|
+
is_door_locked: {
|
|
14771
|
+
description: 'Indicates whether the lock is locked.',
|
|
14772
|
+
type: 'boolean',
|
|
14773
|
+
'x-property-group-key': 'locks',
|
|
14774
|
+
'x-undocumented': 'Unreleased.',
|
|
14775
|
+
},
|
|
14765
14776
|
is_managed: {
|
|
14766
14777
|
description: 'Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices).',
|
|
14767
14778
|
enum: [true],
|
|
@@ -14772,6 +14783,12 @@ const openapi = {
|
|
|
14772
14783
|
type: 'boolean',
|
|
14773
14784
|
'x-property-group-key': 'sensors',
|
|
14774
14785
|
},
|
|
14786
|
+
is_online: {
|
|
14787
|
+
description: 'Indicates whether the device is online.',
|
|
14788
|
+
type: 'boolean',
|
|
14789
|
+
'x-property-group-key': 'hardware',
|
|
14790
|
+
'x-undocumented': 'Unreleased.',
|
|
14791
|
+
},
|
|
14775
14792
|
is_smoking_detected: {
|
|
14776
14793
|
description: 'Indicates whether the device detects smoking, if the device measures it.',
|
|
14777
14794
|
type: 'boolean',
|
|
@@ -18470,7 +18487,7 @@ const openapi = {
|
|
|
18470
18487
|
'space_ids',
|
|
18471
18488
|
'display_name',
|
|
18472
18489
|
'capabilities_supported',
|
|
18473
|
-
'
|
|
18490
|
+
'is_online',
|
|
18474
18491
|
'connected_account_id',
|
|
18475
18492
|
'workspace_id',
|
|
18476
18493
|
'errors',
|
|
@@ -37658,6 +37675,12 @@ const openapi = {
|
|
|
37658
37675
|
enum: [false],
|
|
37659
37676
|
type: 'boolean',
|
|
37660
37677
|
},
|
|
37678
|
+
is_online: {
|
|
37679
|
+
description: 'Indicates whether the device is online.',
|
|
37680
|
+
type: 'boolean',
|
|
37681
|
+
'x-property-group-key': 'hardware',
|
|
37682
|
+
'x-undocumented': 'Unreleased.',
|
|
37683
|
+
},
|
|
37661
37684
|
location: {
|
|
37662
37685
|
description: 'Location information for the device.',
|
|
37663
37686
|
properties: {
|
|
@@ -38514,8 +38537,8 @@ const openapi = {
|
|
|
38514
38537
|
'created_at',
|
|
38515
38538
|
'custom_metadata',
|
|
38516
38539
|
'display_name',
|
|
38540
|
+
'is_online',
|
|
38517
38541
|
'is_managed',
|
|
38518
|
-
'properties',
|
|
38519
38542
|
],
|
|
38520
38543
|
type: 'object',
|
|
38521
38544
|
'x-property-groups': {
|
|
@@ -48209,6 +48232,11 @@ const openapi = {
|
|
|
48209
48232
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
48210
48233
|
type: 'boolean',
|
|
48211
48234
|
},
|
|
48235
|
+
allow_bridge_replacement: {
|
|
48236
|
+
default: false,
|
|
48237
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
48238
|
+
type: 'boolean',
|
|
48239
|
+
},
|
|
48212
48240
|
allow_climate_automation_rule_customization: {
|
|
48213
48241
|
default: false,
|
|
48214
48242
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -56561,6 +56589,63 @@ const openapi = {
|
|
|
56561
56589
|
'x-undocumented': 'Internal endpoint for Console',
|
|
56562
56590
|
},
|
|
56563
56591
|
},
|
|
56592
|
+
'/seam/console/v1/connected_accounts/replace_bridge': {
|
|
56593
|
+
post: {
|
|
56594
|
+
description: "Moves a [connected account](https://www.seam.co/docs/core-concepts/connected-accounts) whose [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge) is disconnected onto a newly installed Seam Bridge, identified by the pairing code it shows. The connected account, its devices and its ID stay the same, and no provider sign-in is needed. Seam first checks that it can reach the provider through the new bridge. Only available for providers whose account doesn't depend on the bridge, such as Salto Space.",
|
|
56595
|
+
operationId: 'seamConsoleV1ConnectedAccountsReplaceBridgePost',
|
|
56596
|
+
requestBody: {
|
|
56597
|
+
content: {
|
|
56598
|
+
'application/json': {
|
|
56599
|
+
schema: {
|
|
56600
|
+
properties: {
|
|
56601
|
+
connected_account_id: {
|
|
56602
|
+
description: 'ID of the connected account whose Seam Bridge you want to replace.',
|
|
56603
|
+
format: 'uuid',
|
|
56604
|
+
type: 'string',
|
|
56605
|
+
},
|
|
56606
|
+
pairing_code: {
|
|
56607
|
+
description: 'Pairing code shown in the new Seam Bridge app.',
|
|
56608
|
+
minLength: 1,
|
|
56609
|
+
type: 'string',
|
|
56610
|
+
},
|
|
56611
|
+
},
|
|
56612
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
56613
|
+
type: 'object',
|
|
56614
|
+
},
|
|
56615
|
+
},
|
|
56616
|
+
},
|
|
56617
|
+
},
|
|
56618
|
+
responses: {
|
|
56619
|
+
'200': {
|
|
56620
|
+
content: {
|
|
56621
|
+
'application/json': {
|
|
56622
|
+
schema: {
|
|
56623
|
+
properties: { ok: { type: 'boolean' } },
|
|
56624
|
+
required: ['ok'],
|
|
56625
|
+
type: 'object',
|
|
56626
|
+
},
|
|
56627
|
+
},
|
|
56628
|
+
},
|
|
56629
|
+
description: 'OK',
|
|
56630
|
+
},
|
|
56631
|
+
'400': { description: 'Bad Request' },
|
|
56632
|
+
'401': { description: 'Unauthorized' },
|
|
56633
|
+
},
|
|
56634
|
+
security: [{ console_session_with_workspace: [] }],
|
|
56635
|
+
summary: '/seam/console/v1/connected_accounts/replace_bridge',
|
|
56636
|
+
tags: ['/connected_accounts'],
|
|
56637
|
+
'x-fern-sdk-group-name': [
|
|
56638
|
+
'seam',
|
|
56639
|
+
'console',
|
|
56640
|
+
'v1',
|
|
56641
|
+
'connected_accounts',
|
|
56642
|
+
],
|
|
56643
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
56644
|
+
'x-response-key': null,
|
|
56645
|
+
'x-title': 'Replace the Seam Bridge of a Connected Account',
|
|
56646
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
56647
|
+
},
|
|
56648
|
+
},
|
|
56564
56649
|
'/seam/console/v1/credits/checkout/start': {
|
|
56565
56650
|
post: {
|
|
56566
56651
|
description: "Starts the Stripe Checkout for the first purchase of a monthly credit package, or replaces the organization's unfinished one.",
|
|
@@ -63169,6 +63254,63 @@ const openapi = {
|
|
|
63169
63254
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
63170
63255
|
},
|
|
63171
63256
|
},
|
|
63257
|
+
'/seam/customer/v1/connected_accounts/replace_bridge': {
|
|
63258
|
+
post: {
|
|
63259
|
+
description: "Moves one of the authenticated customer's connected accounts whose Seam Bridge is disconnected onto a newly installed Seam Bridge, identified by the pairing code it shows. No provider sign-in is needed. Requires a customer portal with `features.configure.allow_bridge_replacement` enabled.",
|
|
63260
|
+
operationId: 'seamCustomerV1ConnectedAccountsReplaceBridgePost',
|
|
63261
|
+
requestBody: {
|
|
63262
|
+
content: {
|
|
63263
|
+
'application/json': {
|
|
63264
|
+
schema: {
|
|
63265
|
+
properties: {
|
|
63266
|
+
connected_account_id: {
|
|
63267
|
+
description: 'ID of the connected account whose Seam Bridge you want to replace.',
|
|
63268
|
+
format: 'uuid',
|
|
63269
|
+
type: 'string',
|
|
63270
|
+
},
|
|
63271
|
+
pairing_code: {
|
|
63272
|
+
description: 'Pairing code shown in the new Seam Bridge app.',
|
|
63273
|
+
minLength: 1,
|
|
63274
|
+
type: 'string',
|
|
63275
|
+
},
|
|
63276
|
+
},
|
|
63277
|
+
required: ['connected_account_id', 'pairing_code'],
|
|
63278
|
+
type: 'object',
|
|
63279
|
+
},
|
|
63280
|
+
},
|
|
63281
|
+
},
|
|
63282
|
+
},
|
|
63283
|
+
responses: {
|
|
63284
|
+
'200': {
|
|
63285
|
+
content: {
|
|
63286
|
+
'application/json': {
|
|
63287
|
+
schema: {
|
|
63288
|
+
properties: { ok: { type: 'boolean' } },
|
|
63289
|
+
required: ['ok'],
|
|
63290
|
+
type: 'object',
|
|
63291
|
+
},
|
|
63292
|
+
},
|
|
63293
|
+
},
|
|
63294
|
+
description: 'OK',
|
|
63295
|
+
},
|
|
63296
|
+
'400': { description: 'Bad Request' },
|
|
63297
|
+
'401': { description: 'Unauthorized' },
|
|
63298
|
+
},
|
|
63299
|
+
security: [{ client_session_with_customer: [] }],
|
|
63300
|
+
summary: '/seam/customer/v1/connected_accounts/replace_bridge',
|
|
63301
|
+
tags: ['/connected_accounts'],
|
|
63302
|
+
'x-fern-sdk-group-name': [
|
|
63303
|
+
'seam',
|
|
63304
|
+
'customer',
|
|
63305
|
+
'v1',
|
|
63306
|
+
'connected_accounts',
|
|
63307
|
+
],
|
|
63308
|
+
'x-fern-sdk-method-name': 'replace_bridge',
|
|
63309
|
+
'x-response-key': null,
|
|
63310
|
+
'x-title': "Replace the Seam Bridge of a Customer's Connected Account",
|
|
63311
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
63312
|
+
},
|
|
63313
|
+
},
|
|
63172
63314
|
'/seam/customer/v1/connector_customers/list': {
|
|
63173
63315
|
get: {
|
|
63174
63316
|
description: 'Lists connector customers for a given connector.',
|
|
@@ -66015,6 +66157,11 @@ const openapi = {
|
|
|
66015
66157
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
66016
66158
|
type: 'boolean',
|
|
66017
66159
|
},
|
|
66160
|
+
allow_bridge_replacement: {
|
|
66161
|
+
default: false,
|
|
66162
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
66163
|
+
type: 'boolean',
|
|
66164
|
+
},
|
|
66018
66165
|
allow_climate_automation_rule_customization: {
|
|
66019
66166
|
default: false,
|
|
66020
66167
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -66460,6 +66607,11 @@ const openapi = {
|
|
|
66460
66607
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
66461
66608
|
type: 'boolean',
|
|
66462
66609
|
},
|
|
66610
|
+
allow_bridge_replacement: {
|
|
66611
|
+
default: false,
|
|
66612
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
66613
|
+
type: 'boolean',
|
|
66614
|
+
},
|
|
66463
66615
|
allow_climate_automation_rule_customization: {
|
|
66464
66616
|
default: false,
|
|
66465
66617
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -75485,6 +75637,11 @@ const openapi = {
|
|
|
75485
75637
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
75486
75638
|
type: 'boolean',
|
|
75487
75639
|
},
|
|
75640
|
+
allow_bridge_replacement: {
|
|
75641
|
+
default: false,
|
|
75642
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
75643
|
+
type: 'boolean',
|
|
75644
|
+
},
|
|
75488
75645
|
allow_climate_automation_rule_customization: {
|
|
75489
75646
|
default: false,
|
|
75490
75647
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|
|
@@ -76128,6 +76285,11 @@ const openapi = {
|
|
|
76128
76285
|
description: 'Indicates whether the customer can customize the access automation rules for their properties.',
|
|
76129
76286
|
type: 'boolean',
|
|
76130
76287
|
},
|
|
76288
|
+
allow_bridge_replacement: {
|
|
76289
|
+
default: false,
|
|
76290
|
+
description: 'Indicates whether the customer can move a connected account to a new Seam Bridge when its current bridge is disconnected.',
|
|
76291
|
+
type: 'boolean',
|
|
76292
|
+
},
|
|
76131
76293
|
allow_climate_automation_rule_customization: {
|
|
76132
76294
|
default: false,
|
|
76133
76295
|
description: 'Indicates whether the customer can customize the climate automation rules for their properties.',
|