@seamapi/types 1.831.0 → 1.833.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 +19 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +6 -5
- package/dist/index.cjs +19 -10
- 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 +4 -2
- 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 +4 -2
- 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
|
@@ -54528,6 +54528,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
54528
54528
|
readonly ULTRALOQ: "ultraloq";
|
|
54529
54529
|
readonly RING: "ring";
|
|
54530
54530
|
readonly ICAL: "ical";
|
|
54531
|
+
readonly LODGIFY: "lodgify";
|
|
54531
54532
|
};
|
|
54532
54533
|
type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
54533
54534
|
declare const device_provider: z.ZodObject<{
|
|
@@ -94853,7 +94854,7 @@ type Routes = {
|
|
|
94853
94854
|
/** 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. */
|
|
94854
94855
|
customer_key?: string | undefined;
|
|
94855
94856
|
/** 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. */
|
|
94856
|
-
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' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
94857
|
+
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;
|
|
94857
94858
|
/** 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. */
|
|
94858
94859
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
94859
94860
|
/** 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). */
|
|
@@ -97839,7 +97840,7 @@ type Routes = {
|
|
|
97839
97840
|
/** Array of device types for which you want to list devices. */
|
|
97840
97841
|
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;
|
|
97841
97842
|
/** Manufacturer for which you want to list devices. */
|
|
97842
|
-
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;
|
|
97843
|
+
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;
|
|
97843
97844
|
/** Array of device IDs for which you want to list devices. */
|
|
97844
97845
|
device_ids?: string[] | undefined;
|
|
97845
97846
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -99223,7 +99224,7 @@ type Routes = {
|
|
|
99223
99224
|
formData: {};
|
|
99224
99225
|
jsonResponse: {
|
|
99225
99226
|
device_providers: {
|
|
99226
|
-
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';
|
|
99227
|
+
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';
|
|
99227
99228
|
display_name: string;
|
|
99228
99229
|
image_url: string;
|
|
99229
99230
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -99831,7 +99832,7 @@ type Routes = {
|
|
|
99831
99832
|
/** Array of device types for which you want to list devices. */
|
|
99832
99833
|
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;
|
|
99833
99834
|
/** Manufacturer for which you want to list devices. */
|
|
99834
|
-
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;
|
|
99835
|
+
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;
|
|
99835
99836
|
/** Array of device IDs for which you want to list devices. */
|
|
99836
99837
|
device_ids?: string[] | undefined;
|
|
99837
99838
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -127751,7 +127752,7 @@ type Routes = {
|
|
|
127751
127752
|
queryParams: {};
|
|
127752
127753
|
jsonBody: {
|
|
127753
127754
|
/** Type of connector to create */
|
|
127754
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical';
|
|
127755
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify';
|
|
127755
127756
|
/** Key identifying the customer */
|
|
127756
127757
|
customer_key?: string | undefined;
|
|
127757
127758
|
/** Instance-specific configuration for the connector */
|
package/dist/index.cjs
CHANGED
|
@@ -1989,7 +1989,8 @@ var DEVICE_PROVIDERS = {
|
|
|
1989
1989
|
DORMAKABA_AMBIANCE: "dormakaba_ambiance",
|
|
1990
1990
|
ULTRALOQ: "ultraloq",
|
|
1991
1991
|
RING: "ring",
|
|
1992
|
-
ICAL: "ical"
|
|
1992
|
+
ICAL: "ical",
|
|
1993
|
+
LODGIFY: "lodgify"
|
|
1993
1994
|
};
|
|
1994
1995
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
1995
1996
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2026,7 +2027,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2026
2027
|
"hotek",
|
|
2027
2028
|
"ultraloq",
|
|
2028
2029
|
"dormakaba_oracode",
|
|
2029
|
-
"ring"
|
|
2030
|
+
"ring",
|
|
2031
|
+
"first_alert"
|
|
2030
2032
|
],
|
|
2031
2033
|
consumer_smartlocks: [
|
|
2032
2034
|
"akiles",
|
|
@@ -2044,7 +2046,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2044
2046
|
"ultraloq",
|
|
2045
2047
|
"dormakaba_oracode"
|
|
2046
2048
|
],
|
|
2047
|
-
beta: ["korelock"
|
|
2049
|
+
beta: ["korelock"],
|
|
2048
2050
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo", "first_alert"],
|
|
2049
2051
|
noise_sensors: ["minut", "noiseaware"],
|
|
2050
2052
|
access_control_systems: [
|
|
@@ -2061,7 +2063,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2061
2063
|
"hotek"
|
|
2062
2064
|
],
|
|
2063
2065
|
cameras: ["ring"],
|
|
2064
|
-
connectors: ["ical"],
|
|
2066
|
+
connectors: ["ical", "lodgify"],
|
|
2065
2067
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2066
2068
|
};
|
|
2067
2069
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -20878,7 +20880,8 @@ var openapi = {
|
|
|
20878
20880
|
"dormakaba_ambiance",
|
|
20879
20881
|
"ultraloq",
|
|
20880
20882
|
"ring",
|
|
20881
|
-
"ical"
|
|
20883
|
+
"ical",
|
|
20884
|
+
"lodgify"
|
|
20882
20885
|
],
|
|
20883
20886
|
type: "string"
|
|
20884
20887
|
},
|
|
@@ -51902,6 +51905,7 @@ var openapi = {
|
|
|
51902
51905
|
"ultraloq",
|
|
51903
51906
|
"ring",
|
|
51904
51907
|
"ical",
|
|
51908
|
+
"lodgify",
|
|
51905
51909
|
"yale_access",
|
|
51906
51910
|
"hid_cm",
|
|
51907
51911
|
"google_nest"
|
|
@@ -55864,7 +55868,8 @@ var openapi = {
|
|
|
55864
55868
|
"tado",
|
|
55865
55869
|
"ultraloq",
|
|
55866
55870
|
"ring",
|
|
55867
|
-
"ical"
|
|
55871
|
+
"ical",
|
|
55872
|
+
"lodgify"
|
|
55868
55873
|
],
|
|
55869
55874
|
type: "string"
|
|
55870
55875
|
}
|
|
@@ -56355,7 +56360,8 @@ var openapi = {
|
|
|
56355
56360
|
"tado",
|
|
56356
56361
|
"ultraloq",
|
|
56357
56362
|
"ring",
|
|
56358
|
-
"ical"
|
|
56363
|
+
"ical",
|
|
56364
|
+
"lodgify"
|
|
56359
56365
|
],
|
|
56360
56366
|
type: "string"
|
|
56361
56367
|
},
|
|
@@ -58155,7 +58161,8 @@ var openapi = {
|
|
|
58155
58161
|
"tado",
|
|
58156
58162
|
"ultraloq",
|
|
58157
58163
|
"ring",
|
|
58158
|
-
"ical"
|
|
58164
|
+
"ical",
|
|
58165
|
+
"lodgify"
|
|
58159
58166
|
],
|
|
58160
58167
|
type: "string"
|
|
58161
58168
|
}
|
|
@@ -58645,7 +58652,8 @@ var openapi = {
|
|
|
58645
58652
|
"tado",
|
|
58646
58653
|
"ultraloq",
|
|
58647
58654
|
"ring",
|
|
58648
|
-
"ical"
|
|
58655
|
+
"ical",
|
|
58656
|
+
"lodgify"
|
|
58649
58657
|
],
|
|
58650
58658
|
type: "string"
|
|
58651
58659
|
},
|
|
@@ -67014,7 +67022,8 @@ var openapi = {
|
|
|
67014
67022
|
"cloudbeds",
|
|
67015
67023
|
"smoobu",
|
|
67016
67024
|
"zonal",
|
|
67017
|
-
"ical"
|
|
67025
|
+
"ical",
|
|
67026
|
+
"lodgify"
|
|
67018
67027
|
],
|
|
67019
67028
|
type: "string"
|
|
67020
67029
|
},
|