@seamapi/types 1.735.0 → 1.737.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.
@@ -4919,7 +4919,7 @@ export declare const batch: z.ZodObject<{
4919
4919
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
4920
4920
  automatically_manage_new_devices: z.ZodBoolean;
4921
4921
  customer_key: z.ZodOptional<z.ZodString>;
4922
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
4922
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
4923
4923
  }, "strip", z.ZodTypeAny, {
4924
4924
  display_name: string;
4925
4925
  errors: ({
@@ -4982,7 +4982,7 @@ export declare const batch: z.ZodObject<{
4982
4982
  })[];
4983
4983
  custom_metadata: Record<string, string | boolean>;
4984
4984
  automatically_manage_new_devices: boolean;
4985
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
4985
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
4986
4986
  created_at?: string | undefined;
4987
4987
  user_identifier?: {
4988
4988
  phone?: string | undefined;
@@ -5056,7 +5056,7 @@ export declare const batch: z.ZodObject<{
5056
5056
  })[];
5057
5057
  custom_metadata: Record<string, string | boolean>;
5058
5058
  automatically_manage_new_devices: boolean;
5059
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
5059
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
5060
5060
  created_at?: string | undefined;
5061
5061
  user_identifier?: {
5062
5062
  phone?: string | undefined;
@@ -15469,7 +15469,7 @@ export declare const batch: z.ZodObject<{
15469
15469
  url: z.ZodString;
15470
15470
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
15471
15471
  accepted_providers: z.ZodArray<z.ZodString, "many">;
15472
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
15472
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
15473
15473
  accepted_devices: z.ZodArray<z.ZodString, "many">;
15474
15474
  any_device_allowed: z.ZodBoolean;
15475
15475
  any_provider_allowed: z.ZodBoolean;
@@ -15490,7 +15490,7 @@ export declare const batch: z.ZodObject<{
15490
15490
  connected_account_id: string | null;
15491
15491
  custom_metadata: Record<string, string | boolean>;
15492
15492
  automatically_manage_new_devices: boolean;
15493
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
15493
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
15494
15494
  connect_webview_id: string;
15495
15495
  url: string;
15496
15496
  device_selection_mode: "none" | "single" | "multiple";
@@ -15512,7 +15512,7 @@ export declare const batch: z.ZodObject<{
15512
15512
  connected_account_id: string | null;
15513
15513
  custom_metadata: Record<string, string | boolean>;
15514
15514
  automatically_manage_new_devices: boolean;
15515
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
15515
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
15516
15516
  connect_webview_id: string;
15517
15517
  url: string;
15518
15518
  device_selection_mode: "none" | "single" | "multiple";
@@ -25079,7 +25079,7 @@ export declare const batch: z.ZodObject<{
25079
25079
  })[];
25080
25080
  custom_metadata: Record<string, string | boolean>;
25081
25081
  automatically_manage_new_devices: boolean;
25082
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
25082
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
25083
25083
  created_at?: string | undefined;
25084
25084
  user_identifier?: {
25085
25085
  phone?: string | undefined;
@@ -26709,7 +26709,7 @@ export declare const batch: z.ZodObject<{
26709
26709
  connected_account_id: string | null;
26710
26710
  custom_metadata: Record<string, string | boolean>;
26711
26711
  automatically_manage_new_devices: boolean;
26712
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
26712
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
26713
26713
  connect_webview_id: string;
26714
26714
  url: string;
26715
26715
  device_selection_mode: "none" | "single" | "multiple";
@@ -29714,7 +29714,7 @@ export declare const batch: z.ZodObject<{
29714
29714
  })[];
29715
29715
  custom_metadata: Record<string, string | boolean>;
29716
29716
  automatically_manage_new_devices: boolean;
29717
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
29717
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
29718
29718
  created_at?: string | undefined;
29719
29719
  user_identifier?: {
29720
29720
  phone?: string | undefined;
@@ -31344,7 +31344,7 @@ export declare const batch: z.ZodObject<{
31344
31344
  connected_account_id: string | null;
31345
31345
  custom_metadata: Record<string, string | boolean>;
31346
31346
  automatically_manage_new_devices: boolean;
31347
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
31347
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
31348
31348
  connect_webview_id: string;
31349
31349
  url: string;
31350
31350
  device_selection_mode: "none" | "single" | "multiple";
@@ -8,7 +8,7 @@ export declare const connect_webview: z.ZodObject<{
8
8
  url: z.ZodString;
9
9
  device_selection_mode: z.ZodEnum<["none", "single", "multiple"]>;
10
10
  accepted_providers: z.ZodArray<z.ZodString, "many">;
11
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
11
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
12
12
  accepted_devices: z.ZodArray<z.ZodString, "many">;
13
13
  any_device_allowed: z.ZodBoolean;
14
14
  any_provider_allowed: z.ZodBoolean;
@@ -29,7 +29,7 @@ export declare const connect_webview: z.ZodObject<{
29
29
  connected_account_id: string | null;
30
30
  custom_metadata: Record<string, string | boolean>;
31
31
  automatically_manage_new_devices: boolean;
32
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
32
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
33
33
  connect_webview_id: string;
34
34
  url: string;
35
35
  device_selection_mode: "none" | "single" | "multiple";
@@ -51,7 +51,7 @@ export declare const connect_webview: z.ZodObject<{
51
51
  connected_account_id: string | null;
52
52
  custom_metadata: Record<string, string | boolean>;
53
53
  automatically_manage_new_devices: boolean;
54
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
54
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
55
55
  connect_webview_id: string;
56
56
  url: string;
57
57
  device_selection_mode: "none" | "single" | "multiple";
@@ -952,7 +952,7 @@ export declare const connected_account: z.ZodObject<{
952
952
  custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
953
953
  automatically_manage_new_devices: z.ZodBoolean;
954
954
  customer_key: z.ZodOptional<z.ZodString>;
955
- accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>, "many">;
955
+ accepted_capabilities: z.ZodArray<z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>, "many">;
956
956
  }, "strip", z.ZodTypeAny, {
957
957
  display_name: string;
958
958
  errors: ({
@@ -1015,7 +1015,7 @@ export declare const connected_account: z.ZodObject<{
1015
1015
  })[];
1016
1016
  custom_metadata: Record<string, string | boolean>;
1017
1017
  automatically_manage_new_devices: boolean;
1018
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
1018
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
1019
1019
  created_at?: string | undefined;
1020
1020
  user_identifier?: {
1021
1021
  phone?: string | undefined;
@@ -1089,7 +1089,7 @@ export declare const connected_account: z.ZodObject<{
1089
1089
  })[];
1090
1090
  custom_metadata: Record<string, string | boolean>;
1091
1091
  automatically_manage_new_devices: boolean;
1092
- accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control")[];
1092
+ accepted_capabilities: ("lock" | "thermostat" | "noise_sensor" | "access_control" | "camera")[];
1093
1093
  created_at?: string | undefined;
1094
1094
  user_identifier?: {
1095
1095
  phone?: string | undefined;
@@ -49,6 +49,7 @@ export declare const DEVICE_PROVIDERS: {
49
49
  readonly KORELOCK: "korelock";
50
50
  readonly DORMAKABA_AMBIANCE: "dormakaba_ambiance";
51
51
  readonly ULTRALOQ: "ultraloq";
52
+ readonly RING: "ring";
52
53
  };
53
54
  export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
54
55
  export declare const ALL_DEVICE_PROVIDERS: [
@@ -57,12 +58,13 @@ export declare const ALL_DEVICE_PROVIDERS: [
57
58
  ];
58
59
  export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
59
60
  export declare const PROVIDER_CATEGORY_MAP: {
60
- readonly stable: readonly ["august", "brivo", "schlage", "smartthings", "yale", "nuki", "salto_ks", "salto_space", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "lockly", "wyze", "nest", "tedee", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "dormakaba_ambiance", "latch", "akiles", "sensi", "assa_abloy_vostio", "avigilon_alta", "keynest", "hotek", "ultraloq"];
61
- readonly consumer_smartlocks: readonly ["akiles", "august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee", "ultraloq"];
61
+ readonly stable: readonly ["august", "brivo", "schlage", "smartthings", "yale", "nuki", "salto_ks", "salto_space", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "lockly", "wyze", "nest", "tedee", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "dormakaba_ambiance", "latch", "akiles", "sensi", "assa_abloy_vostio", "avigilon_alta", "keynest", "hotek", "ultraloq", "dormakaba_oracode"];
62
+ readonly consumer_smartlocks: readonly ["akiles", "august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee", "ultraloq", "dormakaba_oracode"];
62
63
  readonly beta: readonly ["korelock"];
63
64
  readonly thermostats: readonly ["ecobee", "nest", "sensi", "honeywell_resideo"];
64
65
  readonly noise_sensors: readonly ["minut", "noiseaware"];
65
66
  readonly access_control_systems: readonly ["visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "dormakaba_ambiance", "dormakaba_community", "legic_connect", "hotek"];
67
+ readonly cameras: readonly ["ring"];
66
68
  readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
67
69
  };
68
70
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
@@ -71,7 +73,7 @@ export declare const device_provider: z.ZodObject<{
71
73
  device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
72
74
  display_name: z.ZodString;
73
75
  image_url: z.ZodString;
74
- provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
76
+ provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[]]>, "many">;
75
77
  } & {
76
78
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
77
79
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
@@ -96,7 +98,7 @@ export declare const device_provider: z.ZodObject<{
96
98
  display_name: string;
97
99
  image_url: string;
98
100
  device_provider_name: DeviceProviderName;
99
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
101
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
100
102
  can_remotely_unlock?: boolean | undefined;
101
103
  can_remotely_lock?: boolean | undefined;
102
104
  can_program_offline_access_codes?: boolean | undefined;
@@ -120,7 +122,7 @@ export declare const device_provider: z.ZodObject<{
120
122
  display_name: string;
121
123
  image_url: string;
122
124
  device_provider_name: DeviceProviderName;
123
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
125
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
124
126
  can_remotely_unlock?: boolean | undefined;
125
127
  can_remotely_lock?: boolean | undefined;
126
128
  can_program_offline_access_codes?: boolean | undefined;
@@ -49,6 +49,7 @@ export const DEVICE_PROVIDERS = {
49
49
  KORELOCK: 'korelock',
50
50
  DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
51
51
  ULTRALOQ: 'ultraloq',
52
+ RING: 'ring',
52
53
  };
53
54
  export const ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
54
55
  export const PROVIDER_CATEGORY_MAP = {
@@ -84,6 +85,7 @@ export const PROVIDER_CATEGORY_MAP = {
84
85
  'keynest',
85
86
  'hotek',
86
87
  'ultraloq',
88
+ 'dormakaba_oracode',
87
89
  ],
88
90
  consumer_smartlocks: [
89
91
  'akiles',
@@ -99,6 +101,7 @@ export const PROVIDER_CATEGORY_MAP = {
99
101
  'lockly',
100
102
  'tedee',
101
103
  'ultraloq',
104
+ 'dormakaba_oracode',
102
105
  ],
103
106
  beta: ['korelock'],
104
107
  thermostats: ['ecobee', 'nest', 'sensi', 'honeywell_resideo'],
@@ -115,6 +118,7 @@ export const PROVIDER_CATEGORY_MAP = {
115
118
  'legic_connect',
116
119
  'hotek',
117
120
  ],
121
+ cameras: ['ring'],
118
122
  internal_beta: ALL_DEVICE_PROVIDERS,
119
123
  };
120
124
  export const PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
@@ -138,6 +142,13 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP = {
138
142
  thermostats: ['thermostat'],
139
143
  noise_sensors: ['noise_sensor'],
140
144
  access_control_systems: ['access_control'],
141
- internal_beta: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
145
+ cameras: ['camera'],
146
+ internal_beta: [
147
+ 'lock',
148
+ 'thermostat',
149
+ 'noise_sensor',
150
+ 'access_control',
151
+ 'camera',
152
+ ],
142
153
  };
143
154
  //# 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;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAA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A;AAIJ,MAAM,CAAC,MAAM,gCAAgC,GAGzC;IACF,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAC9D,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;CACxE,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;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAA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Ac,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAC9D,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,aAAa,EAAE;QACb,MAAM;QACN,YAAY;QACZ,cAAc;QACd,gBAAgB;QAChB,QAAQ;KACT;CACF,CAAA"}
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export declare const provider_capability: z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control"]>;
2
+ export declare const provider_capability: z.ZodEnum<["lock", "thermostat", "noise_sensor", "access_control", "camera"]>;
3
3
  export type ProviderCapability = z.infer<typeof provider_capability>;
@@ -4,6 +4,7 @@ export const provider_capability = z.enum([
4
4
  'thermostat',
5
5
  'noise_sensor',
6
6
  'access_control',
7
+ 'camera',
7
8
  ]).describe(`
8
9
  High-level device capabilities that can be restricted in connect webviews.
9
10
  These represent the main device categories that customers can opt into.
@@ -1 +1 @@
1
- {"version":3,"file":"provider-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/provider-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,YAAY;IACZ,cAAc;IACd,gBAAgB;CACjB,CAAC,CAAC,QAAQ,CAAC;;;CAGX,CAAC,CAAA"}
1
+ {"version":3,"file":"provider-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/provider-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC;IACxC,MAAM;IACN,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,QAAQ;CACT,CAAC,CAAC,QAAQ,CAAC;;;CAGX,CAAC,CAAA"}
@@ -8502,7 +8502,13 @@ export default {
8502
8502
  description: 'High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`.',
8503
8503
  items: {
8504
8504
  description: '\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n',
8505
- enum: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
8505
+ enum: [
8506
+ 'lock',
8507
+ 'thermostat',
8508
+ 'noise_sensor',
8509
+ 'access_control',
8510
+ 'camera',
8511
+ ],
8506
8512
  type: 'string',
8507
8513
  },
8508
8514
  type: 'array',
@@ -8643,7 +8649,13 @@ export default {
8643
8649
  description: 'List of capabilities that were accepted during the account connection process.',
8644
8650
  items: {
8645
8651
  description: '\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n',
8646
- enum: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
8652
+ enum: [
8653
+ 'lock',
8654
+ 'thermostat',
8655
+ 'noise_sensor',
8656
+ 'access_control',
8657
+ 'camera',
8658
+ ],
8647
8659
  type: 'string',
8648
8660
  },
8649
8661
  type: 'array',
@@ -12773,6 +12785,7 @@ export default {
12773
12785
  'korelock',
12774
12786
  'dormakaba_ambiance',
12775
12787
  'ultraloq',
12788
+ 'ring',
12776
12789
  ],
12777
12790
  type: 'string',
12778
12791
  },
@@ -12787,6 +12800,7 @@ export default {
12787
12800
  'thermostats',
12788
12801
  'noise_sensors',
12789
12802
  'access_control_systems',
12803
+ 'cameras',
12790
12804
  ],
12791
12805
  type: 'string',
12792
12806
  },
@@ -42368,6 +42382,7 @@ export default {
42368
42382
  'thermostat',
42369
42383
  'noise_sensor',
42370
42384
  'access_control',
42385
+ 'camera',
42371
42386
  ],
42372
42387
  type: 'string',
42373
42388
  },
@@ -42425,6 +42440,7 @@ export default {
42425
42440
  'korelock',
42426
42441
  'dormakaba_ambiance',
42427
42442
  'ultraloq',
42443
+ 'ring',
42428
42444
  'yale_access',
42429
42445
  'hid_cm',
42430
42446
  'google_nest',
@@ -42480,6 +42496,7 @@ export default {
42480
42496
  'thermostats',
42481
42497
  'noise_sensors',
42482
42498
  'access_control_systems',
42499
+ 'cameras',
42483
42500
  'internal_beta',
42484
42501
  ],
42485
42502
  type: 'string',
@@ -43446,6 +43463,7 @@ export default {
43446
43463
  'thermostat',
43447
43464
  'noise_sensor',
43448
43465
  'access_control',
43466
+ 'camera',
43449
43467
  ],
43450
43468
  type: 'string',
43451
43469
  },
@@ -43533,6 +43551,7 @@ export default {
43533
43551
  'thermostat',
43534
43552
  'noise_sensor',
43535
43553
  'access_control',
43554
+ 'camera',
43536
43555
  ],
43537
43556
  type: 'string',
43538
43557
  },
@@ -46345,6 +46364,7 @@ export default {
46345
46364
  'smartthings',
46346
46365
  'tado',
46347
46366
  'ultraloq',
46367
+ 'ring',
46348
46368
  ],
46349
46369
  type: 'string',
46350
46370
  },
@@ -46830,6 +46850,7 @@ export default {
46830
46850
  'smartthings',
46831
46851
  'tado',
46832
46852
  'ultraloq',
46853
+ 'ring',
46833
46854
  ],
46834
46855
  type: 'string',
46835
46856
  },
@@ -46921,6 +46942,7 @@ export default {
46921
46942
  'thermostats',
46922
46943
  'noise_sensors',
46923
46944
  'access_control_systems',
46945
+ 'cameras',
46924
46946
  ],
46925
46947
  type: 'string',
46926
46948
  },
@@ -46979,6 +47001,7 @@ export default {
46979
47001
  'thermostats',
46980
47002
  'noise_sensors',
46981
47003
  'access_control_systems',
47004
+ 'cameras',
46982
47005
  ],
46983
47006
  type: 'string',
46984
47007
  },
@@ -48182,6 +48205,7 @@ export default {
48182
48205
  'smartthings',
48183
48206
  'tado',
48184
48207
  'ultraloq',
48208
+ 'ring',
48185
48209
  ],
48186
48210
  type: 'string',
48187
48211
  },
@@ -48666,6 +48690,7 @@ export default {
48666
48690
  'smartthings',
48667
48691
  'tado',
48668
48692
  'ultraloq',
48693
+ 'ring',
48669
48694
  ],
48670
48695
  type: 'string',
48671
48696
  },