@seamapi/types 1.204.0 → 1.205.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.
@@ -5908,20 +5908,41 @@ declare const DEVICE_PROVIDERS: {
5908
5908
  };
5909
5909
  type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
5910
5910
  declare const device_provider: z.ZodObject<{
5911
- device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
5912
5911
  display_name: z.ZodString;
5913
5912
  image_url: z.ZodString;
5913
+ device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
5914
5914
  provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
5915
+ can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
5916
+ can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
5917
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
5918
+ can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
5919
+ can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
5920
+ can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
5921
+ can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
5915
5922
  }, "strip", z.ZodTypeAny, {
5916
5923
  display_name: string;
5917
5924
  image_url: string;
5918
5925
  device_provider_name: "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "linear" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
5919
5926
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
5927
+ can_remotely_unlock?: boolean | undefined;
5928
+ can_remotely_lock?: boolean | undefined;
5929
+ can_program_offline_access_codes?: boolean | undefined;
5930
+ can_program_online_access_codes?: boolean | undefined;
5931
+ can_simulate_removal?: boolean | undefined;
5932
+ can_simulate_connection?: boolean | undefined;
5933
+ can_simulate_disconnection?: boolean | undefined;
5920
5934
  }, {
5921
5935
  display_name: string;
5922
5936
  image_url: string;
5923
5937
  device_provider_name: "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "linear" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
5924
5938
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
5939
+ can_remotely_unlock?: boolean | undefined;
5940
+ can_remotely_lock?: boolean | undefined;
5941
+ can_program_offline_access_codes?: boolean | undefined;
5942
+ can_program_online_access_codes?: boolean | undefined;
5943
+ can_simulate_removal?: boolean | undefined;
5944
+ can_simulate_connection?: boolean | undefined;
5945
+ can_simulate_disconnection?: boolean | undefined;
5925
5946
  }>;
5926
5947
  type DeviceProvider = z.infer<typeof device_provider>;
5927
5948
 
@@ -10756,6 +10777,27 @@ declare const _default: {
10756
10777
  };
10757
10778
  device_provider: {
10758
10779
  properties: {
10780
+ can_program_offline_access_codes: {
10781
+ type: string;
10782
+ };
10783
+ can_program_online_access_codes: {
10784
+ type: string;
10785
+ };
10786
+ can_remotely_lock: {
10787
+ type: string;
10788
+ };
10789
+ can_remotely_unlock: {
10790
+ type: string;
10791
+ };
10792
+ can_simulate_connection: {
10793
+ type: string;
10794
+ };
10795
+ can_simulate_disconnection: {
10796
+ type: string;
10797
+ };
10798
+ can_simulate_removal: {
10799
+ type: string;
10800
+ };
10759
10801
  device_provider_name: {
10760
10802
  enum: string[];
10761
10803
  type: string;
@@ -29895,6 +29937,13 @@ interface Routes {
29895
29937
  display_name: string;
29896
29938
  image_url: string;
29897
29939
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
29940
+ can_remotely_unlock?: boolean | undefined;
29941
+ can_remotely_lock?: boolean | undefined;
29942
+ can_program_offline_access_codes?: boolean | undefined;
29943
+ can_program_online_access_codes?: boolean | undefined;
29944
+ can_simulate_removal?: boolean | undefined;
29945
+ can_simulate_connection?: boolean | undefined;
29946
+ can_simulate_disconnection?: boolean | undefined;
29898
29947
  }>;
29899
29948
  };
29900
29949
  };
@@ -55,19 +55,40 @@ export declare const PROVIDER_CATEGORY_MAP: {
55
55
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
56
56
  export declare const PUBLIC_PROVIDER_CATEGORIES: typeof PROVIDER_CATEGORIES;
57
57
  export declare const device_provider: z.ZodObject<{
58
- device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
59
58
  display_name: z.ZodString;
60
59
  image_url: z.ZodString;
60
+ device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
61
61
  provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
62
+ can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
63
+ can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
64
+ can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
65
+ can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
66
+ can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
67
+ can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
68
+ can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
62
69
  }, "strip", z.ZodTypeAny, {
63
70
  display_name: string;
64
71
  image_url: string;
65
72
  device_provider_name: "linear" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
66
73
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
74
+ can_remotely_unlock?: boolean | undefined;
75
+ can_remotely_lock?: boolean | undefined;
76
+ can_program_offline_access_codes?: boolean | undefined;
77
+ can_program_online_access_codes?: boolean | undefined;
78
+ can_simulate_removal?: boolean | undefined;
79
+ can_simulate_connection?: boolean | undefined;
80
+ can_simulate_disconnection?: boolean | undefined;
67
81
  }, {
68
82
  display_name: string;
69
83
  image_url: string;
70
84
  device_provider_name: "linear" | "doorking" | "akuvox" | "august" | "avigilon_alta" | "brivo" | "butterflymx" | "schlage" | "smartthings" | "yale" | "genie" | "salto" | "lockly" | "ttlock" | "noiseaware" | "nuki" | "seam_relay_admin" | "igloo" | "kwikset" | "minut" | "my_2n" | "controlbyweb" | "nest" | "igloohome" | "ecobee" | "hubitat" | "four_suites" | "dormakaba_oracode" | "pti" | "wyze" | "seam_passport" | "visionline" | "assa_abloy_credential_service" | "seam_bridge" | "tedee" | "honeywell_resideo" | "latch";
71
85
  provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
86
+ can_remotely_unlock?: boolean | undefined;
87
+ can_remotely_lock?: boolean | undefined;
88
+ can_program_offline_access_codes?: boolean | undefined;
89
+ can_program_online_access_codes?: boolean | undefined;
90
+ can_simulate_removal?: boolean | undefined;
91
+ can_simulate_connection?: boolean | undefined;
92
+ can_simulate_disconnection?: boolean | undefined;
72
93
  }>;
73
94
  export type DeviceProvider = z.infer<typeof device_provider>;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { device_capability_flags } from './device.js';
2
3
  export const DEVICE_PROVIDERS = {
3
4
  AKUVOX: 'akuvox',
4
5
  AUGUST: 'august',
@@ -93,10 +94,12 @@ export const PROVIDER_CATEGORY_MAP = {
93
94
  };
94
95
  export const PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
95
96
  export const PUBLIC_PROVIDER_CATEGORIES = PROVIDER_CATEGORIES.filter((category) => category !== 'internal_beta');
96
- export const device_provider = z.object({
97
+ export const device_provider = z
98
+ .object({
97
99
  device_provider_name: z.enum(ALL_DEVICE_PROVIDERS),
98
100
  display_name: z.string(),
99
101
  image_url: z.string(),
100
102
  provider_categories: z.array(z.enum(PUBLIC_PROVIDER_CATEGORIES)),
101
- });
103
+ })
104
+ .extend(device_capability_flags.shape);
102
105
  //# sourceMappingURL=device-provider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B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B,OAAO;KACR;IAED,mBAAmB,EAAE;QACnB,QAAQ;QACR,SAAS;QACT,MAAM;QACN,aAAa;QACb,MAAM;QACN,QAAQ;QACR,SAAS;QACT,WAAW;QACX,MAAM;QACN,QAAQ;QACR,OAAO;KACR;IAED,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;IACtC,sBAAsB,EAAE;QACtB,KAAK;QACL,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC,CAAA"}
1
+ {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;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nB,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,mBAAmB,EAAE;QACnB,QAAQ;QACR,SAAS;QACT,MAAM;QACN,aAAa;QACb,MAAM;QACN,QAAQ;QACR,SAAS;QACT,WAAW;QACX,MAAM;QACN,QAAQ;QACR,OAAO;KACR;IAED,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;IACtC,sBAAsB,EAAE;QACtB,KAAK;QACL,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAA"}
@@ -2909,6 +2909,27 @@ declare const _default: {
2909
2909
  };
2910
2910
  device_provider: {
2911
2911
  properties: {
2912
+ can_program_offline_access_codes: {
2913
+ type: string;
2914
+ };
2915
+ can_program_online_access_codes: {
2916
+ type: string;
2917
+ };
2918
+ can_remotely_lock: {
2919
+ type: string;
2920
+ };
2921
+ can_remotely_unlock: {
2922
+ type: string;
2923
+ };
2924
+ can_simulate_connection: {
2925
+ type: string;
2926
+ };
2927
+ can_simulate_disconnection: {
2928
+ type: string;
2929
+ };
2930
+ can_simulate_removal: {
2931
+ type: string;
2932
+ };
2912
2933
  device_provider_name: {
2913
2934
  enum: string[];
2914
2935
  type: string;
@@ -3419,6 +3419,13 @@ export default {
3419
3419
  },
3420
3420
  device_provider: {
3421
3421
  properties: {
3422
+ can_program_offline_access_codes: { type: 'boolean' },
3423
+ can_program_online_access_codes: { type: 'boolean' },
3424
+ can_remotely_lock: { type: 'boolean' },
3425
+ can_remotely_unlock: { type: 'boolean' },
3426
+ can_simulate_connection: { type: 'boolean' },
3427
+ can_simulate_disconnection: { type: 'boolean' },
3428
+ can_simulate_removal: { type: 'boolean' },
3422
3429
  device_provider_name: {
3423
3430
  enum: [
3424
3431
  'akuvox',