@seamapi/types 1.58.1 → 1.59.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 +73 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +139 -5
- package/lib/seam/connect/openapi.d.ts +64 -0
- package/lib/seam/connect/openapi.js +73 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +75 -5
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +4 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +6 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -2
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +45 -0
- package/lib/seam/connect/unstable/models/devices/device-metadata.js +11 -0
- package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +73 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +73 -5
- package/src/lib/seam/connect/route-types.ts +97 -9
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +7 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -2
- package/src/lib/seam/connect/unstable/models/devices/device-metadata.ts +13 -0
package/dist/connect.cjs
CHANGED
|
@@ -222,8 +222,8 @@ var openapi_default = {
|
|
|
222
222
|
"pti_site",
|
|
223
223
|
"alta_org",
|
|
224
224
|
"salto_site",
|
|
225
|
-
"
|
|
226
|
-
"
|
|
225
|
+
"brivo_account",
|
|
226
|
+
"hid_credential_manager_organization",
|
|
227
227
|
"visionline_system",
|
|
228
228
|
"assa_abloy_credential_service_user"
|
|
229
229
|
],
|
|
@@ -237,8 +237,8 @@ var openapi_default = {
|
|
|
237
237
|
"pti_site",
|
|
238
238
|
"alta_org",
|
|
239
239
|
"salto_site",
|
|
240
|
-
"
|
|
241
|
-
"
|
|
240
|
+
"brivo_account",
|
|
241
|
+
"hid_credential_manager_organization",
|
|
242
242
|
"visionline_system",
|
|
243
243
|
"assa_abloy_credential_service_user"
|
|
244
244
|
],
|
|
@@ -787,6 +787,25 @@ var openapi_default = {
|
|
|
787
787
|
device_id: { type: "number" },
|
|
788
788
|
door_id: { type: "number" },
|
|
789
789
|
door_name: { type: "string" },
|
|
790
|
+
iana_timezone: { type: "string" },
|
|
791
|
+
predefined_time_slots: {
|
|
792
|
+
items: {
|
|
793
|
+
properties: {
|
|
794
|
+
check_in_time: { type: "string" },
|
|
795
|
+
check_out_time: { type: "string" },
|
|
796
|
+
name: { type: "string" },
|
|
797
|
+
prefix: { type: "number" }
|
|
798
|
+
},
|
|
799
|
+
required: [
|
|
800
|
+
"name",
|
|
801
|
+
"prefix",
|
|
802
|
+
"check_in_time",
|
|
803
|
+
"check_out_time"
|
|
804
|
+
],
|
|
805
|
+
type: "object"
|
|
806
|
+
},
|
|
807
|
+
type: "array"
|
|
808
|
+
},
|
|
790
809
|
site_id: { type: "number" },
|
|
791
810
|
site_name: { type: "string" }
|
|
792
811
|
},
|
|
@@ -3480,6 +3499,10 @@ var openapi_default = {
|
|
|
3480
3499
|
properties: {
|
|
3481
3500
|
acs_credential: {
|
|
3482
3501
|
properties: {
|
|
3502
|
+
access_method: {
|
|
3503
|
+
enum: ["code", "card", "mobile_key"],
|
|
3504
|
+
type: "string"
|
|
3505
|
+
},
|
|
3483
3506
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3484
3507
|
acs_credential_pool_id: {
|
|
3485
3508
|
format: "uuid",
|
|
@@ -3505,6 +3528,7 @@ var openapi_default = {
|
|
|
3505
3528
|
"acs_credential_id",
|
|
3506
3529
|
"acs_system_id",
|
|
3507
3530
|
"display_name",
|
|
3531
|
+
"access_method",
|
|
3508
3532
|
"external_type",
|
|
3509
3533
|
"external_type_display_name",
|
|
3510
3534
|
"created_at",
|
|
@@ -3557,6 +3581,10 @@ var openapi_default = {
|
|
|
3557
3581
|
properties: {
|
|
3558
3582
|
acs_credential: {
|
|
3559
3583
|
properties: {
|
|
3584
|
+
access_method: {
|
|
3585
|
+
enum: ["code", "card", "mobile_key"],
|
|
3586
|
+
type: "string"
|
|
3587
|
+
},
|
|
3560
3588
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3561
3589
|
acs_credential_pool_id: {
|
|
3562
3590
|
format: "uuid",
|
|
@@ -3582,6 +3610,7 @@ var openapi_default = {
|
|
|
3582
3610
|
"acs_credential_id",
|
|
3583
3611
|
"acs_system_id",
|
|
3584
3612
|
"display_name",
|
|
3613
|
+
"access_method",
|
|
3585
3614
|
"external_type",
|
|
3586
3615
|
"external_type_display_name",
|
|
3587
3616
|
"created_at",
|
|
@@ -3620,10 +3649,14 @@ var openapi_default = {
|
|
|
3620
3649
|
"application/json": {
|
|
3621
3650
|
schema: {
|
|
3622
3651
|
properties: {
|
|
3652
|
+
access_method: {
|
|
3653
|
+
enum: ["code", "card", "mobile_key"],
|
|
3654
|
+
type: "string"
|
|
3655
|
+
},
|
|
3623
3656
|
acs_user_id: { format: "uuid", type: "string" },
|
|
3624
3657
|
code: { pattern: "^\\d+$", type: "string" }
|
|
3625
3658
|
},
|
|
3626
|
-
required: ["acs_user_id", "
|
|
3659
|
+
required: ["acs_user_id", "access_method"],
|
|
3627
3660
|
type: "object"
|
|
3628
3661
|
}
|
|
3629
3662
|
}
|
|
@@ -3637,6 +3670,10 @@ var openapi_default = {
|
|
|
3637
3670
|
properties: {
|
|
3638
3671
|
acs_credential: {
|
|
3639
3672
|
properties: {
|
|
3673
|
+
access_method: {
|
|
3674
|
+
enum: ["code", "card", "mobile_key"],
|
|
3675
|
+
type: "string"
|
|
3676
|
+
},
|
|
3640
3677
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3641
3678
|
acs_credential_pool_id: {
|
|
3642
3679
|
format: "uuid",
|
|
@@ -3662,6 +3699,7 @@ var openapi_default = {
|
|
|
3662
3699
|
"acs_credential_id",
|
|
3663
3700
|
"acs_system_id",
|
|
3664
3701
|
"display_name",
|
|
3702
|
+
"access_method",
|
|
3665
3703
|
"external_type",
|
|
3666
3704
|
"external_type_display_name",
|
|
3667
3705
|
"created_at",
|
|
@@ -3759,6 +3797,10 @@ var openapi_default = {
|
|
|
3759
3797
|
properties: {
|
|
3760
3798
|
acs_credential: {
|
|
3761
3799
|
properties: {
|
|
3800
|
+
access_method: {
|
|
3801
|
+
enum: ["code", "card", "mobile_key"],
|
|
3802
|
+
type: "string"
|
|
3803
|
+
},
|
|
3762
3804
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3763
3805
|
acs_credential_pool_id: {
|
|
3764
3806
|
format: "uuid",
|
|
@@ -3784,6 +3826,7 @@ var openapi_default = {
|
|
|
3784
3826
|
"acs_credential_id",
|
|
3785
3827
|
"acs_system_id",
|
|
3786
3828
|
"display_name",
|
|
3829
|
+
"access_method",
|
|
3787
3830
|
"external_type",
|
|
3788
3831
|
"external_type_display_name",
|
|
3789
3832
|
"created_at",
|
|
@@ -3858,6 +3901,10 @@ var openapi_default = {
|
|
|
3858
3901
|
acs_credentials: {
|
|
3859
3902
|
items: {
|
|
3860
3903
|
properties: {
|
|
3904
|
+
access_method: {
|
|
3905
|
+
enum: ["code", "card", "mobile_key"],
|
|
3906
|
+
type: "string"
|
|
3907
|
+
},
|
|
3861
3908
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3862
3909
|
acs_credential_pool_id: {
|
|
3863
3910
|
format: "uuid",
|
|
@@ -3883,6 +3930,7 @@ var openapi_default = {
|
|
|
3883
3930
|
"acs_credential_id",
|
|
3884
3931
|
"acs_system_id",
|
|
3885
3932
|
"display_name",
|
|
3933
|
+
"access_method",
|
|
3886
3934
|
"external_type",
|
|
3887
3935
|
"external_type_display_name",
|
|
3888
3936
|
"created_at",
|
|
@@ -3941,6 +3989,10 @@ var openapi_default = {
|
|
|
3941
3989
|
properties: {
|
|
3942
3990
|
acs_credential: {
|
|
3943
3991
|
properties: {
|
|
3992
|
+
access_method: {
|
|
3993
|
+
enum: ["code", "card", "mobile_key"],
|
|
3994
|
+
type: "string"
|
|
3995
|
+
},
|
|
3944
3996
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
3945
3997
|
acs_credential_pool_id: {
|
|
3946
3998
|
format: "uuid",
|
|
@@ -3966,6 +4018,7 @@ var openapi_default = {
|
|
|
3966
4018
|
"acs_credential_id",
|
|
3967
4019
|
"acs_system_id",
|
|
3968
4020
|
"display_name",
|
|
4021
|
+
"access_method",
|
|
3969
4022
|
"external_type",
|
|
3970
4023
|
"external_type_display_name",
|
|
3971
4024
|
"created_at",
|
|
@@ -4018,6 +4071,10 @@ var openapi_default = {
|
|
|
4018
4071
|
properties: {
|
|
4019
4072
|
acs_credential: {
|
|
4020
4073
|
properties: {
|
|
4074
|
+
access_method: {
|
|
4075
|
+
enum: ["code", "card", "mobile_key"],
|
|
4076
|
+
type: "string"
|
|
4077
|
+
},
|
|
4021
4078
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
4022
4079
|
acs_credential_pool_id: {
|
|
4023
4080
|
format: "uuid",
|
|
@@ -4043,6 +4100,7 @@ var openapi_default = {
|
|
|
4043
4100
|
"acs_credential_id",
|
|
4044
4101
|
"acs_system_id",
|
|
4045
4102
|
"display_name",
|
|
4103
|
+
"access_method",
|
|
4046
4104
|
"external_type",
|
|
4047
4105
|
"external_type_display_name",
|
|
4048
4106
|
"created_at",
|
|
@@ -4098,6 +4156,10 @@ var openapi_default = {
|
|
|
4098
4156
|
properties: {
|
|
4099
4157
|
acs_credential: {
|
|
4100
4158
|
properties: {
|
|
4159
|
+
access_method: {
|
|
4160
|
+
enum: ["code", "card", "mobile_key"],
|
|
4161
|
+
type: "string"
|
|
4162
|
+
},
|
|
4101
4163
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
4102
4164
|
acs_credential_pool_id: {
|
|
4103
4165
|
format: "uuid",
|
|
@@ -4123,6 +4185,7 @@ var openapi_default = {
|
|
|
4123
4185
|
"acs_credential_id",
|
|
4124
4186
|
"acs_system_id",
|
|
4125
4187
|
"display_name",
|
|
4188
|
+
"access_method",
|
|
4126
4189
|
"external_type",
|
|
4127
4190
|
"external_type_display_name",
|
|
4128
4191
|
"created_at",
|
|
@@ -4175,6 +4238,10 @@ var openapi_default = {
|
|
|
4175
4238
|
properties: {
|
|
4176
4239
|
acs_credential: {
|
|
4177
4240
|
properties: {
|
|
4241
|
+
access_method: {
|
|
4242
|
+
enum: ["code", "card", "mobile_key"],
|
|
4243
|
+
type: "string"
|
|
4244
|
+
},
|
|
4178
4245
|
acs_credential_id: { format: "uuid", type: "string" },
|
|
4179
4246
|
acs_credential_pool_id: {
|
|
4180
4247
|
format: "uuid",
|
|
@@ -4200,6 +4267,7 @@ var openapi_default = {
|
|
|
4200
4267
|
"acs_credential_id",
|
|
4201
4268
|
"acs_system_id",
|
|
4202
4269
|
"display_name",
|
|
4270
|
+
"access_method",
|
|
4203
4271
|
"external_type",
|
|
4204
4272
|
"external_type_display_name",
|
|
4205
4273
|
"created_at",
|