@seamapi/types 1.849.0 → 1.850.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
|
@@ -55088,6 +55088,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
55088
55088
|
readonly ICAL: "ical";
|
|
55089
55089
|
readonly LODGIFY: "lodgify";
|
|
55090
55090
|
readonly HOSTAWAY: "hostaway";
|
|
55091
|
+
readonly ACUITY_SCHEDULING: "acuity_scheduling";
|
|
55091
55092
|
};
|
|
55092
55093
|
type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
55093
55094
|
declare const device_provider: z.ZodObject<{
|
|
@@ -95689,7 +95690,7 @@ type Routes = {
|
|
|
95689
95690
|
/** 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. */
|
|
95690
95691
|
customer_key?: string | undefined;
|
|
95691
95692
|
/** 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. */
|
|
95692
|
-
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;
|
|
95693
|
+
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' | 'acuity_scheduling' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
95693
95694
|
/** 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. */
|
|
95694
95695
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
95695
95696
|
/** 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). */
|
|
@@ -98716,7 +98717,7 @@ type Routes = {
|
|
|
98716
98717
|
/** Array of device types for which you want to list devices. */
|
|
98717
98718
|
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;
|
|
98718
98719
|
/** Manufacturer for which you want to list devices. */
|
|
98719
|
-
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;
|
|
98720
|
+
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' | 'acuity_scheduling') | undefined;
|
|
98720
98721
|
/** Array of device IDs for which you want to list devices. */
|
|
98721
98722
|
device_ids?: string[] | undefined;
|
|
98722
98723
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -100102,7 +100103,7 @@ type Routes = {
|
|
|
100102
100103
|
formData: {};
|
|
100103
100104
|
jsonResponse: {
|
|
100104
100105
|
device_providers: {
|
|
100105
|
-
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';
|
|
100106
|
+
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' | 'acuity_scheduling';
|
|
100106
100107
|
display_name: string;
|
|
100107
100108
|
image_url: string;
|
|
100108
100109
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -100710,7 +100711,7 @@ type Routes = {
|
|
|
100710
100711
|
/** Array of device types for which you want to list devices. */
|
|
100711
100712
|
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;
|
|
100712
100713
|
/** Manufacturer for which you want to list devices. */
|
|
100713
|
-
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;
|
|
100714
|
+
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' | 'acuity_scheduling') | undefined;
|
|
100714
100715
|
/** Array of device IDs for which you want to list devices. */
|
|
100715
100716
|
device_ids?: string[] | undefined;
|
|
100716
100717
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -128642,7 +128643,7 @@ type Routes = {
|
|
|
128642
128643
|
queryParams: {};
|
|
128643
128644
|
jsonBody: {
|
|
128644
128645
|
/** Type of connector to create */
|
|
128645
|
-
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway';
|
|
128646
|
+
connector_type: 'mock' | 'mews' | 'rms' | 'cloudbeds' | 'smoobu' | 'zonal' | 'ical' | 'lodgify' | 'hostaway' | 'acuity_scheduling';
|
|
128646
128647
|
/** Key identifying the customer */
|
|
128647
128648
|
customer_key?: string | undefined;
|
|
128648
128649
|
/** Instance-specific configuration for the connector */
|
package/dist/index.cjs
CHANGED
|
@@ -2010,7 +2010,8 @@ var DEVICE_PROVIDERS = {
|
|
|
2010
2010
|
RING: "ring",
|
|
2011
2011
|
ICAL: "ical",
|
|
2012
2012
|
LODGIFY: "lodgify",
|
|
2013
|
-
HOSTAWAY: "hostaway"
|
|
2013
|
+
HOSTAWAY: "hostaway",
|
|
2014
|
+
ACUITY_SCHEDULING: "acuity_scheduling"
|
|
2014
2015
|
};
|
|
2015
2016
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
2016
2017
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2083,7 +2084,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2083
2084
|
"hotek"
|
|
2084
2085
|
],
|
|
2085
2086
|
cameras: ["ring"],
|
|
2086
|
-
connectors: ["ical", "lodgify", "hostaway"],
|
|
2087
|
+
connectors: ["ical", "lodgify", "hostaway", "acuity_scheduling"],
|
|
2087
2088
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2088
2089
|
};
|
|
2089
2090
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -21137,7 +21138,8 @@ var openapi = {
|
|
|
21137
21138
|
"ring",
|
|
21138
21139
|
"ical",
|
|
21139
21140
|
"lodgify",
|
|
21140
|
-
"hostaway"
|
|
21141
|
+
"hostaway",
|
|
21142
|
+
"acuity_scheduling"
|
|
21141
21143
|
],
|
|
21142
21144
|
type: "string"
|
|
21143
21145
|
},
|
|
@@ -52289,6 +52291,7 @@ var openapi = {
|
|
|
52289
52291
|
"ical",
|
|
52290
52292
|
"lodgify",
|
|
52291
52293
|
"hostaway",
|
|
52294
|
+
"acuity_scheduling",
|
|
52292
52295
|
"yale_access",
|
|
52293
52296
|
"hid_cm",
|
|
52294
52297
|
"google_nest"
|
|
@@ -56253,7 +56256,8 @@ var openapi = {
|
|
|
56253
56256
|
"ring",
|
|
56254
56257
|
"ical",
|
|
56255
56258
|
"lodgify",
|
|
56256
|
-
"hostaway"
|
|
56259
|
+
"hostaway",
|
|
56260
|
+
"acuity_scheduling"
|
|
56257
56261
|
],
|
|
56258
56262
|
type: "string"
|
|
56259
56263
|
}
|
|
@@ -56746,7 +56750,8 @@ var openapi = {
|
|
|
56746
56750
|
"ring",
|
|
56747
56751
|
"ical",
|
|
56748
56752
|
"lodgify",
|
|
56749
|
-
"hostaway"
|
|
56753
|
+
"hostaway",
|
|
56754
|
+
"acuity_scheduling"
|
|
56750
56755
|
],
|
|
56751
56756
|
type: "string"
|
|
56752
56757
|
},
|
|
@@ -58548,7 +58553,8 @@ var openapi = {
|
|
|
58548
58553
|
"ring",
|
|
58549
58554
|
"ical",
|
|
58550
58555
|
"lodgify",
|
|
58551
|
-
"hostaway"
|
|
58556
|
+
"hostaway",
|
|
58557
|
+
"acuity_scheduling"
|
|
58552
58558
|
],
|
|
58553
58559
|
type: "string"
|
|
58554
58560
|
}
|
|
@@ -59040,7 +59046,8 @@ var openapi = {
|
|
|
59040
59046
|
"ring",
|
|
59041
59047
|
"ical",
|
|
59042
59048
|
"lodgify",
|
|
59043
|
-
"hostaway"
|
|
59049
|
+
"hostaway",
|
|
59050
|
+
"acuity_scheduling"
|
|
59044
59051
|
],
|
|
59045
59052
|
type: "string"
|
|
59046
59053
|
},
|
|
@@ -67411,7 +67418,8 @@ var openapi = {
|
|
|
67411
67418
|
"zonal",
|
|
67412
67419
|
"ical",
|
|
67413
67420
|
"lodgify",
|
|
67414
|
-
"hostaway"
|
|
67421
|
+
"hostaway",
|
|
67422
|
+
"acuity_scheduling"
|
|
67415
67423
|
],
|
|
67416
67424
|
type: "string"
|
|
67417
67425
|
},
|