@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.
- package/dist/connect.cjs +47 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +39 -38
- package/dist/index.cjs +47 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -10
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device-provider.js +12 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/provider-capability.d.ts +1 -1
- package/lib/seam/connect/models/provider-capability.js +1 -0
- package/lib/seam/connect/models/provider-capability.js.map +1 -1
- package/lib/seam/connect/openapi.js +27 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -19
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +13 -1
- package/src/lib/seam/connect/models/provider-capability.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +27 -2
- package/src/lib/seam/connect/route-types.ts +31 -2
|
@@ -12055,7 +12055,7 @@ export type Routes = {
|
|
|
12055
12055
|
/** Your unique key for the customer associated with this connected account. */
|
|
12056
12056
|
customer_key?: string | undefined;
|
|
12057
12057
|
/** List of capabilities that were accepted during the account connection process. */
|
|
12058
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
12058
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
12059
12059
|
}[] | undefined;
|
|
12060
12060
|
acs_systems?: {
|
|
12061
12061
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -27285,9 +27285,9 @@ export type Routes = {
|
|
|
27285
27285
|
/** Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error. */
|
|
27286
27286
|
customer_key?: string | undefined;
|
|
27287
27287
|
/** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters. */
|
|
27288
|
-
accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
27288
|
+
accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
27289
27289
|
/** Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with the desired `provider_category` filter. */
|
|
27290
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
27290
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'internal_beta') | undefined;
|
|
27291
27291
|
/** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/latest/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
|
|
27292
27292
|
custom_metadata?: {
|
|
27293
27293
|
[x: string]: string | boolean | null;
|
|
@@ -27297,7 +27297,7 @@ export type Routes = {
|
|
|
27297
27297
|
/** Indicates whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview. See also: [Customize the Behavior Settings of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-behavior-settings-of-your-connect-webviews). */
|
|
27298
27298
|
wait_for_device_creation?: boolean;
|
|
27299
27299
|
/** List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers. */
|
|
27300
|
-
accepted_capabilities?: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[] | undefined;
|
|
27300
|
+
accepted_capabilities?: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[] | undefined;
|
|
27301
27301
|
/** List of provider keys to exclude from the Connect Webview. These providers will not be shown when the user tries to connect an account. */
|
|
27302
27302
|
excluded_providers?: string[] | undefined;
|
|
27303
27303
|
};
|
|
@@ -27330,7 +27330,7 @@ export type Routes = {
|
|
|
27330
27330
|
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
27331
27331
|
accepted_providers: string[];
|
|
27332
27332
|
/** 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`. */
|
|
27333
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
27333
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
27334
27334
|
/**
|
|
27335
27335
|
* @deprecated Unused. Will be removed.*/
|
|
27336
27336
|
accepted_devices: string[];
|
|
@@ -27415,7 +27415,7 @@ export type Routes = {
|
|
|
27415
27415
|
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
27416
27416
|
accepted_providers: string[];
|
|
27417
27417
|
/** 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`. */
|
|
27418
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
27418
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
27419
27419
|
/**
|
|
27420
27420
|
* @deprecated Unused. Will be removed.*/
|
|
27421
27421
|
accepted_devices: string[];
|
|
@@ -27488,7 +27488,7 @@ export type Routes = {
|
|
|
27488
27488
|
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
27489
27489
|
accepted_providers: string[];
|
|
27490
27490
|
/** 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`. */
|
|
27491
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
27491
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
27492
27492
|
/**
|
|
27493
27493
|
* @deprecated Unused. Will be removed.*/
|
|
27494
27494
|
accepted_devices: string[];
|
|
@@ -27698,7 +27698,7 @@ export type Routes = {
|
|
|
27698
27698
|
/** Your unique key for the customer associated with this connected account. */
|
|
27699
27699
|
customer_key?: string | undefined;
|
|
27700
27700
|
/** List of capabilities that were accepted during the account connection process. */
|
|
27701
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
27701
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
27702
27702
|
};
|
|
27703
27703
|
};
|
|
27704
27704
|
maxDuration: undefined;
|
|
@@ -27862,7 +27862,7 @@ export type Routes = {
|
|
|
27862
27862
|
/** Your unique key for the customer associated with this connected account. */
|
|
27863
27863
|
customer_key?: string | undefined;
|
|
27864
27864
|
/** List of capabilities that were accepted during the account connection process. */
|
|
27865
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
27865
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
27866
27866
|
}[];
|
|
27867
27867
|
/** Information about the current page of results. */
|
|
27868
27868
|
pagination: {
|
|
@@ -27916,7 +27916,7 @@ export type Routes = {
|
|
|
27916
27916
|
[x: string]: string | boolean | null;
|
|
27917
27917
|
} | undefined;
|
|
27918
27918
|
/** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
|
|
27919
|
-
accepted_capabilities?: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[] | undefined;
|
|
27919
|
+
accepted_capabilities?: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[] | undefined;
|
|
27920
27920
|
/** The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. May only be provided if the connected account is not already associated with a customer. */
|
|
27921
27921
|
customer_key?: string | undefined;
|
|
27922
27922
|
};
|
|
@@ -28060,7 +28060,7 @@ export type Routes = {
|
|
|
28060
28060
|
/** Your unique key for the customer associated with this connected account. */
|
|
28061
28061
|
customer_key?: string | undefined;
|
|
28062
28062
|
/** List of capabilities that were accepted during the account connection process. */
|
|
28063
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
28063
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
28064
28064
|
};
|
|
28065
28065
|
};
|
|
28066
28066
|
maxDuration: undefined;
|
|
@@ -30220,7 +30220,7 @@ export type Routes = {
|
|
|
30220
30220
|
/** Array of device types for which you want to list devices. */
|
|
30221
30221
|
device_types?: (('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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
|
|
30222
30222
|
/** Manufacturer for which you want to list devices. */
|
|
30223
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq') | undefined;
|
|
30223
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring') | undefined;
|
|
30224
30224
|
/** Array of device IDs for which you want to list devices. */
|
|
30225
30225
|
device_ids?: string[] | undefined;
|
|
30226
30226
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -31573,15 +31573,15 @@ export type Routes = {
|
|
|
31573
31573
|
jsonBody: {};
|
|
31574
31574
|
commonParams: {
|
|
31575
31575
|
/** Category for which you want to list providers. */
|
|
31576
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems') | undefined;
|
|
31576
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras') | undefined;
|
|
31577
31577
|
};
|
|
31578
31578
|
formData: {};
|
|
31579
31579
|
jsonResponse: {
|
|
31580
31580
|
device_providers: {
|
|
31581
|
-
device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq';
|
|
31581
|
+
device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring';
|
|
31582
31582
|
display_name: string;
|
|
31583
31583
|
image_url: string;
|
|
31584
|
-
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems')[];
|
|
31584
|
+
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras')[];
|
|
31585
31585
|
can_remotely_unlock?: boolean | undefined;
|
|
31586
31586
|
can_remotely_lock?: boolean | undefined;
|
|
31587
31587
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -32162,7 +32162,7 @@ export type Routes = {
|
|
|
32162
32162
|
/** Array of device types for which you want to list devices. */
|
|
32163
32163
|
device_types?: (('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' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
|
|
32164
32164
|
/** Manufacturer for which you want to list devices. */
|
|
32165
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq') | undefined;
|
|
32165
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring') | undefined;
|
|
32166
32166
|
/** Array of device IDs for which you want to list devices. */
|
|
32167
32167
|
device_ids?: string[] | undefined;
|
|
32168
32168
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -63856,7 +63856,7 @@ export type Routes = {
|
|
|
63856
63856
|
/** Your unique key for the customer associated with this connected account. */
|
|
63857
63857
|
customer_key?: string | undefined;
|
|
63858
63858
|
/** List of capabilities that were accepted during the account connection process. */
|
|
63859
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
63859
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
63860
63860
|
}[] | undefined;
|
|
63861
63861
|
acs_systems?: {
|
|
63862
63862
|
/** ID of the default credential manager `acs_system` for this [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
@@ -88172,7 +88172,7 @@ export type Routes = {
|
|
|
88172
88172
|
/** List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). */
|
|
88173
88173
|
accepted_providers: string[];
|
|
88174
88174
|
/** 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`. */
|
|
88175
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
88175
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
88176
88176
|
/**
|
|
88177
88177
|
* @deprecated Unused. Will be removed.*/
|
|
88178
88178
|
accepted_devices: string[];
|
|
@@ -88618,7 +88618,7 @@ export type Routes = {
|
|
|
88618
88618
|
/** Your unique key for the customer associated with this connected account. */
|
|
88619
88619
|
customer_key?: string | undefined;
|
|
88620
88620
|
/** List of capabilities that were accepted during the account connection process. */
|
|
88621
|
-
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control')[];
|
|
88621
|
+
accepted_capabilities: ('lock' | 'thermostat' | 'noise_sensor' | 'access_control' | 'camera')[];
|
|
88622
88622
|
}[] | undefined;
|
|
88623
88623
|
events?: ({
|
|
88624
88624
|
/** ID of the event. */
|
package/package.json
CHANGED
|
@@ -52,6 +52,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
52
52
|
KORELOCK: 'korelock',
|
|
53
53
|
DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
|
|
54
54
|
ULTRALOQ: 'ultraloq',
|
|
55
|
+
RING: 'ring',
|
|
55
56
|
} as const
|
|
56
57
|
|
|
57
58
|
export type DeviceProviderName =
|
|
@@ -97,6 +98,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
97
98
|
'keynest',
|
|
98
99
|
'hotek',
|
|
99
100
|
'ultraloq',
|
|
101
|
+
'dormakaba_oracode',
|
|
100
102
|
],
|
|
101
103
|
|
|
102
104
|
consumer_smartlocks: [
|
|
@@ -113,6 +115,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
113
115
|
'lockly',
|
|
114
116
|
'tedee',
|
|
115
117
|
'ultraloq',
|
|
118
|
+
'dormakaba_oracode',
|
|
116
119
|
],
|
|
117
120
|
|
|
118
121
|
beta: ['korelock'],
|
|
@@ -132,6 +135,8 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
132
135
|
'hotek',
|
|
133
136
|
],
|
|
134
137
|
|
|
138
|
+
cameras: ['ring'],
|
|
139
|
+
|
|
135
140
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
136
141
|
} as const satisfies Record<string, readonly DeviceProviderName[]>
|
|
137
142
|
|
|
@@ -166,5 +171,12 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP: Record<
|
|
|
166
171
|
thermostats: ['thermostat'],
|
|
167
172
|
noise_sensors: ['noise_sensor'],
|
|
168
173
|
access_control_systems: ['access_control'],
|
|
169
|
-
|
|
174
|
+
cameras: ['camera'],
|
|
175
|
+
internal_beta: [
|
|
176
|
+
'lock',
|
|
177
|
+
'thermostat',
|
|
178
|
+
'noise_sensor',
|
|
179
|
+
'access_control',
|
|
180
|
+
'camera',
|
|
181
|
+
],
|
|
170
182
|
}
|
|
@@ -5,6 +5,7 @@ export const provider_capability = z.enum([
|
|
|
5
5
|
'thermostat',
|
|
6
6
|
'noise_sensor',
|
|
7
7
|
'access_control',
|
|
8
|
+
'camera',
|
|
8
9
|
]).describe(`
|
|
9
10
|
High-level device capabilities that can be restricted in connect webviews.
|
|
10
11
|
These represent the main device categories that customers can opt into.
|
|
@@ -9601,7 +9601,13 @@ export default {
|
|
|
9601
9601
|
items: {
|
|
9602
9602
|
description:
|
|
9603
9603
|
'\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',
|
|
9604
|
-
enum: [
|
|
9604
|
+
enum: [
|
|
9605
|
+
'lock',
|
|
9606
|
+
'thermostat',
|
|
9607
|
+
'noise_sensor',
|
|
9608
|
+
'access_control',
|
|
9609
|
+
'camera',
|
|
9610
|
+
],
|
|
9605
9611
|
type: 'string',
|
|
9606
9612
|
},
|
|
9607
9613
|
type: 'array',
|
|
@@ -9760,7 +9766,13 @@ export default {
|
|
|
9760
9766
|
items: {
|
|
9761
9767
|
description:
|
|
9762
9768
|
'\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',
|
|
9763
|
-
enum: [
|
|
9769
|
+
enum: [
|
|
9770
|
+
'lock',
|
|
9771
|
+
'thermostat',
|
|
9772
|
+
'noise_sensor',
|
|
9773
|
+
'access_control',
|
|
9774
|
+
'camera',
|
|
9775
|
+
],
|
|
9764
9776
|
type: 'string',
|
|
9765
9777
|
},
|
|
9766
9778
|
type: 'array',
|
|
@@ -14402,6 +14414,7 @@ export default {
|
|
|
14402
14414
|
'korelock',
|
|
14403
14415
|
'dormakaba_ambiance',
|
|
14404
14416
|
'ultraloq',
|
|
14417
|
+
'ring',
|
|
14405
14418
|
],
|
|
14406
14419
|
type: 'string',
|
|
14407
14420
|
},
|
|
@@ -14416,6 +14429,7 @@ export default {
|
|
|
14416
14429
|
'thermostats',
|
|
14417
14430
|
'noise_sensors',
|
|
14418
14431
|
'access_control_systems',
|
|
14432
|
+
'cameras',
|
|
14419
14433
|
],
|
|
14420
14434
|
type: 'string',
|
|
14421
14435
|
},
|
|
@@ -46691,6 +46705,7 @@ export default {
|
|
|
46691
46705
|
'thermostat',
|
|
46692
46706
|
'noise_sensor',
|
|
46693
46707
|
'access_control',
|
|
46708
|
+
'camera',
|
|
46694
46709
|
],
|
|
46695
46710
|
type: 'string',
|
|
46696
46711
|
},
|
|
@@ -46749,6 +46764,7 @@ export default {
|
|
|
46749
46764
|
'korelock',
|
|
46750
46765
|
'dormakaba_ambiance',
|
|
46751
46766
|
'ultraloq',
|
|
46767
|
+
'ring',
|
|
46752
46768
|
'yale_access',
|
|
46753
46769
|
'hid_cm',
|
|
46754
46770
|
'google_nest',
|
|
@@ -46811,6 +46827,7 @@ export default {
|
|
|
46811
46827
|
'thermostats',
|
|
46812
46828
|
'noise_sensors',
|
|
46813
46829
|
'access_control_systems',
|
|
46830
|
+
'cameras',
|
|
46814
46831
|
'internal_beta',
|
|
46815
46832
|
],
|
|
46816
46833
|
type: 'string',
|
|
@@ -47826,6 +47843,7 @@ export default {
|
|
|
47826
47843
|
'thermostat',
|
|
47827
47844
|
'noise_sensor',
|
|
47828
47845
|
'access_control',
|
|
47846
|
+
'camera',
|
|
47829
47847
|
],
|
|
47830
47848
|
type: 'string',
|
|
47831
47849
|
},
|
|
@@ -47920,6 +47938,7 @@ export default {
|
|
|
47920
47938
|
'thermostat',
|
|
47921
47939
|
'noise_sensor',
|
|
47922
47940
|
'access_control',
|
|
47941
|
+
'camera',
|
|
47923
47942
|
],
|
|
47924
47943
|
type: 'string',
|
|
47925
47944
|
},
|
|
@@ -51008,6 +51027,7 @@ export default {
|
|
|
51008
51027
|
'smartthings',
|
|
51009
51028
|
'tado',
|
|
51010
51029
|
'ultraloq',
|
|
51030
|
+
'ring',
|
|
51011
51031
|
],
|
|
51012
51032
|
type: 'string',
|
|
51013
51033
|
},
|
|
@@ -51517,6 +51537,7 @@ export default {
|
|
|
51517
51537
|
'smartthings',
|
|
51518
51538
|
'tado',
|
|
51519
51539
|
'ultraloq',
|
|
51540
|
+
'ring',
|
|
51520
51541
|
],
|
|
51521
51542
|
type: 'string',
|
|
51522
51543
|
},
|
|
@@ -51613,6 +51634,7 @@ export default {
|
|
|
51613
51634
|
'thermostats',
|
|
51614
51635
|
'noise_sensors',
|
|
51615
51636
|
'access_control_systems',
|
|
51637
|
+
'cameras',
|
|
51616
51638
|
],
|
|
51617
51639
|
type: 'string',
|
|
51618
51640
|
},
|
|
@@ -51673,6 +51695,7 @@ export default {
|
|
|
51673
51695
|
'thermostats',
|
|
51674
51696
|
'noise_sensors',
|
|
51675
51697
|
'access_control_systems',
|
|
51698
|
+
'cameras',
|
|
51676
51699
|
],
|
|
51677
51700
|
type: 'string',
|
|
51678
51701
|
},
|
|
@@ -52898,6 +52921,7 @@ export default {
|
|
|
52898
52921
|
'smartthings',
|
|
52899
52922
|
'tado',
|
|
52900
52923
|
'ultraloq',
|
|
52924
|
+
'ring',
|
|
52901
52925
|
],
|
|
52902
52926
|
type: 'string',
|
|
52903
52927
|
},
|
|
@@ -53406,6 +53430,7 @@ export default {
|
|
|
53406
53430
|
'smartthings',
|
|
53407
53431
|
'tado',
|
|
53408
53432
|
'ultraloq',
|
|
53433
|
+
'ring',
|
|
53409
53434
|
],
|
|
53410
53435
|
type: 'string',
|
|
53411
53436
|
},
|
|
@@ -13800,6 +13800,7 @@ export type Routes = {
|
|
|
13800
13800
|
| 'thermostat'
|
|
13801
13801
|
| 'noise_sensor'
|
|
13802
13802
|
| 'access_control'
|
|
13803
|
+
| 'camera'
|
|
13803
13804
|
)[]
|
|
13804
13805
|
}[]
|
|
13805
13806
|
| undefined
|
|
@@ -31565,6 +31566,7 @@ export type Routes = {
|
|
|
31565
31566
|
| 'korelock'
|
|
31566
31567
|
| 'dormakaba_ambiance'
|
|
31567
31568
|
| 'ultraloq'
|
|
31569
|
+
| 'ring'
|
|
31568
31570
|
| 'yale_access'
|
|
31569
31571
|
| 'hid_cm'
|
|
31570
31572
|
| 'google_nest'
|
|
@@ -31579,6 +31581,7 @@ export type Routes = {
|
|
|
31579
31581
|
| 'thermostats'
|
|
31580
31582
|
| 'noise_sensors'
|
|
31581
31583
|
| 'access_control_systems'
|
|
31584
|
+
| 'cameras'
|
|
31582
31585
|
| 'internal_beta'
|
|
31583
31586
|
)
|
|
31584
31587
|
| undefined
|
|
@@ -31594,7 +31597,13 @@ export type Routes = {
|
|
|
31594
31597
|
wait_for_device_creation?: boolean
|
|
31595
31598
|
/** List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers. */
|
|
31596
31599
|
accepted_capabilities?:
|
|
31597
|
-
| (
|
|
31600
|
+
| (
|
|
31601
|
+
| 'lock'
|
|
31602
|
+
| 'thermostat'
|
|
31603
|
+
| 'noise_sensor'
|
|
31604
|
+
| 'access_control'
|
|
31605
|
+
| 'camera'
|
|
31606
|
+
)[]
|
|
31598
31607
|
| undefined
|
|
31599
31608
|
/** List of provider keys to exclude from the Connect Webview. These providers will not be shown when the user tries to connect an account. */
|
|
31600
31609
|
excluded_providers?: string[] | undefined
|
|
@@ -31633,6 +31642,7 @@ export type Routes = {
|
|
|
31633
31642
|
| 'thermostat'
|
|
31634
31643
|
| 'noise_sensor'
|
|
31635
31644
|
| 'access_control'
|
|
31645
|
+
| 'camera'
|
|
31636
31646
|
)[]
|
|
31637
31647
|
/**
|
|
31638
31648
|
* @deprecated Unused. Will be removed.*/
|
|
@@ -31723,6 +31733,7 @@ export type Routes = {
|
|
|
31723
31733
|
| 'thermostat'
|
|
31724
31734
|
| 'noise_sensor'
|
|
31725
31735
|
| 'access_control'
|
|
31736
|
+
| 'camera'
|
|
31726
31737
|
)[]
|
|
31727
31738
|
/**
|
|
31728
31739
|
* @deprecated Unused. Will be removed.*/
|
|
@@ -31803,6 +31814,7 @@ export type Routes = {
|
|
|
31803
31814
|
| 'thermostat'
|
|
31804
31815
|
| 'noise_sensor'
|
|
31805
31816
|
| 'access_control'
|
|
31817
|
+
| 'camera'
|
|
31806
31818
|
)[]
|
|
31807
31819
|
/**
|
|
31808
31820
|
* @deprecated Unused. Will be removed.*/
|
|
@@ -32032,6 +32044,7 @@ export type Routes = {
|
|
|
32032
32044
|
| 'thermostat'
|
|
32033
32045
|
| 'noise_sensor'
|
|
32034
32046
|
| 'access_control'
|
|
32047
|
+
| 'camera'
|
|
32035
32048
|
)[]
|
|
32036
32049
|
}
|
|
32037
32050
|
}
|
|
@@ -32215,6 +32228,7 @@ export type Routes = {
|
|
|
32215
32228
|
| 'thermostat'
|
|
32216
32229
|
| 'noise_sensor'
|
|
32217
32230
|
| 'access_control'
|
|
32231
|
+
| 'camera'
|
|
32218
32232
|
)[]
|
|
32219
32233
|
}[]
|
|
32220
32234
|
/** Information about the current page of results. */
|
|
@@ -32272,7 +32286,13 @@ export type Routes = {
|
|
|
32272
32286
|
| undefined
|
|
32273
32287
|
/** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
|
|
32274
32288
|
accepted_capabilities?:
|
|
32275
|
-
| (
|
|
32289
|
+
| (
|
|
32290
|
+
| 'lock'
|
|
32291
|
+
| 'thermostat'
|
|
32292
|
+
| 'noise_sensor'
|
|
32293
|
+
| 'access_control'
|
|
32294
|
+
| 'camera'
|
|
32295
|
+
)[]
|
|
32276
32296
|
| undefined
|
|
32277
32297
|
/** The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. May only be provided if the connected account is not already associated with a customer. */
|
|
32278
32298
|
customer_key?: string | undefined
|
|
@@ -32434,6 +32454,7 @@ export type Routes = {
|
|
|
32434
32454
|
| 'thermostat'
|
|
32435
32455
|
| 'noise_sensor'
|
|
32436
32456
|
| 'access_control'
|
|
32457
|
+
| 'camera'
|
|
32437
32458
|
)[]
|
|
32438
32459
|
}
|
|
32439
32460
|
}
|
|
@@ -35161,6 +35182,7 @@ export type Routes = {
|
|
|
35161
35182
|
| 'smartthings'
|
|
35162
35183
|
| 'tado'
|
|
35163
35184
|
| 'ultraloq'
|
|
35185
|
+
| 'ring'
|
|
35164
35186
|
)
|
|
35165
35187
|
| undefined
|
|
35166
35188
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -36891,6 +36913,7 @@ export type Routes = {
|
|
|
36891
36913
|
| 'thermostats'
|
|
36892
36914
|
| 'noise_sensors'
|
|
36893
36915
|
| 'access_control_systems'
|
|
36916
|
+
| 'cameras'
|
|
36894
36917
|
)
|
|
36895
36918
|
| undefined
|
|
36896
36919
|
}
|
|
@@ -36946,6 +36969,7 @@ export type Routes = {
|
|
|
36946
36969
|
| 'korelock'
|
|
36947
36970
|
| 'dormakaba_ambiance'
|
|
36948
36971
|
| 'ultraloq'
|
|
36972
|
+
| 'ring'
|
|
36949
36973
|
display_name: string
|
|
36950
36974
|
image_url: string
|
|
36951
36975
|
provider_categories: (
|
|
@@ -36955,6 +36979,7 @@ export type Routes = {
|
|
|
36955
36979
|
| 'thermostats'
|
|
36956
36980
|
| 'noise_sensors'
|
|
36957
36981
|
| 'access_control_systems'
|
|
36982
|
+
| 'cameras'
|
|
36958
36983
|
)[]
|
|
36959
36984
|
can_remotely_unlock?: boolean | undefined
|
|
36960
36985
|
can_remotely_lock?: boolean | undefined
|
|
@@ -38195,6 +38220,7 @@ export type Routes = {
|
|
|
38195
38220
|
| 'smartthings'
|
|
38196
38221
|
| 'tado'
|
|
38197
38222
|
| 'ultraloq'
|
|
38223
|
+
| 'ring'
|
|
38198
38224
|
)
|
|
38199
38225
|
| undefined
|
|
38200
38226
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -75859,6 +75885,7 @@ export type Routes = {
|
|
|
75859
75885
|
| 'thermostat'
|
|
75860
75886
|
| 'noise_sensor'
|
|
75861
75887
|
| 'access_control'
|
|
75888
|
+
| 'camera'
|
|
75862
75889
|
)[]
|
|
75863
75890
|
}[]
|
|
75864
75891
|
| undefined
|
|
@@ -104681,6 +104708,7 @@ export type Routes = {
|
|
|
104681
104708
|
| 'thermostat'
|
|
104682
104709
|
| 'noise_sensor'
|
|
104683
104710
|
| 'access_control'
|
|
104711
|
+
| 'camera'
|
|
104684
104712
|
)[]
|
|
104685
104713
|
/**
|
|
104686
104714
|
* @deprecated Unused. Will be removed.*/
|
|
@@ -105169,6 +105197,7 @@ export type Routes = {
|
|
|
105169
105197
|
| 'thermostat'
|
|
105170
105198
|
| 'noise_sensor'
|
|
105171
105199
|
| 'access_control'
|
|
105200
|
+
| 'camera'
|
|
105172
105201
|
)[]
|
|
105173
105202
|
}[]
|
|
105174
105203
|
| undefined
|