@seamapi/types 1.890.0 → 1.892.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 +66 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +11 -2
- package/dist/index.cjs +66 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -2
- 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 +62 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +10 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +3 -0
- package/src/lib/seam/connect/openapi.ts +70 -0
- package/src/lib/seam/connect/route-types.ts +10 -0
package/dist/connect.d.cts
CHANGED
|
@@ -20486,6 +20486,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
20486
20486
|
readonly KEYINCODE: "keyincode";
|
|
20487
20487
|
readonly DORMAKABA_AMBIANCE: "dormakaba_ambiance";
|
|
20488
20488
|
readonly ULTRALOQ: "ultraloq";
|
|
20489
|
+
readonly DUSAW: "dusaw";
|
|
20489
20490
|
readonly SIFELY: "sifely";
|
|
20490
20491
|
readonly RING: "ring";
|
|
20491
20492
|
readonly ICAL: "ical";
|
|
@@ -70105,7 +70106,7 @@ type Routes = {
|
|
|
70105
70106
|
/** 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. */
|
|
70106
70107
|
customer_key?: string | undefined;
|
|
70107
70108
|
/** 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/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/api/devices/list_device_providers) with no filters. */
|
|
70108
|
-
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' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'sifely' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
70109
|
+
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' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
|
|
70109
70110
|
/** 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/api/devices/list_device_providers) with the desired `provider_category` filter. */
|
|
70110
70111
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
70111
70112
|
/** 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/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/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/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
|
|
@@ -74611,7 +74612,7 @@ type Routes = {
|
|
|
74611
74612
|
formData: {};
|
|
74612
74613
|
jsonResponse: {
|
|
74613
74614
|
device_providers: {
|
|
74614
|
-
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' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'sifely' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec';
|
|
74615
|
+
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' | 'keyincode' | 'dormakaba_ambiance' | 'ultraloq' | 'dusaw' | 'sifely' | 'ring' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec';
|
|
74615
74616
|
display_name: string;
|
|
74616
74617
|
image_url: string;
|
|
74617
74618
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -110432,6 +110433,10 @@ type Routes = {
|
|
|
110432
110433
|
connected_account_id?: string | undefined;
|
|
110433
110434
|
/** Filter spaces by space_key. */
|
|
110434
110435
|
space_key?: string | undefined;
|
|
110436
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
110437
|
+
parent_space_id?: string | undefined;
|
|
110438
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
110439
|
+
parent_space_key?: string | undefined;
|
|
110435
110440
|
};
|
|
110436
110441
|
formData: {};
|
|
110437
110442
|
jsonResponse: {
|
|
@@ -113683,6 +113688,10 @@ type Routes = {
|
|
|
113683
113688
|
connected_account_id?: string | undefined;
|
|
113684
113689
|
/** Filter spaces by space_key. */
|
|
113685
113690
|
space_key?: string | undefined;
|
|
113691
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
113692
|
+
parent_space_id?: string | undefined;
|
|
113693
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
113694
|
+
parent_space_key?: string | undefined;
|
|
113686
113695
|
/** Maximum number of records to return per page. */
|
|
113687
113696
|
limit?: number;
|
|
113688
113697
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
package/dist/index.cjs
CHANGED
|
@@ -2070,6 +2070,7 @@ var DEVICE_PROVIDERS = {
|
|
|
2070
2070
|
KEYINCODE: "keyincode",
|
|
2071
2071
|
DORMAKABA_AMBIANCE: "dormakaba_ambiance",
|
|
2072
2072
|
ULTRALOQ: "ultraloq",
|
|
2073
|
+
DUSAW: "dusaw",
|
|
2073
2074
|
SIFELY: "sifely",
|
|
2074
2075
|
RING: "ring",
|
|
2075
2076
|
ICAL: "ical",
|
|
@@ -2119,7 +2120,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2119
2120
|
"korelock",
|
|
2120
2121
|
"keyincode",
|
|
2121
2122
|
"sifely",
|
|
2122
|
-
"omnitec"
|
|
2123
|
+
"omnitec",
|
|
2124
|
+
"dusaw"
|
|
2123
2125
|
],
|
|
2124
2126
|
consumer_smartlocks: [
|
|
2125
2127
|
"akiles",
|
|
@@ -2137,6 +2139,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2137
2139
|
"ultraloq",
|
|
2138
2140
|
"dormakaba_oracode",
|
|
2139
2141
|
"korelock",
|
|
2142
|
+
"dusaw",
|
|
2140
2143
|
"keyincode",
|
|
2141
2144
|
"sifely"
|
|
2142
2145
|
],
|
|
@@ -22767,6 +22770,7 @@ var openapi = {
|
|
|
22767
22770
|
"keyincode",
|
|
22768
22771
|
"dormakaba_ambiance",
|
|
22769
22772
|
"ultraloq",
|
|
22773
|
+
"dusaw",
|
|
22770
22774
|
"sifely",
|
|
22771
22775
|
"ring",
|
|
22772
22776
|
"ical",
|
|
@@ -54435,6 +54439,7 @@ var openapi = {
|
|
|
54435
54439
|
"keyincode",
|
|
54436
54440
|
"dormakaba_ambiance",
|
|
54437
54441
|
"ultraloq",
|
|
54442
|
+
"dusaw",
|
|
54438
54443
|
"sifely",
|
|
54439
54444
|
"ring",
|
|
54440
54445
|
"ical",
|
|
@@ -76490,6 +76495,25 @@ var openapi = {
|
|
|
76490
76495
|
description: "Filter spaces by space_key.",
|
|
76491
76496
|
type: "string"
|
|
76492
76497
|
}
|
|
76498
|
+
},
|
|
76499
|
+
{
|
|
76500
|
+
in: "query",
|
|
76501
|
+
name: "parent_space_id",
|
|
76502
|
+
schema: {
|
|
76503
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_id`.",
|
|
76504
|
+
format: "uuid",
|
|
76505
|
+
type: "string",
|
|
76506
|
+
"x-undocumented": "Only used internally."
|
|
76507
|
+
}
|
|
76508
|
+
},
|
|
76509
|
+
{
|
|
76510
|
+
in: "query",
|
|
76511
|
+
name: "parent_space_key",
|
|
76512
|
+
schema: {
|
|
76513
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_key`.",
|
|
76514
|
+
type: "string",
|
|
76515
|
+
"x-undocumented": "Only used internally."
|
|
76516
|
+
}
|
|
76493
76517
|
}
|
|
76494
76518
|
],
|
|
76495
76519
|
responses: {
|
|
@@ -76543,6 +76567,17 @@ var openapi = {
|
|
|
76543
76567
|
"x-draft": "Needs review.",
|
|
76544
76568
|
"x-undocumented": "Only used internally."
|
|
76545
76569
|
},
|
|
76570
|
+
parent_space_id: {
|
|
76571
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_id`.",
|
|
76572
|
+
format: "uuid",
|
|
76573
|
+
type: "string",
|
|
76574
|
+
"x-undocumented": "Only used internally."
|
|
76575
|
+
},
|
|
76576
|
+
parent_space_key: {
|
|
76577
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_key`.",
|
|
76578
|
+
type: "string",
|
|
76579
|
+
"x-undocumented": "Only used internally."
|
|
76580
|
+
},
|
|
76546
76581
|
search: {
|
|
76547
76582
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
76548
76583
|
minLength: 1,
|
|
@@ -79094,6 +79129,25 @@ var openapi = {
|
|
|
79094
79129
|
type: "string"
|
|
79095
79130
|
}
|
|
79096
79131
|
},
|
|
79132
|
+
{
|
|
79133
|
+
in: "query",
|
|
79134
|
+
name: "parent_space_id",
|
|
79135
|
+
schema: {
|
|
79136
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_id`.",
|
|
79137
|
+
format: "uuid",
|
|
79138
|
+
type: "string",
|
|
79139
|
+
"x-undocumented": "Only used internally."
|
|
79140
|
+
}
|
|
79141
|
+
},
|
|
79142
|
+
{
|
|
79143
|
+
in: "query",
|
|
79144
|
+
name: "parent_space_key",
|
|
79145
|
+
schema: {
|
|
79146
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_key`.",
|
|
79147
|
+
type: "string",
|
|
79148
|
+
"x-undocumented": "Only used internally."
|
|
79149
|
+
}
|
|
79150
|
+
},
|
|
79097
79151
|
{
|
|
79098
79152
|
in: "query",
|
|
79099
79153
|
name: "limit",
|
|
@@ -79181,6 +79235,17 @@ var openapi = {
|
|
|
79181
79235
|
nullable: true,
|
|
79182
79236
|
type: "string"
|
|
79183
79237
|
},
|
|
79238
|
+
parent_space_id: {
|
|
79239
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_id`.",
|
|
79240
|
+
format: "uuid",
|
|
79241
|
+
type: "string",
|
|
79242
|
+
"x-undocumented": "Only used internally."
|
|
79243
|
+
},
|
|
79244
|
+
parent_space_key: {
|
|
79245
|
+
description: "Filter spaces to only include those whose parent space has the specified `parent_space_key`.",
|
|
79246
|
+
type: "string",
|
|
79247
|
+
"x-undocumented": "Only used internally."
|
|
79248
|
+
},
|
|
79184
79249
|
search: {
|
|
79185
79250
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
|
|
79186
79251
|
minLength: 1,
|