@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
|
@@ -40153,7 +40153,7 @@ export type Routes = {
|
|
|
40153
40153
|
/** 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. */
|
|
40154
40154
|
customer_key?: string | undefined;
|
|
40155
40155
|
/** 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. */
|
|
40156
|
-
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;
|
|
40156
|
+
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;
|
|
40157
40157
|
/** 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. */
|
|
40158
40158
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
|
|
40159
40159
|
/** 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). */
|
|
@@ -44659,7 +44659,7 @@ export type Routes = {
|
|
|
44659
44659
|
formData: {};
|
|
44660
44660
|
jsonResponse: {
|
|
44661
44661
|
device_providers: {
|
|
44662
|
-
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';
|
|
44662
|
+
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';
|
|
44663
44663
|
display_name: string;
|
|
44664
44664
|
image_url: string;
|
|
44665
44665
|
provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
|
|
@@ -80480,6 +80480,10 @@ export type Routes = {
|
|
|
80480
80480
|
connected_account_id?: string | undefined;
|
|
80481
80481
|
/** Filter spaces by space_key. */
|
|
80482
80482
|
space_key?: string | undefined;
|
|
80483
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
80484
|
+
parent_space_id?: string | undefined;
|
|
80485
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
80486
|
+
parent_space_key?: string | undefined;
|
|
80483
80487
|
};
|
|
80484
80488
|
formData: {};
|
|
80485
80489
|
jsonResponse: {
|
|
@@ -83731,6 +83735,10 @@ export type Routes = {
|
|
|
83731
83735
|
connected_account_id?: string | undefined;
|
|
83732
83736
|
/** Filter spaces by space_key. */
|
|
83733
83737
|
space_key?: string | undefined;
|
|
83738
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
83739
|
+
parent_space_id?: string | undefined;
|
|
83740
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
83741
|
+
parent_space_key?: string | undefined;
|
|
83734
83742
|
/** Maximum number of records to return per page. */
|
|
83735
83743
|
limit?: number;
|
|
83736
83744
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|
package/package.json
CHANGED
|
@@ -54,6 +54,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
54
54
|
KEYINCODE: 'keyincode',
|
|
55
55
|
DORMAKABA_AMBIANCE: 'dormakaba_ambiance',
|
|
56
56
|
ULTRALOQ: 'ultraloq',
|
|
57
|
+
DUSAW: 'dusaw',
|
|
57
58
|
SIFELY: 'sifely',
|
|
58
59
|
RING: 'ring',
|
|
59
60
|
ICAL: 'ical',
|
|
@@ -114,6 +115,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
114
115
|
'keyincode',
|
|
115
116
|
'sifely',
|
|
116
117
|
'omnitec',
|
|
118
|
+
'dusaw',
|
|
117
119
|
],
|
|
118
120
|
|
|
119
121
|
consumer_smartlocks: [
|
|
@@ -132,6 +134,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
132
134
|
'ultraloq',
|
|
133
135
|
'dormakaba_oracode',
|
|
134
136
|
'korelock',
|
|
137
|
+
'dusaw',
|
|
135
138
|
'keyincode',
|
|
136
139
|
'sifely',
|
|
137
140
|
],
|
|
@@ -17433,6 +17433,7 @@ const openapi: OpenAPISpec = {
|
|
|
17433
17433
|
'keyincode',
|
|
17434
17434
|
'dormakaba_ambiance',
|
|
17435
17435
|
'ultraloq',
|
|
17436
|
+
'dusaw',
|
|
17436
17437
|
'sifely',
|
|
17437
17438
|
'ring',
|
|
17438
17439
|
'ical',
|
|
@@ -52049,6 +52050,7 @@ const openapi: OpenAPISpec = {
|
|
|
52049
52050
|
'keyincode',
|
|
52050
52051
|
'dormakaba_ambiance',
|
|
52051
52052
|
'ultraloq',
|
|
52053
|
+
'dusaw',
|
|
52052
52054
|
'sifely',
|
|
52053
52055
|
'ring',
|
|
52054
52056
|
'ical',
|
|
@@ -75125,6 +75127,27 @@ const openapi: OpenAPISpec = {
|
|
|
75125
75127
|
type: 'string',
|
|
75126
75128
|
},
|
|
75127
75129
|
},
|
|
75130
|
+
{
|
|
75131
|
+
in: 'query',
|
|
75132
|
+
name: 'parent_space_id',
|
|
75133
|
+
schema: {
|
|
75134
|
+
description:
|
|
75135
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_id`.',
|
|
75136
|
+
format: 'uuid',
|
|
75137
|
+
type: 'string',
|
|
75138
|
+
'x-undocumented': 'Only used internally.',
|
|
75139
|
+
},
|
|
75140
|
+
},
|
|
75141
|
+
{
|
|
75142
|
+
in: 'query',
|
|
75143
|
+
name: 'parent_space_key',
|
|
75144
|
+
schema: {
|
|
75145
|
+
description:
|
|
75146
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_key`.',
|
|
75147
|
+
type: 'string',
|
|
75148
|
+
'x-undocumented': 'Only used internally.',
|
|
75149
|
+
},
|
|
75150
|
+
},
|
|
75128
75151
|
],
|
|
75129
75152
|
responses: {
|
|
75130
75153
|
200: {
|
|
@@ -75178,6 +75201,19 @@ const openapi: OpenAPISpec = {
|
|
|
75178
75201
|
'x-draft': 'Needs review.',
|
|
75179
75202
|
'x-undocumented': 'Only used internally.',
|
|
75180
75203
|
},
|
|
75204
|
+
parent_space_id: {
|
|
75205
|
+
description:
|
|
75206
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_id`.',
|
|
75207
|
+
format: 'uuid',
|
|
75208
|
+
type: 'string',
|
|
75209
|
+
'x-undocumented': 'Only used internally.',
|
|
75210
|
+
},
|
|
75211
|
+
parent_space_key: {
|
|
75212
|
+
description:
|
|
75213
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_key`.',
|
|
75214
|
+
type: 'string',
|
|
75215
|
+
'x-undocumented': 'Only used internally.',
|
|
75216
|
+
},
|
|
75181
75217
|
search: {
|
|
75182
75218
|
description:
|
|
75183
75219
|
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
|
|
@@ -77813,6 +77849,27 @@ const openapi: OpenAPISpec = {
|
|
|
77813
77849
|
type: 'string',
|
|
77814
77850
|
},
|
|
77815
77851
|
},
|
|
77852
|
+
{
|
|
77853
|
+
in: 'query',
|
|
77854
|
+
name: 'parent_space_id',
|
|
77855
|
+
schema: {
|
|
77856
|
+
description:
|
|
77857
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_id`.',
|
|
77858
|
+
format: 'uuid',
|
|
77859
|
+
type: 'string',
|
|
77860
|
+
'x-undocumented': 'Only used internally.',
|
|
77861
|
+
},
|
|
77862
|
+
},
|
|
77863
|
+
{
|
|
77864
|
+
in: 'query',
|
|
77865
|
+
name: 'parent_space_key',
|
|
77866
|
+
schema: {
|
|
77867
|
+
description:
|
|
77868
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_key`.',
|
|
77869
|
+
type: 'string',
|
|
77870
|
+
'x-undocumented': 'Only used internally.',
|
|
77871
|
+
},
|
|
77872
|
+
},
|
|
77816
77873
|
{
|
|
77817
77874
|
in: 'query',
|
|
77818
77875
|
name: 'limit',
|
|
@@ -77905,6 +77962,19 @@ const openapi: OpenAPISpec = {
|
|
|
77905
77962
|
nullable: true,
|
|
77906
77963
|
type: 'string',
|
|
77907
77964
|
},
|
|
77965
|
+
parent_space_id: {
|
|
77966
|
+
description:
|
|
77967
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_id`.',
|
|
77968
|
+
format: 'uuid',
|
|
77969
|
+
type: 'string',
|
|
77970
|
+
'x-undocumented': 'Only used internally.',
|
|
77971
|
+
},
|
|
77972
|
+
parent_space_key: {
|
|
77973
|
+
description:
|
|
77974
|
+
'Filter spaces to only include those whose parent space has the specified `parent_space_key`.',
|
|
77975
|
+
type: 'string',
|
|
77976
|
+
'x-undocumented': 'Only used internally.',
|
|
77977
|
+
},
|
|
77908
77978
|
search: {
|
|
77909
77979
|
description:
|
|
77910
77980
|
'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.',
|
|
@@ -46527,6 +46527,7 @@ export type Routes = {
|
|
|
46527
46527
|
| 'keyincode'
|
|
46528
46528
|
| 'dormakaba_ambiance'
|
|
46529
46529
|
| 'ultraloq'
|
|
46530
|
+
| 'dusaw'
|
|
46530
46531
|
| 'sifely'
|
|
46531
46532
|
| 'ring'
|
|
46532
46533
|
| 'ical'
|
|
@@ -52188,6 +52189,7 @@ export type Routes = {
|
|
|
52188
52189
|
| 'keyincode'
|
|
52189
52190
|
| 'dormakaba_ambiance'
|
|
52190
52191
|
| 'ultraloq'
|
|
52192
|
+
| 'dusaw'
|
|
52191
52193
|
| 'sifely'
|
|
52192
52194
|
| 'ring'
|
|
52193
52195
|
| 'ical'
|
|
@@ -96147,6 +96149,10 @@ export type Routes = {
|
|
|
96147
96149
|
connected_account_id?: string | undefined
|
|
96148
96150
|
/** Filter spaces by space_key. */
|
|
96149
96151
|
space_key?: string | undefined
|
|
96152
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
96153
|
+
parent_space_id?: string | undefined
|
|
96154
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
96155
|
+
parent_space_key?: string | undefined
|
|
96150
96156
|
}
|
|
96151
96157
|
formData: {}
|
|
96152
96158
|
jsonResponse: {
|
|
@@ -100041,6 +100047,10 @@ export type Routes = {
|
|
|
100041
100047
|
connected_account_id?: string | undefined
|
|
100042
100048
|
/** Filter spaces by space_key. */
|
|
100043
100049
|
space_key?: string | undefined
|
|
100050
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_id`. */
|
|
100051
|
+
parent_space_id?: string | undefined
|
|
100052
|
+
/** Filter spaces to only include those whose parent space has the specified `parent_space_key`. */
|
|
100053
|
+
parent_space_key?: string | undefined
|
|
100044
100054
|
/** Maximum number of records to return per page. */
|
|
100045
100055
|
limit?: number
|
|
100046
100056
|
/** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
|