@seamapi/types 1.300.0 → 1.300.2
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 +14 -108
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +44 -51
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -10
- package/lib/seam/connect/models/devices/device-type.js +0 -8
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +3 -3
- package/lib/seam/connect/models/devices/phone.d.ts +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +3 -3
- package/lib/seam/connect/openapi.d.ts +10 -16
- package/lib/seam/connect/openapi.js +6 -91
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -29
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +0 -18
- package/src/lib/seam/connect/openapi.ts +6 -91
- package/src/lib/seam/connect/route-types.ts +3 -29
package/dist/connect.cjs
CHANGED
|
@@ -764,20 +764,11 @@ var PHONE_DEVICE_TYPE_LIST = Object.values(
|
|
|
764
764
|
var phone_device_type = zod.z.enum(
|
|
765
765
|
Object.values(PHONE_DEVICE_TYPE_LIST)
|
|
766
766
|
);
|
|
767
|
-
var ENCODER_DEVICE_TYPE = {
|
|
768
|
-
VISIONLINE_ENCODER: "visionline_encoder",
|
|
769
|
-
ASSA_ABLOY_VOSTIO_ENCODER: "assa_abloy_vostio_encoder"
|
|
770
|
-
};
|
|
771
|
-
var ENCODER_DEVICE_TYPE_LIST = Object.values(ENCODER_DEVICE_TYPE);
|
|
772
|
-
var encoder_device_type = zod.z.enum(
|
|
773
|
-
Object.values(ENCODER_DEVICE_TYPE_LIST)
|
|
774
|
-
);
|
|
775
767
|
var any_device_type = zod.z.union([
|
|
776
768
|
lock_device_type,
|
|
777
769
|
noise_sensor_device_type,
|
|
778
770
|
thermostat_device_type,
|
|
779
|
-
phone_device_type
|
|
780
|
-
encoder_device_type
|
|
771
|
+
phone_device_type
|
|
781
772
|
]);
|
|
782
773
|
var phone_specific_properties = zod.z.object({
|
|
783
774
|
assa_abloy_credential_service_metadata: zod.z.object({
|
|
@@ -6904,11 +6895,7 @@ var openapi_default = {
|
|
|
6904
6895
|
],
|
|
6905
6896
|
type: "string"
|
|
6906
6897
|
},
|
|
6907
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
6908
|
-
{
|
|
6909
|
-
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
6910
|
-
type: "string"
|
|
6911
|
-
}
|
|
6898
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
6912
6899
|
]
|
|
6913
6900
|
},
|
|
6914
6901
|
display_name: {
|
|
@@ -8813,11 +8800,7 @@ var openapi_default = {
|
|
|
8813
8800
|
],
|
|
8814
8801
|
type: "string"
|
|
8815
8802
|
},
|
|
8816
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
8817
|
-
{
|
|
8818
|
-
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
8819
|
-
type: "string"
|
|
8820
|
-
}
|
|
8803
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
8821
8804
|
]
|
|
8822
8805
|
},
|
|
8823
8806
|
errors: {
|
|
@@ -12691,39 +12674,32 @@ var openapi_default = {
|
|
|
12691
12674
|
oneOf: [
|
|
12692
12675
|
{
|
|
12693
12676
|
properties: {
|
|
12694
|
-
|
|
12695
|
-
items: { format: "uuid", type: "string" },
|
|
12696
|
-
type: "array"
|
|
12697
|
-
},
|
|
12698
|
-
acs_system_ids: {
|
|
12699
|
-
items: { format: "uuid", type: "string" },
|
|
12700
|
-
type: "array"
|
|
12701
|
-
},
|
|
12677
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
12702
12678
|
limit: { default: 500, format: "float", type: "number" }
|
|
12703
12679
|
},
|
|
12704
|
-
required: ["
|
|
12680
|
+
required: ["acs_system_id"],
|
|
12705
12681
|
type: "object"
|
|
12706
12682
|
},
|
|
12707
12683
|
{
|
|
12708
12684
|
properties: {
|
|
12709
|
-
|
|
12685
|
+
acs_system_ids: {
|
|
12710
12686
|
items: { format: "uuid", type: "string" },
|
|
12711
12687
|
type: "array"
|
|
12712
12688
|
},
|
|
12713
12689
|
limit: { default: 500, format: "float", type: "number" }
|
|
12714
12690
|
},
|
|
12715
|
-
required: ["
|
|
12691
|
+
required: ["acs_system_ids"],
|
|
12716
12692
|
type: "object"
|
|
12717
12693
|
},
|
|
12718
12694
|
{
|
|
12719
12695
|
properties: {
|
|
12720
|
-
|
|
12696
|
+
acs_encoder_ids: {
|
|
12721
12697
|
items: { format: "uuid", type: "string" },
|
|
12722
12698
|
type: "array"
|
|
12723
12699
|
},
|
|
12724
12700
|
limit: { default: 500, format: "float", type: "number" }
|
|
12725
12701
|
},
|
|
12726
|
-
required: ["
|
|
12702
|
+
required: ["acs_encoder_ids"],
|
|
12727
12703
|
type: "object"
|
|
12728
12704
|
}
|
|
12729
12705
|
]
|
|
@@ -16126,14 +16102,7 @@ var openapi_default = {
|
|
|
16126
16102
|
],
|
|
16127
16103
|
type: "string"
|
|
16128
16104
|
},
|
|
16129
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16130
|
-
{
|
|
16131
|
-
enum: [
|
|
16132
|
-
"visionline_encoder",
|
|
16133
|
-
"assa_abloy_vostio_encoder"
|
|
16134
|
-
],
|
|
16135
|
-
type: "string"
|
|
16136
|
-
}
|
|
16105
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16137
16106
|
]
|
|
16138
16107
|
},
|
|
16139
16108
|
device_types: {
|
|
@@ -16187,13 +16156,6 @@ var openapi_default = {
|
|
|
16187
16156
|
{
|
|
16188
16157
|
enum: ["ios_phone", "android_phone"],
|
|
16189
16158
|
type: "string"
|
|
16190
|
-
},
|
|
16191
|
-
{
|
|
16192
|
-
enum: [
|
|
16193
|
-
"visionline_encoder",
|
|
16194
|
-
"assa_abloy_vostio_encoder"
|
|
16195
|
-
],
|
|
16196
|
-
type: "string"
|
|
16197
16159
|
}
|
|
16198
16160
|
]
|
|
16199
16161
|
},
|
|
@@ -16655,14 +16617,7 @@ var openapi_default = {
|
|
|
16655
16617
|
],
|
|
16656
16618
|
type: "string"
|
|
16657
16619
|
},
|
|
16658
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16659
|
-
{
|
|
16660
|
-
enum: [
|
|
16661
|
-
"visionline_encoder",
|
|
16662
|
-
"assa_abloy_vostio_encoder"
|
|
16663
|
-
],
|
|
16664
|
-
type: "string"
|
|
16665
|
-
}
|
|
16620
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16666
16621
|
]
|
|
16667
16622
|
},
|
|
16668
16623
|
device_types: {
|
|
@@ -16716,13 +16671,6 @@ var openapi_default = {
|
|
|
16716
16671
|
{
|
|
16717
16672
|
enum: ["ios_phone", "android_phone"],
|
|
16718
16673
|
type: "string"
|
|
16719
|
-
},
|
|
16720
|
-
{
|
|
16721
|
-
enum: [
|
|
16722
|
-
"visionline_encoder",
|
|
16723
|
-
"assa_abloy_vostio_encoder"
|
|
16724
|
-
],
|
|
16725
|
-
type: "string"
|
|
16726
16674
|
}
|
|
16727
16675
|
]
|
|
16728
16676
|
},
|
|
@@ -17487,14 +17435,7 @@ var openapi_default = {
|
|
|
17487
17435
|
],
|
|
17488
17436
|
type: "string"
|
|
17489
17437
|
},
|
|
17490
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17491
|
-
{
|
|
17492
|
-
enum: [
|
|
17493
|
-
"visionline_encoder",
|
|
17494
|
-
"assa_abloy_vostio_encoder"
|
|
17495
|
-
],
|
|
17496
|
-
type: "string"
|
|
17497
|
-
}
|
|
17438
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17498
17439
|
]
|
|
17499
17440
|
},
|
|
17500
17441
|
device_types: {
|
|
@@ -17548,13 +17489,6 @@ var openapi_default = {
|
|
|
17548
17489
|
{
|
|
17549
17490
|
enum: ["ios_phone", "android_phone"],
|
|
17550
17491
|
type: "string"
|
|
17551
|
-
},
|
|
17552
|
-
{
|
|
17553
|
-
enum: [
|
|
17554
|
-
"visionline_encoder",
|
|
17555
|
-
"assa_abloy_vostio_encoder"
|
|
17556
|
-
],
|
|
17557
|
-
type: "string"
|
|
17558
17492
|
}
|
|
17559
17493
|
]
|
|
17560
17494
|
},
|
|
@@ -17977,14 +17911,7 @@ var openapi_default = {
|
|
|
17977
17911
|
],
|
|
17978
17912
|
type: "string"
|
|
17979
17913
|
},
|
|
17980
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17981
|
-
{
|
|
17982
|
-
enum: [
|
|
17983
|
-
"visionline_encoder",
|
|
17984
|
-
"assa_abloy_vostio_encoder"
|
|
17985
|
-
],
|
|
17986
|
-
type: "string"
|
|
17987
|
-
}
|
|
17914
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17988
17915
|
]
|
|
17989
17916
|
},
|
|
17990
17917
|
device_types: {
|
|
@@ -18038,13 +17965,6 @@ var openapi_default = {
|
|
|
18038
17965
|
{
|
|
18039
17966
|
enum: ["ios_phone", "android_phone"],
|
|
18040
17967
|
type: "string"
|
|
18041
|
-
},
|
|
18042
|
-
{
|
|
18043
|
-
enum: [
|
|
18044
|
-
"visionline_encoder",
|
|
18045
|
-
"assa_abloy_vostio_encoder"
|
|
18046
|
-
],
|
|
18047
|
-
type: "string"
|
|
18048
17968
|
}
|
|
18049
17969
|
]
|
|
18050
17970
|
},
|
|
@@ -19362,14 +19282,7 @@ var openapi_default = {
|
|
|
19362
19282
|
],
|
|
19363
19283
|
type: "string"
|
|
19364
19284
|
},
|
|
19365
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
19366
|
-
{
|
|
19367
|
-
enum: [
|
|
19368
|
-
"visionline_encoder",
|
|
19369
|
-
"assa_abloy_vostio_encoder"
|
|
19370
|
-
],
|
|
19371
|
-
type: "string"
|
|
19372
|
-
}
|
|
19285
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
19373
19286
|
]
|
|
19374
19287
|
},
|
|
19375
19288
|
device_types: {
|
|
@@ -19423,13 +19336,6 @@ var openapi_default = {
|
|
|
19423
19336
|
{
|
|
19424
19337
|
enum: ["ios_phone", "android_phone"],
|
|
19425
19338
|
type: "string"
|
|
19426
|
-
},
|
|
19427
|
-
{
|
|
19428
|
-
enum: [
|
|
19429
|
-
"visionline_encoder",
|
|
19430
|
-
"assa_abloy_vostio_encoder"
|
|
19431
|
-
],
|
|
19432
|
-
type: "string"
|
|
19433
19339
|
}
|
|
19434
19340
|
]
|
|
19435
19341
|
},
|