@seamapi/types 1.264.2 → 1.265.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 +27 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +94 -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 +3 -0
- package/lib/seam/connect/models/acs/acs-system.js +3 -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 +24 -4
- package/lib/seam/connect/openapi.js +19 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +49 -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 +3 -0
- package/src/lib/seam/connect/openapi.ts +23 -5
- package/src/lib/seam/connect/route-types.ts +49 -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. */
|
|
@@ -5510,6 +5516,8 @@ export interface Routes {
|
|
|
5510
5516
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5511
5517
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5512
5518
|
external_type_display_name?: string | undefined;
|
|
5519
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5520
|
+
is_credential_manager: boolean;
|
|
5513
5521
|
visionline_metadata?: {
|
|
5514
5522
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5515
5523
|
mobile_access_uuid: string;
|
|
@@ -5611,6 +5619,8 @@ export interface Routes {
|
|
|
5611
5619
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5612
5620
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5613
5621
|
external_type_display_name?: string | undefined;
|
|
5622
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5623
|
+
is_credential_manager: boolean;
|
|
5614
5624
|
visionline_metadata?: {
|
|
5615
5625
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5616
5626
|
mobile_access_uuid: string;
|
|
@@ -5712,6 +5722,8 @@ export interface Routes {
|
|
|
5712
5722
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
5713
5723
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
5714
5724
|
external_type_display_name?: string | undefined;
|
|
5725
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
5726
|
+
is_credential_manager: boolean;
|
|
5715
5727
|
visionline_metadata?: {
|
|
5716
5728
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
5717
5729
|
mobile_access_uuid: string;
|
|
@@ -6567,7 +6579,6 @@ export interface Routes {
|
|
|
6567
6579
|
card_number: string | null;
|
|
6568
6580
|
visionline_metadata?: {
|
|
6569
6581
|
card_id: string;
|
|
6570
|
-
card_function_type: 'guest' | 'staff';
|
|
6571
6582
|
cancelled: boolean;
|
|
6572
6583
|
discarded: boolean;
|
|
6573
6584
|
expired: boolean;
|
|
@@ -6577,6 +6588,8 @@ export interface Routes {
|
|
|
6577
6588
|
card_format: 'TLCode' | 'rfid48';
|
|
6578
6589
|
card_holder?: string | undefined;
|
|
6579
6590
|
number_of_issued_cards: number;
|
|
6591
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
6592
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
6580
6593
|
} | undefined;
|
|
6581
6594
|
};
|
|
6582
6595
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -7128,7 +7141,6 @@ export interface Routes {
|
|
|
7128
7141
|
card_number: string | null;
|
|
7129
7142
|
visionline_metadata?: {
|
|
7130
7143
|
card_id: string;
|
|
7131
|
-
card_function_type: 'guest' | 'staff';
|
|
7132
7144
|
cancelled: boolean;
|
|
7133
7145
|
discarded: boolean;
|
|
7134
7146
|
expired: boolean;
|
|
@@ -7138,6 +7150,8 @@ export interface Routes {
|
|
|
7138
7150
|
card_format: 'TLCode' | 'rfid48';
|
|
7139
7151
|
card_holder?: string | undefined;
|
|
7140
7152
|
number_of_issued_cards: number;
|
|
7153
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
7154
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
7141
7155
|
} | undefined;
|
|
7142
7156
|
};
|
|
7143
7157
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -11241,7 +11255,6 @@ export interface Routes {
|
|
|
11241
11255
|
card_number: string | null;
|
|
11242
11256
|
visionline_metadata?: {
|
|
11243
11257
|
card_id: string;
|
|
11244
|
-
card_function_type: 'guest' | 'staff';
|
|
11245
11258
|
cancelled: boolean;
|
|
11246
11259
|
discarded: boolean;
|
|
11247
11260
|
expired: boolean;
|
|
@@ -11251,6 +11264,8 @@ export interface Routes {
|
|
|
11251
11264
|
card_format: 'TLCode' | 'rfid48';
|
|
11252
11265
|
card_holder?: string | undefined;
|
|
11253
11266
|
number_of_issued_cards: number;
|
|
11267
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
11268
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
11254
11269
|
} | undefined;
|
|
11255
11270
|
};
|
|
11256
11271
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -11803,7 +11818,6 @@ export interface Routes {
|
|
|
11803
11818
|
card_number: string | null;
|
|
11804
11819
|
visionline_metadata?: {
|
|
11805
11820
|
card_id: string;
|
|
11806
|
-
card_function_type: 'guest' | 'staff';
|
|
11807
11821
|
cancelled: boolean;
|
|
11808
11822
|
discarded: boolean;
|
|
11809
11823
|
expired: boolean;
|
|
@@ -11813,6 +11827,8 @@ export interface Routes {
|
|
|
11813
11827
|
card_format: 'TLCode' | 'rfid48';
|
|
11814
11828
|
card_holder?: string | undefined;
|
|
11815
11829
|
number_of_issued_cards: number;
|
|
11830
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
11831
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
11816
11832
|
} | undefined;
|
|
11817
11833
|
};
|
|
11818
11834
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -13309,7 +13325,6 @@ export interface Routes {
|
|
|
13309
13325
|
card_number: string | null;
|
|
13310
13326
|
visionline_metadata?: {
|
|
13311
13327
|
card_id: string;
|
|
13312
|
-
card_function_type: 'guest' | 'staff';
|
|
13313
13328
|
cancelled: boolean;
|
|
13314
13329
|
discarded: boolean;
|
|
13315
13330
|
expired: boolean;
|
|
@@ -13319,6 +13334,8 @@ export interface Routes {
|
|
|
13319
13334
|
card_format: 'TLCode' | 'rfid48';
|
|
13320
13335
|
card_holder?: string | undefined;
|
|
13321
13336
|
number_of_issued_cards: number;
|
|
13337
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
13338
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
13322
13339
|
} | undefined;
|
|
13323
13340
|
};
|
|
13324
13341
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -13881,7 +13898,6 @@ export interface Routes {
|
|
|
13881
13898
|
card_number: string | null;
|
|
13882
13899
|
visionline_metadata?: {
|
|
13883
13900
|
card_id: string;
|
|
13884
|
-
card_function_type: 'guest' | 'staff';
|
|
13885
13901
|
cancelled: boolean;
|
|
13886
13902
|
discarded: boolean;
|
|
13887
13903
|
expired: boolean;
|
|
@@ -13891,6 +13907,8 @@ export interface Routes {
|
|
|
13891
13907
|
card_format: 'TLCode' | 'rfid48';
|
|
13892
13908
|
card_holder?: string | undefined;
|
|
13893
13909
|
number_of_issued_cards: number;
|
|
13910
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
13911
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
13894
13912
|
} | undefined;
|
|
13895
13913
|
};
|
|
13896
13914
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -14492,7 +14510,6 @@ export interface Routes {
|
|
|
14492
14510
|
card_number: string | null;
|
|
14493
14511
|
visionline_metadata?: {
|
|
14494
14512
|
card_id: string;
|
|
14495
|
-
card_function_type: 'guest' | 'staff';
|
|
14496
14513
|
cancelled: boolean;
|
|
14497
14514
|
discarded: boolean;
|
|
14498
14515
|
expired: boolean;
|
|
@@ -14502,6 +14519,8 @@ export interface Routes {
|
|
|
14502
14519
|
card_format: 'TLCode' | 'rfid48';
|
|
14503
14520
|
card_holder?: string | undefined;
|
|
14504
14521
|
number_of_issued_cards: number;
|
|
14522
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
14523
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
14505
14524
|
} | undefined;
|
|
14506
14525
|
};
|
|
14507
14526
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -15236,7 +15255,6 @@ export interface Routes {
|
|
|
15236
15255
|
card_number: string | null;
|
|
15237
15256
|
visionline_metadata?: {
|
|
15238
15257
|
card_id: string;
|
|
15239
|
-
card_function_type: 'guest' | 'staff';
|
|
15240
15258
|
cancelled: boolean;
|
|
15241
15259
|
discarded: boolean;
|
|
15242
15260
|
expired: boolean;
|
|
@@ -15246,6 +15264,8 @@ export interface Routes {
|
|
|
15246
15264
|
card_format: 'TLCode' | 'rfid48';
|
|
15247
15265
|
card_holder?: string | undefined;
|
|
15248
15266
|
number_of_issued_cards: number;
|
|
15267
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
15268
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
15249
15269
|
} | undefined;
|
|
15250
15270
|
};
|
|
15251
15271
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -15800,7 +15820,6 @@ export interface Routes {
|
|
|
15800
15820
|
card_number: string | null;
|
|
15801
15821
|
visionline_metadata?: {
|
|
15802
15822
|
card_id: string;
|
|
15803
|
-
card_function_type: 'guest' | 'staff';
|
|
15804
15823
|
cancelled: boolean;
|
|
15805
15824
|
discarded: boolean;
|
|
15806
15825
|
expired: boolean;
|
|
@@ -15810,6 +15829,8 @@ export interface Routes {
|
|
|
15810
15829
|
card_format: 'TLCode' | 'rfid48';
|
|
15811
15830
|
card_holder?: string | undefined;
|
|
15812
15831
|
number_of_issued_cards: number;
|
|
15832
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
15833
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
15813
15834
|
} | undefined;
|
|
15814
15835
|
};
|
|
15815
15836
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -16849,7 +16870,6 @@ export interface Routes {
|
|
|
16849
16870
|
card_number: string | null;
|
|
16850
16871
|
visionline_metadata?: {
|
|
16851
16872
|
card_id: string;
|
|
16852
|
-
card_function_type: 'guest' | 'staff';
|
|
16853
16873
|
cancelled: boolean;
|
|
16854
16874
|
discarded: boolean;
|
|
16855
16875
|
expired: boolean;
|
|
@@ -16859,6 +16879,8 @@ export interface Routes {
|
|
|
16859
16879
|
card_format: 'TLCode' | 'rfid48';
|
|
16860
16880
|
card_holder?: string | undefined;
|
|
16861
16881
|
number_of_issued_cards: number;
|
|
16882
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
16883
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
16862
16884
|
} | undefined;
|
|
16863
16885
|
};
|
|
16864
16886
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -17415,7 +17437,6 @@ export interface Routes {
|
|
|
17415
17437
|
card_number: string | null;
|
|
17416
17438
|
visionline_metadata?: {
|
|
17417
17439
|
card_id: string;
|
|
17418
|
-
card_function_type: 'guest' | 'staff';
|
|
17419
17440
|
cancelled: boolean;
|
|
17420
17441
|
discarded: boolean;
|
|
17421
17442
|
expired: boolean;
|
|
@@ -17425,6 +17446,8 @@ export interface Routes {
|
|
|
17425
17446
|
card_format: 'TLCode' | 'rfid48';
|
|
17426
17447
|
card_holder?: string | undefined;
|
|
17427
17448
|
number_of_issued_cards: number;
|
|
17449
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
17450
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
17428
17451
|
} | undefined;
|
|
17429
17452
|
};
|
|
17430
17453
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -18650,6 +18673,7 @@ export interface Routes {
|
|
|
18650
18673
|
akiles_metadata?: {
|
|
18651
18674
|
gadget_name: string;
|
|
18652
18675
|
gadget_id: string;
|
|
18676
|
+
_member_group_id?: string | undefined;
|
|
18653
18677
|
} | undefined;
|
|
18654
18678
|
}) & ({
|
|
18655
18679
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
@@ -18881,7 +18905,6 @@ export interface Routes {
|
|
|
18881
18905
|
card_number: string | null;
|
|
18882
18906
|
visionline_metadata?: {
|
|
18883
18907
|
card_id: string;
|
|
18884
|
-
card_function_type: 'guest' | 'staff';
|
|
18885
18908
|
cancelled: boolean;
|
|
18886
18909
|
discarded: boolean;
|
|
18887
18910
|
expired: boolean;
|
|
@@ -18891,6 +18914,8 @@ export interface Routes {
|
|
|
18891
18914
|
card_format: 'TLCode' | 'rfid48';
|
|
18892
18915
|
card_holder?: string | undefined;
|
|
18893
18916
|
number_of_issued_cards: number;
|
|
18917
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
18918
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
18894
18919
|
} | undefined;
|
|
18895
18920
|
};
|
|
18896
18921
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -19564,7 +19589,6 @@ export interface Routes {
|
|
|
19564
19589
|
card_number: string | null;
|
|
19565
19590
|
visionline_metadata?: {
|
|
19566
19591
|
card_id: string;
|
|
19567
|
-
card_function_type: 'guest' | 'staff';
|
|
19568
19592
|
cancelled: boolean;
|
|
19569
19593
|
discarded: boolean;
|
|
19570
19594
|
expired: boolean;
|
|
@@ -19574,6 +19598,8 @@ export interface Routes {
|
|
|
19574
19598
|
card_format: 'TLCode' | 'rfid48';
|
|
19575
19599
|
card_holder?: string | undefined;
|
|
19576
19600
|
number_of_issued_cards: number;
|
|
19601
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
19602
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
19577
19603
|
} | undefined;
|
|
19578
19604
|
};
|
|
19579
19605
|
/** Matching acs_credential currently encoded on this card. */
|
|
@@ -21150,6 +21176,8 @@ export interface Routes {
|
|
|
21150
21176
|
external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
|
|
21151
21177
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
21152
21178
|
external_type_display_name?: string | undefined;
|
|
21179
|
+
/** Indicates if the `acs_system` is a credential manager. */
|
|
21180
|
+
is_credential_manager: boolean;
|
|
21153
21181
|
visionline_metadata?: {
|
|
21154
21182
|
/** Keyset loaded into a reader. Mobile keys and reader administration tools securely authenticate only with readers programmed with a matching keyset. */
|
|
21155
21183
|
mobile_access_uuid: string;
|
|
@@ -21597,7 +21625,6 @@ export interface Routes {
|
|
|
21597
21625
|
card_number: string | null;
|
|
21598
21626
|
visionline_metadata?: {
|
|
21599
21627
|
card_id: string;
|
|
21600
|
-
card_function_type: 'guest' | 'staff';
|
|
21601
21628
|
cancelled: boolean;
|
|
21602
21629
|
discarded: boolean;
|
|
21603
21630
|
expired: boolean;
|
|
@@ -21607,6 +21634,8 @@ export interface Routes {
|
|
|
21607
21634
|
card_format: 'TLCode' | 'rfid48';
|
|
21608
21635
|
card_holder?: string | undefined;
|
|
21609
21636
|
number_of_issued_cards: number;
|
|
21637
|
+
guest_acs_entrance_ids?: string[] | undefined;
|
|
21638
|
+
common_acs_entrance_ids?: string[] | undefined;
|
|
21610
21639
|
} | undefined;
|
|
21611
21640
|
};
|
|
21612
21641
|
/** 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
|
})
|
|
@@ -166,6 +166,9 @@ export const acs_system = z
|
|
|
166
166
|
'Display name that corresponds to the brand-specific terminology for the `acs_system` type.',
|
|
167
167
|
)
|
|
168
168
|
.optional(),
|
|
169
|
+
is_credential_manager: z
|
|
170
|
+
.boolean()
|
|
171
|
+
.describe('Indicates if the `acs_system` is a credential manager.'),
|
|
169
172
|
visionline_metadata: z
|
|
170
173
|
.object({
|
|
171
174
|
mobile_access_uuid: z
|
|
@@ -685,6 +685,11 @@ export default {
|
|
|
685
685
|
description: 'URL for the image that represents the `acs_system`.',
|
|
686
686
|
type: 'string',
|
|
687
687
|
},
|
|
688
|
+
is_credential_manager: {
|
|
689
|
+
description:
|
|
690
|
+
'Indicates if the `acs_system` is a credential manager.',
|
|
691
|
+
type: 'boolean',
|
|
692
|
+
},
|
|
688
693
|
name: { description: 'Name of the `acs_system`.', type: 'string' },
|
|
689
694
|
system_type: {
|
|
690
695
|
deprecated: true,
|
|
@@ -764,6 +769,7 @@ export default {
|
|
|
764
769
|
},
|
|
765
770
|
required: [
|
|
766
771
|
'acs_system_id',
|
|
772
|
+
'is_credential_manager',
|
|
767
773
|
'name',
|
|
768
774
|
'created_at',
|
|
769
775
|
'workspace_id',
|
|
@@ -1289,14 +1295,18 @@ export default {
|
|
|
1289
1295
|
enum: ['TLCode', 'rfid48'],
|
|
1290
1296
|
type: 'string',
|
|
1291
1297
|
},
|
|
1292
|
-
card_function_type: {
|
|
1293
|
-
enum: ['guest', 'staff'],
|
|
1294
|
-
type: 'string',
|
|
1295
|
-
},
|
|
1296
1298
|
card_holder: { type: 'string' },
|
|
1297
1299
|
card_id: { type: 'string' },
|
|
1300
|
+
common_acs_entrance_ids: {
|
|
1301
|
+
items: { format: 'uuid', type: 'string' },
|
|
1302
|
+
type: 'array',
|
|
1303
|
+
},
|
|
1298
1304
|
discarded: { type: 'boolean' },
|
|
1299
1305
|
expired: { type: 'boolean' },
|
|
1306
|
+
guest_acs_entrance_ids: {
|
|
1307
|
+
items: { format: 'uuid', type: 'string' },
|
|
1308
|
+
type: 'array',
|
|
1309
|
+
},
|
|
1300
1310
|
number_of_issued_cards: {
|
|
1301
1311
|
format: 'float',
|
|
1302
1312
|
type: 'number',
|
|
@@ -1307,7 +1317,6 @@ export default {
|
|
|
1307
1317
|
},
|
|
1308
1318
|
required: [
|
|
1309
1319
|
'card_id',
|
|
1310
|
-
'card_function_type',
|
|
1311
1320
|
'cancelled',
|
|
1312
1321
|
'discarded',
|
|
1313
1322
|
'expired',
|
|
@@ -8170,6 +8179,8 @@ export default {
|
|
|
8170
8179
|
},
|
|
8171
8180
|
'/acs/entrances/get': {
|
|
8172
8181
|
post: {
|
|
8182
|
+
description:
|
|
8183
|
+
'Returns a specified [ACS entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
8173
8184
|
operationId: 'acsEntrancesGetPost',
|
|
8174
8185
|
requestBody: {
|
|
8175
8186
|
content: {
|
|
@@ -8215,6 +8226,7 @@ export default {
|
|
|
8215
8226
|
'x-fern-sdk-method-name': 'get',
|
|
8216
8227
|
'x-fern-sdk-return-value': 'acs_entrance',
|
|
8217
8228
|
'x-response-key': 'acs_entrance',
|
|
8229
|
+
'x-title': 'Get an Entrance',
|
|
8218
8230
|
},
|
|
8219
8231
|
},
|
|
8220
8232
|
'/acs/entrances/grant_access': {
|
|
@@ -8264,6 +8276,8 @@ export default {
|
|
|
8264
8276
|
},
|
|
8265
8277
|
'/acs/entrances/list': {
|
|
8266
8278
|
post: {
|
|
8279
|
+
description:
|
|
8280
|
+
'Returns a list of all [ACS entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
8267
8281
|
operationId: 'acsEntrancesListPost',
|
|
8268
8282
|
requestBody: {
|
|
8269
8283
|
content: {
|
|
@@ -8312,10 +8326,13 @@ export default {
|
|
|
8312
8326
|
'x-fern-sdk-method-name': 'list',
|
|
8313
8327
|
'x-fern-sdk-return-value': 'acs_entrances',
|
|
8314
8328
|
'x-response-key': 'acs_entrances',
|
|
8329
|
+
'x-title': 'List Entrances',
|
|
8315
8330
|
},
|
|
8316
8331
|
},
|
|
8317
8332
|
'/acs/entrances/list_credentials_with_access': {
|
|
8318
8333
|
post: {
|
|
8334
|
+
description:
|
|
8335
|
+
'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
8336
|
operationId: 'acsEntrancesListCredentialsWithAccessPost',
|
|
8320
8337
|
requestBody: {
|
|
8321
8338
|
content: {
|
|
@@ -8371,6 +8388,7 @@ export default {
|
|
|
8371
8388
|
'x-fern-sdk-method-name': 'list_credentials_with_access',
|
|
8372
8389
|
'x-fern-sdk-return-value': 'acs_credentials',
|
|
8373
8390
|
'x-response-key': 'acs_credentials',
|
|
8391
|
+
'x-title': 'List Credentials with Access to an Entrance',
|
|
8374
8392
|
},
|
|
8375
8393
|
},
|
|
8376
8394
|
'/acs/systems/get': {
|