@seamapi/types 1.259.1 → 1.261.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 +35 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +109 -87
- package/lib/seam/connect/models/acs/acs-entrance.js +10 -4
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/encode-card.js +1 -1
- package/lib/seam/connect/models/action-attempts/encode-card.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/read-card.d.ts +0 -5
- package/lib/seam/connect/models/action-attempts/read-card.js +6 -6
- package/lib/seam/connect/models/action-attempts/read-card.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +48 -2
- package/lib/seam/connect/openapi.js +24 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +61 -80
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +10 -4
- package/src/lib/seam/connect/models/action-attempts/encode-card.ts +1 -1
- package/src/lib/seam/connect/models/action-attempts/read-card.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +25 -15
- package/src/lib/seam/connect/route-types.ts +61 -80
|
@@ -87,9 +87,7 @@ export interface Routes {
|
|
|
87
87
|
error: null;
|
|
88
88
|
action_type: 'READ_CARD';
|
|
89
89
|
result: {
|
|
90
|
-
/**
|
|
91
|
-
acs_credential_id: string | null;
|
|
92
|
-
/** A number or sting that physically identifies this card. */
|
|
90
|
+
/** A number or string that physically identifies this card. */
|
|
93
91
|
card_number: string | null;
|
|
94
92
|
};
|
|
95
93
|
} | {
|
|
@@ -118,7 +116,7 @@ export interface Routes {
|
|
|
118
116
|
result: {
|
|
119
117
|
/** Matching acs_credential currently encoded on this card. */
|
|
120
118
|
acs_credential_id: string | null;
|
|
121
|
-
/** A number or
|
|
119
|
+
/** A number or string that physically identifies this card. */
|
|
122
120
|
card_number: string | null;
|
|
123
121
|
};
|
|
124
122
|
} | {
|
|
@@ -693,9 +691,7 @@ export interface Routes {
|
|
|
693
691
|
error: null;
|
|
694
692
|
action_type: 'READ_CARD';
|
|
695
693
|
result: {
|
|
696
|
-
/**
|
|
697
|
-
acs_credential_id: string | null;
|
|
698
|
-
/** A number or sting that physically identifies this card. */
|
|
694
|
+
/** A number or string that physically identifies this card. */
|
|
699
695
|
card_number: string | null;
|
|
700
696
|
};
|
|
701
697
|
} | {
|
|
@@ -724,7 +720,7 @@ export interface Routes {
|
|
|
724
720
|
result: {
|
|
725
721
|
/** Matching acs_credential currently encoded on this card. */
|
|
726
722
|
acs_credential_id: string | null;
|
|
727
|
-
/** A number or
|
|
723
|
+
/** A number or string that physically identifies this card. */
|
|
728
724
|
card_number: string | null;
|
|
729
725
|
};
|
|
730
726
|
} | {
|
|
@@ -1456,9 +1452,7 @@ export interface Routes {
|
|
|
1456
1452
|
error: null;
|
|
1457
1453
|
action_type: 'READ_CARD';
|
|
1458
1454
|
result: {
|
|
1459
|
-
/**
|
|
1460
|
-
acs_credential_id: string | null;
|
|
1461
|
-
/** A number or sting that physically identifies this card. */
|
|
1455
|
+
/** A number or string that physically identifies this card. */
|
|
1462
1456
|
card_number: string | null;
|
|
1463
1457
|
};
|
|
1464
1458
|
} | {
|
|
@@ -1487,7 +1481,7 @@ export interface Routes {
|
|
|
1487
1481
|
result: {
|
|
1488
1482
|
/** Matching acs_credential currently encoded on this card. */
|
|
1489
1483
|
acs_credential_id: string | null;
|
|
1490
|
-
/** A number or
|
|
1484
|
+
/** A number or string that physically identifies this card. */
|
|
1491
1485
|
card_number: string | null;
|
|
1492
1486
|
};
|
|
1493
1487
|
} | {
|
|
@@ -2049,9 +2043,7 @@ export interface Routes {
|
|
|
2049
2043
|
error: null;
|
|
2050
2044
|
action_type: 'READ_CARD';
|
|
2051
2045
|
result: {
|
|
2052
|
-
/**
|
|
2053
|
-
acs_credential_id: string | null;
|
|
2054
|
-
/** A number or sting that physically identifies this card. */
|
|
2046
|
+
/** A number or string that physically identifies this card. */
|
|
2055
2047
|
card_number: string | null;
|
|
2056
2048
|
};
|
|
2057
2049
|
} | {
|
|
@@ -2080,7 +2072,7 @@ export interface Routes {
|
|
|
2080
2072
|
result: {
|
|
2081
2073
|
/** Matching acs_credential currently encoded on this card. */
|
|
2082
2074
|
acs_credential_id: string | null;
|
|
2083
|
-
/** A number or
|
|
2075
|
+
/** A number or string that physically identifies this card. */
|
|
2084
2076
|
card_number: string | null;
|
|
2085
2077
|
};
|
|
2086
2078
|
} | {
|
|
@@ -2514,9 +2506,13 @@ export interface Routes {
|
|
|
2514
2506
|
formData: {};
|
|
2515
2507
|
jsonResponse: {
|
|
2516
2508
|
acs_entrances: Array<{
|
|
2509
|
+
/** ID of the access control system that contains the entrance. */
|
|
2517
2510
|
acs_system_id: string;
|
|
2511
|
+
/** ID of the entrance. */
|
|
2518
2512
|
acs_entrance_id: string;
|
|
2513
|
+
/** Date and time at which the entrance was created. */
|
|
2519
2514
|
created_at: string;
|
|
2515
|
+
/** Display name for the entrance. */
|
|
2520
2516
|
display_name: string;
|
|
2521
2517
|
errors: Array<{
|
|
2522
2518
|
error_code: string;
|
|
@@ -3028,9 +3024,13 @@ export interface Routes {
|
|
|
3028
3024
|
formData: {};
|
|
3029
3025
|
jsonResponse: {
|
|
3030
3026
|
acs_entrances: Array<{
|
|
3027
|
+
/** ID of the access control system that contains the entrance. */
|
|
3031
3028
|
acs_system_id: string;
|
|
3029
|
+
/** ID of the entrance. */
|
|
3032
3030
|
acs_entrance_id: string;
|
|
3031
|
+
/** Date and time at which the entrance was created. */
|
|
3033
3032
|
created_at: string;
|
|
3033
|
+
/** Display name for the entrance. */
|
|
3034
3034
|
display_name: string;
|
|
3035
3035
|
errors: Array<{
|
|
3036
3036
|
error_code: string;
|
|
@@ -3360,9 +3360,7 @@ export interface Routes {
|
|
|
3360
3360
|
error: null;
|
|
3361
3361
|
action_type: 'READ_CARD';
|
|
3362
3362
|
result: {
|
|
3363
|
-
/**
|
|
3364
|
-
acs_credential_id: string | null;
|
|
3365
|
-
/** A number or sting that physically identifies this card. */
|
|
3363
|
+
/** A number or string that physically identifies this card. */
|
|
3366
3364
|
card_number: string | null;
|
|
3367
3365
|
};
|
|
3368
3366
|
} | {
|
|
@@ -3391,7 +3389,7 @@ export interface Routes {
|
|
|
3391
3389
|
result: {
|
|
3392
3390
|
/** Matching acs_credential currently encoded on this card. */
|
|
3393
3391
|
acs_credential_id: string | null;
|
|
3394
|
-
/** A number or
|
|
3392
|
+
/** A number or string that physically identifies this card. */
|
|
3395
3393
|
card_number: string | null;
|
|
3396
3394
|
};
|
|
3397
3395
|
} | {
|
|
@@ -4211,6 +4209,7 @@ export interface Routes {
|
|
|
4211
4209
|
acs_system_id: string;
|
|
4212
4210
|
device_name: string;
|
|
4213
4211
|
} | {
|
|
4212
|
+
acs_system_id: string;
|
|
4214
4213
|
device_id: string;
|
|
4215
4214
|
};
|
|
4216
4215
|
formData: {};
|
|
@@ -4277,9 +4276,7 @@ export interface Routes {
|
|
|
4277
4276
|
error: null;
|
|
4278
4277
|
action_type: 'READ_CARD';
|
|
4279
4278
|
result: {
|
|
4280
|
-
/**
|
|
4281
|
-
acs_credential_id: string | null;
|
|
4282
|
-
/** A number or sting that physically identifies this card. */
|
|
4279
|
+
/** A number or string that physically identifies this card. */
|
|
4283
4280
|
card_number: string | null;
|
|
4284
4281
|
};
|
|
4285
4282
|
} | {
|
|
@@ -4308,7 +4305,7 @@ export interface Routes {
|
|
|
4308
4305
|
result: {
|
|
4309
4306
|
/** Matching acs_credential currently encoded on this card. */
|
|
4310
4307
|
acs_credential_id: string | null;
|
|
4311
|
-
/** A number or
|
|
4308
|
+
/** A number or string that physically identifies this card. */
|
|
4312
4309
|
card_number: string | null;
|
|
4313
4310
|
};
|
|
4314
4311
|
} | {
|
|
@@ -4671,9 +4668,13 @@ export interface Routes {
|
|
|
4671
4668
|
formData: {};
|
|
4672
4669
|
jsonResponse: {
|
|
4673
4670
|
acs_entrance: {
|
|
4671
|
+
/** ID of the access control system that contains the entrance. */
|
|
4674
4672
|
acs_system_id: string;
|
|
4673
|
+
/** ID of the entrance. */
|
|
4675
4674
|
acs_entrance_id: string;
|
|
4675
|
+
/** Date and time at which the entrance was created. */
|
|
4676
4676
|
created_at: string;
|
|
4677
|
+
/** Display name for the entrance. */
|
|
4677
4678
|
display_name: string;
|
|
4678
4679
|
errors: Array<{
|
|
4679
4680
|
error_code: string;
|
|
@@ -4730,9 +4731,13 @@ export interface Routes {
|
|
|
4730
4731
|
formData: {};
|
|
4731
4732
|
jsonResponse: {
|
|
4732
4733
|
acs_entrances: Array<{
|
|
4734
|
+
/** ID of the access control system that contains the entrance. */
|
|
4733
4735
|
acs_system_id: string;
|
|
4736
|
+
/** ID of the entrance. */
|
|
4734
4737
|
acs_entrance_id: string;
|
|
4738
|
+
/** Date and time at which the entrance was created. */
|
|
4735
4739
|
created_at: string;
|
|
4740
|
+
/** Display name for the entrance. */
|
|
4736
4741
|
display_name: string;
|
|
4737
4742
|
errors: Array<{
|
|
4738
4743
|
error_code: string;
|
|
@@ -5490,9 +5495,13 @@ export interface Routes {
|
|
|
5490
5495
|
formData: {};
|
|
5491
5496
|
jsonResponse: {
|
|
5492
5497
|
acs_entrances: Array<{
|
|
5498
|
+
/** ID of the access control system that contains the entrance. */
|
|
5493
5499
|
acs_system_id: string;
|
|
5500
|
+
/** ID of the entrance. */
|
|
5494
5501
|
acs_entrance_id: string;
|
|
5502
|
+
/** Date and time at which the entrance was created. */
|
|
5495
5503
|
created_at: string;
|
|
5504
|
+
/** Display name for the entrance. */
|
|
5496
5505
|
display_name: string;
|
|
5497
5506
|
errors: Array<{
|
|
5498
5507
|
error_code: string;
|
|
@@ -5878,9 +5887,7 @@ export interface Routes {
|
|
|
5878
5887
|
error: null;
|
|
5879
5888
|
action_type: 'READ_CARD';
|
|
5880
5889
|
result: {
|
|
5881
|
-
/**
|
|
5882
|
-
acs_credential_id: string | null;
|
|
5883
|
-
/** A number or sting that physically identifies this card. */
|
|
5890
|
+
/** A number or string that physically identifies this card. */
|
|
5884
5891
|
card_number: string | null;
|
|
5885
5892
|
};
|
|
5886
5893
|
} | {
|
|
@@ -5909,7 +5916,7 @@ export interface Routes {
|
|
|
5909
5916
|
result: {
|
|
5910
5917
|
/** Matching acs_credential currently encoded on this card. */
|
|
5911
5918
|
acs_credential_id: string | null;
|
|
5912
|
-
/** A number or
|
|
5919
|
+
/** A number or string that physically identifies this card. */
|
|
5913
5920
|
card_number: string | null;
|
|
5914
5921
|
};
|
|
5915
5922
|
} | {
|
|
@@ -6333,9 +6340,7 @@ export interface Routes {
|
|
|
6333
6340
|
error: null;
|
|
6334
6341
|
action_type: 'READ_CARD';
|
|
6335
6342
|
result: {
|
|
6336
|
-
/**
|
|
6337
|
-
acs_credential_id: string | null;
|
|
6338
|
-
/** A number or sting that physically identifies this card. */
|
|
6343
|
+
/** A number or string that physically identifies this card. */
|
|
6339
6344
|
card_number: string | null;
|
|
6340
6345
|
};
|
|
6341
6346
|
} | {
|
|
@@ -6364,7 +6369,7 @@ export interface Routes {
|
|
|
6364
6369
|
result: {
|
|
6365
6370
|
/** Matching acs_credential currently encoded on this card. */
|
|
6366
6371
|
acs_credential_id: string | null;
|
|
6367
|
-
/** A number or
|
|
6372
|
+
/** A number or string that physically identifies this card. */
|
|
6368
6373
|
card_number: string | null;
|
|
6369
6374
|
};
|
|
6370
6375
|
} | {
|
|
@@ -10334,9 +10339,7 @@ export interface Routes {
|
|
|
10334
10339
|
error: null;
|
|
10335
10340
|
action_type: 'READ_CARD';
|
|
10336
10341
|
result: {
|
|
10337
|
-
/**
|
|
10338
|
-
acs_credential_id: string | null;
|
|
10339
|
-
/** A number or sting that physically identifies this card. */
|
|
10342
|
+
/** A number or string that physically identifies this card. */
|
|
10340
10343
|
card_number: string | null;
|
|
10341
10344
|
};
|
|
10342
10345
|
} | {
|
|
@@ -10365,7 +10368,7 @@ export interface Routes {
|
|
|
10365
10368
|
result: {
|
|
10366
10369
|
/** Matching acs_credential currently encoded on this card. */
|
|
10367
10370
|
acs_credential_id: string | null;
|
|
10368
|
-
/** A number or
|
|
10371
|
+
/** A number or string that physically identifies this card. */
|
|
10369
10372
|
card_number: string | null;
|
|
10370
10373
|
};
|
|
10371
10374
|
} | {
|
|
@@ -10790,9 +10793,7 @@ export interface Routes {
|
|
|
10790
10793
|
error: null;
|
|
10791
10794
|
action_type: 'READ_CARD';
|
|
10792
10795
|
result: {
|
|
10793
|
-
/**
|
|
10794
|
-
acs_credential_id: string | null;
|
|
10795
|
-
/** A number or sting that physically identifies this card. */
|
|
10796
|
+
/** A number or string that physically identifies this card. */
|
|
10796
10797
|
card_number: string | null;
|
|
10797
10798
|
};
|
|
10798
10799
|
} | {
|
|
@@ -10821,7 +10822,7 @@ export interface Routes {
|
|
|
10821
10822
|
result: {
|
|
10822
10823
|
/** Matching acs_credential currently encoded on this card. */
|
|
10823
10824
|
acs_credential_id: string | null;
|
|
10824
|
-
/** A number or
|
|
10825
|
+
/** A number or string that physically identifies this card. */
|
|
10825
10826
|
card_number: string | null;
|
|
10826
10827
|
};
|
|
10827
10828
|
} | {
|
|
@@ -12188,9 +12189,7 @@ export interface Routes {
|
|
|
12188
12189
|
error: null;
|
|
12189
12190
|
action_type: 'READ_CARD';
|
|
12190
12191
|
result: {
|
|
12191
|
-
/**
|
|
12192
|
-
acs_credential_id: string | null;
|
|
12193
|
-
/** A number or sting that physically identifies this card. */
|
|
12192
|
+
/** A number or string that physically identifies this card. */
|
|
12194
12193
|
card_number: string | null;
|
|
12195
12194
|
};
|
|
12196
12195
|
} | {
|
|
@@ -12219,7 +12218,7 @@ export interface Routes {
|
|
|
12219
12218
|
result: {
|
|
12220
12219
|
/** Matching acs_credential currently encoded on this card. */
|
|
12221
12220
|
acs_credential_id: string | null;
|
|
12222
|
-
/** A number or
|
|
12221
|
+
/** A number or string that physically identifies this card. */
|
|
12223
12222
|
card_number: string | null;
|
|
12224
12223
|
};
|
|
12225
12224
|
} | {
|
|
@@ -12654,9 +12653,7 @@ export interface Routes {
|
|
|
12654
12653
|
error: null;
|
|
12655
12654
|
action_type: 'READ_CARD';
|
|
12656
12655
|
result: {
|
|
12657
|
-
/**
|
|
12658
|
-
acs_credential_id: string | null;
|
|
12659
|
-
/** A number or sting that physically identifies this card. */
|
|
12656
|
+
/** A number or string that physically identifies this card. */
|
|
12660
12657
|
card_number: string | null;
|
|
12661
12658
|
};
|
|
12662
12659
|
} | {
|
|
@@ -12685,7 +12682,7 @@ export interface Routes {
|
|
|
12685
12682
|
result: {
|
|
12686
12683
|
/** Matching acs_credential currently encoded on this card. */
|
|
12687
12684
|
acs_credential_id: string | null;
|
|
12688
|
-
/** A number or
|
|
12685
|
+
/** A number or string that physically identifies this card. */
|
|
12689
12686
|
card_number: string | null;
|
|
12690
12687
|
};
|
|
12691
12688
|
} | {
|
|
@@ -13159,9 +13156,7 @@ export interface Routes {
|
|
|
13159
13156
|
error: null;
|
|
13160
13157
|
action_type: 'READ_CARD';
|
|
13161
13158
|
result: {
|
|
13162
|
-
/**
|
|
13163
|
-
acs_credential_id: string | null;
|
|
13164
|
-
/** A number or sting that physically identifies this card. */
|
|
13159
|
+
/** A number or string that physically identifies this card. */
|
|
13165
13160
|
card_number: string | null;
|
|
13166
13161
|
};
|
|
13167
13162
|
} | {
|
|
@@ -13190,7 +13185,7 @@ export interface Routes {
|
|
|
13190
13185
|
result: {
|
|
13191
13186
|
/** Matching acs_credential currently encoded on this card. */
|
|
13192
13187
|
acs_credential_id: string | null;
|
|
13193
|
-
/** A number or
|
|
13188
|
+
/** A number or string that physically identifies this card. */
|
|
13194
13189
|
card_number: string | null;
|
|
13195
13190
|
};
|
|
13196
13191
|
} | {
|
|
@@ -13797,9 +13792,7 @@ export interface Routes {
|
|
|
13797
13792
|
error: null;
|
|
13798
13793
|
action_type: 'READ_CARD';
|
|
13799
13794
|
result: {
|
|
13800
|
-
/**
|
|
13801
|
-
acs_credential_id: string | null;
|
|
13802
|
-
/** A number or sting that physically identifies this card. */
|
|
13795
|
+
/** A number or string that physically identifies this card. */
|
|
13803
13796
|
card_number: string | null;
|
|
13804
13797
|
};
|
|
13805
13798
|
} | {
|
|
@@ -13828,7 +13821,7 @@ export interface Routes {
|
|
|
13828
13821
|
result: {
|
|
13829
13822
|
/** Matching acs_credential currently encoded on this card. */
|
|
13830
13823
|
acs_credential_id: string | null;
|
|
13831
|
-
/** A number or
|
|
13824
|
+
/** A number or string that physically identifies this card. */
|
|
13832
13825
|
card_number: string | null;
|
|
13833
13826
|
};
|
|
13834
13827
|
} | {
|
|
@@ -14255,9 +14248,7 @@ export interface Routes {
|
|
|
14255
14248
|
error: null;
|
|
14256
14249
|
action_type: 'READ_CARD';
|
|
14257
14250
|
result: {
|
|
14258
|
-
/**
|
|
14259
|
-
acs_credential_id: string | null;
|
|
14260
|
-
/** A number or sting that physically identifies this card. */
|
|
14251
|
+
/** A number or string that physically identifies this card. */
|
|
14261
14252
|
card_number: string | null;
|
|
14262
14253
|
};
|
|
14263
14254
|
} | {
|
|
@@ -14286,7 +14277,7 @@ export interface Routes {
|
|
|
14286
14277
|
result: {
|
|
14287
14278
|
/** Matching acs_credential currently encoded on this card. */
|
|
14288
14279
|
acs_credential_id: string | null;
|
|
14289
|
-
/** A number or
|
|
14280
|
+
/** A number or string that physically identifies this card. */
|
|
14290
14281
|
card_number: string | null;
|
|
14291
14282
|
};
|
|
14292
14283
|
} | {
|
|
@@ -15197,9 +15188,7 @@ export interface Routes {
|
|
|
15197
15188
|
error: null;
|
|
15198
15189
|
action_type: 'READ_CARD';
|
|
15199
15190
|
result: {
|
|
15200
|
-
/**
|
|
15201
|
-
acs_credential_id: string | null;
|
|
15202
|
-
/** A number or sting that physically identifies this card. */
|
|
15191
|
+
/** A number or string that physically identifies this card. */
|
|
15203
15192
|
card_number: string | null;
|
|
15204
15193
|
};
|
|
15205
15194
|
} | {
|
|
@@ -15228,7 +15217,7 @@ export interface Routes {
|
|
|
15228
15217
|
result: {
|
|
15229
15218
|
/** Matching acs_credential currently encoded on this card. */
|
|
15230
15219
|
acs_credential_id: string | null;
|
|
15231
|
-
/** A number or
|
|
15220
|
+
/** A number or string that physically identifies this card. */
|
|
15232
15221
|
card_number: string | null;
|
|
15233
15222
|
};
|
|
15234
15223
|
} | {
|
|
@@ -15657,9 +15646,7 @@ export interface Routes {
|
|
|
15657
15646
|
error: null;
|
|
15658
15647
|
action_type: 'READ_CARD';
|
|
15659
15648
|
result: {
|
|
15660
|
-
/**
|
|
15661
|
-
acs_credential_id: string | null;
|
|
15662
|
-
/** A number or sting that physically identifies this card. */
|
|
15649
|
+
/** A number or string that physically identifies this card. */
|
|
15663
15650
|
card_number: string | null;
|
|
15664
15651
|
};
|
|
15665
15652
|
} | {
|
|
@@ -15688,7 +15675,7 @@ export interface Routes {
|
|
|
15688
15675
|
result: {
|
|
15689
15676
|
/** Matching acs_credential currently encoded on this card. */
|
|
15690
15677
|
acs_credential_id: string | null;
|
|
15691
|
-
/** A number or
|
|
15678
|
+
/** A number or string that physically identifies this card. */
|
|
15692
15679
|
card_number: string | null;
|
|
15693
15680
|
};
|
|
15694
15681
|
} | {
|
|
@@ -16577,9 +16564,7 @@ export interface Routes {
|
|
|
16577
16564
|
error: null;
|
|
16578
16565
|
action_type: 'READ_CARD';
|
|
16579
16566
|
result: {
|
|
16580
|
-
/**
|
|
16581
|
-
acs_credential_id: string | null;
|
|
16582
|
-
/** A number or sting that physically identifies this card. */
|
|
16567
|
+
/** A number or string that physically identifies this card. */
|
|
16583
16568
|
card_number: string | null;
|
|
16584
16569
|
};
|
|
16585
16570
|
} | {
|
|
@@ -16608,7 +16593,7 @@ export interface Routes {
|
|
|
16608
16593
|
result: {
|
|
16609
16594
|
/** Matching acs_credential currently encoded on this card. */
|
|
16610
16595
|
acs_credential_id: string | null;
|
|
16611
|
-
/** A number or
|
|
16596
|
+
/** A number or string that physically identifies this card. */
|
|
16612
16597
|
card_number: string | null;
|
|
16613
16598
|
};
|
|
16614
16599
|
} | {
|
|
@@ -17154,9 +17139,7 @@ export interface Routes {
|
|
|
17154
17139
|
error: null;
|
|
17155
17140
|
action_type: 'READ_CARD';
|
|
17156
17141
|
result: {
|
|
17157
|
-
/**
|
|
17158
|
-
acs_credential_id: string | null;
|
|
17159
|
-
/** A number or sting that physically identifies this card. */
|
|
17142
|
+
/** A number or string that physically identifies this card. */
|
|
17160
17143
|
card_number: string | null;
|
|
17161
17144
|
};
|
|
17162
17145
|
} | {
|
|
@@ -17185,7 +17168,7 @@ export interface Routes {
|
|
|
17185
17168
|
result: {
|
|
17186
17169
|
/** Matching acs_credential currently encoded on this card. */
|
|
17187
17170
|
acs_credential_id: string | null;
|
|
17188
|
-
/** A number or
|
|
17171
|
+
/** A number or string that physically identifies this card. */
|
|
17189
17172
|
card_number: string | null;
|
|
17190
17173
|
};
|
|
17191
17174
|
} | {
|
|
@@ -19079,9 +19062,7 @@ export interface Routes {
|
|
|
19079
19062
|
error: null;
|
|
19080
19063
|
action_type: 'READ_CARD';
|
|
19081
19064
|
result: {
|
|
19082
|
-
/**
|
|
19083
|
-
acs_credential_id: string | null;
|
|
19084
|
-
/** A number or sting that physically identifies this card. */
|
|
19065
|
+
/** A number or string that physically identifies this card. */
|
|
19085
19066
|
card_number: string | null;
|
|
19086
19067
|
};
|
|
19087
19068
|
} | {
|
|
@@ -19110,7 +19091,7 @@ export interface Routes {
|
|
|
19110
19091
|
result: {
|
|
19111
19092
|
/** Matching acs_credential currently encoded on this card. */
|
|
19112
19093
|
acs_credential_id: string | null;
|
|
19113
|
-
/** A number or
|
|
19094
|
+
/** A number or string that physically identifies this card. */
|
|
19114
19095
|
card_number: string | null;
|
|
19115
19096
|
};
|
|
19116
19097
|
} | {
|
package/package.json
CHANGED
|
@@ -7,10 +7,16 @@ import {
|
|
|
7
7
|
} from './metadata/index.js'
|
|
8
8
|
|
|
9
9
|
export const acs_entrance = z.object({
|
|
10
|
-
acs_system_id: z
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
acs_system_id: z
|
|
11
|
+
.string()
|
|
12
|
+
.uuid()
|
|
13
|
+
.describe('ID of the access control system that contains the entrance.'),
|
|
14
|
+
acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
|
|
15
|
+
created_at: z
|
|
16
|
+
.string()
|
|
17
|
+
.datetime()
|
|
18
|
+
.describe('Date and time at which the entrance was created.'),
|
|
19
|
+
display_name: z.string().describe('Display name for the entrance.'),
|
|
14
20
|
errors: z.array(
|
|
15
21
|
z.object({
|
|
16
22
|
error_code: z.string(),
|
|
@@ -22,7 +22,7 @@ const result = z.object({
|
|
|
22
22
|
card_number: z
|
|
23
23
|
.string()
|
|
24
24
|
.nullable()
|
|
25
|
-
.describe('A number or
|
|
25
|
+
.describe('A number or string that physically identifies this card.'),
|
|
26
26
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
27
27
|
})
|
|
28
28
|
|
|
@@ -14,15 +14,15 @@ const error = z.object({
|
|
|
14
14
|
})
|
|
15
15
|
|
|
16
16
|
const result = z.object({
|
|
17
|
-
acs_credential_id: z
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
// TODO acs_credential_id: z
|
|
18
|
+
// .string()
|
|
19
|
+
// .uuid()
|
|
20
|
+
// .nullable()
|
|
21
|
+
// .describe("Matching acs_credential currently encoded on this card."),
|
|
22
22
|
card_number: z
|
|
23
23
|
.string()
|
|
24
24
|
.nullable()
|
|
25
|
-
.describe('A number or
|
|
25
|
+
.describe('A number or string that physically identifies this card.'),
|
|
26
26
|
// TODO visionline_metadata: visionline_credential_metadata,
|
|
27
27
|
})
|
|
28
28
|
|
|
@@ -376,10 +376,26 @@ export default {
|
|
|
376
376
|
},
|
|
377
377
|
acs_entrance: {
|
|
378
378
|
properties: {
|
|
379
|
-
acs_entrance_id: {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
379
|
+
acs_entrance_id: {
|
|
380
|
+
description: 'ID of the entrance.',
|
|
381
|
+
format: 'uuid',
|
|
382
|
+
type: 'string',
|
|
383
|
+
},
|
|
384
|
+
acs_system_id: {
|
|
385
|
+
description:
|
|
386
|
+
'ID of the access control system that contains the entrance.',
|
|
387
|
+
format: 'uuid',
|
|
388
|
+
type: 'string',
|
|
389
|
+
},
|
|
390
|
+
created_at: {
|
|
391
|
+
description: 'Date and time at which the entrance was created.',
|
|
392
|
+
format: 'date-time',
|
|
393
|
+
type: 'string',
|
|
394
|
+
},
|
|
395
|
+
display_name: {
|
|
396
|
+
description: 'Display name for the entrance.',
|
|
397
|
+
type: 'string',
|
|
398
|
+
},
|
|
383
399
|
errors: {
|
|
384
400
|
items: {
|
|
385
401
|
properties: {
|
|
@@ -1234,21 +1250,14 @@ export default {
|
|
|
1234
1250
|
error: { nullable: true },
|
|
1235
1251
|
result: {
|
|
1236
1252
|
properties: {
|
|
1237
|
-
acs_credential_id: {
|
|
1238
|
-
description:
|
|
1239
|
-
'Matching acs_credential currently encoded on this card.',
|
|
1240
|
-
format: 'uuid',
|
|
1241
|
-
nullable: true,
|
|
1242
|
-
type: 'string',
|
|
1243
|
-
},
|
|
1244
1253
|
card_number: {
|
|
1245
1254
|
description:
|
|
1246
|
-
'A number or
|
|
1255
|
+
'A number or string that physically identifies this card.',
|
|
1247
1256
|
nullable: true,
|
|
1248
1257
|
type: 'string',
|
|
1249
1258
|
},
|
|
1250
1259
|
},
|
|
1251
|
-
required: ['
|
|
1260
|
+
required: ['card_number'],
|
|
1252
1261
|
type: 'object',
|
|
1253
1262
|
},
|
|
1254
1263
|
status: { enum: ['success'], type: 'string' },
|
|
@@ -1337,7 +1346,7 @@ export default {
|
|
|
1337
1346
|
},
|
|
1338
1347
|
card_number: {
|
|
1339
1348
|
description:
|
|
1340
|
-
'A number or
|
|
1349
|
+
'A number or string that physically identifies this card.',
|
|
1341
1350
|
nullable: true,
|
|
1342
1351
|
type: 'string',
|
|
1343
1352
|
},
|
|
@@ -7628,9 +7637,10 @@ export default {
|
|
|
7628
7637
|
},
|
|
7629
7638
|
{
|
|
7630
7639
|
properties: {
|
|
7640
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
7631
7641
|
device_id: { format: 'uuid', type: 'string' },
|
|
7632
7642
|
},
|
|
7633
|
-
required: ['device_id'],
|
|
7643
|
+
required: ['acs_system_id', 'device_id'],
|
|
7634
7644
|
type: 'object',
|
|
7635
7645
|
},
|
|
7636
7646
|
],
|