@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
package/dist/connect.d.cts
CHANGED
|
@@ -54971,6 +54971,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
54971
54971
|
readonly RING: "ring";
|
|
54972
54972
|
readonly ICAL: "ical";
|
|
54973
54973
|
readonly LODGIFY: "lodgify";
|
|
54974
|
+
readonly HOSTAWAY: "hostaway";
|
|
54974
54975
|
};
|
|
54975
54976
|
type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
54976
54977
|
declare const device_provider: z.ZodObject<{
|
|
@@ -95483,7 +95484,7 @@ type Routes = {
|
|
|
95483
95484
|
/** 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. */
|
|
95484
95485
|
customer_key?: string | undefined;
|
|
95485
95486
|
/** 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. */
|
|
95486
|
-
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;
|
|
95487
|
+
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;
|
|
95487
95488
|
/** 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. */
|
|
95488
95489
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
95489
95490
|
/** 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). */
|
|
@@ -98510,7 +98511,7 @@ type Routes = {
|
|
|
98510
98511
|
/** Array of device types for which you want to list devices. */
|
|
98511
98512
|
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;
|
|
98512
98513
|
/** Manufacturer for which you want to list devices. */
|
|
98513
|
-
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;
|
|
98514
|
+
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;
|
|
98514
98515
|
/** Array of device IDs for which you want to list devices. */
|
|
98515
98516
|
device_ids?: string[] | undefined;
|
|
98516
98517
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -99896,7 +99897,7 @@ type Routes = {
|
|
|
99896
99897
|
formData: {};
|
|
99897
99898
|
jsonResponse: {
|
|
99898
99899
|
device_providers: {
|
|
99899
|
-
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';
|
|
99900
|
+
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';
|
|
99900
99901
|
display_name: string;
|
|
99901
99902
|
image_url: string;
|
|
99902
99903
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -100504,7 +100505,7 @@ type Routes = {
|
|
|
100504
100505
|
/** Array of device types for which you want to list devices. */
|
|
100505
100506
|
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;
|
|
100506
100507
|
/** Manufacturer for which you want to list devices. */
|
|
100507
|
-
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;
|
|
100508
|
+
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;
|
|
100508
100509
|
/** Array of device IDs for which you want to list devices. */
|
|
100509
100510
|
device_ids?: string[] | undefined;
|
|
100510
100511
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -128436,7 +128437,7 @@ type Routes = {
|
|
|
128436
128437
|
queryParams: {};
|
|
128437
128438
|
jsonBody: {
|
|
128438
128439
|
/** Type of connector to create */
|
|
128439
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify';
|
|
128440
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
|
|
128440
128441
|
/** Key identifying the customer */
|
|
128441
128442
|
customer_key?: string | undefined;
|
|
128442
128443
|
/** Instance-specific configuration for the connector */
|
package/dist/index.cjs
CHANGED
|
@@ -2009,7 +2009,8 @@ var DEVICE_PROVIDERS = {
|
|
|
2009
2009
|
ULTRALOQ: "ultraloq",
|
|
2010
2010
|
RING: "ring",
|
|
2011
2011
|
ICAL: "ical",
|
|
2012
|
-
LODGIFY: "lodgify"
|
|
2012
|
+
LODGIFY: "lodgify",
|
|
2013
|
+
HOSTAWAY: "hostaway"
|
|
2013
2014
|
};
|
|
2014
2015
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
2015
2016
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2082,7 +2083,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2082
2083
|
"hotek"
|
|
2083
2084
|
],
|
|
2084
2085
|
cameras: ["ring"],
|
|
2085
|
-
connectors: ["ical", "lodgify"],
|
|
2086
|
+
connectors: ["ical", "lodgify", "hostaway"],
|
|
2086
2087
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2087
2088
|
};
|
|
2088
2089
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -21070,7 +21071,8 @@ var openapi = {
|
|
|
21070
21071
|
"ultraloq",
|
|
21071
21072
|
"ring",
|
|
21072
21073
|
"ical",
|
|
21073
|
-
"lodgify"
|
|
21074
|
+
"lodgify",
|
|
21075
|
+
"hostaway"
|
|
21074
21076
|
],
|
|
21075
21077
|
type: "string"
|
|
21076
21078
|
},
|
|
@@ -52184,6 +52186,7 @@ var openapi = {
|
|
|
52184
52186
|
"ring",
|
|
52185
52187
|
"ical",
|
|
52186
52188
|
"lodgify",
|
|
52189
|
+
"hostaway",
|
|
52187
52190
|
"yale_access",
|
|
52188
52191
|
"hid_cm",
|
|
52189
52192
|
"google_nest"
|
|
@@ -56147,7 +56150,8 @@ var openapi = {
|
|
|
56147
56150
|
"ultraloq",
|
|
56148
56151
|
"ring",
|
|
56149
56152
|
"ical",
|
|
56150
|
-
"lodgify"
|
|
56153
|
+
"lodgify",
|
|
56154
|
+
"hostaway"
|
|
56151
56155
|
],
|
|
56152
56156
|
type: "string"
|
|
56153
56157
|
}
|
|
@@ -56639,7 +56643,8 @@ var openapi = {
|
|
|
56639
56643
|
"ultraloq",
|
|
56640
56644
|
"ring",
|
|
56641
56645
|
"ical",
|
|
56642
|
-
"lodgify"
|
|
56646
|
+
"lodgify",
|
|
56647
|
+
"hostaway"
|
|
56643
56648
|
],
|
|
56644
56649
|
type: "string"
|
|
56645
56650
|
},
|
|
@@ -58440,7 +58445,8 @@ var openapi = {
|
|
|
58440
58445
|
"ultraloq",
|
|
58441
58446
|
"ring",
|
|
58442
58447
|
"ical",
|
|
58443
|
-
"lodgify"
|
|
58448
|
+
"lodgify",
|
|
58449
|
+
"hostaway"
|
|
58444
58450
|
],
|
|
58445
58451
|
type: "string"
|
|
58446
58452
|
}
|
|
@@ -58931,7 +58937,8 @@ var openapi = {
|
|
|
58931
58937
|
"ultraloq",
|
|
58932
58938
|
"ring",
|
|
58933
58939
|
"ical",
|
|
58934
|
-
"lodgify"
|
|
58940
|
+
"lodgify",
|
|
58941
|
+
"hostaway"
|
|
58935
58942
|
],
|
|
58936
58943
|
type: "string"
|
|
58937
58944
|
},
|
|
@@ -67301,7 +67308,8 @@ var openapi = {
|
|
|
67301
67308
|
"smoobu",
|
|
67302
67309
|
"zonal",
|
|
67303
67310
|
"ical",
|
|
67304
|
-
"lodgify"
|
|
67311
|
+
"lodgify",
|
|
67312
|
+
"hostaway"
|
|
67305
67313
|
],
|
|
67306
67314
|
type: "string"
|
|
67307
67315
|
},
|