@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
package/dist/connect.d.cts
CHANGED
|
@@ -6118,53 +6118,65 @@ declare const _default: {
|
|
|
6118
6118
|
content: {
|
|
6119
6119
|
'application/json': {
|
|
6120
6120
|
schema: {
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6121
|
+
allOf: ({
|
|
6122
|
+
oneOf: ({
|
|
6123
|
+
properties: {
|
|
6124
|
+
acs_user_id: {
|
|
6125
|
+
format: string;
|
|
6126
|
+
type: string;
|
|
6127
|
+
};
|
|
6128
|
+
acs_system_id?: never;
|
|
6129
|
+
user_identity_id?: never;
|
|
6126
6130
|
};
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
}
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6131
|
+
required: string[];
|
|
6132
|
+
type: string;
|
|
6133
|
+
} | {
|
|
6134
|
+
properties: {
|
|
6135
|
+
acs_system_id: {
|
|
6136
|
+
format: string;
|
|
6137
|
+
type: string;
|
|
6138
|
+
};
|
|
6139
|
+
acs_user_id?: never;
|
|
6140
|
+
user_identity_id?: never;
|
|
6137
6141
|
};
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
}
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6142
|
+
required: string[];
|
|
6143
|
+
type: string;
|
|
6144
|
+
} | {
|
|
6145
|
+
properties: {
|
|
6146
|
+
acs_system_id: {
|
|
6147
|
+
format: string;
|
|
6148
|
+
type: string;
|
|
6149
|
+
};
|
|
6150
|
+
acs_user_id: {
|
|
6151
|
+
format: string;
|
|
6152
|
+
type: string;
|
|
6153
|
+
};
|
|
6154
|
+
user_identity_id?: never;
|
|
6148
6155
|
};
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6156
|
+
required: string[];
|
|
6157
|
+
type: string;
|
|
6158
|
+
} | {
|
|
6159
|
+
properties: {
|
|
6160
|
+
user_identity_id: {
|
|
6161
|
+
format: string;
|
|
6162
|
+
type: string;
|
|
6163
|
+
};
|
|
6164
|
+
acs_user_id?: never;
|
|
6165
|
+
acs_system_id?: never;
|
|
6152
6166
|
};
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6167
|
+
required: string[];
|
|
6168
|
+
type: string;
|
|
6169
|
+
})[];
|
|
6170
|
+
properties?: never;
|
|
6171
|
+
type?: never;
|
|
6157
6172
|
} | {
|
|
6158
6173
|
properties: {
|
|
6159
|
-
|
|
6160
|
-
format: string;
|
|
6174
|
+
is_multi_phone_sync_credential: {
|
|
6161
6175
|
type: string;
|
|
6162
6176
|
};
|
|
6163
|
-
acs_user_id?: never;
|
|
6164
|
-
acs_system_id?: never;
|
|
6165
6177
|
};
|
|
6166
|
-
required: string[];
|
|
6167
6178
|
type: string;
|
|
6179
|
+
oneOf?: never;
|
|
6168
6180
|
})[];
|
|
6169
6181
|
};
|
|
6170
6182
|
};
|
|
@@ -17982,7 +17994,7 @@ interface Routes {
|
|
|
17982
17994
|
method: 'GET' | 'POST';
|
|
17983
17995
|
queryParams: {};
|
|
17984
17996
|
jsonBody: {};
|
|
17985
|
-
commonParams: {
|
|
17997
|
+
commonParams: ({
|
|
17986
17998
|
acs_user_id: string;
|
|
17987
17999
|
} | {
|
|
17988
18000
|
acs_system_id: string;
|
|
@@ -17991,6 +18003,8 @@ interface Routes {
|
|
|
17991
18003
|
acs_system_id: string;
|
|
17992
18004
|
} | {
|
|
17993
18005
|
user_identity_id: string;
|
|
18006
|
+
}) & {
|
|
18007
|
+
is_multi_phone_sync_credential?: boolean | undefined;
|
|
17994
18008
|
};
|
|
17995
18009
|
formData: {};
|
|
17996
18010
|
jsonResponse: {
|
|
@@ -18726,7 +18740,7 @@ interface Routes {
|
|
|
18726
18740
|
custom_redirect_url?: string | undefined;
|
|
18727
18741
|
custom_redirect_failure_url?: string | undefined;
|
|
18728
18742
|
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;
|
|
18729
|
-
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
18743
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'internal_beta') | undefined;
|
|
18730
18744
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
18731
18745
|
automatically_manage_new_devices?: boolean | undefined;
|
|
18732
18746
|
wait_for_device_creation?: boolean | undefined;
|
|
@@ -19939,7 +19953,7 @@ interface Routes {
|
|
|
19939
19953
|
queryParams: {};
|
|
19940
19954
|
jsonBody: {};
|
|
19941
19955
|
commonParams: {
|
|
19942
|
-
provider_category?: ('stable' | 'consumer_smartlocks') | undefined;
|
|
19956
|
+
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors') | undefined;
|
|
19943
19957
|
};
|
|
19944
19958
|
formData: {};
|
|
19945
19959
|
jsonResponse: {
|
|
@@ -19947,7 +19961,7 @@ interface Routes {
|
|
|
19947
19961
|
device_provider_name: string;
|
|
19948
19962
|
display_name: string;
|
|
19949
19963
|
image_url: string;
|
|
19950
|
-
provider_categories: Array<'stable' | 'consumer_smartlocks'>;
|
|
19964
|
+
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors'>;
|
|
19951
19965
|
}>;
|
|
19952
19966
|
};
|
|
19953
19967
|
};
|
|
@@ -6044,53 +6044,65 @@ declare const _default: {
|
|
|
6044
6044
|
content: {
|
|
6045
6045
|
'application/json': {
|
|
6046
6046
|
schema: {
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6047
|
+
allOf: ({
|
|
6048
|
+
oneOf: ({
|
|
6049
|
+
properties: {
|
|
6050
|
+
acs_user_id: {
|
|
6051
|
+
format: string;
|
|
6052
|
+
type: string;
|
|
6053
|
+
};
|
|
6054
|
+
acs_system_id?: never;
|
|
6055
|
+
user_identity_id?: never;
|
|
6052
6056
|
};
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
}
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6057
|
+
required: string[];
|
|
6058
|
+
type: string;
|
|
6059
|
+
} | {
|
|
6060
|
+
properties: {
|
|
6061
|
+
acs_system_id: {
|
|
6062
|
+
format: string;
|
|
6063
|
+
type: string;
|
|
6064
|
+
};
|
|
6065
|
+
acs_user_id?: never;
|
|
6066
|
+
user_identity_id?: never;
|
|
6063
6067
|
};
|
|
6064
|
-
|
|
6065
|
-
|
|
6066
|
-
}
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6068
|
+
required: string[];
|
|
6069
|
+
type: string;
|
|
6070
|
+
} | {
|
|
6071
|
+
properties: {
|
|
6072
|
+
acs_system_id: {
|
|
6073
|
+
format: string;
|
|
6074
|
+
type: string;
|
|
6075
|
+
};
|
|
6076
|
+
acs_user_id: {
|
|
6077
|
+
format: string;
|
|
6078
|
+
type: string;
|
|
6079
|
+
};
|
|
6080
|
+
user_identity_id?: never;
|
|
6074
6081
|
};
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6082
|
+
required: string[];
|
|
6083
|
+
type: string;
|
|
6084
|
+
} | {
|
|
6085
|
+
properties: {
|
|
6086
|
+
user_identity_id: {
|
|
6087
|
+
format: string;
|
|
6088
|
+
type: string;
|
|
6089
|
+
};
|
|
6090
|
+
acs_user_id?: never;
|
|
6091
|
+
acs_system_id?: never;
|
|
6078
6092
|
};
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6093
|
+
required: string[];
|
|
6094
|
+
type: string;
|
|
6095
|
+
})[];
|
|
6096
|
+
properties?: never;
|
|
6097
|
+
type?: never;
|
|
6083
6098
|
} | {
|
|
6084
6099
|
properties: {
|
|
6085
|
-
|
|
6086
|
-
format: string;
|
|
6100
|
+
is_multi_phone_sync_credential: {
|
|
6087
6101
|
type: string;
|
|
6088
6102
|
};
|
|
6089
|
-
acs_user_id?: never;
|
|
6090
|
-
acs_system_id?: never;
|
|
6091
6103
|
};
|
|
6092
|
-
required: string[];
|
|
6093
6104
|
type: string;
|
|
6105
|
+
oneOf?: never;
|
|
6094
6106
|
})[];
|
|
6095
6107
|
};
|
|
6096
6108
|
};
|
|
@@ -1683,7 +1683,15 @@ export default {
|
|
|
1683
1683
|
display_name: { type: 'string' },
|
|
1684
1684
|
image_url: { type: 'string' },
|
|
1685
1685
|
provider_categories: {
|
|
1686
|
-
items: {
|
|
1686
|
+
items: {
|
|
1687
|
+
enum: [
|
|
1688
|
+
'stable',
|
|
1689
|
+
'consumer_smartlocks',
|
|
1690
|
+
'thermostats',
|
|
1691
|
+
'noise_sensors',
|
|
1692
|
+
],
|
|
1693
|
+
type: 'string',
|
|
1694
|
+
},
|
|
1687
1695
|
type: 'array',
|
|
1688
1696
|
},
|
|
1689
1697
|
},
|
|
@@ -4404,34 +4412,44 @@ export default {
|
|
|
4404
4412
|
content: {
|
|
4405
4413
|
'application/json': {
|
|
4406
4414
|
schema: {
|
|
4407
|
-
|
|
4408
|
-
{
|
|
4409
|
-
properties: {
|
|
4410
|
-
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4411
|
-
},
|
|
4412
|
-
required: ['acs_user_id'],
|
|
4413
|
-
type: 'object',
|
|
4414
|
-
},
|
|
4415
|
-
{
|
|
4416
|
-
properties: {
|
|
4417
|
-
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4418
|
-
},
|
|
4419
|
-
required: ['acs_system_id'],
|
|
4420
|
-
type: 'object',
|
|
4421
|
-
},
|
|
4415
|
+
allOf: [
|
|
4422
4416
|
{
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4417
|
+
oneOf: [
|
|
4418
|
+
{
|
|
4419
|
+
properties: {
|
|
4420
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4421
|
+
},
|
|
4422
|
+
required: ['acs_user_id'],
|
|
4423
|
+
type: 'object',
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
properties: {
|
|
4427
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4428
|
+
},
|
|
4429
|
+
required: ['acs_system_id'],
|
|
4430
|
+
type: 'object',
|
|
4431
|
+
},
|
|
4432
|
+
{
|
|
4433
|
+
properties: {
|
|
4434
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
4435
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
4436
|
+
},
|
|
4437
|
+
required: ['acs_user_id', 'acs_system_id'],
|
|
4438
|
+
type: 'object',
|
|
4439
|
+
},
|
|
4440
|
+
{
|
|
4441
|
+
properties: {
|
|
4442
|
+
user_identity_id: { format: 'uuid', type: 'string' },
|
|
4443
|
+
},
|
|
4444
|
+
required: ['user_identity_id'],
|
|
4445
|
+
type: 'object',
|
|
4446
|
+
},
|
|
4447
|
+
],
|
|
4429
4448
|
},
|
|
4430
4449
|
{
|
|
4431
4450
|
properties: {
|
|
4432
|
-
|
|
4451
|
+
is_multi_phone_sync_credential: { type: 'boolean' },
|
|
4433
4452
|
},
|
|
4434
|
-
required: ['user_identity_id'],
|
|
4435
4453
|
type: 'object',
|
|
4436
4454
|
},
|
|
4437
4455
|
],
|
|
@@ -6954,7 +6972,13 @@ export default {
|
|
|
6954
6972
|
type: 'string',
|
|
6955
6973
|
},
|
|
6956
6974
|
provider_category: {
|
|
6957
|
-
enum: [
|
|
6975
|
+
enum: [
|
|
6976
|
+
'stable',
|
|
6977
|
+
'consumer_smartlocks',
|
|
6978
|
+
'thermostats',
|
|
6979
|
+
'noise_sensors',
|
|
6980
|
+
'internal_beta',
|
|
6981
|
+
],
|
|
6958
6982
|
type: 'string',
|
|
6959
6983
|
},
|
|
6960
6984
|
wait_for_device_creation: { type: 'boolean' },
|
|
@@ -7719,7 +7743,12 @@ export default {
|
|
|
7719
7743
|
schema: {
|
|
7720
7744
|
properties: {
|
|
7721
7745
|
provider_category: {
|
|
7722
|
-
enum: [
|
|
7746
|
+
enum: [
|
|
7747
|
+
'stable',
|
|
7748
|
+
'consumer_smartlocks',
|
|
7749
|
+
'thermostats',
|
|
7750
|
+
'noise_sensors',
|
|
7751
|
+
],
|
|
7723
7752
|
type: 'string',
|
|
7724
7753
|
},
|
|
7725
7754
|
},
|