@seamapi/types 1.799.0 → 1.800.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 +21 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +11 -10
- package/dist/index.cjs +21 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-provider.js +3 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +10 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7 -7
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +10 -0
- package/src/lib/seam/connect/route-types.ts +7 -0
|
@@ -30604,9 +30604,9 @@ export type Routes = {
|
|
|
30604
30604
|
/** 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. */
|
|
30605
30605
|
customer_key?: string | undefined;
|
|
30606
30606
|
/** 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. */
|
|
30607
|
-
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;
|
|
30607
|
+
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' | 'ical' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
30608
30608
|
/** 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. */
|
|
30609
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'internal_beta') | undefined;
|
|
30609
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
30610
30610
|
/** 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). */
|
|
30611
30611
|
custom_metadata?: {
|
|
30612
30612
|
[x: string]: string | boolean | null;
|
|
@@ -33564,7 +33564,7 @@ export type Routes = {
|
|
|
33564
33564
|
/** Array of device types for which you want to list devices. */
|
|
33565
33565
|
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;
|
|
33566
33566
|
/** Manufacturer for which you want to list devices. */
|
|
33567
|
-
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;
|
|
33567
|
+
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' | 'ical') | undefined;
|
|
33568
33568
|
/** Array of device IDs for which you want to list devices. */
|
|
33569
33569
|
device_ids?: string[] | undefined;
|
|
33570
33570
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -34936,15 +34936,15 @@ export type Routes = {
|
|
|
34936
34936
|
jsonBody: {};
|
|
34937
34937
|
commonParams: {
|
|
34938
34938
|
/** Category for which you want to list providers. */
|
|
34939
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras') | undefined;
|
|
34939
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors') | undefined;
|
|
34940
34940
|
};
|
|
34941
34941
|
formData: {};
|
|
34942
34942
|
jsonResponse: {
|
|
34943
34943
|
device_providers: {
|
|
34944
|
-
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';
|
|
34944
|
+
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' | 'ical';
|
|
34945
34945
|
display_name: string;
|
|
34946
34946
|
image_url: string;
|
|
34947
|
-
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras')[];
|
|
34947
|
+
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
34948
34948
|
can_remotely_unlock?: boolean | undefined;
|
|
34949
34949
|
can_remotely_lock?: boolean | undefined;
|
|
34950
34950
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -35542,7 +35542,7 @@ export type Routes = {
|
|
|
35542
35542
|
/** Array of device types for which you want to list devices. */
|
|
35543
35543
|
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;
|
|
35544
35544
|
/** Manufacturer for which you want to list devices. */
|
|
35545
|
-
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;
|
|
35545
|
+
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' | 'ical') | undefined;
|
|
35546
35546
|
/** Array of device IDs for which you want to list devices. */
|
|
35547
35547
|
device_ids?: string[] | undefined;
|
|
35548
35548
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
package/package.json
CHANGED
|
@@ -53,6 +53,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
53
53
|
DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
|
|
54
54
|
ULTRALOQ: 'ultraloq',
|
|
55
55
|
RING: 'ring',
|
|
56
|
+
ICAL: 'ical',
|
|
56
57
|
} as const
|
|
57
58
|
|
|
58
59
|
export type DeviceProviderName =
|
|
@@ -137,6 +138,8 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
137
138
|
|
|
138
139
|
cameras: ['ring'],
|
|
139
140
|
|
|
141
|
+
connectors: ['ical'],
|
|
142
|
+
|
|
140
143
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
141
144
|
} as const satisfies Record<string, readonly DeviceProviderName[]>
|
|
142
145
|
|
|
@@ -172,6 +175,7 @@ export const PROVIDER_CATEGORY_CAPABILITY_MAP: Record<
|
|
|
172
175
|
noise_sensors: ['noise_sensor'],
|
|
173
176
|
access_control_systems: ['access_control'],
|
|
174
177
|
cameras: ['camera'],
|
|
178
|
+
connectors: [],
|
|
175
179
|
internal_beta: [
|
|
176
180
|
'lock',
|
|
177
181
|
'thermostat',
|
|
@@ -15501,6 +15501,7 @@ export default {
|
|
|
15501
15501
|
'dormakaba_ambiance',
|
|
15502
15502
|
'ultraloq',
|
|
15503
15503
|
'ring',
|
|
15504
|
+
'ical',
|
|
15504
15505
|
],
|
|
15505
15506
|
type: 'string',
|
|
15506
15507
|
},
|
|
@@ -15516,6 +15517,7 @@ export default {
|
|
|
15516
15517
|
'noise_sensors',
|
|
15517
15518
|
'access_control_systems',
|
|
15518
15519
|
'cameras',
|
|
15520
|
+
'connectors',
|
|
15519
15521
|
],
|
|
15520
15522
|
type: 'string',
|
|
15521
15523
|
},
|
|
@@ -49027,6 +49029,7 @@ export default {
|
|
|
49027
49029
|
'dormakaba_ambiance',
|
|
49028
49030
|
'ultraloq',
|
|
49029
49031
|
'ring',
|
|
49032
|
+
'ical',
|
|
49030
49033
|
'yale_access',
|
|
49031
49034
|
'hid_cm',
|
|
49032
49035
|
'google_nest',
|
|
@@ -49090,6 +49093,7 @@ export default {
|
|
|
49090
49093
|
'noise_sensors',
|
|
49091
49094
|
'access_control_systems',
|
|
49092
49095
|
'cameras',
|
|
49096
|
+
'connectors',
|
|
49093
49097
|
'internal_beta',
|
|
49094
49098
|
],
|
|
49095
49099
|
type: 'string',
|
|
@@ -53315,6 +53319,7 @@ export default {
|
|
|
53315
53319
|
'tado',
|
|
53316
53320
|
'ultraloq',
|
|
53317
53321
|
'ring',
|
|
53322
|
+
'ical',
|
|
53318
53323
|
],
|
|
53319
53324
|
type: 'string',
|
|
53320
53325
|
},
|
|
@@ -53829,6 +53834,7 @@ export default {
|
|
|
53829
53834
|
'tado',
|
|
53830
53835
|
'ultraloq',
|
|
53831
53836
|
'ring',
|
|
53837
|
+
'ical',
|
|
53832
53838
|
],
|
|
53833
53839
|
type: 'string',
|
|
53834
53840
|
},
|
|
@@ -53926,6 +53932,7 @@ export default {
|
|
|
53926
53932
|
'noise_sensors',
|
|
53927
53933
|
'access_control_systems',
|
|
53928
53934
|
'cameras',
|
|
53935
|
+
'connectors',
|
|
53929
53936
|
],
|
|
53930
53937
|
type: 'string',
|
|
53931
53938
|
},
|
|
@@ -53987,6 +53994,7 @@ export default {
|
|
|
53987
53994
|
'noise_sensors',
|
|
53988
53995
|
'access_control_systems',
|
|
53989
53996
|
'cameras',
|
|
53997
|
+
'connectors',
|
|
53990
53998
|
],
|
|
53991
53999
|
type: 'string',
|
|
53992
54000
|
},
|
|
@@ -55656,6 +55664,7 @@ export default {
|
|
|
55656
55664
|
'tado',
|
|
55657
55665
|
'ultraloq',
|
|
55658
55666
|
'ring',
|
|
55667
|
+
'ical',
|
|
55659
55668
|
],
|
|
55660
55669
|
type: 'string',
|
|
55661
55670
|
},
|
|
@@ -56169,6 +56178,7 @@ export default {
|
|
|
56169
56178
|
'tado',
|
|
56170
56179
|
'ultraloq',
|
|
56171
56180
|
'ring',
|
|
56181
|
+
'ical',
|
|
56172
56182
|
],
|
|
56173
56183
|
type: 'string',
|
|
56174
56184
|
},
|
|
@@ -35436,6 +35436,7 @@ export type Routes = {
|
|
|
35436
35436
|
| 'dormakaba_ambiance'
|
|
35437
35437
|
| 'ultraloq'
|
|
35438
35438
|
| 'ring'
|
|
35439
|
+
| 'ical'
|
|
35439
35440
|
| 'yale_access'
|
|
35440
35441
|
| 'hid_cm'
|
|
35441
35442
|
| 'google_nest'
|
|
@@ -35451,6 +35452,7 @@ export type Routes = {
|
|
|
35451
35452
|
| 'noise_sensors'
|
|
35452
35453
|
| 'access_control_systems'
|
|
35453
35454
|
| 'cameras'
|
|
35455
|
+
| 'connectors'
|
|
35454
35456
|
| 'internal_beta'
|
|
35455
35457
|
)
|
|
35456
35458
|
| undefined
|
|
@@ -39080,6 +39082,7 @@ export type Routes = {
|
|
|
39080
39082
|
| 'tado'
|
|
39081
39083
|
| 'ultraloq'
|
|
39082
39084
|
| 'ring'
|
|
39085
|
+
| 'ical'
|
|
39083
39086
|
)
|
|
39084
39087
|
| undefined
|
|
39085
39088
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -40835,6 +40838,7 @@ export type Routes = {
|
|
|
40835
40838
|
| 'noise_sensors'
|
|
40836
40839
|
| 'access_control_systems'
|
|
40837
40840
|
| 'cameras'
|
|
40841
|
+
| 'connectors'
|
|
40838
40842
|
)
|
|
40839
40843
|
| undefined
|
|
40840
40844
|
}
|
|
@@ -40891,6 +40895,7 @@ export type Routes = {
|
|
|
40891
40895
|
| 'dormakaba_ambiance'
|
|
40892
40896
|
| 'ultraloq'
|
|
40893
40897
|
| 'ring'
|
|
40898
|
+
| 'ical'
|
|
40894
40899
|
display_name: string
|
|
40895
40900
|
image_url: string
|
|
40896
40901
|
provider_categories: (
|
|
@@ -40901,6 +40906,7 @@ export type Routes = {
|
|
|
40901
40906
|
| 'noise_sensors'
|
|
40902
40907
|
| 'access_control_systems'
|
|
40903
40908
|
| 'cameras'
|
|
40909
|
+
| 'connectors'
|
|
40904
40910
|
)[]
|
|
40905
40911
|
can_remotely_unlock?: boolean | undefined
|
|
40906
40912
|
can_remotely_lock?: boolean | undefined
|
|
@@ -42593,6 +42599,7 @@ export type Routes = {
|
|
|
42593
42599
|
| 'tado'
|
|
42594
42600
|
| 'ultraloq'
|
|
42595
42601
|
| 'ring'
|
|
42602
|
+
| 'ical'
|
|
42596
42603
|
)
|
|
42597
42604
|
| undefined
|
|
42598
42605
|
/** Array of device IDs for which you want to list devices. */
|