@seamapi/types 1.264.2 → 1.266.0
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 +42 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +112 -33
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -5
- package/lib/seam/connect/models/acs/acs-credential.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +6 -0
- package/lib/seam/connect/models/acs/acs-system.js +14 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -9
- package/lib/seam/connect/models/action-attempts/scan-card.d.ts +18 -9
- package/lib/seam/connect/openapi.d.ts +31 -4
- package/lib/seam/connect/openapi.js +26 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +57 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-system.ts +16 -0
- package/src/lib/seam/connect/openapi.ts +31 -5
- package/src/lib/seam/connect/route-types.ts +57 -20
|
@@ -100,7 +100,6 @@ export interface Routes {
|
|
|
100
100
|
card_number: string | null;
|
|
101
101
|
visionline_metadata?: {
|
|
102
102
|
card_id: string;
|
|
103
|
-
card_function_type: 'guest' | 'staff';
|
|
104
103
|
cancelled: boolean;
|
|
105
104
|
discarded: boolean;
|
|
106
105
|
expired: boolean;
|
|
@@ -110,6 +109,8 @@ export interface Routes {
|
|
|
110
109
|
card_format: 'TLCode' | 'rfid48';
|
|
111
110
|
card_holder?: string | undefined;
|
|
112
111
|
number_of_issued_cards: number;
|
|
112
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
113
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
113
114
|
} | undefined;
|
|
114
115
|
};
|
|
115
116
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -812,7 +813,6 @@ export interface Routes {
|
|
|
812
813
|
card_number: string | null;
|
|
813
814
|
visionline_metadata?: {
|
|
814
815
|
card_id: string;
|
|
815
|
-
card_function_type: 'guest' | 'staff';
|
|
816
816
|
cancelled: boolean;
|
|
817
817
|
discarded: boolean;
|
|
818
818
|
expired: boolean;
|
|
@@ -822,6 +822,8 @@ export interface Routes {
|
|
|
822
822
|
card_format: 'TLCode' | 'rfid48';
|
|
823
823
|
card_holder?: string | undefined;
|
|
824
824
|
number_of_issued_cards: number;
|
|
825
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
826
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
825
827
|
} | undefined;
|
|
826
828
|
};
|
|
827
829
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -1681,7 +1683,6 @@ export interface Routes {
|
|
|
1681
1683
|
card_number: string | null;
|
|
1682
1684
|
visionline_metadata?: {
|
|
1683
1685
|
card_id: string;
|
|
1684
|
-
card_function_type: 'guest' | 'staff';
|
|
1685
1686
|
cancelled: boolean;
|
|
1686
1687
|
discarded: boolean;
|
|
1687
1688
|
expired: boolean;
|
|
@@ -1691,6 +1692,8 @@ export interface Routes {
|
|
|
1691
1692
|
card_format: 'TLCode' | 'rfid48';
|
|
1692
1693
|
card_holder?: string | undefined;
|
|
1693
1694
|
number_of_issued_cards: number;
|
|
1695
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
1696
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
1694
1697
|
} | undefined;
|
|
1695
1698
|
};
|
|
1696
1699
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -2380,7 +2383,6 @@ export interface Routes {
|
|
|
2380
2383
|
card_number: string | null;
|
|
2381
2384
|
visionline_metadata?: {
|
|
2382
2385
|
card_id: string;
|
|
2383
|
-
card_function_type: 'guest' | 'staff';
|
|
2384
2386
|
cancelled: boolean;
|
|
2385
2387
|
discarded: boolean;
|
|
2386
2388
|
expired: boolean;
|
|
@@ -2390,6 +2392,8 @@ export interface Routes {
|
|
|
2390
2392
|
card_format: 'TLCode' | 'rfid48';
|
|
2391
2393
|
card_holder?: string | undefined;
|
|
2392
2394
|
number_of_issued_cards: number;
|
|
2395
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
2396
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
2393
2397
|
} | undefined;
|
|
2394
2398
|
};
|
|
2395
2399
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -3823,7 +3827,6 @@ export interface Routes {
|
|
|
3823
3827
|
card_number: string | null;
|
|
3824
3828
|
visionline_metadata?: {
|
|
3825
3829
|
card_id: string;
|
|
3826
|
-
card_function_type: 'guest' | 'staff';
|
|
3827
3830
|
cancelled: boolean;
|
|
3828
3831
|
discarded: boolean;
|
|
3829
3832
|
expired: boolean;
|
|
@@ -3833,6 +3836,8 @@ export interface Routes {
|
|
|
3833
3836
|
card_format: 'TLCode' | 'rfid48';
|
|
3834
3837
|
card_holder?: string | undefined;
|
|
3835
3838
|
number_of_issued_cards: number;
|
|
3839
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
3840
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
3836
3841
|
} | undefined;
|
|
3837
3842
|
};
|
|
3838
3843
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -4848,7 +4853,6 @@ export interface Routes {
|
|
|
4848
4853
|
card_number: string | null;
|
|
4849
4854
|
visionline_metadata?: {
|
|
4850
4855
|
card_id: string;
|
|
4851
|
-
card_function_type: 'guest' | 'staff';
|
|
4852
4856
|
cancelled: boolean;
|
|
4853
4857
|
discarded: boolean;
|
|
4854
4858
|
expired: boolean;
|
|
@@ -4858,6 +4862,8 @@ export interface Routes {
|
|
|
4858
4862
|
card_format: 'TLCode' | 'rfid48';
|
|
4859
4863
|
card_holder?: string | undefined;
|
|
4860
4864
|
number_of_issued_cards: number;
|
|
4865
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
4866
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
4861
4867
|
} | undefined;
|
|
4862
4868
|
};
|
|
4863
4869
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -5504,12 +5510,16 @@ export interface Routes {
|
|
|
5504
5510
|
jsonResponse: {
|
|
5505
5511
|
/** Represents an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
|
|
5506
5512
|
acs_system: {
|
|
5513
|
+
/** ID of the default credential manager acs_system for this access control system. */
|
|
5514
|
+
default_credential_manager_acs_system_id?: (string | null) | undefined;
|
|
5507
5515
|
/** ID of the `acs_system`. */
|
|
5508
5516
|
acs_system_id: string;
|
|
5509
5517
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
5510
5518
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5511
5519
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5512
5520
|
external_type_display_name?: string | undefined;
|
|
5521
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5522
|
+
is_credential_manager: boolean;
|
|
5513
5523
|
visionline_metadata?: {
|
|
5514
5524
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5515
5525
|
mobile_access_uuid: string;
|
|
@@ -5605,12 +5615,16 @@ export interface Routes {
|
|
|
5605
5615
|
formData: {};
|
|
5606
5616
|
jsonResponse: {
|
|
5607
5617
|
acs_systems: Array<{
|
|
5618
|
+
/** ID of the default credential manager acs_system for this access control system. */
|
|
5619
|
+
default_credential_manager_acs_system_id?: (string | null) | undefined;
|
|
5608
5620
|
/** ID of the `acs_system`. */
|
|
5609
5621
|
acs_system_id: string;
|
|
5610
5622
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
5611
5623
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5612
5624
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5613
5625
|
external_type_display_name?: string | undefined;
|
|
5626
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5627
|
+
is_credential_manager: boolean;
|
|
5614
5628
|
visionline_metadata?: {
|
|
5615
5629
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5616
5630
|
mobile_access_uuid: string;
|
|
@@ -5706,12 +5720,16 @@ export interface Routes {
|
|
|
5706
5720
|
formData: {};
|
|
5707
5721
|
jsonResponse: {
|
|
5708
5722
|
acs_systems: Array<{
|
|
5723
|
+
/** ID of the default credential manager acs_system for this access control system. */
|
|
5724
|
+
default_credential_manager_acs_system_id?: (string | null) | undefined;
|
|
5709
5725
|
/** ID of the `acs_system`. */
|
|
5710
5726
|
acs_system_id: string;
|
|
5711
5727
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
5712
5728
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5713
5729
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5714
5730
|
external_type_display_name?: string | undefined;
|
|
5731
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5732
|
+
is_credential_manager: boolean;
|
|
5715
5733
|
visionline_metadata?: {
|
|
5716
5734
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5717
5735
|
mobile_access_uuid: string;
|
|
@@ -6567,7 +6585,6 @@ export interface Routes {
|
|
|
6567
6585
|
card_number: string | null;
|
|
6568
6586
|
visionline_metadata?: {
|
|
6569
6587
|
card_id: string;
|
|
6570
|
-
card_function_type: 'guest' | 'staff';
|
|
6571
6588
|
cancelled: boolean;
|
|
6572
6589
|
discarded: boolean;
|
|
6573
6590
|
expired: boolean;
|
|
@@ -6577,6 +6594,8 @@ export interface Routes {
|
|
|
6577
6594
|
card_format: 'TLCode' | 'rfid48';
|
|
6578
6595
|
card_holder?: string | undefined;
|
|
6579
6596
|
number_of_issued_cards: number;
|
|
6597
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
6598
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
6580
6599
|
} | undefined;
|
|
6581
6600
|
};
|
|
6582
6601
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -7128,7 +7147,6 @@ export interface Routes {
|
|
|
7128
7147
|
card_number: string | null;
|
|
7129
7148
|
visionline_metadata?: {
|
|
7130
7149
|
card_id: string;
|
|
7131
|
-
card_function_type: 'guest' | 'staff';
|
|
7132
7150
|
cancelled: boolean;
|
|
7133
7151
|
discarded: boolean;
|
|
7134
7152
|
expired: boolean;
|
|
@@ -7138,6 +7156,8 @@ export interface Routes {
|
|
|
7138
7156
|
card_format: 'TLCode' | 'rfid48';
|
|
7139
7157
|
card_holder?: string | undefined;
|
|
7140
7158
|
number_of_issued_cards: number;
|
|
7159
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
7160
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
7141
7161
|
} | undefined;
|
|
7142
7162
|
};
|
|
7143
7163
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -11241,7 +11261,6 @@ export interface Routes {
|
|
|
11241
11261
|
card_number: string | null;
|
|
11242
11262
|
visionline_metadata?: {
|
|
11243
11263
|
card_id: string;
|
|
11244
|
-
card_function_type: 'guest' | 'staff';
|
|
11245
11264
|
cancelled: boolean;
|
|
11246
11265
|
discarded: boolean;
|
|
11247
11266
|
expired: boolean;
|
|
@@ -11251,6 +11270,8 @@ export interface Routes {
|
|
|
11251
11270
|
card_format: 'TLCode' | 'rfid48';
|
|
11252
11271
|
card_holder?: string | undefined;
|
|
11253
11272
|
number_of_issued_cards: number;
|
|
11273
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
11274
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
11254
11275
|
} | undefined;
|
|
11255
11276
|
};
|
|
11256
11277
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -11803,7 +11824,6 @@ export interface Routes {
|
|
|
11803
11824
|
card_number: string | null;
|
|
11804
11825
|
visionline_metadata?: {
|
|
11805
11826
|
card_id: string;
|
|
11806
|
-
card_function_type: 'guest' | 'staff';
|
|
11807
11827
|
cancelled: boolean;
|
|
11808
11828
|
discarded: boolean;
|
|
11809
11829
|
expired: boolean;
|
|
@@ -11813,6 +11833,8 @@ export interface Routes {
|
|
|
11813
11833
|
card_format: 'TLCode' | 'rfid48';
|
|
11814
11834
|
card_holder?: string | undefined;
|
|
11815
11835
|
number_of_issued_cards: number;
|
|
11836
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
11837
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
11816
11838
|
} | undefined;
|
|
11817
11839
|
};
|
|
11818
11840
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -13309,7 +13331,6 @@ export interface Routes {
|
|
|
13309
13331
|
card_number: string | null;
|
|
13310
13332
|
visionline_metadata?: {
|
|
13311
13333
|
card_id: string;
|
|
13312
|
-
card_function_type: 'guest' | 'staff';
|
|
13313
13334
|
cancelled: boolean;
|
|
13314
13335
|
discarded: boolean;
|
|
13315
13336
|
expired: boolean;
|
|
@@ -13319,6 +13340,8 @@ export interface Routes {
|
|
|
13319
13340
|
card_format: 'TLCode' | 'rfid48';
|
|
13320
13341
|
card_holder?: string | undefined;
|
|
13321
13342
|
number_of_issued_cards: number;
|
|
13343
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
13344
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
13322
13345
|
} | undefined;
|
|
13323
13346
|
};
|
|
13324
13347
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -13881,7 +13904,6 @@ export interface Routes {
|
|
|
13881
13904
|
card_number: string | null;
|
|
13882
13905
|
visionline_metadata?: {
|
|
13883
13906
|
card_id: string;
|
|
13884
|
-
card_function_type: 'guest' | 'staff';
|
|
13885
13907
|
cancelled: boolean;
|
|
13886
13908
|
discarded: boolean;
|
|
13887
13909
|
expired: boolean;
|
|
@@ -13891,6 +13913,8 @@ export interface Routes {
|
|
|
13891
13913
|
card_format: 'TLCode' | 'rfid48';
|
|
13892
13914
|
card_holder?: string | undefined;
|
|
13893
13915
|
number_of_issued_cards: number;
|
|
13916
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
13917
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
13894
13918
|
} | undefined;
|
|
13895
13919
|
};
|
|
13896
13920
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -14492,7 +14516,6 @@ export interface Routes {
|
|
|
14492
14516
|
card_number: string | null;
|
|
14493
14517
|
visionline_metadata?: {
|
|
14494
14518
|
card_id: string;
|
|
14495
|
-
card_function_type: 'guest' | 'staff';
|
|
14496
14519
|
cancelled: boolean;
|
|
14497
14520
|
discarded: boolean;
|
|
14498
14521
|
expired: boolean;
|
|
@@ -14502,6 +14525,8 @@ export interface Routes {
|
|
|
14502
14525
|
card_format: 'TLCode' | 'rfid48';
|
|
14503
14526
|
card_holder?: string | undefined;
|
|
14504
14527
|
number_of_issued_cards: number;
|
|
14528
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
14529
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
14505
14530
|
} | undefined;
|
|
14506
14531
|
};
|
|
14507
14532
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -15236,7 +15261,6 @@ export interface Routes {
|
|
|
15236
15261
|
card_number: string | null;
|
|
15237
15262
|
visionline_metadata?: {
|
|
15238
15263
|
card_id: string;
|
|
15239
|
-
card_function_type: 'guest' | 'staff';
|
|
15240
15264
|
cancelled: boolean;
|
|
15241
15265
|
discarded: boolean;
|
|
15242
15266
|
expired: boolean;
|
|
@@ -15246,6 +15270,8 @@ export interface Routes {
|
|
|
15246
15270
|
card_format: 'TLCode' | 'rfid48';
|
|
15247
15271
|
card_holder?: string | undefined;
|
|
15248
15272
|
number_of_issued_cards: number;
|
|
15273
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
15274
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
15249
15275
|
} | undefined;
|
|
15250
15276
|
};
|
|
15251
15277
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -15800,7 +15826,6 @@ export interface Routes {
|
|
|
15800
15826
|
card_number: string | null;
|
|
15801
15827
|
visionline_metadata?: {
|
|
15802
15828
|
card_id: string;
|
|
15803
|
-
card_function_type: 'guest' | 'staff';
|
|
15804
15829
|
cancelled: boolean;
|
|
15805
15830
|
discarded: boolean;
|
|
15806
15831
|
expired: boolean;
|
|
@@ -15810,6 +15835,8 @@ export interface Routes {
|
|
|
15810
15835
|
card_format: 'TLCode' | 'rfid48';
|
|
15811
15836
|
card_holder?: string | undefined;
|
|
15812
15837
|
number_of_issued_cards: number;
|
|
15838
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
15839
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
15813
15840
|
} | undefined;
|
|
15814
15841
|
};
|
|
15815
15842
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -16849,7 +16876,6 @@ export interface Routes {
|
|
|
16849
16876
|
card_number: string | null;
|
|
16850
16877
|
visionline_metadata?: {
|
|
16851
16878
|
card_id: string;
|
|
16852
|
-
card_function_type: 'guest' | 'staff';
|
|
16853
16879
|
cancelled: boolean;
|
|
16854
16880
|
discarded: boolean;
|
|
16855
16881
|
expired: boolean;
|
|
@@ -16859,6 +16885,8 @@ export interface Routes {
|
|
|
16859
16885
|
card_format: 'TLCode' | 'rfid48';
|
|
16860
16886
|
card_holder?: string | undefined;
|
|
16861
16887
|
number_of_issued_cards: number;
|
|
16888
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
16889
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
16862
16890
|
} | undefined;
|
|
16863
16891
|
};
|
|
16864
16892
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -17415,7 +17443,6 @@ export interface Routes {
|
|
|
17415
17443
|
card_number: string | null;
|
|
17416
17444
|
visionline_metadata?: {
|
|
17417
17445
|
card_id: string;
|
|
17418
|
-
card_function_type: 'guest' | 'staff';
|
|
17419
17446
|
cancelled: boolean;
|
|
17420
17447
|
discarded: boolean;
|
|
17421
17448
|
expired: boolean;
|
|
@@ -17425,6 +17452,8 @@ export interface Routes {
|
|
|
17425
17452
|
card_format: 'TLCode' | 'rfid48';
|
|
17426
17453
|
card_holder?: string | undefined;
|
|
17427
17454
|
number_of_issued_cards: number;
|
|
17455
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
17456
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
17428
17457
|
} | undefined;
|
|
17429
17458
|
};
|
|
17430
17459
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -18650,6 +18679,7 @@ export interface Routes {
|
|
|
18650
18679
|
akiles_metadata?: {
|
|
18651
18680
|
gadget_name: string;
|
|
18652
18681
|
gadget_id: string;
|
|
18682
|
+
_member_group_id?: string | undefined;
|
|
18653
18683
|
} | undefined;
|
|
18654
18684
|
}) & ({
|
|
18655
18685
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
@@ -18881,7 +18911,6 @@ export interface Routes {
|
|
|
18881
18911
|
card_number: string | null;
|
|
18882
18912
|
visionline_metadata?: {
|
|
18883
18913
|
card_id: string;
|
|
18884
|
-
card_function_type: 'guest' | 'staff';
|
|
18885
18914
|
cancelled: boolean;
|
|
18886
18915
|
discarded: boolean;
|
|
18887
18916
|
expired: boolean;
|
|
@@ -18891,6 +18920,8 @@ export interface Routes {
|
|
|
18891
18920
|
card_format: 'TLCode' | 'rfid48';
|
|
18892
18921
|
card_holder?: string | undefined;
|
|
18893
18922
|
number_of_issued_cards: number;
|
|
18923
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
18924
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
18894
18925
|
} | undefined;
|
|
18895
18926
|
};
|
|
18896
18927
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -19564,7 +19595,6 @@ export interface Routes {
|
|
|
19564
19595
|
card_number: string | null;
|
|
19565
19596
|
visionline_metadata?: {
|
|
19566
19597
|
card_id: string;
|
|
19567
|
-
card_function_type: 'guest' | 'staff';
|
|
19568
19598
|
cancelled: boolean;
|
|
19569
19599
|
discarded: boolean;
|
|
19570
19600
|
expired: boolean;
|
|
@@ -19574,6 +19604,8 @@ export interface Routes {
|
|
|
19574
19604
|
card_format: 'TLCode' | 'rfid48';
|
|
19575
19605
|
card_holder?: string | undefined;
|
|
19576
19606
|
number_of_issued_cards: number;
|
|
19607
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
19608
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
19577
19609
|
} | undefined;
|
|
19578
19610
|
};
|
|
19579
19611
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -21144,12 +21176,16 @@ export interface Routes {
|
|
|
21144
21176
|
formData: {};
|
|
21145
21177
|
jsonResponse: {
|
|
21146
21178
|
acs_systems: Array<{
|
|
21179
|
+
/** ID of the default credential manager acs_system for this access control system. */
|
|
21180
|
+
default_credential_manager_acs_system_id?: (string | null) | undefined;
|
|
21147
21181
|
/** ID of the `acs_system`. */
|
|
21148
21182
|
acs_system_id: string;
|
|
21149
21183
|
/** Brand-specific terminology for the `acs_system` type. */
|
|
21150
21184
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
21151
21185
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
21152
21186
|
external_type_display_name?: string | undefined;
|
|
21187
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
21188
|
+
is_credential_manager: boolean;
|
|
21153
21189
|
visionline_metadata?: {
|
|
21154
21190
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
21155
21191
|
mobile_access_uuid: string;
|
|
@@ -21597,7 +21633,6 @@ export interface Routes {
|
|
|
21597
21633
|
card_number: string | null;
|
|
21598
21634
|
visionline_metadata?: {
|
|
21599
21635
|
card_id: string;
|
|
21600
|
-
card_function_type: 'guest' | 'staff';
|
|
21601
21636
|
cancelled: boolean;
|
|
21602
21637
|
discarded: boolean;
|
|
21603
21638
|
expired: boolean;
|
|
@@ -21607,6 +21642,8 @@ export interface Routes {
|
|
|
21607
21642
|
card_format: 'TLCode' | 'rfid48';
|
|
21608
21643
|
card_holder?: string | undefined;
|
|
21609
21644
|
number_of_issued_cards: number;
|
|
21645
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
21646
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
21610
21647
|
} | undefined;
|
|
21611
21648
|
};
|
|
21612
21649
|
/** Matching acs_credential currently encoded on this card. */
|
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ export const acs_credential_on_encoder = z.object({
|
|
|
100
100
|
visionline_metadata: z
|
|
101
101
|
.object({
|
|
102
102
|
card_id: z.string(),
|
|
103
|
-
card_function_type: z.enum([
|
|
103
|
+
// TODO card_function_type: z.enum(["guest", "staff"]), // computed, looks at door ops, and checks is guest op is present.
|
|
104
104
|
|
|
105
105
|
cancelled: z.boolean(),
|
|
106
106
|
discarded: z.boolean(),
|
|
@@ -114,8 +114,8 @@ export const acs_credential_on_encoder = z.object({
|
|
|
114
114
|
|
|
115
115
|
number_of_issued_cards: z.number(),
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
118
|
+
common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
119
119
|
})
|
|
120
120
|
.optional(),
|
|
121
121
|
})
|
|
@@ -156,6 +156,19 @@ export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>
|
|
|
156
156
|
|
|
157
157
|
export const acs_system = z
|
|
158
158
|
.object({
|
|
159
|
+
default_credential_manager_acs_system_id: z
|
|
160
|
+
.string()
|
|
161
|
+
.uuid()
|
|
162
|
+
.nullable()
|
|
163
|
+
.optional()
|
|
164
|
+
.describe(
|
|
165
|
+
`
|
|
166
|
+
---
|
|
167
|
+
draft: Needs review
|
|
168
|
+
---
|
|
169
|
+
ID of the default credential manager acs_system for this access control system.
|
|
170
|
+
`,
|
|
171
|
+
),
|
|
159
172
|
acs_system_id: z.string().uuid().describe('ID of the `acs_system`.'),
|
|
160
173
|
external_type: acs_system_external_type
|
|
161
174
|
.describe('Brand-specific terminology for the `acs_system` type.')
|
|
@@ -166,6 +179,9 @@ export const acs_system = z
|
|
|
166
179
|
'Display name that corresponds to the brand-specific terminology for the `acs_system` type.',
|
|
167
180
|
)
|
|
168
181
|
.optional(),
|
|
182
|
+
is_credential_manager: z
|
|
183
|
+
.boolean()
|
|
184
|
+
.describe('Indicates if the `acs_system` is a credential manager.'),
|
|
169
185
|
visionline_metadata: z
|
|
170
186
|
.object({
|
|
171
187
|
mobile_access_uuid: z
|
|
@@ -529,6 +529,14 @@ export default {
|
|
|
529
529
|
format: 'date-time',
|
|
530
530
|
type: 'string',
|
|
531
531
|
},
|
|
532
|
+
default_credential_manager_acs_system_id: {
|
|
533
|
+
description:
|
|
534
|
+
'ID of the default credential manager acs_system for this access control system.',
|
|
535
|
+
format: 'uuid',
|
|
536
|
+
nullable: true,
|
|
537
|
+
type: 'string',
|
|
538
|
+
'x-draft': 'Needs review',
|
|
539
|
+
},
|
|
532
540
|
errors: {
|
|
533
541
|
description: 'Errors associated with the `acs_system`.',
|
|
534
542
|
items: {
|
|
@@ -685,6 +693,11 @@ export default {
|
|
|
685
693
|
description: 'URL for the image that represents the `acs_system`.',
|
|
686
694
|
type: 'string',
|
|
687
695
|
},
|
|
696
|
+
is_credential_manager: {
|
|
697
|
+
description:
|
|
698
|
+
'Indicates if the `acs_system` is a credential manager.',
|
|
699
|
+
type: 'boolean',
|
|
700
|
+
},
|
|
688
701
|
name: { description: 'Name of the `acs_system`.', type: 'string' },
|
|
689
702
|
system_type: {
|
|
690
703
|
deprecated: true,
|
|
@@ -764,6 +777,7 @@ export default {
|
|
|
764
777
|
},
|
|
765
778
|
required: [
|
|
766
779
|
'acs_system_id',
|
|
780
|
+
'is_credential_manager',
|
|
767
781
|
'name',
|
|
768
782
|
'created_at',
|
|
769
783
|
'workspace_id',
|
|
@@ -1289,14 +1303,18 @@ export default {
|
|
|
1289
1303
|
enum: ['TLCode', 'rfid48'],
|
|
1290
1304
|
type: 'string',
|
|
1291
1305
|
},
|
|
1292
|
-
card_function_type: {
|
|
1293
|
-
enum: ['guest', 'staff'],
|
|
1294
|
-
type: 'string',
|
|
1295
|
-
},
|
|
1296
1306
|
card_holder: { type: 'string' },
|
|
1297
1307
|
card_id: { type: 'string' },
|
|
1308
|
+
common_acs_entrance_ids: {
|
|
1309
|
+
items: { format: 'uuid', type: 'string' },
|
|
1310
|
+
type: 'array',
|
|
1311
|
+
},
|
|
1298
1312
|
discarded: { type: 'boolean' },
|
|
1299
1313
|
expired: { type: 'boolean' },
|
|
1314
|
+
guest_acs_entrance_ids: {
|
|
1315
|
+
items: { format: 'uuid', type: 'string' },
|
|
1316
|
+
type: 'array',
|
|
1317
|
+
},
|
|
1300
1318
|
number_of_issued_cards: {
|
|
1301
1319
|
format: 'float',
|
|
1302
1320
|
type: 'number',
|
|
@@ -1307,7 +1325,6 @@ export default {
|
|
|
1307
1325
|
},
|
|
1308
1326
|
required: [
|
|
1309
1327
|
'card_id',
|
|
1310
|
-
'card_function_type',
|
|
1311
1328
|
'cancelled',
|
|
1312
1329
|
'discarded',
|
|
1313
1330
|
'expired',
|
|
@@ -8170,6 +8187,8 @@ export default {
|
|
|
8170
8187
|
},
|
|
8171
8188
|
'/acs/entrances/get': {
|
|
8172
8189
|
post: {
|
|
8190
|
+
description:
|
|
8191
|
+
'Returns a specified [ACS entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
8173
8192
|
operationId: 'acsEntrancesGetPost',
|
|
8174
8193
|
requestBody: {
|
|
8175
8194
|
content: {
|
|
@@ -8215,6 +8234,7 @@ export default {
|
|
|
8215
8234
|
'x-fern-sdk-method-name': 'get',
|
|
8216
8235
|
'x-fern-sdk-return-value': 'acs_entrance',
|
|
8217
8236
|
'x-response-key': 'acs_entrance',
|
|
8237
|
+
'x-title': 'Get an Entrance',
|
|
8218
8238
|
},
|
|
8219
8239
|
},
|
|
8220
8240
|
'/acs/entrances/grant_access': {
|
|
@@ -8264,6 +8284,8 @@ export default {
|
|
|
8264
8284
|
},
|
|
8265
8285
|
'/acs/entrances/list': {
|
|
8266
8286
|
post: {
|
|
8287
|
+
description:
|
|
8288
|
+
'Returns a list of all [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
8267
8289
|
operationId: 'acsEntrancesListPost',
|
|
8268
8290
|
requestBody: {
|
|
8269
8291
|
content: {
|
|
@@ -8312,10 +8334,13 @@ export default {
|
|
|
8312
8334
|
'x-fern-sdk-method-name': 'list',
|
|
8313
8335
|
'x-fern-sdk-return-value': 'acs_entrances',
|
|
8314
8336
|
'x-response-key': 'acs_entrances',
|
|
8337
|
+
'x-title': 'List Entrances',
|
|
8315
8338
|
},
|
|
8316
8339
|
},
|
|
8317
8340
|
'/acs/entrances/list_credentials_with_access': {
|
|
8318
8341
|
post: {
|
|
8342
|
+
description:
|
|
8343
|
+
'Returns a list of all [credentials](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) with access to a specified [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
8319
8344
|
operationId: 'acsEntrancesListCredentialsWithAccessPost',
|
|
8320
8345
|
requestBody: {
|
|
8321
8346
|
content: {
|
|
@@ -8371,6 +8396,7 @@ export default {
|
|
|
8371
8396
|
'x-fern-sdk-method-name': 'list_credentials_with_access',
|
|
8372
8397
|
'x-fern-sdk-return-value': 'acs_credentials',
|
|
8373
8398
|
'x-response-key': 'acs_credentials',
|
|
8399
|
+
'x-title': 'List Credentials with Access to an Entrance',
|
|
8374
8400
|
},
|
|
8375
8401
|
},
|
|
8376
8402
|
'/acs/systems/get': {
|