@seamapi/types 1.136.0 → 1.138.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 +44 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +75 -2
- package/lib/seam/connect/openapi.d.ts +62 -0
- package/lib/seam/connect/openapi.js +43 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +43 -0
- package/src/lib/seam/connect/route-types.ts +13 -0
|
@@ -1687,7 +1687,7 @@ export interface Routes {
|
|
|
1687
1687
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
1688
1688
|
custom_redirect_url?: string | undefined;
|
|
1689
1689
|
custom_redirect_failure_url?: string | undefined;
|
|
1690
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
1690
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
1691
1691
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
1692
1692
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1693
1693
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -2924,13 +2924,24 @@ export interface Routes {
|
|
|
2924
2924
|
formData: {};
|
|
2925
2925
|
jsonResponse: {
|
|
2926
2926
|
device_providers: Array<{
|
|
2927
|
-
device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo';
|
|
2927
|
+
device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch';
|
|
2928
2928
|
display_name: string;
|
|
2929
2929
|
image_url: string;
|
|
2930
2930
|
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
|
|
2931
2931
|
}>;
|
|
2932
2932
|
};
|
|
2933
2933
|
};
|
|
2934
|
+
'/devices/simulate/remove': {
|
|
2935
|
+
route: '/devices/simulate/remove';
|
|
2936
|
+
method: 'DELETE' | 'POST';
|
|
2937
|
+
queryParams: {};
|
|
2938
|
+
jsonBody: {
|
|
2939
|
+
device_id: string;
|
|
2940
|
+
};
|
|
2941
|
+
commonParams: {};
|
|
2942
|
+
formData: {};
|
|
2943
|
+
jsonResponse: {};
|
|
2944
|
+
};
|
|
2934
2945
|
'/devices/unmanaged/get': {
|
|
2935
2946
|
route: '/devices/unmanaged/get';
|
|
2936
2947
|
method: 'GET' | 'POST';
|
package/package.json
CHANGED
|
@@ -1789,6 +1789,7 @@ export default {
|
|
|
1789
1789
|
'seam_bridge',
|
|
1790
1790
|
'tedee',
|
|
1791
1791
|
'honeywell_resideo',
|
|
1792
|
+
'latch',
|
|
1792
1793
|
],
|
|
1793
1794
|
type: 'string',
|
|
1794
1795
|
},
|
|
@@ -7099,6 +7100,7 @@ export default {
|
|
|
7099
7100
|
'seam_bridge',
|
|
7100
7101
|
'tedee',
|
|
7101
7102
|
'honeywell_resideo',
|
|
7103
|
+
'latch',
|
|
7102
7104
|
'yale_access',
|
|
7103
7105
|
'hid_cm',
|
|
7104
7106
|
'google_nest',
|
|
@@ -7950,6 +7952,47 @@ export default {
|
|
|
7950
7952
|
'x-fern-sdk-return-value': 'device_providers',
|
|
7951
7953
|
},
|
|
7952
7954
|
},
|
|
7955
|
+
'/devices/simulate/remove': {
|
|
7956
|
+
post: {
|
|
7957
|
+
operationId: 'devicesSimulateRemovePost',
|
|
7958
|
+
requestBody: {
|
|
7959
|
+
content: {
|
|
7960
|
+
'application/json': {
|
|
7961
|
+
schema: {
|
|
7962
|
+
properties: { device_id: { format: 'uuid', type: 'string' } },
|
|
7963
|
+
required: ['device_id'],
|
|
7964
|
+
type: 'object',
|
|
7965
|
+
},
|
|
7966
|
+
},
|
|
7967
|
+
},
|
|
7968
|
+
},
|
|
7969
|
+
responses: {
|
|
7970
|
+
200: {
|
|
7971
|
+
content: {
|
|
7972
|
+
'application/json': {
|
|
7973
|
+
schema: {
|
|
7974
|
+
properties: { ok: { type: 'boolean' } },
|
|
7975
|
+
required: ['ok'],
|
|
7976
|
+
type: 'object',
|
|
7977
|
+
},
|
|
7978
|
+
},
|
|
7979
|
+
},
|
|
7980
|
+
description: 'OK',
|
|
7981
|
+
},
|
|
7982
|
+
400: { description: 'Bad Request' },
|
|
7983
|
+
401: { description: 'Unauthorized' },
|
|
7984
|
+
},
|
|
7985
|
+
security: [
|
|
7986
|
+
{ api_key: [] },
|
|
7987
|
+
{ pat_with_workspace: [] },
|
|
7988
|
+
{ console_session: [] },
|
|
7989
|
+
],
|
|
7990
|
+
summary: '/devices/simulate/remove',
|
|
7991
|
+
tags: ['/devices'],
|
|
7992
|
+
'x-fern-sdk-group-name': ['devices', 'simulate'],
|
|
7993
|
+
'x-fern-sdk-method-name': 'remove',
|
|
7994
|
+
},
|
|
7995
|
+
},
|
|
7953
7996
|
'/devices/unmanaged/get': {
|
|
7954
7997
|
post: {
|
|
7955
7998
|
operationId: 'devicesUnmanagedGetPost',
|
|
@@ -1921,6 +1921,7 @@ export interface Routes {
|
|
|
1921
1921
|
| 'seam_bridge'
|
|
1922
1922
|
| 'tedee'
|
|
1923
1923
|
| 'honeywell_resideo'
|
|
1924
|
+
| 'latch'
|
|
1924
1925
|
| 'yale_access'
|
|
1925
1926
|
| 'hid_cm'
|
|
1926
1927
|
| 'google_nest'
|
|
@@ -3767,6 +3768,7 @@ export interface Routes {
|
|
|
3767
3768
|
| 'seam_bridge'
|
|
3768
3769
|
| 'tedee'
|
|
3769
3770
|
| 'honeywell_resideo'
|
|
3771
|
+
| 'latch'
|
|
3770
3772
|
display_name: string
|
|
3771
3773
|
image_url: string
|
|
3772
3774
|
provider_categories: Array<
|
|
@@ -3779,6 +3781,17 @@ export interface Routes {
|
|
|
3779
3781
|
}>
|
|
3780
3782
|
}
|
|
3781
3783
|
}
|
|
3784
|
+
'/devices/simulate/remove': {
|
|
3785
|
+
route: '/devices/simulate/remove'
|
|
3786
|
+
method: 'DELETE' | 'POST'
|
|
3787
|
+
queryParams: {}
|
|
3788
|
+
jsonBody: {
|
|
3789
|
+
device_id: string
|
|
3790
|
+
}
|
|
3791
|
+
commonParams: {}
|
|
3792
|
+
formData: {}
|
|
3793
|
+
jsonResponse: {}
|
|
3794
|
+
}
|
|
3782
3795
|
'/devices/unmanaged/get': {
|
|
3783
3796
|
route: '/devices/unmanaged/get'
|
|
3784
3797
|
method: 'GET' | 'POST'
|