@seamapi/types 1.210.0 → 1.212.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 +1 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2857 -1402
- 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 +45 -40
- 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 +4 -0
- package/lib/seam/connect/openapi.js +1 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -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/openapi.ts +1 -0
- package/src/lib/seam/connect/route-types.ts +1 -0
|
@@ -11001,6 +11001,7 @@ export interface Routes {
|
|
|
11001
11001
|
jsonBody: {};
|
|
11002
11002
|
commonParams: {
|
|
11003
11003
|
owner_user_identity_id?: string | undefined;
|
|
11004
|
+
acs_credential_id?: string | undefined;
|
|
11004
11005
|
};
|
|
11005
11006
|
formData: {};
|
|
11006
11007
|
jsonResponse: {
|
|
@@ -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>;
|