@seamapi/types 1.118.0 → 1.120.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 +55 -26
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +55 -41
- package/lib/seam/connect/openapi.d.ts +49 -37
- package/lib/seam/connect/openapi.js +55 -26
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +6 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +55 -26
- package/src/lib/seam/connect/route-types.ts +17 -4
|
@@ -935,7 +935,7 @@ export interface Routes {
|
|
|
935
935
|
method: 'GET' | 'POST';
|
|
936
936
|
queryParams: {};
|
|
937
937
|
jsonBody: {};
|
|
938
|
-
commonParams: {
|
|
938
|
+
commonParams: ({
|
|
939
939
|
acs_user_id: string;
|
|
940
940
|
} | {
|
|
941
941
|
acs_system_id: string;
|
|
@@ -944,6 +944,8 @@ export interface Routes {
|
|
|
944
944
|
acs_system_id: string;
|
|
945
945
|
} | {
|
|
946
946
|
user_identity_id: string;
|
|
947
|
+
}) & {
|
|
948
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
947
949
|
};
|
|
948
950
|
formData: {};
|
|
949
951
|
jsonResponse: {
|
|
@@ -1679,7 +1681,7 @@ export interface Routes {
|
|
|
1679
1681
|
custom_redirect_url?: string | undefined;
|
|
1680
1682
|
custom_redirect_failure_url?: string | undefined;
|
|
1681
1683
|
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' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
1682
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
1684
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'internal_beta') | undefined;
|
|
1683
1685
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
1684
1686
|
automatically_manage_new_devices?: boolean | undefined;
|
|
1685
1687
|
wait_for_device_creation?: boolean | undefined;
|
|
@@ -2892,7 +2894,7 @@ export interface Routes {
|
|
|
2892
2894
|
queryParams: {};
|
|
2893
2895
|
jsonBody: {};
|
|
2894
2896
|
commonParams: {
|
|
2895
|
-
provider_category?: ('stable' | 'consumer_smartlocks') | undefined;
|
|
2897
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors') | undefined;
|
|
2896
2898
|
};
|
|
2897
2899
|
formData: {};
|
|
2898
2900
|
jsonResponse: {
|
|
@@ -2900,7 +2902,7 @@ export interface Routes {
|
|
|
2900
2902
|
device_provider_name: string;
|
|
2901
2903
|
display_name: string;
|
|
2902
2904
|
image_url: string;
|
|
2903
|
-
provider_categories: Array<'stable' | 'consumer_smartlocks'>;
|
|
2905
|
+
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors'>;
|
|
2904
2906
|
}>;
|
|
2905
2907
|
};
|
|
2906
2908
|
};
|
package/package.json
CHANGED
|
@@ -1724,7 +1724,15 @@ export default {
|
|
|
1724
1724
|
display_name: { type: 'string' },
|
|
1725
1725
|
image_url: { type: 'string' },
|
|
1726
1726
|
provider_categories: {
|
|
1727
|
-
items: {
|
|
1727
|
+
items: {
|
|
1728
|
+
enum: [
|
|
1729
|
+
'stable',
|
|
1730
|
+
'consumer_smartlocks',
|
|
1731
|
+
'thermostats',
|
|
1732
|
+
'noise_sensors',
|
|
1733
|
+
],
|
|
1734
|
+
type: 'string',
|
|
1735
|
+
},
|
|
1728
1736
|
type: 'array',
|
|
1729
1737
|
},
|
|
1730
1738
|
},
|
|
@@ -4473,34 +4481,44 @@ export default {
|
|
|
4473
4481
|
content: {
|
|
4474
4482
|
'application/json': {
|
|
4475
4483
|
schema: {
|
|
4476
|
-
|
|
4477
|
-
{
|
|
4478
|
-
properties: {
|
|
4479
|
-
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4480
|
-
},
|
|
4481
|
-
required: ['acs_user_id'],
|
|
4482
|
-
type: 'object',
|
|
4483
|
-
},
|
|
4484
|
-
{
|
|
4485
|
-
properties: {
|
|
4486
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4487
|
-
},
|
|
4488
|
-
required: ['acs_system_id'],
|
|
4489
|
-
type: 'object',
|
|
4490
|
-
},
|
|
4484
|
+
allOf: [
|
|
4491
4485
|
{
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4486
|
+
oneOf: [
|
|
4487
|
+
{
|
|
4488
|
+
properties: {
|
|
4489
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4490
|
+
},
|
|
4491
|
+
required: ['acs_user_id'],
|
|
4492
|
+
type: 'object',
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
properties: {
|
|
4496
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4497
|
+
},
|
|
4498
|
+
required: ['acs_system_id'],
|
|
4499
|
+
type: 'object',
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
properties: {
|
|
4503
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4504
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4505
|
+
},
|
|
4506
|
+
required: ['acs_user_id', 'acs_system_id'],
|
|
4507
|
+
type: 'object',
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
properties: {
|
|
4511
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
4512
|
+
},
|
|
4513
|
+
required: ['user_identity_id'],
|
|
4514
|
+
type: 'object',
|
|
4515
|
+
},
|
|
4516
|
+
],
|
|
4498
4517
|
},
|
|
4499
4518
|
{
|
|
4500
4519
|
properties: {
|
|
4501
|
-
|
|
4520
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4502
4521
|
},
|
|
4503
|
-
required: ['user_identity_id'],
|
|
4504
4522
|
type: 'object',
|
|
4505
4523
|
},
|
|
4506
4524
|
],
|
|
@@ -7023,7 +7041,13 @@ export default {
|
|
|
7023
7041
|
type: 'string',
|
|
7024
7042
|
},
|
|
7025
7043
|
provider_category: {
|
|
7026
|
-
enum: [
|
|
7044
|
+
enum: [
|
|
7045
|
+
'stable',
|
|
7046
|
+
'consumer_smartlocks',
|
|
7047
|
+
'thermostats',
|
|
7048
|
+
'noise_sensors',
|
|
7049
|
+
'internal_beta',
|
|
7050
|
+
],
|
|
7027
7051
|
type: 'string',
|
|
7028
7052
|
},
|
|
7029
7053
|
wait_for_device_creation: { type: 'boolean' },
|
|
@@ -7791,7 +7815,12 @@ export default {
|
|
|
7791
7815
|
schema: {
|
|
7792
7816
|
properties: {
|
|
7793
7817
|
provider_category: {
|
|
7794
|
-
enum: [
|
|
7818
|
+
enum: [
|
|
7819
|
+
'stable',
|
|
7820
|
+
'consumer_smartlocks',
|
|
7821
|
+
'thermostats',
|
|
7822
|
+
'noise_sensors',
|
|
7823
|
+
],
|
|
7795
7824
|
type: 'string',
|
|
7796
7825
|
},
|
|
7797
7826
|
},
|
|
@@ -1003,7 +1003,7 @@ export interface Routes {
|
|
|
1003
1003
|
method: 'GET' | 'POST'
|
|
1004
1004
|
queryParams: {}
|
|
1005
1005
|
jsonBody: {}
|
|
1006
|
-
commonParams:
|
|
1006
|
+
commonParams: (
|
|
1007
1007
|
| {
|
|
1008
1008
|
acs_user_id: string
|
|
1009
1009
|
}
|
|
@@ -1017,6 +1017,9 @@ export interface Routes {
|
|
|
1017
1017
|
| {
|
|
1018
1018
|
user_identity_id: string
|
|
1019
1019
|
}
|
|
1020
|
+
) & {
|
|
1021
|
+
is_multi_phone_sync_credential?: boolean | undefined
|
|
1022
|
+
}
|
|
1020
1023
|
formData: {}
|
|
1021
1024
|
jsonResponse: {
|
|
1022
1025
|
acs_credentials: Array<{
|
|
@@ -1917,7 +1920,13 @@ export interface Routes {
|
|
|
1917
1920
|
>
|
|
1918
1921
|
| undefined
|
|
1919
1922
|
provider_category?:
|
|
1920
|
-
| (
|
|
1923
|
+
| (
|
|
1924
|
+
| 'stable'
|
|
1925
|
+
| 'consumer_smartlocks'
|
|
1926
|
+
| 'thermostats'
|
|
1927
|
+
| 'noise_sensors'
|
|
1928
|
+
| 'internal_beta'
|
|
1929
|
+
)
|
|
1921
1930
|
| undefined
|
|
1922
1931
|
custom_metadata?: Record<string, string | boolean | null> | undefined
|
|
1923
1932
|
automatically_manage_new_devices?: boolean | undefined
|
|
@@ -3666,7 +3675,9 @@ export interface Routes {
|
|
|
3666
3675
|
queryParams: {}
|
|
3667
3676
|
jsonBody: {}
|
|
3668
3677
|
commonParams: {
|
|
3669
|
-
provider_category?:
|
|
3678
|
+
provider_category?:
|
|
3679
|
+
| ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors')
|
|
3680
|
+
| undefined
|
|
3670
3681
|
}
|
|
3671
3682
|
formData: {}
|
|
3672
3683
|
jsonResponse: {
|
|
@@ -3674,7 +3685,9 @@ export interface Routes {
|
|
|
3674
3685
|
device_provider_name: string
|
|
3675
3686
|
display_name: string
|
|
3676
3687
|
image_url: string
|
|
3677
|
-
provider_categories: Array<
|
|
3688
|
+
provider_categories: Array<
|
|
3689
|
+
'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors'
|
|
3690
|
+
>
|
|
3678
3691
|
}>
|
|
3679
3692
|
}
|
|
3680
3693
|
}
|