@seamapi/types 1.55.0 → 1.56.1
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 +28 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +49 -19
- package/lib/seam/connect/openapi.d.ts +26 -13
- package/lib/seam/connect/openapi.js +23 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -6
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +25 -5
- package/src/lib/seam/connect/route-types.ts +27 -1
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +14 -0
package/dist/connect.d.cts
CHANGED
|
@@ -2263,6 +2263,12 @@ declare const _default: {
|
|
|
2263
2263
|
};
|
|
2264
2264
|
properties: {
|
|
2265
2265
|
properties: {
|
|
2266
|
+
battery_level: {
|
|
2267
|
+
description: string;
|
|
2268
|
+
maximum: number;
|
|
2269
|
+
minimum: number;
|
|
2270
|
+
type: string;
|
|
2271
|
+
};
|
|
2266
2272
|
image_alt_text: {
|
|
2267
2273
|
type: string;
|
|
2268
2274
|
};
|
|
@@ -2290,6 +2296,10 @@ declare const _default: {
|
|
|
2290
2296
|
online: {
|
|
2291
2297
|
type: string;
|
|
2292
2298
|
};
|
|
2299
|
+
online_access_codes_enabled: {
|
|
2300
|
+
description: string;
|
|
2301
|
+
type: string;
|
|
2302
|
+
};
|
|
2293
2303
|
};
|
|
2294
2304
|
required: string[];
|
|
2295
2305
|
type: string;
|
|
@@ -5923,24 +5933,24 @@ declare const _default: {
|
|
|
5923
5933
|
};
|
|
5924
5934
|
security: ({
|
|
5925
5935
|
api_key: never[];
|
|
5926
|
-
access_token?: never;
|
|
5927
|
-
user_session?: never;
|
|
5928
5936
|
client_session?: never;
|
|
5937
|
+
pat_with_workspace?: never;
|
|
5938
|
+
console_session?: never;
|
|
5929
5939
|
} | {
|
|
5930
|
-
|
|
5940
|
+
client_session: never[];
|
|
5931
5941
|
api_key?: never;
|
|
5932
|
-
|
|
5933
|
-
|
|
5942
|
+
pat_with_workspace?: never;
|
|
5943
|
+
console_session?: never;
|
|
5934
5944
|
} | {
|
|
5935
|
-
|
|
5945
|
+
pat_with_workspace: never[];
|
|
5936
5946
|
api_key?: never;
|
|
5937
|
-
access_token?: never;
|
|
5938
5947
|
client_session?: never;
|
|
5948
|
+
console_session?: never;
|
|
5939
5949
|
} | {
|
|
5940
|
-
|
|
5950
|
+
console_session: never[];
|
|
5941
5951
|
api_key?: never;
|
|
5942
|
-
|
|
5943
|
-
|
|
5952
|
+
client_session?: never;
|
|
5953
|
+
pat_with_workspace?: never;
|
|
5944
5954
|
})[];
|
|
5945
5955
|
summary: string;
|
|
5946
5956
|
tags: never[];
|
|
@@ -9970,6 +9980,9 @@ declare const _default: {
|
|
|
9970
9980
|
action_attempt: {
|
|
9971
9981
|
$ref: string;
|
|
9972
9982
|
};
|
|
9983
|
+
noise_threshold: {
|
|
9984
|
+
$ref: string;
|
|
9985
|
+
};
|
|
9973
9986
|
ok: {
|
|
9974
9987
|
type: string;
|
|
9975
9988
|
};
|
|
@@ -13307,6 +13320,9 @@ declare const _default: {
|
|
|
13307
13320
|
default: boolean;
|
|
13308
13321
|
type: string;
|
|
13309
13322
|
};
|
|
13323
|
+
name: {
|
|
13324
|
+
type: string;
|
|
13325
|
+
};
|
|
13310
13326
|
webview_logo_shape: {
|
|
13311
13327
|
enum: string[];
|
|
13312
13328
|
type: string;
|
|
@@ -13314,9 +13330,6 @@ declare const _default: {
|
|
|
13314
13330
|
webview_primary_button_color: {
|
|
13315
13331
|
type: string;
|
|
13316
13332
|
};
|
|
13317
|
-
workspace_name: {
|
|
13318
|
-
type: string;
|
|
13319
|
-
};
|
|
13320
13333
|
};
|
|
13321
13334
|
required: string[];
|
|
13322
13335
|
type: string;
|
|
@@ -14619,10 +14632,10 @@ interface Routes {
|
|
|
14619
14632
|
jsonResponse: {
|
|
14620
14633
|
acs_system: {
|
|
14621
14634
|
acs_system_id: string;
|
|
14622
|
-
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
14635
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_credential_service_user';
|
|
14623
14636
|
external_type_display_name: string;
|
|
14624
14637
|
/** deprecated: use external_type */
|
|
14625
|
-
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
14638
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_credential_service_user';
|
|
14626
14639
|
/** deprecated: use external_type_display_name */
|
|
14627
14640
|
system_type_display_name: string;
|
|
14628
14641
|
name: string;
|
|
@@ -14644,10 +14657,10 @@ interface Routes {
|
|
|
14644
14657
|
jsonResponse: {
|
|
14645
14658
|
acs_systems: Array<{
|
|
14646
14659
|
acs_system_id: string;
|
|
14647
|
-
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
14660
|
+
external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_credential_service_user';
|
|
14648
14661
|
external_type_display_name: string;
|
|
14649
14662
|
/** deprecated: use external_type */
|
|
14650
|
-
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
|
|
14663
|
+
system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org' | 'visionline_system' | 'assa_abloy_credential_service_user';
|
|
14651
14664
|
/** deprecated: use external_type_display_name */
|
|
14652
14665
|
system_type_display_name: string;
|
|
14653
14666
|
name: string;
|
|
@@ -15041,7 +15054,7 @@ interface Routes {
|
|
|
15041
15054
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
15042
15055
|
custom_redirect_url?: string | undefined;
|
|
15043
15056
|
custom_redirect_failure_url?: string | undefined;
|
|
15044
|
-
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' | 'yale_access' | 'hid_cm'> | undefined;
|
|
15057
|
+
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' | 'yale_access' | 'hid_cm'> | undefined;
|
|
15045
15058
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
|
|
15046
15059
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
15047
15060
|
automatically_manage_new_devices?: boolean | undefined;
|
|
@@ -16187,6 +16200,10 @@ interface Routes {
|
|
|
16187
16200
|
display_name: string;
|
|
16188
16201
|
manufacturer_display_name: string;
|
|
16189
16202
|
};
|
|
16203
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
16204
|
+
battery_level?: number | undefined;
|
|
16205
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
16206
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
16190
16207
|
};
|
|
16191
16208
|
};
|
|
16192
16209
|
};
|
|
@@ -16245,6 +16262,10 @@ interface Routes {
|
|
|
16245
16262
|
display_name: string;
|
|
16246
16263
|
manufacturer_display_name: string;
|
|
16247
16264
|
};
|
|
16265
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
16266
|
+
battery_level?: number | undefined;
|
|
16267
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
16268
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
16248
16269
|
};
|
|
16249
16270
|
}>;
|
|
16250
16271
|
};
|
|
@@ -18243,6 +18264,15 @@ interface Routes {
|
|
|
18243
18264
|
message: string;
|
|
18244
18265
|
};
|
|
18245
18266
|
};
|
|
18267
|
+
noise_threshold: {
|
|
18268
|
+
noise_threshold_id: string;
|
|
18269
|
+
device_id: string;
|
|
18270
|
+
name: string;
|
|
18271
|
+
noise_threshold_nrs?: number | undefined;
|
|
18272
|
+
starts_daily_at: string;
|
|
18273
|
+
ends_daily_at: string;
|
|
18274
|
+
noise_threshold_decibels: number;
|
|
18275
|
+
};
|
|
18246
18276
|
};
|
|
18247
18277
|
};
|
|
18248
18278
|
'/noise_sensors/noise_thresholds/delete': {
|
|
@@ -20150,7 +20180,7 @@ interface Routes {
|
|
|
20150
20180
|
method: 'POST';
|
|
20151
20181
|
queryParams: {};
|
|
20152
20182
|
jsonBody: {
|
|
20153
|
-
|
|
20183
|
+
name: string;
|
|
20154
20184
|
/** The name shown inside the connect webview */
|
|
20155
20185
|
connect_partner_name: string;
|
|
20156
20186
|
is_sandbox?: boolean;
|
|
@@ -2186,6 +2186,12 @@ declare const _default: {
|
|
|
2186
2186
|
};
|
|
2187
2187
|
properties: {
|
|
2188
2188
|
properties: {
|
|
2189
|
+
battery_level: {
|
|
2190
|
+
description: string;
|
|
2191
|
+
maximum: number;
|
|
2192
|
+
minimum: number;
|
|
2193
|
+
type: string;
|
|
2194
|
+
};
|
|
2189
2195
|
image_alt_text: {
|
|
2190
2196
|
type: string;
|
|
2191
2197
|
};
|
|
@@ -2213,6 +2219,10 @@ declare const _default: {
|
|
|
2213
2219
|
online: {
|
|
2214
2220
|
type: string;
|
|
2215
2221
|
};
|
|
2222
|
+
online_access_codes_enabled: {
|
|
2223
|
+
description: string;
|
|
2224
|
+
type: string;
|
|
2225
|
+
};
|
|
2216
2226
|
};
|
|
2217
2227
|
required: string[];
|
|
2218
2228
|
type: string;
|
|
@@ -5846,24 +5856,24 @@ declare const _default: {
|
|
|
5846
5856
|
};
|
|
5847
5857
|
security: ({
|
|
5848
5858
|
api_key: never[];
|
|
5849
|
-
access_token?: never;
|
|
5850
|
-
user_session?: never;
|
|
5851
5859
|
client_session?: never;
|
|
5860
|
+
pat_with_workspace?: never;
|
|
5861
|
+
console_session?: never;
|
|
5852
5862
|
} | {
|
|
5853
|
-
|
|
5863
|
+
client_session: never[];
|
|
5854
5864
|
api_key?: never;
|
|
5855
|
-
|
|
5856
|
-
|
|
5865
|
+
pat_with_workspace?: never;
|
|
5866
|
+
console_session?: never;
|
|
5857
5867
|
} | {
|
|
5858
|
-
|
|
5868
|
+
pat_with_workspace: never[];
|
|
5859
5869
|
api_key?: never;
|
|
5860
|
-
access_token?: never;
|
|
5861
5870
|
client_session?: never;
|
|
5871
|
+
console_session?: never;
|
|
5862
5872
|
} | {
|
|
5863
|
-
|
|
5873
|
+
console_session: never[];
|
|
5864
5874
|
api_key?: never;
|
|
5865
|
-
|
|
5866
|
-
|
|
5875
|
+
client_session?: never;
|
|
5876
|
+
pat_with_workspace?: never;
|
|
5867
5877
|
})[];
|
|
5868
5878
|
summary: string;
|
|
5869
5879
|
tags: never[];
|
|
@@ -9893,6 +9903,9 @@ declare const _default: {
|
|
|
9893
9903
|
action_attempt: {
|
|
9894
9904
|
$ref: string;
|
|
9895
9905
|
};
|
|
9906
|
+
noise_threshold: {
|
|
9907
|
+
$ref: string;
|
|
9908
|
+
};
|
|
9896
9909
|
ok: {
|
|
9897
9910
|
type: string;
|
|
9898
9911
|
};
|
|
@@ -13230,6 +13243,9 @@ declare const _default: {
|
|
|
13230
13243
|
default: boolean;
|
|
13231
13244
|
type: string;
|
|
13232
13245
|
};
|
|
13246
|
+
name: {
|
|
13247
|
+
type: string;
|
|
13248
|
+
};
|
|
13233
13249
|
webview_logo_shape: {
|
|
13234
13250
|
enum: string[];
|
|
13235
13251
|
type: string;
|
|
@@ -13237,9 +13253,6 @@ declare const _default: {
|
|
|
13237
13253
|
webview_primary_button_color: {
|
|
13238
13254
|
type: string;
|
|
13239
13255
|
};
|
|
13240
|
-
workspace_name: {
|
|
13241
|
-
type: string;
|
|
13242
|
-
};
|
|
13243
13256
|
};
|
|
13244
13257
|
required: string[];
|
|
13245
13258
|
type: string;
|
|
@@ -177,6 +177,8 @@ export default {
|
|
|
177
177
|
'salto_site',
|
|
178
178
|
'brivo_system',
|
|
179
179
|
'hid_cm_org',
|
|
180
|
+
'visionline_system',
|
|
181
|
+
'assa_abloy_credential_service_user',
|
|
180
182
|
],
|
|
181
183
|
type: 'string',
|
|
182
184
|
},
|
|
@@ -190,6 +192,8 @@ export default {
|
|
|
190
192
|
'salto_site',
|
|
191
193
|
'brivo_system',
|
|
192
194
|
'hid_cm_org',
|
|
195
|
+
'visionline_system',
|
|
196
|
+
'assa_abloy_credential_service_user',
|
|
193
197
|
],
|
|
194
198
|
type: 'string',
|
|
195
199
|
},
|
|
@@ -1740,6 +1744,12 @@ export default {
|
|
|
1740
1744
|
is_managed: { enum: [false], type: 'boolean' },
|
|
1741
1745
|
properties: {
|
|
1742
1746
|
properties: {
|
|
1747
|
+
battery_level: {
|
|
1748
|
+
description: 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
|
|
1749
|
+
maximum: 1,
|
|
1750
|
+
minimum: 0,
|
|
1751
|
+
type: 'number',
|
|
1752
|
+
},
|
|
1743
1753
|
image_alt_text: { type: 'string' },
|
|
1744
1754
|
image_url: { type: 'string' },
|
|
1745
1755
|
manufacturer: { type: 'string' },
|
|
@@ -1753,6 +1763,10 @@ export default {
|
|
|
1753
1763
|
},
|
|
1754
1764
|
name: { type: 'string' },
|
|
1755
1765
|
online: { type: 'boolean' },
|
|
1766
|
+
online_access_codes_enabled: {
|
|
1767
|
+
description: 'Indicates whether it is currently possible to use online access codes for the device.',
|
|
1768
|
+
type: 'boolean',
|
|
1769
|
+
},
|
|
1756
1770
|
},
|
|
1757
1771
|
required: ['name', 'online', 'model'],
|
|
1758
1772
|
type: 'object',
|
|
@@ -4213,9 +4227,9 @@ export default {
|
|
|
4213
4227
|
},
|
|
4214
4228
|
security: [
|
|
4215
4229
|
{ api_key: [] },
|
|
4216
|
-
{ access_token: [] },
|
|
4217
|
-
{ user_session: [] },
|
|
4218
4230
|
{ client_session: [] },
|
|
4231
|
+
{ pat_with_workspace: [] },
|
|
4232
|
+
{ console_session: [] },
|
|
4219
4233
|
],
|
|
4220
4234
|
summary: '/acs/entrances/list',
|
|
4221
4235
|
tags: [],
|
|
@@ -5471,6 +5485,7 @@ export default {
|
|
|
5471
5485
|
'wyze',
|
|
5472
5486
|
'seam_passport',
|
|
5473
5487
|
'visionline',
|
|
5488
|
+
'assa_abloy_credential_service',
|
|
5474
5489
|
'yale_access',
|
|
5475
5490
|
'hid_cm',
|
|
5476
5491
|
],
|
|
@@ -7396,9 +7411,12 @@ export default {
|
|
|
7396
7411
|
action_attempt: {
|
|
7397
7412
|
$ref: '#/components/schemas/action_attempt',
|
|
7398
7413
|
},
|
|
7414
|
+
noise_threshold: {
|
|
7415
|
+
$ref: '#/components/schemas/noise_threshold',
|
|
7416
|
+
},
|
|
7399
7417
|
ok: { type: 'boolean' },
|
|
7400
7418
|
},
|
|
7401
|
-
required: ['action_attempt', 'ok'],
|
|
7419
|
+
required: ['action_attempt', 'noise_threshold', 'ok'],
|
|
7402
7420
|
type: 'object',
|
|
7403
7421
|
},
|
|
7404
7422
|
},
|
|
@@ -9664,14 +9682,14 @@ export default {
|
|
|
9664
9682
|
type: 'string',
|
|
9665
9683
|
},
|
|
9666
9684
|
is_sandbox: { default: false, type: 'boolean' },
|
|
9685
|
+
name: { type: 'string' },
|
|
9667
9686
|
webview_logo_shape: {
|
|
9668
9687
|
enum: ['circle', 'square'],
|
|
9669
9688
|
type: 'string',
|
|
9670
9689
|
},
|
|
9671
9690
|
webview_primary_button_color: { type: 'string' },
|
|
9672
|
-
workspace_name: { type: 'string' },
|
|
9673
9691
|
},
|
|
9674
|
-
required: ['
|
|
9692
|
+
required: ['name', 'connect_partner_name'],
|
|
9675
9693
|
type: 'object',
|
|
9676
9694
|
},
|
|
9677
9695
|
},
|