@seamapi/types 1.844.0 → 1.845.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 +16 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +6 -5
- package/dist/index.cjs +16 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +7 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +5 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +7 -0
- package/src/lib/seam/connect/route-types.ts +5 -0
|
@@ -31129,7 +31129,7 @@ export type Routes = {
|
|
|
31129
31129
|
/** 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. */
|
|
31130
31130
|
customer_key?: string | undefined;
|
|
31131
31131
|
/** 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. */
|
|
31132
|
-
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' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
31132
|
+
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' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
31133
31133
|
/** 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. */
|
|
31134
31134
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
31135
31135
|
/** 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). */
|
|
@@ -34156,7 +34156,7 @@ export type Routes = {
|
|
|
34156
34156
|
/** Array of device types for which you want to list devices. */
|
|
34157
34157
|
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;
|
|
34158
34158
|
/** Manufacturer for which you want to list devices. */
|
|
34159
|
-
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' | 'lodgify') | undefined;
|
|
34159
|
+
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' | 'lodgify' | 'hostaway') | undefined;
|
|
34160
34160
|
/** Array of device IDs for which you want to list devices. */
|
|
34161
34161
|
device_ids?: string[] | undefined;
|
|
34162
34162
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -35542,7 +35542,7 @@ export type Routes = {
|
|
|
35542
35542
|
formData: {};
|
|
35543
35543
|
jsonResponse: {
|
|
35544
35544
|
device_providers: {
|
|
35545
|
-
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' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify';
|
|
35545
|
+
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' | 'first_alert' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'lodgify' | 'hostaway';
|
|
35546
35546
|
display_name: string;
|
|
35547
35547
|
image_url: string;
|
|
35548
35548
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -36150,7 +36150,7 @@ export type Routes = {
|
|
|
36150
36150
|
/** Array of device types for which you want to list devices. */
|
|
36151
36151
|
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;
|
|
36152
36152
|
/** Manufacturer for which you want to list devices. */
|
|
36153
|
-
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' | 'lodgify') | undefined;
|
|
36153
|
+
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' | 'lodgify' | 'hostaway') | undefined;
|
|
36154
36154
|
/** Array of device IDs for which you want to list devices. */
|
|
36155
36155
|
device_ids?: string[] | undefined;
|
|
36156
36156
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -64082,7 +64082,7 @@ export type Routes = {
|
|
|
64082
64082
|
queryParams: {};
|
|
64083
64083
|
jsonBody: {
|
|
64084
64084
|
/** Type of connector to create */
|
|
64085
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify';
|
|
64085
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
|
|
64086
64086
|
/** Key identifying the customer */
|
|
64087
64087
|
customer_key?: string | undefined;
|
|
64088
64088
|
/** Instance-specific configuration for the connector */
|
package/package.json
CHANGED
|
@@ -56,6 +56,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
56
56
|
RING: 'ring',
|
|
57
57
|
ICAL: 'ical',
|
|
58
58
|
LODGIFY: 'lodgify',
|
|
59
|
+
HOSTAWAY: 'hostaway',
|
|
59
60
|
} as const
|
|
60
61
|
|
|
61
62
|
export type DeviceProviderName =
|
|
@@ -143,7 +144,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
143
144
|
|
|
144
145
|
cameras: ['ring'],
|
|
145
146
|
|
|
146
|
-
connectors: ['ical', 'lodgify'],
|
|
147
|
+
connectors: ['ical', 'lodgify', 'hostaway'],
|
|
147
148
|
|
|
148
149
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
149
150
|
} as const satisfies Record<string, readonly DeviceProviderName[]>
|
|
@@ -15864,6 +15864,7 @@ const openapi: OpenAPISpec = {
|
|
|
15864
15864
|
'ring',
|
|
15865
15865
|
'ical',
|
|
15866
15866
|
'lodgify',
|
|
15867
|
+
'hostaway',
|
|
15867
15868
|
],
|
|
15868
15869
|
type: 'string',
|
|
15869
15870
|
},
|
|
@@ -49857,6 +49858,7 @@ const openapi: OpenAPISpec = {
|
|
|
49857
49858
|
'ring',
|
|
49858
49859
|
'ical',
|
|
49859
49860
|
'lodgify',
|
|
49861
|
+
'hostaway',
|
|
49860
49862
|
'yale_access',
|
|
49861
49863
|
'hid_cm',
|
|
49862
49864
|
'google_nest',
|
|
@@ -54167,6 +54169,7 @@ const openapi: OpenAPISpec = {
|
|
|
54167
54169
|
'ring',
|
|
54168
54170
|
'ical',
|
|
54169
54171
|
'lodgify',
|
|
54172
|
+
'hostaway',
|
|
54170
54173
|
],
|
|
54171
54174
|
type: 'string',
|
|
54172
54175
|
},
|
|
@@ -54683,6 +54686,7 @@ const openapi: OpenAPISpec = {
|
|
|
54683
54686
|
'ring',
|
|
54684
54687
|
'ical',
|
|
54685
54688
|
'lodgify',
|
|
54689
|
+
'hostaway',
|
|
54686
54690
|
],
|
|
54687
54691
|
type: 'string',
|
|
54688
54692
|
},
|
|
@@ -56514,6 +56518,7 @@ const openapi: OpenAPISpec = {
|
|
|
56514
56518
|
'ring',
|
|
56515
56519
|
'ical',
|
|
56516
56520
|
'lodgify',
|
|
56521
|
+
'hostaway',
|
|
56517
56522
|
],
|
|
56518
56523
|
type: 'string',
|
|
56519
56524
|
},
|
|
@@ -57029,6 +57034,7 @@ const openapi: OpenAPISpec = {
|
|
|
57029
57034
|
'ring',
|
|
57030
57035
|
'ical',
|
|
57031
57036
|
'lodgify',
|
|
57037
|
+
'hostaway',
|
|
57032
57038
|
],
|
|
57033
57039
|
type: 'string',
|
|
57034
57040
|
},
|
|
@@ -65719,6 +65725,7 @@ const openapi: OpenAPISpec = {
|
|
|
65719
65725
|
'zonal',
|
|
65720
65726
|
'ical',
|
|
65721
65727
|
'lodgify',
|
|
65728
|
+
'hostaway',
|
|
65722
65729
|
],
|
|
65723
65730
|
type: 'string',
|
|
65724
65731
|
},
|
|
@@ -36085,6 +36085,7 @@ export type Routes = {
|
|
|
36085
36085
|
| 'ring'
|
|
36086
36086
|
| 'ical'
|
|
36087
36087
|
| 'lodgify'
|
|
36088
|
+
| 'hostaway'
|
|
36088
36089
|
| 'yale_access'
|
|
36089
36090
|
| 'hid_cm'
|
|
36090
36091
|
| 'google_nest'
|
|
@@ -39803,6 +39804,7 @@ export type Routes = {
|
|
|
39803
39804
|
| 'ring'
|
|
39804
39805
|
| 'ical'
|
|
39805
39806
|
| 'lodgify'
|
|
39807
|
+
| 'hostaway'
|
|
39806
39808
|
)
|
|
39807
39809
|
| undefined
|
|
39808
39810
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -41628,6 +41630,7 @@ export type Routes = {
|
|
|
41628
41630
|
| 'ring'
|
|
41629
41631
|
| 'ical'
|
|
41630
41632
|
| 'lodgify'
|
|
41633
|
+
| 'hostaway'
|
|
41631
41634
|
display_name: string
|
|
41632
41635
|
image_url: string
|
|
41633
41636
|
provider_categories: (
|
|
@@ -43341,6 +43344,7 @@ export type Routes = {
|
|
|
43341
43344
|
| 'ring'
|
|
43342
43345
|
| 'ical'
|
|
43343
43346
|
| 'lodgify'
|
|
43347
|
+
| 'hostaway'
|
|
43344
43348
|
)
|
|
43345
43349
|
| undefined
|
|
43346
43350
|
/** Array of device IDs for which you want to list devices. */
|
|
@@ -76601,6 +76605,7 @@ export type Routes = {
|
|
|
76601
76605
|
| 'zonal'
|
|
76602
76606
|
| 'ical'
|
|
76603
76607
|
| 'lodgify'
|
|
76608
|
+
| 'hostaway'
|
|
76604
76609
|
/** Key identifying the customer */
|
|
76605
76610
|
customer_key?: string | undefined
|
|
76606
76611
|
/** Instance-specific configuration for the connector */
|