@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.
@@ -1717,13 +1717,10 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1717
1717
  }>, {
1718
1718
  action_type: z.ZodLiteral<"READ_CARD">;
1719
1719
  result: z.ZodObject<{
1720
- acs_credential_id: z.ZodNullable<z.ZodString>;
1721
1720
  card_number: z.ZodNullable<z.ZodString>;
1722
1721
  }, "strip", z.ZodTypeAny, {
1723
- acs_credential_id: string | null;
1724
1722
  card_number: string | null;
1725
1723
  }, {
1726
- acs_credential_id: string | null;
1727
1724
  card_number: string | null;
1728
1725
  }>;
1729
1726
  }>, "strip", z.ZodTypeAny, {
@@ -1731,7 +1728,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1731
1728
  action_attempt_id: string;
1732
1729
  error: null;
1733
1730
  result: {
1734
- acs_credential_id: string | null;
1735
1731
  card_number: string | null;
1736
1732
  };
1737
1733
  action_type: "READ_CARD";
@@ -1740,7 +1736,6 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1740
1736
  action_attempt_id: string;
1741
1737
  error: null;
1742
1738
  result: {
1743
- acs_credential_id: string | null;
1744
1739
  card_number: string | null;
1745
1740
  };
1746
1741
  action_type: "READ_CARD";
@@ -10192,18 +10187,22 @@ declare const _default: {
10192
10187
  acs_entrance: {
10193
10188
  properties: {
10194
10189
  acs_entrance_id: {
10190
+ description: string;
10195
10191
  format: string;
10196
10192
  type: string;
10197
10193
  };
10198
10194
  acs_system_id: {
10195
+ description: string;
10199
10196
  format: string;
10200
10197
  type: string;
10201
10198
  };
10202
10199
  created_at: {
10200
+ description: string;
10203
10201
  format: string;
10204
10202
  type: string;
10205
10203
  };
10206
10204
  display_name: {
10205
+ description: string;
10207
10206
  type: string;
10208
10207
  };
10209
10208
  errors: {
@@ -10690,8 +10689,8 @@ declare const _default: {
10690
10689
  };
10691
10690
  result: {
10692
10691
  properties: {
10693
- acs_credential_id?: never;
10694
10692
  card_number?: never;
10693
+ acs_credential_id?: never;
10695
10694
  };
10696
10695
  type: string;
10697
10696
  nullable?: never;
@@ -10743,6 +10742,45 @@ declare const _default: {
10743
10742
  };
10744
10743
  required: string[];
10745
10744
  type: string;
10745
+ } | {
10746
+ description: string;
10747
+ properties: {
10748
+ action_attempt_id: {
10749
+ description: string;
10750
+ format: string;
10751
+ type: string;
10752
+ 'x-title': string;
10753
+ };
10754
+ action_type: {
10755
+ enum: string[];
10756
+ type: string;
10757
+ };
10758
+ error: {
10759
+ nullable: boolean;
10760
+ properties?: never;
10761
+ required?: never;
10762
+ type?: never;
10763
+ };
10764
+ result: {
10765
+ properties: {
10766
+ card_number: {
10767
+ description: string;
10768
+ nullable: boolean;
10769
+ type: string;
10770
+ };
10771
+ acs_credential_id?: never;
10772
+ };
10773
+ required: string[];
10774
+ type: string;
10775
+ nullable?: never;
10776
+ };
10777
+ status: {
10778
+ enum: string[];
10779
+ type: string;
10780
+ };
10781
+ };
10782
+ required: string[];
10783
+ type: string;
10746
10784
  } | {
10747
10785
  description: string;
10748
10786
  properties: {
@@ -17881,11 +17919,14 @@ declare const _default: {
17881
17919
  type: string;
17882
17920
  } | {
17883
17921
  properties: {
17922
+ acs_system_id: {
17923
+ format: string;
17924
+ type: string;
17925
+ };
17884
17926
  device_id: {
17885
17927
  format: string;
17886
17928
  type: string;
17887
17929
  };
17888
- acs_system_id?: never;
17889
17930
  device_name?: never;
17890
17931
  };
17891
17932
  required: string[];
@@ -28324,9 +28365,7 @@ interface Routes {
28324
28365
  error: null;
28325
28366
  action_type: 'READ_CARD';
28326
28367
  result: {
28327
- /** Matching acs_credential currently encoded on this card. */
28328
- acs_credential_id: string | null;
28329
- /** A number or sting that physically identifies this card. */
28368
+ /** A number or string that physically identifies this card. */
28330
28369
  card_number: string | null;
28331
28370
  };
28332
28371
  } | {
@@ -28355,7 +28394,7 @@ interface Routes {
28355
28394
  result: {
28356
28395
  /** Matching acs_credential currently encoded on this card. */
28357
28396
  acs_credential_id: string | null;
28358
- /** A number or sting that physically identifies this card. */
28397
+ /** A number or string that physically identifies this card. */
28359
28398
  card_number: string | null;
28360
28399
  };
28361
28400
  } | {
@@ -28930,9 +28969,7 @@ interface Routes {
28930
28969
  error: null;
28931
28970
  action_type: 'READ_CARD';
28932
28971
  result: {
28933
- /** Matching acs_credential currently encoded on this card. */
28934
- acs_credential_id: string | null;
28935
- /** A number or sting that physically identifies this card. */
28972
+ /** A number or string that physically identifies this card. */
28936
28973
  card_number: string | null;
28937
28974
  };
28938
28975
  } | {
@@ -28961,7 +28998,7 @@ interface Routes {
28961
28998
  result: {
28962
28999
  /** Matching acs_credential currently encoded on this card. */
28963
29000
  acs_credential_id: string | null;
28964
- /** A number or sting that physically identifies this card. */
29001
+ /** A number or string that physically identifies this card. */
28965
29002
  card_number: string | null;
28966
29003
  };
28967
29004
  } | {
@@ -29693,9 +29730,7 @@ interface Routes {
29693
29730
  error: null;
29694
29731
  action_type: 'READ_CARD';
29695
29732
  result: {
29696
- /** Matching acs_credential currently encoded on this card. */
29697
- acs_credential_id: string | null;
29698
- /** A number or sting that physically identifies this card. */
29733
+ /** A number or string that physically identifies this card. */
29699
29734
  card_number: string | null;
29700
29735
  };
29701
29736
  } | {
@@ -29724,7 +29759,7 @@ interface Routes {
29724
29759
  result: {
29725
29760
  /** Matching acs_credential currently encoded on this card. */
29726
29761
  acs_credential_id: string | null;
29727
- /** A number or sting that physically identifies this card. */
29762
+ /** A number or string that physically identifies this card. */
29728
29763
  card_number: string | null;
29729
29764
  };
29730
29765
  } | {
@@ -30286,9 +30321,7 @@ interface Routes {
30286
30321
  error: null;
30287
30322
  action_type: 'READ_CARD';
30288
30323
  result: {
30289
- /** Matching acs_credential currently encoded on this card. */
30290
- acs_credential_id: string | null;
30291
- /** A number or sting that physically identifies this card. */
30324
+ /** A number or string that physically identifies this card. */
30292
30325
  card_number: string | null;
30293
30326
  };
30294
30327
  } | {
@@ -30317,7 +30350,7 @@ interface Routes {
30317
30350
  result: {
30318
30351
  /** Matching acs_credential currently encoded on this card. */
30319
30352
  acs_credential_id: string | null;
30320
- /** A number or sting that physically identifies this card. */
30353
+ /** A number or string that physically identifies this card. */
30321
30354
  card_number: string | null;
30322
30355
  };
30323
30356
  } | {
@@ -30751,9 +30784,13 @@ interface Routes {
30751
30784
  formData: {};
30752
30785
  jsonResponse: {
30753
30786
  acs_entrances: Array<{
30787
+ /** ID of the access control system that contains the entrance. */
30754
30788
  acs_system_id: string;
30789
+ /** ID of the entrance. */
30755
30790
  acs_entrance_id: string;
30791
+ /** Date and time at which the entrance was created. */
30756
30792
  created_at: string;
30793
+ /** Display name for the entrance. */
30757
30794
  display_name: string;
30758
30795
  errors: Array<{
30759
30796
  error_code: string;
@@ -31265,9 +31302,13 @@ interface Routes {
31265
31302
  formData: {};
31266
31303
  jsonResponse: {
31267
31304
  acs_entrances: Array<{
31305
+ /** ID of the access control system that contains the entrance. */
31268
31306
  acs_system_id: string;
31307
+ /** ID of the entrance. */
31269
31308
  acs_entrance_id: string;
31309
+ /** Date and time at which the entrance was created. */
31270
31310
  created_at: string;
31311
+ /** Display name for the entrance. */
31271
31312
  display_name: string;
31272
31313
  errors: Array<{
31273
31314
  error_code: string;
@@ -31597,9 +31638,7 @@ interface Routes {
31597
31638
  error: null;
31598
31639
  action_type: 'READ_CARD';
31599
31640
  result: {
31600
- /** Matching acs_credential currently encoded on this card. */
31601
- acs_credential_id: string | null;
31602
- /** A number or sting that physically identifies this card. */
31641
+ /** A number or string that physically identifies this card. */
31603
31642
  card_number: string | null;
31604
31643
  };
31605
31644
  } | {
@@ -31628,7 +31667,7 @@ interface Routes {
31628
31667
  result: {
31629
31668
  /** Matching acs_credential currently encoded on this card. */
31630
31669
  acs_credential_id: string | null;
31631
- /** A number or sting that physically identifies this card. */
31670
+ /** A number or string that physically identifies this card. */
31632
31671
  card_number: string | null;
31633
31672
  };
31634
31673
  } | {
@@ -32448,6 +32487,7 @@ interface Routes {
32448
32487
  acs_system_id: string;
32449
32488
  device_name: string;
32450
32489
  } | {
32490
+ acs_system_id: string;
32451
32491
  device_id: string;
32452
32492
  };
32453
32493
  formData: {};
@@ -32514,9 +32554,7 @@ interface Routes {
32514
32554
  error: null;
32515
32555
  action_type: 'READ_CARD';
32516
32556
  result: {
32517
- /** Matching acs_credential currently encoded on this card. */
32518
- acs_credential_id: string | null;
32519
- /** A number or sting that physically identifies this card. */
32557
+ /** A number or string that physically identifies this card. */
32520
32558
  card_number: string | null;
32521
32559
  };
32522
32560
  } | {
@@ -32545,7 +32583,7 @@ interface Routes {
32545
32583
  result: {
32546
32584
  /** Matching acs_credential currently encoded on this card. */
32547
32585
  acs_credential_id: string | null;
32548
- /** A number or sting that physically identifies this card. */
32586
+ /** A number or string that physically identifies this card. */
32549
32587
  card_number: string | null;
32550
32588
  };
32551
32589
  } | {
@@ -32908,9 +32946,13 @@ interface Routes {
32908
32946
  formData: {};
32909
32947
  jsonResponse: {
32910
32948
  acs_entrance: {
32949
+ /** ID of the access control system that contains the entrance. */
32911
32950
  acs_system_id: string;
32951
+ /** ID of the entrance. */
32912
32952
  acs_entrance_id: string;
32953
+ /** Date and time at which the entrance was created. */
32913
32954
  created_at: string;
32955
+ /** Display name for the entrance. */
32914
32956
  display_name: string;
32915
32957
  errors: Array<{
32916
32958
  error_code: string;
@@ -32967,9 +33009,13 @@ interface Routes {
32967
33009
  formData: {};
32968
33010
  jsonResponse: {
32969
33011
  acs_entrances: Array<{
33012
+ /** ID of the access control system that contains the entrance. */
32970
33013
  acs_system_id: string;
33014
+ /** ID of the entrance. */
32971
33015
  acs_entrance_id: string;
33016
+ /** Date and time at which the entrance was created. */
32972
33017
  created_at: string;
33018
+ /** Display name for the entrance. */
32973
33019
  display_name: string;
32974
33020
  errors: Array<{
32975
33021
  error_code: string;
@@ -33727,9 +33773,13 @@ interface Routes {
33727
33773
  formData: {};
33728
33774
  jsonResponse: {
33729
33775
  acs_entrances: Array<{
33776
+ /** ID of the access control system that contains the entrance. */
33730
33777
  acs_system_id: string;
33778
+ /** ID of the entrance. */
33731
33779
  acs_entrance_id: string;
33780
+ /** Date and time at which the entrance was created. */
33732
33781
  created_at: string;
33782
+ /** Display name for the entrance. */
33733
33783
  display_name: string;
33734
33784
  errors: Array<{
33735
33785
  error_code: string;
@@ -34115,9 +34165,7 @@ interface Routes {
34115
34165
  error: null;
34116
34166
  action_type: 'READ_CARD';
34117
34167
  result: {
34118
- /** Matching acs_credential currently encoded on this card. */
34119
- acs_credential_id: string | null;
34120
- /** A number or sting that physically identifies this card. */
34168
+ /** A number or string that physically identifies this card. */
34121
34169
  card_number: string | null;
34122
34170
  };
34123
34171
  } | {
@@ -34146,7 +34194,7 @@ interface Routes {
34146
34194
  result: {
34147
34195
  /** Matching acs_credential currently encoded on this card. */
34148
34196
  acs_credential_id: string | null;
34149
- /** A number or sting that physically identifies this card. */
34197
+ /** A number or string that physically identifies this card. */
34150
34198
  card_number: string | null;
34151
34199
  };
34152
34200
  } | {
@@ -34570,9 +34618,7 @@ interface Routes {
34570
34618
  error: null;
34571
34619
  action_type: 'READ_CARD';
34572
34620
  result: {
34573
- /** Matching acs_credential currently encoded on this card. */
34574
- acs_credential_id: string | null;
34575
- /** A number or sting that physically identifies this card. */
34621
+ /** A number or string that physically identifies this card. */
34576
34622
  card_number: string | null;
34577
34623
  };
34578
34624
  } | {
@@ -34601,7 +34647,7 @@ interface Routes {
34601
34647
  result: {
34602
34648
  /** Matching acs_credential currently encoded on this card. */
34603
34649
  acs_credential_id: string | null;
34604
- /** A number or sting that physically identifies this card. */
34650
+ /** A number or string that physically identifies this card. */
34605
34651
  card_number: string | null;
34606
34652
  };
34607
34653
  } | {
@@ -38571,9 +38617,7 @@ interface Routes {
38571
38617
  error: null;
38572
38618
  action_type: 'READ_CARD';
38573
38619
  result: {
38574
- /** Matching acs_credential currently encoded on this card. */
38575
- acs_credential_id: string | null;
38576
- /** A number or sting that physically identifies this card. */
38620
+ /** A number or string that physically identifies this card. */
38577
38621
  card_number: string | null;
38578
38622
  };
38579
38623
  } | {
@@ -38602,7 +38646,7 @@ interface Routes {
38602
38646
  result: {
38603
38647
  /** Matching acs_credential currently encoded on this card. */
38604
38648
  acs_credential_id: string | null;
38605
- /** A number or sting that physically identifies this card. */
38649
+ /** A number or string that physically identifies this card. */
38606
38650
  card_number: string | null;
38607
38651
  };
38608
38652
  } | {
@@ -39027,9 +39071,7 @@ interface Routes {
39027
39071
  error: null;
39028
39072
  action_type: 'READ_CARD';
39029
39073
  result: {
39030
- /** Matching acs_credential currently encoded on this card. */
39031
- acs_credential_id: string | null;
39032
- /** A number or sting that physically identifies this card. */
39074
+ /** A number or string that physically identifies this card. */
39033
39075
  card_number: string | null;
39034
39076
  };
39035
39077
  } | {
@@ -39058,7 +39100,7 @@ interface Routes {
39058
39100
  result: {
39059
39101
  /** Matching acs_credential currently encoded on this card. */
39060
39102
  acs_credential_id: string | null;
39061
- /** A number or sting that physically identifies this card. */
39103
+ /** A number or string that physically identifies this card. */
39062
39104
  card_number: string | null;
39063
39105
  };
39064
39106
  } | {
@@ -40425,9 +40467,7 @@ interface Routes {
40425
40467
  error: null;
40426
40468
  action_type: 'READ_CARD';
40427
40469
  result: {
40428
- /** Matching acs_credential currently encoded on this card. */
40429
- acs_credential_id: string | null;
40430
- /** A number or sting that physically identifies this card. */
40470
+ /** A number or string that physically identifies this card. */
40431
40471
  card_number: string | null;
40432
40472
  };
40433
40473
  } | {
@@ -40456,7 +40496,7 @@ interface Routes {
40456
40496
  result: {
40457
40497
  /** Matching acs_credential currently encoded on this card. */
40458
40498
  acs_credential_id: string | null;
40459
- /** A number or sting that physically identifies this card. */
40499
+ /** A number or string that physically identifies this card. */
40460
40500
  card_number: string | null;
40461
40501
  };
40462
40502
  } | {
@@ -40891,9 +40931,7 @@ interface Routes {
40891
40931
  error: null;
40892
40932
  action_type: 'READ_CARD';
40893
40933
  result: {
40894
- /** Matching acs_credential currently encoded on this card. */
40895
- acs_credential_id: string | null;
40896
- /** A number or sting that physically identifies this card. */
40934
+ /** A number or string that physically identifies this card. */
40897
40935
  card_number: string | null;
40898
40936
  };
40899
40937
  } | {
@@ -40922,7 +40960,7 @@ interface Routes {
40922
40960
  result: {
40923
40961
  /** Matching acs_credential currently encoded on this card. */
40924
40962
  acs_credential_id: string | null;
40925
- /** A number or sting that physically identifies this card. */
40963
+ /** A number or string that physically identifies this card. */
40926
40964
  card_number: string | null;
40927
40965
  };
40928
40966
  } | {
@@ -41396,9 +41434,7 @@ interface Routes {
41396
41434
  error: null;
41397
41435
  action_type: 'READ_CARD';
41398
41436
  result: {
41399
- /** Matching acs_credential currently encoded on this card. */
41400
- acs_credential_id: string | null;
41401
- /** A number or sting that physically identifies this card. */
41437
+ /** A number or string that physically identifies this card. */
41402
41438
  card_number: string | null;
41403
41439
  };
41404
41440
  } | {
@@ -41427,7 +41463,7 @@ interface Routes {
41427
41463
  result: {
41428
41464
  /** Matching acs_credential currently encoded on this card. */
41429
41465
  acs_credential_id: string | null;
41430
- /** A number or sting that physically identifies this card. */
41466
+ /** A number or string that physically identifies this card. */
41431
41467
  card_number: string | null;
41432
41468
  };
41433
41469
  } | {
@@ -42034,9 +42070,7 @@ interface Routes {
42034
42070
  error: null;
42035
42071
  action_type: 'READ_CARD';
42036
42072
  result: {
42037
- /** Matching acs_credential currently encoded on this card. */
42038
- acs_credential_id: string | null;
42039
- /** A number or sting that physically identifies this card. */
42073
+ /** A number or string that physically identifies this card. */
42040
42074
  card_number: string | null;
42041
42075
  };
42042
42076
  } | {
@@ -42065,7 +42099,7 @@ interface Routes {
42065
42099
  result: {
42066
42100
  /** Matching acs_credential currently encoded on this card. */
42067
42101
  acs_credential_id: string | null;
42068
- /** A number or sting that physically identifies this card. */
42102
+ /** A number or string that physically identifies this card. */
42069
42103
  card_number: string | null;
42070
42104
  };
42071
42105
  } | {
@@ -42492,9 +42526,7 @@ interface Routes {
42492
42526
  error: null;
42493
42527
  action_type: 'READ_CARD';
42494
42528
  result: {
42495
- /** Matching acs_credential currently encoded on this card. */
42496
- acs_credential_id: string | null;
42497
- /** A number or sting that physically identifies this card. */
42529
+ /** A number or string that physically identifies this card. */
42498
42530
  card_number: string | null;
42499
42531
  };
42500
42532
  } | {
@@ -42523,7 +42555,7 @@ interface Routes {
42523
42555
  result: {
42524
42556
  /** Matching acs_credential currently encoded on this card. */
42525
42557
  acs_credential_id: string | null;
42526
- /** A number or sting that physically identifies this card. */
42558
+ /** A number or string that physically identifies this card. */
42527
42559
  card_number: string | null;
42528
42560
  };
42529
42561
  } | {
@@ -43434,9 +43466,7 @@ interface Routes {
43434
43466
  error: null;
43435
43467
  action_type: 'READ_CARD';
43436
43468
  result: {
43437
- /** Matching acs_credential currently encoded on this card. */
43438
- acs_credential_id: string | null;
43439
- /** A number or sting that physically identifies this card. */
43469
+ /** A number or string that physically identifies this card. */
43440
43470
  card_number: string | null;
43441
43471
  };
43442
43472
  } | {
@@ -43465,7 +43495,7 @@ interface Routes {
43465
43495
  result: {
43466
43496
  /** Matching acs_credential currently encoded on this card. */
43467
43497
  acs_credential_id: string | null;
43468
- /** A number or sting that physically identifies this card. */
43498
+ /** A number or string that physically identifies this card. */
43469
43499
  card_number: string | null;
43470
43500
  };
43471
43501
  } | {
@@ -43894,9 +43924,7 @@ interface Routes {
43894
43924
  error: null;
43895
43925
  action_type: 'READ_CARD';
43896
43926
  result: {
43897
- /** Matching acs_credential currently encoded on this card. */
43898
- acs_credential_id: string | null;
43899
- /** A number or sting that physically identifies this card. */
43927
+ /** A number or string that physically identifies this card. */
43900
43928
  card_number: string | null;
43901
43929
  };
43902
43930
  } | {
@@ -43925,7 +43953,7 @@ interface Routes {
43925
43953
  result: {
43926
43954
  /** Matching acs_credential currently encoded on this card. */
43927
43955
  acs_credential_id: string | null;
43928
- /** A number or sting that physically identifies this card. */
43956
+ /** A number or string that physically identifies this card. */
43929
43957
  card_number: string | null;
43930
43958
  };
43931
43959
  } | {
@@ -44814,9 +44842,7 @@ interface Routes {
44814
44842
  error: null;
44815
44843
  action_type: 'READ_CARD';
44816
44844
  result: {
44817
- /** Matching acs_credential currently encoded on this card. */
44818
- acs_credential_id: string | null;
44819
- /** A number or sting that physically identifies this card. */
44845
+ /** A number or string that physically identifies this card. */
44820
44846
  card_number: string | null;
44821
44847
  };
44822
44848
  } | {
@@ -44845,7 +44871,7 @@ interface Routes {
44845
44871
  result: {
44846
44872
  /** Matching acs_credential currently encoded on this card. */
44847
44873
  acs_credential_id: string | null;
44848
- /** A number or sting that physically identifies this card. */
44874
+ /** A number or string that physically identifies this card. */
44849
44875
  card_number: string | null;
44850
44876
  };
44851
44877
  } | {
@@ -45391,9 +45417,7 @@ interface Routes {
45391
45417
  error: null;
45392
45418
  action_type: 'READ_CARD';
45393
45419
  result: {
45394
- /** Matching acs_credential currently encoded on this card. */
45395
- acs_credential_id: string | null;
45396
- /** A number or sting that physically identifies this card. */
45420
+ /** A number or string that physically identifies this card. */
45397
45421
  card_number: string | null;
45398
45422
  };
45399
45423
  } | {
@@ -45422,7 +45446,7 @@ interface Routes {
45422
45446
  result: {
45423
45447
  /** Matching acs_credential currently encoded on this card. */
45424
45448
  acs_credential_id: string | null;
45425
- /** A number or sting that physically identifies this card. */
45449
+ /** A number or string that physically identifies this card. */
45426
45450
  card_number: string | null;
45427
45451
  };
45428
45452
  } | {
@@ -47316,9 +47340,7 @@ interface Routes {
47316
47340
  error: null;
47317
47341
  action_type: 'READ_CARD';
47318
47342
  result: {
47319
- /** Matching acs_credential currently encoded on this card. */
47320
- acs_credential_id: string | null;
47321
- /** A number or sting that physically identifies this card. */
47343
+ /** A number or string that physically identifies this card. */
47322
47344
  card_number: string | null;
47323
47345
  };
47324
47346
  } | {
@@ -47347,7 +47369,7 @@ interface Routes {
47347
47369
  result: {
47348
47370
  /** Matching acs_credential currently encoded on this card. */
47349
47371
  acs_credential_id: string | null;
47350
- /** A number or sting that physically identifies this card. */
47372
+ /** A number or string that physically identifies this card. */
47351
47373
  card_number: string | null;
47352
47374
  };
47353
47375
  } | {
@@ -1,10 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  import { acs_entrance_latch_metadata, acs_entrance_salto_ks_metadata, acs_entrance_visionline_metadata, } from './metadata/index.js';
3
3
  export const acs_entrance = z.object({
4
- acs_system_id: z.string().uuid(),
5
- acs_entrance_id: z.string().uuid(),
6
- created_at: z.string().datetime(),
7
- display_name: z.string(),
4
+ acs_system_id: z
5
+ .string()
6
+ .uuid()
7
+ .describe('ID of the access control system that contains the entrance.'),
8
+ acs_entrance_id: z.string().uuid().describe('ID of the entrance.'),
9
+ created_at: z
10
+ .string()
11
+ .datetime()
12
+ .describe('Date and time at which the entrance was created.'),
13
+ display_name: z.string().describe('Display name for the entrance.'),
8
14
  errors: z.array(z.object({
9
15
  error_code: z.string(),
10
16
  message: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAA"}
1
+ {"version":3,"file":"acs-entrance.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,qBAAqB,CAAA;AAE5B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;IAClE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACnE,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,cAAc,EAAE,2BAA2B,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IAChE,iBAAiB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;CAC7D,CAAC,CAAA"}
@@ -185,13 +185,10 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
185
185
  }>, {
186
186
  action_type: z.ZodLiteral<"READ_CARD">;
187
187
  result: z.ZodObject<{
188
- acs_credential_id: z.ZodNullable<z.ZodString>;
189
188
  card_number: z.ZodNullable<z.ZodString>;
190
189
  }, "strip", z.ZodTypeAny, {
191
- acs_credential_id: string | null;
192
190
  card_number: string | null;
193
191
  }, {
194
- acs_credential_id: string | null;
195
192
  card_number: string | null;
196
193
  }>;
197
194
  }>, "strip", z.ZodTypeAny, {
@@ -199,7 +196,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
199
196
  status: "success";
200
197
  action_attempt_id: string;
201
198
  result: {
202
- acs_credential_id: string | null;
203
199
  card_number: string | null;
204
200
  };
205
201
  action_type: "READ_CARD";
@@ -208,7 +204,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
208
204
  status: "success";
209
205
  action_attempt_id: string;
210
206
  result: {
211
- acs_credential_id: string | null;
212
207
  card_number: string | null;
213
208
  };
214
209
  action_type: "READ_CARD";
@@ -14,7 +14,7 @@ const result = z.object({
14
14
  card_number: z
15
15
  .string()
16
16
  .nullable()
17
- .describe('A number or sting that physically identifies this card.'),
17
+ .describe('A number or string that physically identifies this card.'),
18
18
  // TODO visionline_metadata: visionline_credential_metadata,
19
19
  });
20
20
  export const encode_card_action_attempt = z.discriminatedUnion('status', [
@@ -1 +1 @@
1
- {"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}
1
+ {"version":3,"file":"encode-card.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/encode-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAA;AAE5C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,8DAA8D;IAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC;IACtB,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;IACtE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4DAA4D;CAC7D,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,2CAA2C,CAAC;IACxD,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,qDAAqD,CAAC;IAClE,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAA"}