@seamapi/types 1.299.0 → 1.300.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 +20 -101
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +56 -53
- package/lib/seam/connect/models/acs/acs-user.d.ts +10 -10
- 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/models/schedule.d.ts +6 -6
- package/lib/seam/connect/models/schedule.js +2 -1
- package/lib/seam/connect/models/schedule.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +4 -1
- package/lib/seam/connect/openapi.js +11 -83
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -36
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +0 -18
- package/src/lib/seam/connect/models/schedule.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +11 -83
- package/src/lib/seam/connect/route-types.ts +11 -36
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({
|
|
@@ -1597,7 +1588,7 @@ var start_end_schedule = zod.z.object({
|
|
|
1597
1588
|
),
|
|
1598
1589
|
ends_at: zod.z.string().datetime().describe(
|
|
1599
1590
|
"Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format."
|
|
1600
|
-
)
|
|
1591
|
+
).nullable()
|
|
1601
1592
|
});
|
|
1602
1593
|
var schedule = start_end_schedule;
|
|
1603
1594
|
|
|
@@ -3812,6 +3803,7 @@ var openapi_default = {
|
|
|
3812
3803
|
ends_at: {
|
|
3813
3804
|
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
3814
3805
|
format: "date-time",
|
|
3806
|
+
nullable: true,
|
|
3815
3807
|
type: "string"
|
|
3816
3808
|
},
|
|
3817
3809
|
starts_at: {
|
|
@@ -6903,11 +6895,7 @@ var openapi_default = {
|
|
|
6903
6895
|
],
|
|
6904
6896
|
type: "string"
|
|
6905
6897
|
},
|
|
6906
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
6907
|
-
{
|
|
6908
|
-
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
6909
|
-
type: "string"
|
|
6910
|
-
}
|
|
6898
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
6911
6899
|
]
|
|
6912
6900
|
},
|
|
6913
6901
|
display_name: {
|
|
@@ -8812,11 +8800,7 @@ var openapi_default = {
|
|
|
8812
8800
|
],
|
|
8813
8801
|
type: "string"
|
|
8814
8802
|
},
|
|
8815
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
8816
|
-
{
|
|
8817
|
-
enum: ["visionline_encoder", "assa_abloy_vostio_encoder"],
|
|
8818
|
-
type: "string"
|
|
8819
|
-
}
|
|
8803
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
8820
8804
|
]
|
|
8821
8805
|
},
|
|
8822
8806
|
errors: {
|
|
@@ -13394,12 +13378,15 @@ var openapi_default = {
|
|
|
13394
13378
|
schema: {
|
|
13395
13379
|
properties: {
|
|
13396
13380
|
access_schedule: {
|
|
13397
|
-
description: "`starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you
|
|
13381
|
+
description: "`starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you may include both `starts_at` and `ends_at`. `starts_at` defaults to the current time if not provided. `ends_at` is optional and must be a time in the future and after `starts_at`.",
|
|
13398
13382
|
properties: {
|
|
13399
|
-
ends_at: {
|
|
13383
|
+
ends_at: {
|
|
13384
|
+
format: "date-time",
|
|
13385
|
+
nullable: true,
|
|
13386
|
+
type: "string"
|
|
13387
|
+
},
|
|
13400
13388
|
starts_at: { format: "date-time", type: "string" }
|
|
13401
13389
|
},
|
|
13402
|
-
required: ["starts_at", "ends_at"],
|
|
13403
13390
|
type: "object"
|
|
13404
13391
|
},
|
|
13405
13392
|
acs_access_group_ids: {
|
|
@@ -13894,6 +13881,7 @@ var openapi_default = {
|
|
|
13894
13881
|
ends_at: {
|
|
13895
13882
|
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
13896
13883
|
format: "date-time",
|
|
13884
|
+
nullable: true,
|
|
13897
13885
|
type: "string"
|
|
13898
13886
|
},
|
|
13899
13887
|
starts_at: {
|
|
@@ -14252,6 +14240,7 @@ var openapi_default = {
|
|
|
14252
14240
|
ends_at: {
|
|
14253
14241
|
description: "Date and time at which the user's access ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14254
14242
|
format: "date-time",
|
|
14243
|
+
nullable: true,
|
|
14255
14244
|
type: "string"
|
|
14256
14245
|
},
|
|
14257
14246
|
starts_at: {
|
|
@@ -14638,7 +14627,7 @@ var openapi_default = {
|
|
|
14638
14627
|
schema: {
|
|
14639
14628
|
properties: {
|
|
14640
14629
|
access_schedule: {
|
|
14641
|
-
description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.
|
|
14630
|
+
description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.",
|
|
14642
14631
|
nullable: true,
|
|
14643
14632
|
properties: {
|
|
14644
14633
|
ends_at: { format: "date-time", type: "string" },
|
|
@@ -14715,7 +14704,7 @@ var openapi_default = {
|
|
|
14715
14704
|
schema: {
|
|
14716
14705
|
properties: {
|
|
14717
14706
|
access_schedule: {
|
|
14718
|
-
description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.
|
|
14707
|
+
description: "`starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`.",
|
|
14719
14708
|
nullable: true,
|
|
14720
14709
|
properties: {
|
|
14721
14710
|
ends_at: { format: "date-time", type: "string" },
|
|
@@ -16120,14 +16109,7 @@ var openapi_default = {
|
|
|
16120
16109
|
],
|
|
16121
16110
|
type: "string"
|
|
16122
16111
|
},
|
|
16123
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16124
|
-
{
|
|
16125
|
-
enum: [
|
|
16126
|
-
"visionline_encoder",
|
|
16127
|
-
"assa_abloy_vostio_encoder"
|
|
16128
|
-
],
|
|
16129
|
-
type: "string"
|
|
16130
|
-
}
|
|
16112
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16131
16113
|
]
|
|
16132
16114
|
},
|
|
16133
16115
|
device_types: {
|
|
@@ -16181,13 +16163,6 @@ var openapi_default = {
|
|
|
16181
16163
|
{
|
|
16182
16164
|
enum: ["ios_phone", "android_phone"],
|
|
16183
16165
|
type: "string"
|
|
16184
|
-
},
|
|
16185
|
-
{
|
|
16186
|
-
enum: [
|
|
16187
|
-
"visionline_encoder",
|
|
16188
|
-
"assa_abloy_vostio_encoder"
|
|
16189
|
-
],
|
|
16190
|
-
type: "string"
|
|
16191
16166
|
}
|
|
16192
16167
|
]
|
|
16193
16168
|
},
|
|
@@ -16649,14 +16624,7 @@ var openapi_default = {
|
|
|
16649
16624
|
],
|
|
16650
16625
|
type: "string"
|
|
16651
16626
|
},
|
|
16652
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16653
|
-
{
|
|
16654
|
-
enum: [
|
|
16655
|
-
"visionline_encoder",
|
|
16656
|
-
"assa_abloy_vostio_encoder"
|
|
16657
|
-
],
|
|
16658
|
-
type: "string"
|
|
16659
|
-
}
|
|
16627
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
16660
16628
|
]
|
|
16661
16629
|
},
|
|
16662
16630
|
device_types: {
|
|
@@ -16710,13 +16678,6 @@ var openapi_default = {
|
|
|
16710
16678
|
{
|
|
16711
16679
|
enum: ["ios_phone", "android_phone"],
|
|
16712
16680
|
type: "string"
|
|
16713
|
-
},
|
|
16714
|
-
{
|
|
16715
|
-
enum: [
|
|
16716
|
-
"visionline_encoder",
|
|
16717
|
-
"assa_abloy_vostio_encoder"
|
|
16718
|
-
],
|
|
16719
|
-
type: "string"
|
|
16720
16681
|
}
|
|
16721
16682
|
]
|
|
16722
16683
|
},
|
|
@@ -17481,14 +17442,7 @@ var openapi_default = {
|
|
|
17481
17442
|
],
|
|
17482
17443
|
type: "string"
|
|
17483
17444
|
},
|
|
17484
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17485
|
-
{
|
|
17486
|
-
enum: [
|
|
17487
|
-
"visionline_encoder",
|
|
17488
|
-
"assa_abloy_vostio_encoder"
|
|
17489
|
-
],
|
|
17490
|
-
type: "string"
|
|
17491
|
-
}
|
|
17445
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17492
17446
|
]
|
|
17493
17447
|
},
|
|
17494
17448
|
device_types: {
|
|
@@ -17542,13 +17496,6 @@ var openapi_default = {
|
|
|
17542
17496
|
{
|
|
17543
17497
|
enum: ["ios_phone", "android_phone"],
|
|
17544
17498
|
type: "string"
|
|
17545
|
-
},
|
|
17546
|
-
{
|
|
17547
|
-
enum: [
|
|
17548
|
-
"visionline_encoder",
|
|
17549
|
-
"assa_abloy_vostio_encoder"
|
|
17550
|
-
],
|
|
17551
|
-
type: "string"
|
|
17552
17499
|
}
|
|
17553
17500
|
]
|
|
17554
17501
|
},
|
|
@@ -17971,14 +17918,7 @@ var openapi_default = {
|
|
|
17971
17918
|
],
|
|
17972
17919
|
type: "string"
|
|
17973
17920
|
},
|
|
17974
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17975
|
-
{
|
|
17976
|
-
enum: [
|
|
17977
|
-
"visionline_encoder",
|
|
17978
|
-
"assa_abloy_vostio_encoder"
|
|
17979
|
-
],
|
|
17980
|
-
type: "string"
|
|
17981
|
-
}
|
|
17921
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
17982
17922
|
]
|
|
17983
17923
|
},
|
|
17984
17924
|
device_types: {
|
|
@@ -18032,13 +17972,6 @@ var openapi_default = {
|
|
|
18032
17972
|
{
|
|
18033
17973
|
enum: ["ios_phone", "android_phone"],
|
|
18034
17974
|
type: "string"
|
|
18035
|
-
},
|
|
18036
|
-
{
|
|
18037
|
-
enum: [
|
|
18038
|
-
"visionline_encoder",
|
|
18039
|
-
"assa_abloy_vostio_encoder"
|
|
18040
|
-
],
|
|
18041
|
-
type: "string"
|
|
18042
17975
|
}
|
|
18043
17976
|
]
|
|
18044
17977
|
},
|
|
@@ -19356,14 +19289,7 @@ var openapi_default = {
|
|
|
19356
19289
|
],
|
|
19357
19290
|
type: "string"
|
|
19358
19291
|
},
|
|
19359
|
-
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
19360
|
-
{
|
|
19361
|
-
enum: [
|
|
19362
|
-
"visionline_encoder",
|
|
19363
|
-
"assa_abloy_vostio_encoder"
|
|
19364
|
-
],
|
|
19365
|
-
type: "string"
|
|
19366
|
-
}
|
|
19292
|
+
{ enum: ["ios_phone", "android_phone"], type: "string" }
|
|
19367
19293
|
]
|
|
19368
19294
|
},
|
|
19369
19295
|
device_types: {
|
|
@@ -19417,13 +19343,6 @@ var openapi_default = {
|
|
|
19417
19343
|
{
|
|
19418
19344
|
enum: ["ios_phone", "android_phone"],
|
|
19419
19345
|
type: "string"
|
|
19420
|
-
},
|
|
19421
|
-
{
|
|
19422
|
-
enum: [
|
|
19423
|
-
"visionline_encoder",
|
|
19424
|
-
"assa_abloy_vostio_encoder"
|
|
19425
|
-
],
|
|
19426
|
-
type: "string"
|
|
19427
19346
|
}
|
|
19428
19347
|
]
|
|
19429
19348
|
},
|