@seamapi/types 1.299.0 → 1.300.1

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.
@@ -218,13 +218,13 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
218
218
  is_suspended: z.ZodBoolean;
219
219
  access_schedule: z.ZodOptional<z.ZodObject<{
220
220
  starts_at: z.ZodString;
221
- ends_at: z.ZodString;
221
+ ends_at: z.ZodNullable<z.ZodString>;
222
222
  }, "strip", z.ZodTypeAny, {
223
223
  starts_at: string;
224
- ends_at: string;
224
+ ends_at: string | null;
225
225
  }, {
226
226
  starts_at: string;
227
- ends_at: string;
227
+ ends_at: string | null;
228
228
  }>>;
229
229
  user_identity_id: z.ZodOptional<z.ZodString>;
230
230
  user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -382,7 +382,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
382
382
  hid_acs_system_id?: string | undefined;
383
383
  access_schedule?: {
384
384
  starts_at: string;
385
- ends_at: string;
385
+ ends_at: string | null;
386
386
  } | undefined;
387
387
  user_identity_full_name?: string | null | undefined;
388
388
  user_identity_email_address?: string | null | undefined;
@@ -437,7 +437,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
437
437
  hid_acs_system_id?: string | undefined;
438
438
  access_schedule?: {
439
439
  starts_at: string;
440
- ends_at: string;
440
+ ends_at: string | null;
441
441
  } | undefined;
442
442
  user_identity_full_name?: string | null | undefined;
443
443
  user_identity_email_address?: string | null | undefined;
@@ -455,13 +455,13 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
455
455
  is_suspended: z.ZodBoolean;
456
456
  access_schedule: z.ZodOptional<z.ZodObject<{
457
457
  starts_at: z.ZodString;
458
- ends_at: z.ZodString;
458
+ ends_at: z.ZodNullable<z.ZodString>;
459
459
  }, "strip", z.ZodTypeAny, {
460
460
  starts_at: string;
461
- ends_at: string;
461
+ ends_at: string | null;
462
462
  }, {
463
463
  starts_at: string;
464
- ends_at: string;
464
+ ends_at: string | null;
465
465
  }>>;
466
466
  user_identity_id: z.ZodOptional<z.ZodString>;
467
467
  user_identity_full_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -619,7 +619,7 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
619
619
  hid_acs_system_id?: string | undefined;
620
620
  access_schedule?: {
621
621
  starts_at: string;
622
- ends_at: string;
622
+ ends_at: string | null;
623
623
  } | undefined;
624
624
  user_identity_full_name?: string | null | undefined;
625
625
  user_identity_email_address?: string | null | undefined;
@@ -674,7 +674,7 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
674
674
  hid_acs_system_id?: string | undefined;
675
675
  access_schedule?: {
676
676
  starts_at: string;
677
- ends_at: string;
677
+ ends_at: string | null;
678
678
  } | undefined;
679
679
  user_identity_full_name?: string | null | undefined;
680
680
  user_identity_email_address?: string | null | undefined;
@@ -61,15 +61,6 @@ type PhoneDeviceTypeFromMapping = (typeof PHONE_DEVICE_TYPE)[keyof typeof PHONE_
61
61
  export declare const PHONE_DEVICE_TYPE_LIST: PhoneDeviceTypeFromMapping[];
62
62
  export declare const phone_device_type: z.ZodEnum<[PhoneDeviceTypeFromMapping]>;
63
63
  export type PhoneDeviceType = z.infer<typeof phone_device_type>;
64
- /** Encoders */
65
- export declare const ENCODER_DEVICE_TYPE: {
66
- readonly VISIONLINE_ENCODER: "visionline_encoder";
67
- readonly ASSA_ABLOY_VOSTIO_ENCODER: "assa_abloy_vostio_encoder";
68
- };
69
- type EncoderDeviceTypeFromMapping = (typeof ENCODER_DEVICE_TYPE)[keyof typeof ENCODER_DEVICE_TYPE];
70
- export declare const ENCODER_DEVICE_TYPE_LIST: ("visionline_encoder" | "assa_abloy_vostio_encoder")[];
71
- export declare const encoder_device_type: z.ZodEnum<[EncoderDeviceTypeFromMapping]>;
72
- export type EncoderDeviceType = z.infer<typeof encoder_device_type>;
73
- export declare const any_device_type: z.ZodUnion<[z.ZodEnum<[LockDeviceTypeFromMapping]>, z.ZodEnum<[NoiseSensorDeviceTypeFromMapping]>, z.ZodEnum<[ThermostatDeviceTypeFromMapping]>, z.ZodEnum<[PhoneDeviceTypeFromMapping]>, z.ZodEnum<[EncoderDeviceTypeFromMapping]>]>;
64
+ export declare const any_device_type: z.ZodUnion<[z.ZodEnum<[LockDeviceTypeFromMapping]>, z.ZodEnum<[NoiseSensorDeviceTypeFromMapping]>, z.ZodEnum<[ThermostatDeviceTypeFromMapping]>, z.ZodEnum<[PhoneDeviceTypeFromMapping]>]>;
74
65
  export type AnyDeviceType = z.infer<typeof any_device_type>;
75
66
  export {};
@@ -53,18 +53,10 @@ export const PHONE_DEVICE_TYPE = {
53
53
  };
54
54
  export const PHONE_DEVICE_TYPE_LIST = Object.values(PHONE_DEVICE_TYPE);
55
55
  export const phone_device_type = z.enum(Object.values(PHONE_DEVICE_TYPE_LIST));
56
- /** Encoders */
57
- export const ENCODER_DEVICE_TYPE = {
58
- VISIONLINE_ENCODER: 'visionline_encoder',
59
- ASSA_ABLOY_VOSTIO_ENCODER: 'assa_abloy_vostio_encoder',
60
- };
61
- export const ENCODER_DEVICE_TYPE_LIST = Object.values(ENCODER_DEVICE_TYPE);
62
- export const encoder_device_type = z.enum(Object.values(ENCODER_DEVICE_TYPE_LIST));
63
56
  export const any_device_type = z.union([
64
57
  lock_device_type,
65
58
  noise_sensor_device_type,
66
59
  thermostat_device_type,
67
60
  phone_device_type,
68
- encoder_device_type,
69
61
  ]);
70
62
  //# sourceMappingURL=device-type.js.map
@@ -1 +1 @@
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,GAA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AAID,kBAAkB;AAClB,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,iBAAiB,EAAE,mBAAmB;IACtC,eAAe,EAAE,iBAAiB;IAClC,4BAA4B,EAAE,8BAA8B;CACpD,CAAA;AAKV,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CACtD,sBAAsB,CACc,CAAA;AAEtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAC1C,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAsC,CAC3E,CAAA;AAID,aAAa;AACb,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;CACtB,CAAA;AAKV,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CACjD,iBAAiB,CACc,CAAA;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CACrC,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAiC,CACtE,CAAA;AAID,eAAe;AACf,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,kBAAkB,EAAE,oBAAoB;IACxC,yBAAyB,EAAE,2BAA2B;CAC9C,CAAA;AAKV,MAAM,CAAC,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAA;AAE1E,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CACvC,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAmC,CAC1E,CAAA;AAID,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC;IACrC,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,iBAAiB;IACjB,mBAAmB;CACpB,CAAC,CAAA"}
1
+ {"version":3,"file":"device-type.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,C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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;CACpD,CAAA;AAKV,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,MAAM,CACtD,sBAAsB,CACc,CAAA;AAEtC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAC1C,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAsC,CAC3E,CAAA;AAID,aAAa;AACb,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;CACtB,CAAA;AAKV,MAAM,CAAC,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CACjD,iBAAiB,CACc,CAAA;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CACrC,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAiC,CACtE,CAAA;AAID,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC;IACrC,gBAAgB;IAChB,wBAAwB;IACxB,sBAAsB;IACtB,iBAAiB;CAClB,CAAC,CAAA"}
@@ -220,7 +220,7 @@ export declare const common_device_properties: z.ZodObject<{
220
220
  }>;
221
221
  export declare const device: z.ZodObject<z.objectUtil.extendShape<{
222
222
  device_id: z.ZodString;
223
- 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"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
223
+ 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"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
224
224
  nickname: z.ZodOptional<z.ZodString>;
225
225
  display_name: z.ZodString;
226
226
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
@@ -2099,7 +2099,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
2099
2099
  custom_metadata: Record<string, string | boolean>;
2100
2100
  display_name: string;
2101
2101
  device_id: string;
2102
- 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") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
2102
+ 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") | ("ios_phone" | "android_phone");
2103
2103
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2104
2104
  properties: {
2105
2105
  name: string;
@@ -2507,7 +2507,7 @@ export declare const device: z.ZodObject<z.objectUtil.extendShape<{
2507
2507
  custom_metadata: Record<string, string | boolean>;
2508
2508
  display_name: string;
2509
2509
  device_id: string;
2510
- 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") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
2510
+ 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") | ("ios_phone" | "android_phone");
2511
2511
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2512
2512
  properties: {
2513
2513
  name: string;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export { phone_specific_properties } from './phone-properties.js';
3
3
  export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
4
4
  device_id: z.ZodString;
5
- 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"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
5
+ 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"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
6
6
  nickname: z.ZodOptional<z.ZodString>;
7
7
  display_name: z.ZodString;
8
8
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
@@ -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"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["visionline_encoder" | "assa_abloy_vostio_encoder"]>]>;
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"]>, 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">;
@@ -2027,7 +2027,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2027
2027
  warning_code: string;
2028
2028
  }[];
2029
2029
  device_id: string;
2030
- 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") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
2030
+ 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") | ("ios_phone" | "android_phone");
2031
2031
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2032
2032
  properties: {
2033
2033
  name: string;
@@ -2092,7 +2092,7 @@ export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.ob
2092
2092
  warning_code: string;
2093
2093
  }[];
2094
2094
  device_id: string;
2095
- 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") | ("ios_phone" | "android_phone") | ("visionline_encoder" | "assa_abloy_vostio_encoder");
2095
+ 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") | ("ios_phone" | "android_phone");
2096
2096
  capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2097
2097
  properties: {
2098
2098
  name: string;
@@ -1,21 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  export declare const start_end_schedule: z.ZodObject<{
3
3
  starts_at: z.ZodString;
4
- ends_at: z.ZodString;
4
+ ends_at: z.ZodNullable<z.ZodString>;
5
5
  }, "strip", z.ZodTypeAny, {
6
6
  starts_at: string;
7
- ends_at: string;
7
+ ends_at: string | null;
8
8
  }, {
9
9
  starts_at: string;
10
- ends_at: string;
10
+ ends_at: string | null;
11
11
  }>;
12
12
  export declare const schedule: z.ZodObject<{
13
13
  starts_at: z.ZodString;
14
- ends_at: z.ZodString;
14
+ ends_at: z.ZodNullable<z.ZodString>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  starts_at: string;
17
- ends_at: string;
17
+ ends_at: string | null;
18
18
  }, {
19
19
  starts_at: string;
20
- ends_at: string;
20
+ ends_at: string | null;
21
21
  }>;
@@ -7,7 +7,8 @@ export const start_end_schedule = z.object({
7
7
  ends_at: z
8
8
  .string()
9
9
  .datetime()
10
- .describe("Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."),
10
+ .describe("Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.")
11
+ .nullable(),
11
12
  });
12
13
  // export const schedule = z.union([
13
14
  // start_end_schedule,
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gIAAgI,CACjI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAA;AAEF,oCAAoC;AACpC,wBAAwB;AACxB,oBAAoB;AACpB,oBAAoB;AACpB,KAAK;AACL,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAA"}
1
+ {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/schedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gIAAgI,CACjI;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;SACA,QAAQ,EAAE;CACd,CAAC,CAAA;AAEF,oCAAoC;AACpC,wBAAwB;AACxB,oBAAoB;AACpB,oBAAoB;AACpB,KAAK;AACL,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAA"}
@@ -828,6 +828,7 @@ declare const _default: {
828
828
  ends_at: {
829
829
  description: string;
830
830
  format: string;
831
+ nullable: boolean;
831
832
  type: string;
832
833
  };
833
834
  starts_at: {
@@ -10250,6 +10251,7 @@ declare const _default: {
10250
10251
  properties: {
10251
10252
  ends_at: {
10252
10253
  format: string;
10254
+ nullable: boolean;
10253
10255
  type: string;
10254
10256
  };
10255
10257
  starts_at: {
@@ -10257,7 +10259,6 @@ declare const _default: {
10257
10259
  type: string;
10258
10260
  };
10259
10261
  };
10260
- required: string[];
10261
10262
  type: string;
10262
10263
  };
10263
10264
  acs_access_group_ids: {
@@ -10909,6 +10910,7 @@ declare const _default: {
10909
10910
  ends_at: {
10910
10911
  description: string;
10911
10912
  format: string;
10913
+ nullable: boolean;
10912
10914
  type: string;
10913
10915
  };
10914
10916
  starts_at: {
@@ -11156,6 +11158,7 @@ declare const _default: {
11156
11158
  ends_at: {
11157
11159
  description: string;
11158
11160
  format: string;
11161
+ nullable: boolean;
11159
11162
  type: string;
11160
11163
  };
11161
11164
  starts_at: {
@@ -960,6 +960,7 @@ export default {
960
960
  ends_at: {
961
961
  description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
962
962
  format: 'date-time',
963
+ nullable: true,
963
964
  type: 'string',
964
965
  },
965
966
  starts_at: {
@@ -4052,10 +4053,6 @@ export default {
4052
4053
  type: 'string',
4053
4054
  },
4054
4055
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
4055
- {
4056
- enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
4057
- type: 'string',
4058
- },
4059
4056
  ],
4060
4057
  },
4061
4058
  display_name: {
@@ -5961,10 +5958,6 @@ export default {
5961
5958
  type: 'string',
5962
5959
  },
5963
5960
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
5964
- {
5965
- enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
5966
- type: 'string',
5967
- },
5968
5961
  ],
5969
5962
  },
5970
5963
  errors: {
@@ -10542,12 +10535,15 @@ export default {
10542
10535
  schema: {
10543
10536
  properties: {
10544
10537
  access_schedule: {
10545
- description: "`starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
10538
+ description: "`starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. `starts_at` defaults to the current time if not provided. `ends_at` is optional and must be a time in the future and after `starts_at`.",
10546
10539
  properties: {
10547
- ends_at: { format: 'date-time', type: 'string' },
10540
+ ends_at: {
10541
+ format: 'date-time',
10542
+ nullable: true,
10543
+ type: 'string',
10544
+ },
10548
10545
  starts_at: { format: 'date-time', type: 'string' },
10549
10546
  },
10550
- required: ['starts_at', 'ends_at'],
10551
10547
  type: 'object',
10552
10548
  },
10553
10549
  acs_access_group_ids: {
@@ -11042,6 +11038,7 @@ export default {
11042
11038
  ends_at: {
11043
11039
  description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
11044
11040
  format: 'date-time',
11041
+ nullable: true,
11045
11042
  type: 'string',
11046
11043
  },
11047
11044
  starts_at: {
@@ -11400,6 +11397,7 @@ export default {
11400
11397
  ends_at: {
11401
11398
  description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
11402
11399
  format: 'date-time',
11400
+ nullable: true,
11403
11401
  type: 'string',
11404
11402
  },
11405
11403
  starts_at: {
@@ -11786,7 +11784,7 @@ export default {
11786
11784
  schema: {
11787
11785
  properties: {
11788
11786
  access_schedule: {
11789
- description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
11787
+ description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.",
11790
11788
  nullable: true,
11791
11789
  properties: {
11792
11790
  ends_at: { format: 'date-time', type: 'string' },
@@ -11863,7 +11861,7 @@ export default {
11863
11861
  schema: {
11864
11862
  properties: {
11865
11863
  access_schedule: {
11866
- description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems.",
11864
+ description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.",
11867
11865
  nullable: true,
11868
11866
  properties: {
11869
11867
  ends_at: { format: 'date-time', type: 'string' },
@@ -13269,13 +13267,6 @@ export default {
13269
13267
  type: 'string',
13270
13268
  },
13271
13269
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
13272
- {
13273
- enum: [
13274
- 'visionline_encoder',
13275
- 'assa_abloy_vostio_encoder',
13276
- ],
13277
- type: 'string',
13278
- },
13279
13270
  ],
13280
13271
  },
13281
13272
  device_types: {
@@ -13330,13 +13321,6 @@ export default {
13330
13321
  enum: ['ios_phone', 'android_phone'],
13331
13322
  type: 'string',
13332
13323
  },
13333
- {
13334
- enum: [
13335
- 'visionline_encoder',
13336
- 'assa_abloy_vostio_encoder',
13337
- ],
13338
- type: 'string',
13339
- },
13340
13324
  ],
13341
13325
  },
13342
13326
  type: 'array',
@@ -13798,13 +13782,6 @@ export default {
13798
13782
  type: 'string',
13799
13783
  },
13800
13784
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
13801
- {
13802
- enum: [
13803
- 'visionline_encoder',
13804
- 'assa_abloy_vostio_encoder',
13805
- ],
13806
- type: 'string',
13807
- },
13808
13785
  ],
13809
13786
  },
13810
13787
  device_types: {
@@ -13859,13 +13836,6 @@ export default {
13859
13836
  enum: ['ios_phone', 'android_phone'],
13860
13837
  type: 'string',
13861
13838
  },
13862
- {
13863
- enum: [
13864
- 'visionline_encoder',
13865
- 'assa_abloy_vostio_encoder',
13866
- ],
13867
- type: 'string',
13868
- },
13869
13839
  ],
13870
13840
  },
13871
13841
  type: 'array',
@@ -14630,13 +14600,6 @@ export default {
14630
14600
  type: 'string',
14631
14601
  },
14632
14602
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
14633
- {
14634
- enum: [
14635
- 'visionline_encoder',
14636
- 'assa_abloy_vostio_encoder',
14637
- ],
14638
- type: 'string',
14639
- },
14640
14603
  ],
14641
14604
  },
14642
14605
  device_types: {
@@ -14691,13 +14654,6 @@ export default {
14691
14654
  enum: ['ios_phone', 'android_phone'],
14692
14655
  type: 'string',
14693
14656
  },
14694
- {
14695
- enum: [
14696
- 'visionline_encoder',
14697
- 'assa_abloy_vostio_encoder',
14698
- ],
14699
- type: 'string',
14700
- },
14701
14657
  ],
14702
14658
  },
14703
14659
  type: 'array',
@@ -15120,13 +15076,6 @@ export default {
15120
15076
  type: 'string',
15121
15077
  },
15122
15078
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
15123
- {
15124
- enum: [
15125
- 'visionline_encoder',
15126
- 'assa_abloy_vostio_encoder',
15127
- ],
15128
- type: 'string',
15129
- },
15130
15079
  ],
15131
15080
  },
15132
15081
  device_types: {
@@ -15181,13 +15130,6 @@ export default {
15181
15130
  enum: ['ios_phone', 'android_phone'],
15182
15131
  type: 'string',
15183
15132
  },
15184
- {
15185
- enum: [
15186
- 'visionline_encoder',
15187
- 'assa_abloy_vostio_encoder',
15188
- ],
15189
- type: 'string',
15190
- },
15191
15133
  ],
15192
15134
  },
15193
15135
  type: 'array',
@@ -16505,13 +16447,6 @@ export default {
16505
16447
  type: 'string',
16506
16448
  },
16507
16449
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
16508
- {
16509
- enum: [
16510
- 'visionline_encoder',
16511
- 'assa_abloy_vostio_encoder',
16512
- ],
16513
- type: 'string',
16514
- },
16515
16450
  ],
16516
16451
  },
16517
16452
  device_types: {
@@ -16566,13 +16501,6 @@ export default {
16566
16501
  enum: ['ios_phone', 'android_phone'],
16567
16502
  type: 'string',
16568
16503
  },
16569
- {
16570
- enum: [
16571
- 'visionline_encoder',
16572
- 'assa_abloy_vostio_encoder',
16573
- ],
16574
- type: 'string',
16575
- },
16576
16504
  ],
16577
16505
  },
16578
16506
  type: 'array',