@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
|
@@ -175,8 +175,8 @@ export default {
|
|
|
175
175
|
'pti_site',
|
|
176
176
|
'alta_org',
|
|
177
177
|
'salto_site',
|
|
178
|
-
'
|
|
179
|
-
'
|
|
178
|
+
'brivo_account',
|
|
179
|
+
'hid_credential_manager_organization',
|
|
180
180
|
'visionline_system',
|
|
181
181
|
'assa_abloy_credential_service_user',
|
|
182
182
|
],
|
|
@@ -190,8 +190,8 @@ export default {
|
|
|
190
190
|
'pti_site',
|
|
191
191
|
'alta_org',
|
|
192
192
|
'salto_site',
|
|
193
|
-
'
|
|
194
|
-
'
|
|
193
|
+
'brivo_account',
|
|
194
|
+
'hid_credential_manager_organization',
|
|
195
195
|
'visionline_system',
|
|
196
196
|
'assa_abloy_credential_service_user',
|
|
197
197
|
],
|
|
@@ -740,6 +740,25 @@ export default {
|
|
|
740
740
|
device_id: { type: 'number' },
|
|
741
741
|
door_id: { type: 'number' },
|
|
742
742
|
door_name: { type: 'string' },
|
|
743
|
+
iana_timezone: { type: 'string' },
|
|
744
|
+
predefined_time_slots: {
|
|
745
|
+
items: {
|
|
746
|
+
properties: {
|
|
747
|
+
check_in_time: { type: 'string' },
|
|
748
|
+
check_out_time: { type: 'string' },
|
|
749
|
+
name: { type: 'string' },
|
|
750
|
+
prefix: { type: 'number' },
|
|
751
|
+
},
|
|
752
|
+
required: [
|
|
753
|
+
'name',
|
|
754
|
+
'prefix',
|
|
755
|
+
'check_in_time',
|
|
756
|
+
'check_out_time',
|
|
757
|
+
],
|
|
758
|
+
type: 'object',
|
|
759
|
+
},
|
|
760
|
+
type: 'array',
|
|
761
|
+
},
|
|
743
762
|
site_id: { type: 'number' },
|
|
744
763
|
site_name: { type: 'string' },
|
|
745
764
|
},
|
|
@@ -3433,6 +3452,10 @@ export default {
|
|
|
3433
3452
|
properties: {
|
|
3434
3453
|
acs_credential: {
|
|
3435
3454
|
properties: {
|
|
3455
|
+
access_method: {
|
|
3456
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3457
|
+
type: 'string',
|
|
3458
|
+
},
|
|
3436
3459
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3437
3460
|
acs_credential_pool_id: {
|
|
3438
3461
|
format: 'uuid',
|
|
@@ -3458,6 +3481,7 @@ export default {
|
|
|
3458
3481
|
'acs_credential_id',
|
|
3459
3482
|
'acs_system_id',
|
|
3460
3483
|
'display_name',
|
|
3484
|
+
'access_method',
|
|
3461
3485
|
'external_type',
|
|
3462
3486
|
'external_type_display_name',
|
|
3463
3487
|
'created_at',
|
|
@@ -3510,6 +3534,10 @@ export default {
|
|
|
3510
3534
|
properties: {
|
|
3511
3535
|
acs_credential: {
|
|
3512
3536
|
properties: {
|
|
3537
|
+
access_method: {
|
|
3538
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3539
|
+
type: 'string',
|
|
3540
|
+
},
|
|
3513
3541
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3514
3542
|
acs_credential_pool_id: {
|
|
3515
3543
|
format: 'uuid',
|
|
@@ -3535,6 +3563,7 @@ export default {
|
|
|
3535
3563
|
'acs_credential_id',
|
|
3536
3564
|
'acs_system_id',
|
|
3537
3565
|
'display_name',
|
|
3566
|
+
'access_method',
|
|
3538
3567
|
'external_type',
|
|
3539
3568
|
'external_type_display_name',
|
|
3540
3569
|
'created_at',
|
|
@@ -3573,10 +3602,14 @@ export default {
|
|
|
3573
3602
|
'application/json': {
|
|
3574
3603
|
schema: {
|
|
3575
3604
|
properties: {
|
|
3605
|
+
access_method: {
|
|
3606
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3607
|
+
type: 'string',
|
|
3608
|
+
},
|
|
3576
3609
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3577
3610
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
3578
3611
|
},
|
|
3579
|
-
required: ['acs_user_id', '
|
|
3612
|
+
required: ['acs_user_id', 'access_method'],
|
|
3580
3613
|
type: 'object',
|
|
3581
3614
|
},
|
|
3582
3615
|
},
|
|
@@ -3590,6 +3623,10 @@ export default {
|
|
|
3590
3623
|
properties: {
|
|
3591
3624
|
acs_credential: {
|
|
3592
3625
|
properties: {
|
|
3626
|
+
access_method: {
|
|
3627
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3628
|
+
type: 'string',
|
|
3629
|
+
},
|
|
3593
3630
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3594
3631
|
acs_credential_pool_id: {
|
|
3595
3632
|
format: 'uuid',
|
|
@@ -3615,6 +3652,7 @@ export default {
|
|
|
3615
3652
|
'acs_credential_id',
|
|
3616
3653
|
'acs_system_id',
|
|
3617
3654
|
'display_name',
|
|
3655
|
+
'access_method',
|
|
3618
3656
|
'external_type',
|
|
3619
3657
|
'external_type_display_name',
|
|
3620
3658
|
'created_at',
|
|
@@ -3712,6 +3750,10 @@ export default {
|
|
|
3712
3750
|
properties: {
|
|
3713
3751
|
acs_credential: {
|
|
3714
3752
|
properties: {
|
|
3753
|
+
access_method: {
|
|
3754
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3755
|
+
type: 'string',
|
|
3756
|
+
},
|
|
3715
3757
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3716
3758
|
acs_credential_pool_id: {
|
|
3717
3759
|
format: 'uuid',
|
|
@@ -3737,6 +3779,7 @@ export default {
|
|
|
3737
3779
|
'acs_credential_id',
|
|
3738
3780
|
'acs_system_id',
|
|
3739
3781
|
'display_name',
|
|
3782
|
+
'access_method',
|
|
3740
3783
|
'external_type',
|
|
3741
3784
|
'external_type_display_name',
|
|
3742
3785
|
'created_at',
|
|
@@ -3811,6 +3854,10 @@ export default {
|
|
|
3811
3854
|
acs_credentials: {
|
|
3812
3855
|
items: {
|
|
3813
3856
|
properties: {
|
|
3857
|
+
access_method: {
|
|
3858
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3859
|
+
type: 'string',
|
|
3860
|
+
},
|
|
3814
3861
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3815
3862
|
acs_credential_pool_id: {
|
|
3816
3863
|
format: 'uuid',
|
|
@@ -3836,6 +3883,7 @@ export default {
|
|
|
3836
3883
|
'acs_credential_id',
|
|
3837
3884
|
'acs_system_id',
|
|
3838
3885
|
'display_name',
|
|
3886
|
+
'access_method',
|
|
3839
3887
|
'external_type',
|
|
3840
3888
|
'external_type_display_name',
|
|
3841
3889
|
'created_at',
|
|
@@ -3894,6 +3942,10 @@ export default {
|
|
|
3894
3942
|
properties: {
|
|
3895
3943
|
acs_credential: {
|
|
3896
3944
|
properties: {
|
|
3945
|
+
access_method: {
|
|
3946
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3947
|
+
type: 'string',
|
|
3948
|
+
},
|
|
3897
3949
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3898
3950
|
acs_credential_pool_id: {
|
|
3899
3951
|
format: 'uuid',
|
|
@@ -3919,6 +3971,7 @@ export default {
|
|
|
3919
3971
|
'acs_credential_id',
|
|
3920
3972
|
'acs_system_id',
|
|
3921
3973
|
'display_name',
|
|
3974
|
+
'access_method',
|
|
3922
3975
|
'external_type',
|
|
3923
3976
|
'external_type_display_name',
|
|
3924
3977
|
'created_at',
|
|
@@ -3971,6 +4024,10 @@ export default {
|
|
|
3971
4024
|
properties: {
|
|
3972
4025
|
acs_credential: {
|
|
3973
4026
|
properties: {
|
|
4027
|
+
access_method: {
|
|
4028
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4029
|
+
type: 'string',
|
|
4030
|
+
},
|
|
3974
4031
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3975
4032
|
acs_credential_pool_id: {
|
|
3976
4033
|
format: 'uuid',
|
|
@@ -3996,6 +4053,7 @@ export default {
|
|
|
3996
4053
|
'acs_credential_id',
|
|
3997
4054
|
'acs_system_id',
|
|
3998
4055
|
'display_name',
|
|
4056
|
+
'access_method',
|
|
3999
4057
|
'external_type',
|
|
4000
4058
|
'external_type_display_name',
|
|
4001
4059
|
'created_at',
|
|
@@ -4051,6 +4109,10 @@ export default {
|
|
|
4051
4109
|
properties: {
|
|
4052
4110
|
acs_credential: {
|
|
4053
4111
|
properties: {
|
|
4112
|
+
access_method: {
|
|
4113
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4114
|
+
type: 'string',
|
|
4115
|
+
},
|
|
4054
4116
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4055
4117
|
acs_credential_pool_id: {
|
|
4056
4118
|
format: 'uuid',
|
|
@@ -4076,6 +4138,7 @@ export default {
|
|
|
4076
4138
|
'acs_credential_id',
|
|
4077
4139
|
'acs_system_id',
|
|
4078
4140
|
'display_name',
|
|
4141
|
+
'access_method',
|
|
4079
4142
|
'external_type',
|
|
4080
4143
|
'external_type_display_name',
|
|
4081
4144
|
'created_at',
|
|
@@ -4128,6 +4191,10 @@ export default {
|
|
|
4128
4191
|
properties: {
|
|
4129
4192
|
acs_credential: {
|
|
4130
4193
|
properties: {
|
|
4194
|
+
access_method: {
|
|
4195
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4196
|
+
type: 'string',
|
|
4197
|
+
},
|
|
4131
4198
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4132
4199
|
acs_credential_pool_id: {
|
|
4133
4200
|
format: 'uuid',
|
|
@@ -4153,6 +4220,7 @@ export default {
|
|
|
4153
4220
|
'acs_credential_id',
|
|
4154
4221
|
'acs_system_id',
|
|
4155
4222
|
'display_name',
|
|
4223
|
+
'access_method',
|
|
4156
4224
|
'external_type',
|
|
4157
4225
|
'external_type_display_name',
|
|
4158
4226
|
'created_at',
|