@seamapi/types 1.209.1 → 1.211.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 +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2905 -1397
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +55 -27
- package/lib/seam/connect/models/acs/acs-system.js +7 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +9 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +9 -0
- package/src/lib/seam/connect/route-types.ts +28 -0
|
@@ -2769,6 +2769,11 @@ export interface Routes {
|
|
|
2769
2769
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
2770
2770
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
2771
2771
|
external_type_display_name?: string | undefined;
|
|
2772
|
+
visionline_metadata?: {
|
|
2773
|
+
mobile_access_uuid: string;
|
|
2774
|
+
system_id: string;
|
|
2775
|
+
lan_address: string;
|
|
2776
|
+
} | undefined;
|
|
2772
2777
|
/**
|
|
2773
2778
|
* @deprecated Use `external_type`. */
|
|
2774
2779
|
system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
@@ -2834,6 +2839,11 @@ export interface Routes {
|
|
|
2834
2839
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
2835
2840
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
2836
2841
|
external_type_display_name?: string | undefined;
|
|
2842
|
+
visionline_metadata?: {
|
|
2843
|
+
mobile_access_uuid: string;
|
|
2844
|
+
system_id: string;
|
|
2845
|
+
lan_address: string;
|
|
2846
|
+
} | undefined;
|
|
2837
2847
|
/**
|
|
2838
2848
|
* @deprecated Use `external_type`. */
|
|
2839
2849
|
system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
@@ -2898,6 +2908,11 @@ export interface Routes {
|
|
|
2898
2908
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
2899
2909
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
2900
2910
|
external_type_display_name?: string | undefined;
|
|
2911
|
+
visionline_metadata?: {
|
|
2912
|
+
mobile_access_uuid: string;
|
|
2913
|
+
system_id: string;
|
|
2914
|
+
lan_address: string;
|
|
2915
|
+
} | undefined;
|
|
2901
2916
|
/**
|
|
2902
2917
|
* @deprecated Use `external_type`. */
|
|
2903
2918
|
system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
@@ -15500,6 +15515,11 @@ export interface Routes {
|
|
|
15500
15515
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
15501
15516
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
15502
15517
|
external_type_display_name?: string | undefined;
|
|
15518
|
+
visionline_metadata?: {
|
|
15519
|
+
mobile_access_uuid: string;
|
|
15520
|
+
system_id: string;
|
|
15521
|
+
lan_address: string;
|
|
15522
|
+
} | undefined;
|
|
15503
15523
|
/**
|
|
15504
15524
|
* @deprecated Use `external_type`. */
|
|
15505
15525
|
system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const thermostat: z.ZodObject<{
|
|
|
67
67
|
};
|
|
68
68
|
}>;
|
|
69
69
|
export type ThermostatProperties = z.infer<typeof thermostat>;
|
|
70
|
-
export declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
|
|
70
|
+
export declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
|
|
71
71
|
main_category: z.ZodLiteral<"smartlock">;
|
|
72
72
|
physical_properties: z.ZodObject<{
|
|
73
73
|
lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
|
|
@@ -98,11 +98,12 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
|
|
|
98
98
|
can_program_access_schedules: boolean;
|
|
99
99
|
can_program_access_codes_offline: boolean;
|
|
100
100
|
}>;
|
|
101
|
+
}, Pick<{
|
|
101
102
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
102
103
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
103
104
|
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
104
105
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
105
|
-
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
}, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
|
|
106
107
|
main_category: "smartlock";
|
|
107
108
|
physical_properties: {
|
|
108
109
|
has_physical_key: boolean;
|
|
@@ -943,7 +944,7 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
943
944
|
}[];
|
|
944
945
|
power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
|
|
945
946
|
product_url?: string | undefined;
|
|
946
|
-
}>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
|
|
947
|
+
}>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<z.objectUtil.extendShape<{
|
|
947
948
|
main_category: z.ZodLiteral<"smartlock">;
|
|
948
949
|
physical_properties: z.ZodObject<{
|
|
949
950
|
lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
|
|
@@ -974,11 +975,12 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
|
|
|
974
975
|
can_program_access_schedules: boolean;
|
|
975
976
|
can_program_access_codes_offline: boolean;
|
|
976
977
|
}>;
|
|
978
|
+
}, Pick<{
|
|
977
979
|
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
978
980
|
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
979
981
|
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
980
982
|
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
981
|
-
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
}, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">>, "strip", z.ZodTypeAny, {
|
|
982
984
|
main_category: "smartlock";
|
|
983
985
|
physical_properties: {
|
|
984
986
|
has_physical_key: boolean;
|
|
@@ -69,6 +69,7 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
69
69
|
message: string;
|
|
70
70
|
annotation_code: "subscription_required";
|
|
71
71
|
}[];
|
|
72
|
+
description?: string | undefined;
|
|
72
73
|
logo?: {
|
|
73
74
|
height: number;
|
|
74
75
|
width: number;
|
|
@@ -84,7 +85,6 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
84
85
|
us_customer_support_email?: string | undefined;
|
|
85
86
|
us_customer_support_contact_url?: string | undefined;
|
|
86
87
|
seam_api_guide?: string | undefined;
|
|
87
|
-
description?: string | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
manufacturer_id: string;
|
|
90
90
|
display_name: string;
|
|
@@ -97,6 +97,7 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
97
97
|
message: string;
|
|
98
98
|
annotation_code: "subscription_required";
|
|
99
99
|
}[];
|
|
100
|
+
description?: string | undefined;
|
|
100
101
|
logo?: {
|
|
101
102
|
height: number;
|
|
102
103
|
width: number;
|
|
@@ -112,6 +113,5 @@ export declare const manufacturer: z.ZodObject<{
|
|
|
112
113
|
us_customer_support_email?: string | undefined;
|
|
113
114
|
us_customer_support_contact_url?: string | undefined;
|
|
114
115
|
seam_api_guide?: string | undefined;
|
|
115
|
-
description?: string | undefined;
|
|
116
116
|
}>;
|
|
117
117
|
export type Manufacturer = z.infer<typeof manufacturer>;
|