@seamapi/types 1.717.0 → 1.718.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 +5 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +6 -6
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -3
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +4 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +4 -0
- package/src/lib/seam/connect/route-types.ts +3 -0
package/dist/connect.d.cts
CHANGED
|
@@ -46344,7 +46344,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46344
46344
|
device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
|
|
46345
46345
|
display_name: z.ZodString;
|
|
46346
46346
|
image_url: z.ZodString;
|
|
46347
|
-
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">;
|
|
46347
|
+
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">;
|
|
46348
46348
|
} & {
|
|
46349
46349
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
46350
46350
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -46369,7 +46369,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46369
46369
|
display_name: string;
|
|
46370
46370
|
image_url: string;
|
|
46371
46371
|
device_provider_name: DeviceProviderName;
|
|
46372
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46372
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46373
46373
|
can_remotely_unlock?: boolean | undefined;
|
|
46374
46374
|
can_remotely_lock?: boolean | undefined;
|
|
46375
46375
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -46393,7 +46393,7 @@ declare const device_provider: z.ZodObject<{
|
|
|
46393
46393
|
display_name: string;
|
|
46394
46394
|
image_url: string;
|
|
46395
46395
|
device_provider_name: DeviceProviderName;
|
|
46396
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46396
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
46397
46397
|
can_remotely_unlock?: boolean | undefined;
|
|
46398
46398
|
can_remotely_lock?: boolean | undefined;
|
|
46399
46399
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -142951,7 +142951,7 @@ type Routes = {
|
|
|
142951
142951
|
/** 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. */
|
|
142952
142952
|
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' | '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' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'kwikset2' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
142953
142953
|
/** 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. */
|
|
142954
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
142954
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
142955
142955
|
/** 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). */
|
|
142956
142956
|
custom_metadata?: {
|
|
142957
142957
|
[x: string]: string | boolean | null;
|
|
@@ -147103,7 +147103,7 @@ type Routes = {
|
|
|
147103
147103
|
jsonBody: {};
|
|
147104
147104
|
commonParams: {
|
|
147105
147105
|
/** Category for which you want to list providers. */
|
|
147106
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems') | undefined;
|
|
147106
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems') | undefined;
|
|
147107
147107
|
};
|
|
147108
147108
|
formData: {};
|
|
147109
147109
|
jsonResponse: {
|
|
@@ -147111,7 +147111,7 @@ type Routes = {
|
|
|
147111
147111
|
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' | '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' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'kwikset2' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq';
|
|
147112
147112
|
display_name: string;
|
|
147113
147113
|
image_url: string;
|
|
147114
|
-
provider_categories: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems')[];
|
|
147114
|
+
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems')[];
|
|
147115
147115
|
can_remotely_unlock?: boolean | undefined;
|
|
147116
147116
|
can_remotely_lock?: boolean | undefined;
|
|
147117
147117
|
can_program_offline_access_codes?: boolean | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -1946,6 +1946,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
1946
1946
|
"lockly",
|
|
1947
1947
|
"tedee"
|
|
1948
1948
|
],
|
|
1949
|
+
beta: ["korelock"],
|
|
1949
1950
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
|
|
1950
1951
|
noise_sensors: ["minut", "noiseaware"],
|
|
1951
1952
|
access_control_systems: [
|
|
@@ -18141,6 +18142,7 @@ var openapi_default = {
|
|
|
18141
18142
|
enum: [
|
|
18142
18143
|
"stable",
|
|
18143
18144
|
"consumer_smartlocks",
|
|
18145
|
+
"beta",
|
|
18144
18146
|
"thermostats",
|
|
18145
18147
|
"noise_sensors",
|
|
18146
18148
|
"access_control_systems"
|
|
@@ -43337,6 +43339,7 @@ var openapi_default = {
|
|
|
43337
43339
|
enum: [
|
|
43338
43340
|
"stable",
|
|
43339
43341
|
"consumer_smartlocks",
|
|
43342
|
+
"beta",
|
|
43340
43343
|
"thermostats",
|
|
43341
43344
|
"noise_sensors",
|
|
43342
43345
|
"access_control_systems",
|
|
@@ -47593,6 +47596,7 @@ var openapi_default = {
|
|
|
47593
47596
|
enum: [
|
|
47594
47597
|
"stable",
|
|
47595
47598
|
"consumer_smartlocks",
|
|
47599
|
+
"beta",
|
|
47596
47600
|
"thermostats",
|
|
47597
47601
|
"noise_sensors",
|
|
47598
47602
|
"access_control_systems"
|
|
@@ -47650,6 +47654,7 @@ var openapi_default = {
|
|
|
47650
47654
|
enum: [
|
|
47651
47655
|
"stable",
|
|
47652
47656
|
"consumer_smartlocks",
|
|
47657
|
+
"beta",
|
|
47653
47658
|
"thermostats",
|
|
47654
47659
|
"noise_sensors",
|
|
47655
47660
|
"access_control_systems"
|