@seamapi/types 1.396.0 → 1.397.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 +102 -94
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +113 -106
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +0 -53
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +0 -23
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +3 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -3
- package/lib/seam/connect/models/thermostats/thermostat-program.js +16 -6
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +10 -5
- package/lib/seam/connect/openapi.js +72 -56
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +97 -95
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +0 -35
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +29 -15
- package/src/lib/seam/connect/openapi.ts +111 -56
- package/src/lib/seam/connect/route-types.ts +97 -74
|
@@ -332,59 +332,6 @@ export declare const acs_users_warnings: z.ZodDiscriminatedUnion<"warning_code",
|
|
|
332
332
|
warning_code: "latch_resident_user";
|
|
333
333
|
}>]>;
|
|
334
334
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>;
|
|
335
|
-
export declare const acs_user_unapplied_modification_map: z.ZodObject<{
|
|
336
|
-
suspension_state: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
337
|
-
created_at: z.ZodString;
|
|
338
|
-
message: z.ZodString;
|
|
339
|
-
}, {
|
|
340
|
-
modification_code: z.ZodLiteral<"suspension_state">;
|
|
341
|
-
}>, "strip", z.ZodTypeAny, {
|
|
342
|
-
message: string;
|
|
343
|
-
created_at: string;
|
|
344
|
-
modification_code: "suspension_state";
|
|
345
|
-
}, {
|
|
346
|
-
message: string;
|
|
347
|
-
created_at: string;
|
|
348
|
-
modification_code: "suspension_state";
|
|
349
|
-
}>>>;
|
|
350
|
-
profile: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
351
|
-
created_at: z.ZodString;
|
|
352
|
-
message: z.ZodString;
|
|
353
|
-
}, {
|
|
354
|
-
modification_code: z.ZodLiteral<"profile">;
|
|
355
|
-
}>, "strip", z.ZodTypeAny, {
|
|
356
|
-
message: string;
|
|
357
|
-
created_at: string;
|
|
358
|
-
modification_code: "profile";
|
|
359
|
-
}, {
|
|
360
|
-
message: string;
|
|
361
|
-
created_at: string;
|
|
362
|
-
modification_code: "profile";
|
|
363
|
-
}>>>;
|
|
364
|
-
}, "strip", z.ZodTypeAny, {
|
|
365
|
-
suspension_state?: {
|
|
366
|
-
message: string;
|
|
367
|
-
created_at: string;
|
|
368
|
-
modification_code: "suspension_state";
|
|
369
|
-
} | null | undefined;
|
|
370
|
-
profile?: {
|
|
371
|
-
message: string;
|
|
372
|
-
created_at: string;
|
|
373
|
-
modification_code: "profile";
|
|
374
|
-
} | null | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
suspension_state?: {
|
|
377
|
-
message: string;
|
|
378
|
-
created_at: string;
|
|
379
|
-
modification_code: "suspension_state";
|
|
380
|
-
} | null | undefined;
|
|
381
|
-
profile?: {
|
|
382
|
-
message: string;
|
|
383
|
-
created_at: string;
|
|
384
|
-
modification_code: "profile";
|
|
385
|
-
} | null | undefined;
|
|
386
|
-
}>;
|
|
387
|
-
export type AcsUserUnappliedModificationMap = z.infer<typeof acs_user_unapplied_modification_map>;
|
|
388
335
|
export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
389
336
|
acs_user_id: z.ZodString;
|
|
390
337
|
acs_system_id: z.ZodString;
|
|
@@ -123,29 +123,6 @@ export const acs_users_warnings = z
|
|
|
123
123
|
latch_resident_user,
|
|
124
124
|
])
|
|
125
125
|
.describe('Warnings associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).');
|
|
126
|
-
const common_acs_user_modification = z.object({
|
|
127
|
-
created_at: z
|
|
128
|
-
.string()
|
|
129
|
-
.datetime()
|
|
130
|
-
.describe('Date and time at which this modification was requested.'),
|
|
131
|
-
message: z.string().describe('Detailed description of the modification.'),
|
|
132
|
-
});
|
|
133
|
-
const acs_user_suspension_state_modification = common_acs_user_modification
|
|
134
|
-
.extend({
|
|
135
|
-
modification_code: z.literal('suspension_state'),
|
|
136
|
-
})
|
|
137
|
-
.describe("Indicates that the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) `is_suspended` state was updated on Seam and will soon be applied to the ACS user on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).");
|
|
138
|
-
const acs_user_profile_modification = common_acs_user_modification
|
|
139
|
-
.extend({
|
|
140
|
-
modification_code: z.literal('profile'),
|
|
141
|
-
})
|
|
142
|
-
.describe("Indicates that the [ACS user's](https://docs.seam.co/latest/capability-guides/access-systems/user-management) profile details (name, email, phone) were updated on Seam and will soon be applied to the ACS user on the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).");
|
|
143
|
-
export const acs_user_unapplied_modification_map = z.object({
|
|
144
|
-
suspension_state: acs_user_suspension_state_modification
|
|
145
|
-
.optional()
|
|
146
|
-
.nullable(),
|
|
147
|
-
profile: acs_user_profile_modification.optional().nullable(),
|
|
148
|
-
});
|
|
149
126
|
const user_fields = z.object({
|
|
150
127
|
full_name: z
|
|
151
128
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs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AAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;;;;;CASV,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA"}
|
|
@@ -49,6 +49,7 @@ export declare const THERMOSTAT_DEVICE_TYPE: {
|
|
|
49
49
|
readonly HONEYWELL_RESIDEO_THERMOSTAT: "honeywell_resideo_thermostat";
|
|
50
50
|
readonly TADO_THERMOSTAT: "tado_thermostat";
|
|
51
51
|
readonly SENSI_THERMOSTAT: "sensi_thermostat";
|
|
52
|
+
readonly SMARTTHINGS_THERMOSTAT: "smartthings_thermostat";
|
|
52
53
|
};
|
|
53
54
|
type ThermostatDeviceTypeFromMapping = (typeof THERMOSTAT_DEVICE_TYPE)[keyof typeof THERMOSTAT_DEVICE_TYPE];
|
|
54
55
|
export declare const THERMOSTAT_DEVICE_TYPE_LIST: ThermostatDeviceTypeFromMapping[];
|
|
@@ -45,6 +45,7 @@ export const THERMOSTAT_DEVICE_TYPE = {
|
|
|
45
45
|
HONEYWELL_RESIDEO_THERMOSTAT: 'honeywell_resideo_thermostat',
|
|
46
46
|
TADO_THERMOSTAT: 'tado_thermostat',
|
|
47
47
|
SENSI_THERMOSTAT: 'sensi_thermostat',
|
|
48
|
+
SMARTTHINGS_THERMOSTAT: 'smartthings_thermostat',
|
|
48
49
|
};
|
|
49
50
|
export const THERMOSTAT_DEVICE_TYPE_LIST = Object.values(THERMOSTAT_DEVICE_TYPE);
|
|
50
51
|
export const thermostat_device_type = z.enum(Object.values(THERMOSTAT_DEVICE_TYPE));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-type.js","sourceRoot":"","sources":["../../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CACxD,wBAAwB,CACa,CAAA;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAC5C,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAuC,CAC9E,CAAA;AAID,kBAAkB;AAClB,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,4BAA4B,EAAE,8BAA8B;IAC5D,eAAe,EAAE,iBAAiB;IAClC,gBAAgB,EAAE,kBAAkB;
|
|
1
|
+
{"version":3,"file":"device-type.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,YAAY;AACZ,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,mBAAmB,EAAE,qBAAqB;IAC1C,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,gBAAgB,EAAE,kBAAkB;IACpC,sBAAsB,EAAE,wBAAwB;IAChD,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAA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AAM,CAAC,sBAAsB,CAAiC,CAAC;KAC3E,QAAQ,CAAC,gBAAgB,CAAC,CAAA;AAI7B,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC;IACrC,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,iBAAiB;CAClB,CAAC,CAAA"}
|
|
@@ -1807,7 +1807,7 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<z.
|
|
|
1807
1807
|
}>)[];
|
|
1808
1808
|
export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
1809
1809
|
device_id: z.ZodString;
|
|
1810
|
-
device_type: z.ZodUnion<[z.ZodEnum<["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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
1810
|
+
device_type: z.ZodUnion<[z.ZodEnum<["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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
1811
1811
|
nickname: z.ZodOptional<z.ZodString>;
|
|
1812
1812
|
display_name: z.ZodString;
|
|
1813
1813
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
@@ -4572,7 +4572,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4572
4572
|
warning_code: "unknown_issue_with_phone";
|
|
4573
4573
|
})[];
|
|
4574
4574
|
custom_metadata: Record<string, string | boolean>;
|
|
4575
|
-
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat") | ("ios_phone" | "android_phone");
|
|
4575
|
+
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
4576
4576
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4577
4577
|
properties: {
|
|
4578
4578
|
name: string;
|
|
@@ -5176,7 +5176,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5176
5176
|
warning_code: "unknown_issue_with_phone";
|
|
5177
5177
|
})[];
|
|
5178
5178
|
custom_metadata: Record<string, string | boolean>;
|
|
5179
|
-
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat") | ("ios_phone" | "android_phone");
|
|
5179
|
+
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
5180
5180
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
5181
5181
|
properties: {
|
|
5182
5182
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<{
|
|
3
3
|
device_id: z.ZodString;
|
|
4
|
-
device_type: z.ZodUnion<[z.ZodEnum<["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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
4
|
+
device_type: z.ZodUnion<[z.ZodEnum<["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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
5
5
|
nickname: z.ZodOptional<z.ZodString>;
|
|
6
6
|
display_name: z.ZodString;
|
|
7
7
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
@@ -2913,7 +2913,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
2913
2913
|
created_at: string;
|
|
2914
2914
|
warning_code: "unknown_issue_with_phone";
|
|
2915
2915
|
})[];
|
|
2916
|
-
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat") | ("ios_phone" | "android_phone");
|
|
2916
|
+
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
2917
2917
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
2918
2918
|
properties: {
|
|
2919
2919
|
name: string;
|
|
@@ -3134,7 +3134,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
3134
3134
|
created_at: string;
|
|
3135
3135
|
warning_code: "unknown_issue_with_phone";
|
|
3136
3136
|
})[];
|
|
3137
|
-
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat") | ("ios_phone" | "android_phone");
|
|
3137
|
+
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3138
3138
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3139
3139
|
properties: {
|
|
3140
3140
|
name: string;
|
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export const thermostat_daily_program_period = z
|
|
2
|
+
export const thermostat_daily_program_period = z
|
|
3
|
+
.object({
|
|
3
4
|
starts_at_time: z
|
|
4
5
|
.string()
|
|
5
6
|
.regex(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/)
|
|
6
|
-
.describe('Time at which the thermostat daily program
|
|
7
|
+
.describe('Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.'),
|
|
7
8
|
climate_preset_key: z
|
|
8
9
|
.string()
|
|
9
|
-
.describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the starts_at_time
|
|
10
|
-
})
|
|
10
|
+
.describe('Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.'),
|
|
11
|
+
})
|
|
12
|
+
.describe('Period for a thermostat daily program. Consists of a starts at time and the key that identifies the configured climate preset to apply at the starting time.');
|
|
11
13
|
export const thermostat_daily_program = z.object({
|
|
12
14
|
thermostat_daily_program_id: z
|
|
13
15
|
.string()
|
|
14
16
|
.uuid()
|
|
15
17
|
.describe('ID of the thermostat daily program.'),
|
|
16
|
-
device_id: z
|
|
18
|
+
device_id: z
|
|
19
|
+
.string()
|
|
20
|
+
.uuid()
|
|
21
|
+
.describe('ID of the thermostat device on which the thermostat daily program is configured.'),
|
|
17
22
|
name: z
|
|
18
23
|
.string()
|
|
19
24
|
.nullable()
|
|
@@ -29,7 +34,12 @@ export const thermostat_daily_program = z.object({
|
|
|
29
34
|
.string()
|
|
30
35
|
.datetime()
|
|
31
36
|
.describe('Date and time at which the thermostat daily program was created.'),
|
|
32
|
-
})
|
|
37
|
+
}).describe(`
|
|
38
|
+
---
|
|
39
|
+
route_path: /thermostats/thermostat_daily_programs
|
|
40
|
+
---
|
|
41
|
+
Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.
|
|
42
|
+
`);
|
|
33
43
|
export const thermostat_weekly_program = z.object({
|
|
34
44
|
monday_program_id: z
|
|
35
45
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thermostat-program.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"thermostat-program.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/thermostat-program.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC;KAC7C,MAAM,CAAC;IACN,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,KAAK,CAAC,uCAAuC,CAAC;SAC9C,QAAQ,CACP,yIAAyI,CAC1I;IACH,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,mKAAmK,CACpK;CACJ,CAAC;KACD,QAAQ,CACP,8JAA8J,CAC/J,CAAA;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,2BAA2B,EAAE,CAAC;SAC3B,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;IAClD,SAAS,EAAE,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iB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mEAAmE,CACpE;CACJ,CAAC,CAAA"}
|
|
@@ -4908,6 +4908,7 @@ declare const _default: {
|
|
|
4908
4908
|
};
|
|
4909
4909
|
thermostat_daily_programs: {
|
|
4910
4910
|
items: {
|
|
4911
|
+
description: string;
|
|
4911
4912
|
properties: {
|
|
4912
4913
|
created_at: {
|
|
4913
4914
|
description: string;
|
|
@@ -4927,6 +4928,7 @@ declare const _default: {
|
|
|
4927
4928
|
periods: {
|
|
4928
4929
|
description: string;
|
|
4929
4930
|
items: {
|
|
4931
|
+
description: string;
|
|
4930
4932
|
properties: {
|
|
4931
4933
|
climate_preset_key: {
|
|
4932
4934
|
description: string;
|
|
@@ -4956,6 +4958,7 @@ declare const _default: {
|
|
|
4956
4958
|
};
|
|
4957
4959
|
required: string[];
|
|
4958
4960
|
type: string;
|
|
4961
|
+
'x-route-path': string;
|
|
4959
4962
|
};
|
|
4960
4963
|
type: string;
|
|
4961
4964
|
};
|
|
@@ -23588,6 +23591,7 @@ declare const _default: {
|
|
|
23588
23591
|
periods: {
|
|
23589
23592
|
description: string;
|
|
23590
23593
|
items: {
|
|
23594
|
+
description: string;
|
|
23591
23595
|
properties: {
|
|
23592
23596
|
climate_preset_key: {
|
|
23593
23597
|
description: string;
|
|
@@ -23621,6 +23625,7 @@ declare const _default: {
|
|
|
23621
23625
|
type: string;
|
|
23622
23626
|
};
|
|
23623
23627
|
thermostat_daily_program: {
|
|
23628
|
+
description: string;
|
|
23624
23629
|
properties: {
|
|
23625
23630
|
created_at: {
|
|
23626
23631
|
description: string;
|
|
@@ -23640,6 +23645,7 @@ declare const _default: {
|
|
|
23640
23645
|
periods: {
|
|
23641
23646
|
description: string;
|
|
23642
23647
|
items: {
|
|
23648
|
+
description: string;
|
|
23643
23649
|
properties: {
|
|
23644
23650
|
climate_preset_key: {
|
|
23645
23651
|
description: string;
|
|
@@ -23669,6 +23675,7 @@ declare const _default: {
|
|
|
23669
23675
|
};
|
|
23670
23676
|
required: string[];
|
|
23671
23677
|
type: string;
|
|
23678
|
+
'x-route-path': string;
|
|
23672
23679
|
};
|
|
23673
23680
|
};
|
|
23674
23681
|
required: string[];
|
|
@@ -23713,7 +23720,6 @@ declare const _default: {
|
|
|
23713
23720
|
'x-fern-sdk-return-value': string;
|
|
23714
23721
|
'x-response-key': string;
|
|
23715
23722
|
'x-title': string;
|
|
23716
|
-
'x-undocumented': string;
|
|
23717
23723
|
};
|
|
23718
23724
|
};
|
|
23719
23725
|
'/thermostats/daily_programs/delete': {
|
|
@@ -23788,7 +23794,6 @@ declare const _default: {
|
|
|
23788
23794
|
'x-fern-sdk-method-name': string;
|
|
23789
23795
|
'x-response-key': null;
|
|
23790
23796
|
'x-title': string;
|
|
23791
|
-
'x-undocumented': string;
|
|
23792
23797
|
};
|
|
23793
23798
|
};
|
|
23794
23799
|
'/thermostats/daily_programs/update': {
|
|
@@ -23807,6 +23812,7 @@ declare const _default: {
|
|
|
23807
23812
|
periods: {
|
|
23808
23813
|
description: string;
|
|
23809
23814
|
items: {
|
|
23815
|
+
description: string;
|
|
23810
23816
|
properties: {
|
|
23811
23817
|
climate_preset_key: {
|
|
23812
23818
|
description: string;
|
|
@@ -23889,7 +23895,6 @@ declare const _default: {
|
|
|
23889
23895
|
'x-fern-ignore': boolean;
|
|
23890
23896
|
'x-response-key': string;
|
|
23891
23897
|
'x-title': string;
|
|
23892
|
-
'x-undocumented': string;
|
|
23893
23898
|
};
|
|
23894
23899
|
post: {
|
|
23895
23900
|
description: string;
|
|
@@ -23906,6 +23911,7 @@ declare const _default: {
|
|
|
23906
23911
|
periods: {
|
|
23907
23912
|
description: string;
|
|
23908
23913
|
items: {
|
|
23914
|
+
description: string;
|
|
23909
23915
|
properties: {
|
|
23910
23916
|
climate_preset_key: {
|
|
23911
23917
|
description: string;
|
|
@@ -23990,7 +23996,6 @@ declare const _default: {
|
|
|
23990
23996
|
'x-fern-sdk-return-value': string;
|
|
23991
23997
|
'x-response-key': string;
|
|
23992
23998
|
'x-title': string;
|
|
23993
|
-
'x-undocumented': string;
|
|
23994
23999
|
};
|
|
23995
24000
|
};
|
|
23996
24001
|
'/thermostats/delete_climate_preset': {
|
|
@@ -25239,6 +25244,7 @@ declare const _default: {
|
|
|
25239
25244
|
schema: {
|
|
25240
25245
|
properties: {
|
|
25241
25246
|
device_id: {
|
|
25247
|
+
description: string;
|
|
25242
25248
|
format: string;
|
|
25243
25249
|
type: string;
|
|
25244
25250
|
};
|
|
@@ -26287,7 +26293,6 @@ declare const _default: {
|
|
|
26287
26293
|
'x-fern-sdk-return-value': string;
|
|
26288
26294
|
'x-response-key': string;
|
|
26289
26295
|
'x-title': string;
|
|
26290
|
-
'x-undocumented': string;
|
|
26291
26296
|
};
|
|
26292
26297
|
};
|
|
26293
26298
|
'/unstable_access_grants/create': {
|