@seamapi/types 1.289.0 → 1.290.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.
Files changed (28) hide show
  1. package/dist/connect.cjs +70 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +212 -164
  4. package/lib/seam/connect/models/acs/acs-system.d.ts +20 -0
  5. package/lib/seam/connect/models/acs/acs-system.js +7 -0
  6. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
  8. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  9. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  11. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  12. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  13. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  14. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  15. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  16. package/lib/seam/connect/openapi.d.ts +17 -2
  17. package/lib/seam/connect/openapi.js +53 -25
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +164 -144
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/models/acs/acs-system.ts +8 -0
  22. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  23. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  24. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  25. package/src/lib/seam/connect/openapi.ts +58 -25
  26. package/src/lib/seam/connect/route-types.ts +164 -144
  27. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  28. package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
@@ -954,6 +954,13 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
954
954
  }>>;
955
955
  system_type: z.ZodOptional<z.ZodEnum<["pti_site", "alta_org", "salto_ks_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service", "latch_building", "dormakaba_community", "legic_connect", "assa_abloy_vostio", "assa_abloy_vostio_credential_service"]>>;
956
956
  system_type_display_name: z.ZodOptional<z.ZodString>;
957
+ location: z.ZodObject<{
958
+ time_zone: z.ZodNullable<z.ZodString>;
959
+ }, "strip", z.ZodTypeAny, {
960
+ time_zone: string | null;
961
+ }, {
962
+ time_zone: string | null;
963
+ }>;
957
964
  name: z.ZodString;
958
965
  created_at: z.ZodString;
959
966
  workspace_id: z.ZodString;
@@ -1076,6 +1083,9 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1076
1083
  name: string;
1077
1084
  image_url: string;
1078
1085
  image_alt_text: string;
1086
+ location: {
1087
+ time_zone: string | null;
1088
+ };
1079
1089
  workspace_id: string;
1080
1090
  acs_system_id: string;
1081
1091
  is_credential_manager: boolean;
@@ -1125,6 +1135,9 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1125
1135
  name: string;
1126
1136
  image_url: string;
1127
1137
  image_alt_text: string;
1138
+ location: {
1139
+ time_zone: string | null;
1140
+ };
1128
1141
  workspace_id: string;
1129
1142
  acs_system_id: string;
1130
1143
  is_credential_manager: boolean;
@@ -1786,19 +1799,19 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1786
1799
  result: z.ZodNull;
1787
1800
  error: z.ZodNull;
1788
1801
  }>, {
1789
- action_type: z.ZodLiteral<"SCAN_CARD">;
1802
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
1790
1803
  }>, "strip", z.ZodTypeAny, {
1791
1804
  status: "pending";
1792
1805
  action_attempt_id: string;
1793
1806
  error: null;
1794
1807
  result: null;
1795
- action_type: "SCAN_CARD";
1808
+ action_type: "SCAN_CREDENTIAL";
1796
1809
  }, {
1797
1810
  status: "pending";
1798
1811
  action_attempt_id: string;
1799
1812
  error: null;
1800
1813
  result: null;
1801
- action_type: "SCAN_CARD";
1814
+ action_type: "SCAN_CREDENTIAL";
1802
1815
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1803
1816
  action_attempt_id: z.ZodString;
1804
1817
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1806,7 +1819,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1806
1819
  status: z.ZodLiteral<"success">;
1807
1820
  error: z.ZodNull;
1808
1821
  }>, {
1809
- action_type: z.ZodLiteral<"SCAN_CARD">;
1822
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
1810
1823
  result: z.ZodObject<{
1811
1824
  acs_credential_on_encoder: z.ZodObject<{
1812
1825
  created_at: z.ZodNullable<z.ZodString>;
@@ -2535,7 +2548,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2535
2548
  latest_desired_state_synced_with_provider_at?: string | undefined;
2536
2549
  } | null;
2537
2550
  };
2538
- action_type: "SCAN_CARD";
2551
+ action_type: "SCAN_CREDENTIAL";
2539
2552
  }, {
2540
2553
  status: "success";
2541
2554
  action_attempt_id: string;
@@ -2648,7 +2661,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2648
2661
  latest_desired_state_synced_with_provider_at?: string | undefined;
2649
2662
  } | null;
2650
2663
  };
2651
- action_type: "SCAN_CARD";
2664
+ action_type: "SCAN_CREDENTIAL";
2652
2665
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2653
2666
  action_attempt_id: z.ZodString;
2654
2667
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2656,7 +2669,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2656
2669
  status: z.ZodLiteral<"error">;
2657
2670
  result: z.ZodNull;
2658
2671
  }>, {
2659
- action_type: z.ZodLiteral<"SCAN_CARD">;
2672
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
2660
2673
  error: z.ZodUnion<[z.ZodObject<{
2661
2674
  type: z.ZodLiteral<"uncategorized_error">;
2662
2675
  message: z.ZodString;
@@ -2699,7 +2712,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2699
2712
  type: "no_card_on_encoder";
2700
2713
  };
2701
2714
  result: null;
2702
- action_type: "SCAN_CARD";
2715
+ action_type: "SCAN_CREDENTIAL";
2703
2716
  }, {
2704
2717
  status: "error";
2705
2718
  action_attempt_id: string;
@@ -2714,7 +2727,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2714
2727
  type: "no_card_on_encoder";
2715
2728
  };
2716
2729
  result: null;
2717
- action_type: "SCAN_CARD";
2730
+ action_type: "SCAN_CREDENTIAL";
2718
2731
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2719
2732
  action_attempt_id: z.ZodString;
2720
2733
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2723,19 +2736,19 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2723
2736
  result: z.ZodNull;
2724
2737
  error: z.ZodNull;
2725
2738
  }>, {
2726
- action_type: z.ZodLiteral<"ENCODE_CARD">;
2739
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
2727
2740
  }>, "strip", z.ZodTypeAny, {
2728
2741
  status: "pending";
2729
2742
  action_attempt_id: string;
2730
2743
  error: null;
2731
2744
  result: null;
2732
- action_type: "ENCODE_CARD";
2745
+ action_type: "ENCODE_CREDENTIAL";
2733
2746
  }, {
2734
2747
  status: "pending";
2735
2748
  action_attempt_id: string;
2736
2749
  error: null;
2737
2750
  result: null;
2738
- action_type: "ENCODE_CARD";
2751
+ action_type: "ENCODE_CREDENTIAL";
2739
2752
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2740
2753
  action_attempt_id: z.ZodString;
2741
2754
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2743,7 +2756,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2743
2756
  status: z.ZodLiteral<"success">;
2744
2757
  error: z.ZodNull;
2745
2758
  }>, {
2746
- action_type: z.ZodLiteral<"ENCODE_CARD">;
2759
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
2747
2760
  result: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2748
2761
  acs_credential_id: z.ZodString;
2749
2762
  acs_user_id: z.ZodOptional<z.ZodString>;
@@ -3132,7 +3145,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3132
3145
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
3133
3146
  latest_desired_state_synced_with_provider_at?: string | undefined;
3134
3147
  };
3135
- action_type: "ENCODE_CARD";
3148
+ action_type: "ENCODE_CREDENTIAL";
3136
3149
  }, {
3137
3150
  status: "success";
3138
3151
  action_attempt_id: string;
@@ -3218,7 +3231,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3218
3231
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
3219
3232
  latest_desired_state_synced_with_provider_at?: string | undefined;
3220
3233
  };
3221
- action_type: "ENCODE_CARD";
3234
+ action_type: "ENCODE_CREDENTIAL";
3222
3235
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3223
3236
  action_attempt_id: z.ZodString;
3224
3237
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -3226,7 +3239,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3226
3239
  status: z.ZodLiteral<"error">;
3227
3240
  result: z.ZodNull;
3228
3241
  }>, {
3229
- action_type: z.ZodLiteral<"ENCODE_CARD">;
3242
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
3230
3243
  error: z.ZodUnion<[z.ZodObject<{
3231
3244
  type: z.ZodLiteral<"uncategorized_error">;
3232
3245
  message: z.ZodString;
@@ -3281,7 +3294,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3281
3294
  type: "incompatible_card_format";
3282
3295
  };
3283
3296
  result: null;
3284
- action_type: "ENCODE_CARD";
3297
+ action_type: "ENCODE_CREDENTIAL";
3285
3298
  }, {
3286
3299
  status: "error";
3287
3300
  action_attempt_id: string;
@@ -3299,7 +3312,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3299
3312
  type: "incompatible_card_format";
3300
3313
  };
3301
3314
  result: null;
3302
- action_type: "ENCODE_CARD";
3315
+ action_type: "ENCODE_CREDENTIAL";
3303
3316
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3304
3317
  action_attempt_id: z.ZodString;
3305
3318
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -12492,6 +12505,17 @@ declare const _default: {
12492
12505
  description: string;
12493
12506
  type: string;
12494
12507
  };
12508
+ location: {
12509
+ properties: {
12510
+ time_zone: {
12511
+ description: string;
12512
+ nullable: boolean;
12513
+ type: string;
12514
+ };
12515
+ };
12516
+ required: string[];
12517
+ type: string;
12518
+ };
12495
12519
  name: {
12496
12520
  description: string;
12497
12521
  type: string;
@@ -20828,7 +20852,7 @@ declare const _default: {
20828
20852
  'x-title': string;
20829
20853
  };
20830
20854
  };
20831
- '/acs/encoders/encode_card': {
20855
+ '/acs/encoders/encode_credential': {
20832
20856
  post: {
20833
20857
  operationId: string;
20834
20858
  requestBody: {
@@ -20837,10 +20861,12 @@ declare const _default: {
20837
20861
  schema: {
20838
20862
  properties: {
20839
20863
  acs_credential_id: {
20864
+ description: string;
20840
20865
  format: string;
20841
20866
  type: string;
20842
20867
  };
20843
20868
  device_id: {
20869
+ description: string;
20844
20870
  format: string;
20845
20871
  type: string;
20846
20872
  };
@@ -21024,7 +21050,7 @@ declare const _default: {
21024
21050
  'x-undocumented': string;
21025
21051
  };
21026
21052
  };
21027
- '/acs/encoders/scan_card': {
21053
+ '/acs/encoders/scan_credential': {
21028
21054
  post: {
21029
21055
  operationId: string;
21030
21056
  requestBody: {
@@ -21033,10 +21059,12 @@ declare const _default: {
21033
21059
  schema: {
21034
21060
  properties: {
21035
21061
  acs_system_id: {
21062
+ description: string;
21036
21063
  format: string;
21037
21064
  type: string;
21038
21065
  };
21039
21066
  device_id: {
21067
+ description: string;
21040
21068
  format: string;
21041
21069
  type: string;
21042
21070
  };
@@ -31823,15 +31851,15 @@ interface Routes {
31823
31851
  status: 'pending';
31824
31852
  result: null;
31825
31853
  error: null;
31826
- action_type: 'SCAN_CARD';
31854
+ action_type: 'SCAN_CREDENTIAL';
31827
31855
  } | {
31828
31856
  /** The ID of the action attempt. */
31829
31857
  action_attempt_id: string;
31830
31858
  status: 'success';
31831
31859
  error: null;
31832
- action_type: 'SCAN_CARD';
31860
+ action_type: 'SCAN_CREDENTIAL';
31833
31861
  result: {
31834
- /** Snapshot of the card data read from the physical encoder. */
31862
+ /** Snapshot of credential data read from physical encoder. */
31835
31863
  acs_credential_on_encoder: {
31836
31864
  /** Date and time the credential was created. */
31837
31865
  created_at: string | null;
@@ -31984,7 +32012,7 @@ interface Routes {
31984
32012
  action_attempt_id: string;
31985
32013
  status: 'error';
31986
32014
  result: null;
31987
- action_type: 'SCAN_CARD';
32015
+ action_type: 'SCAN_CREDENTIAL';
31988
32016
  error: {
31989
32017
  type: 'uncategorized_error';
31990
32018
  message: string;
@@ -32001,13 +32029,13 @@ interface Routes {
32001
32029
  status: 'pending';
32002
32030
  result: null;
32003
32031
  error: null;
32004
- action_type: 'ENCODE_CARD';
32032
+ action_type: 'ENCODE_CREDENTIAL';
32005
32033
  } | {
32006
32034
  /** The ID of the action attempt. */
32007
32035
  action_attempt_id: string;
32008
32036
  status: 'success';
32009
32037
  error: null;
32010
- action_type: 'ENCODE_CARD';
32038
+ action_type: 'ENCODE_CREDENTIAL';
32011
32039
  /** Means by which a user gains access at an entrance.
32012
32040
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
32013
32041
  result: {
@@ -32130,7 +32158,7 @@ interface Routes {
32130
32158
  action_attempt_id: string;
32131
32159
  status: 'error';
32132
32160
  result: null;
32133
- action_type: 'ENCODE_CARD';
32161
+ action_type: 'ENCODE_CREDENTIAL';
32134
32162
  error: {
32135
32163
  type: 'uncategorized_error';
32136
32164
  message: string;
@@ -32706,15 +32734,15 @@ interface Routes {
32706
32734
  status: 'pending';
32707
32735
  result: null;
32708
32736
  error: null;
32709
- action_type: 'SCAN_CARD';
32737
+ action_type: 'SCAN_CREDENTIAL';
32710
32738
  } | {
32711
32739
  /** The ID of the action attempt. */
32712
32740
  action_attempt_id: string;
32713
32741
  status: 'success';
32714
32742
  error: null;
32715
- action_type: 'SCAN_CARD';
32743
+ action_type: 'SCAN_CREDENTIAL';
32716
32744
  result: {
32717
- /** Snapshot of the card data read from the physical encoder. */
32745
+ /** Snapshot of credential data read from physical encoder. */
32718
32746
  acs_credential_on_encoder: {
32719
32747
  /** Date and time the credential was created. */
32720
32748
  created_at: string | null;
@@ -32867,7 +32895,7 @@ interface Routes {
32867
32895
  action_attempt_id: string;
32868
32896
  status: 'error';
32869
32897
  result: null;
32870
- action_type: 'SCAN_CARD';
32898
+ action_type: 'SCAN_CREDENTIAL';
32871
32899
  error: {
32872
32900
  type: 'uncategorized_error';
32873
32901
  message: string;
@@ -32884,13 +32912,13 @@ interface Routes {
32884
32912
  status: 'pending';
32885
32913
  result: null;
32886
32914
  error: null;
32887
- action_type: 'ENCODE_CARD';
32915
+ action_type: 'ENCODE_CREDENTIAL';
32888
32916
  } | {
32889
32917
  /** The ID of the action attempt. */
32890
32918
  action_attempt_id: string;
32891
32919
  status: 'success';
32892
32920
  error: null;
32893
- action_type: 'ENCODE_CARD';
32921
+ action_type: 'ENCODE_CREDENTIAL';
32894
32922
  /** Means by which a user gains access at an entrance.
32895
32923
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
32896
32924
  result: {
@@ -33013,7 +33041,7 @@ interface Routes {
33013
33041
  action_attempt_id: string;
33014
33042
  status: 'error';
33015
33043
  result: null;
33016
- action_type: 'ENCODE_CARD';
33044
+ action_type: 'ENCODE_CREDENTIAL';
33017
33045
  error: {
33018
33046
  type: 'uncategorized_error';
33019
33047
  message: string;
@@ -33746,15 +33774,15 @@ interface Routes {
33746
33774
  status: 'pending';
33747
33775
  result: null;
33748
33776
  error: null;
33749
- action_type: 'SCAN_CARD';
33777
+ action_type: 'SCAN_CREDENTIAL';
33750
33778
  } | {
33751
33779
  /** The ID of the action attempt. */
33752
33780
  action_attempt_id: string;
33753
33781
  status: 'success';
33754
33782
  error: null;
33755
- action_type: 'SCAN_CARD';
33783
+ action_type: 'SCAN_CREDENTIAL';
33756
33784
  result: {
33757
- /** Snapshot of the card data read from the physical encoder. */
33785
+ /** Snapshot of credential data read from physical encoder. */
33758
33786
  acs_credential_on_encoder: {
33759
33787
  /** Date and time the credential was created. */
33760
33788
  created_at: string | null;
@@ -33907,7 +33935,7 @@ interface Routes {
33907
33935
  action_attempt_id: string;
33908
33936
  status: 'error';
33909
33937
  result: null;
33910
- action_type: 'SCAN_CARD';
33938
+ action_type: 'SCAN_CREDENTIAL';
33911
33939
  error: {
33912
33940
  type: 'uncategorized_error';
33913
33941
  message: string;
@@ -33924,13 +33952,13 @@ interface Routes {
33924
33952
  status: 'pending';
33925
33953
  result: null;
33926
33954
  error: null;
33927
- action_type: 'ENCODE_CARD';
33955
+ action_type: 'ENCODE_CREDENTIAL';
33928
33956
  } | {
33929
33957
  /** The ID of the action attempt. */
33930
33958
  action_attempt_id: string;
33931
33959
  status: 'success';
33932
33960
  error: null;
33933
- action_type: 'ENCODE_CARD';
33961
+ action_type: 'ENCODE_CREDENTIAL';
33934
33962
  /** Means by which a user gains access at an entrance.
33935
33963
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
33936
33964
  result: {
@@ -34053,7 +34081,7 @@ interface Routes {
34053
34081
  action_attempt_id: string;
34054
34082
  status: 'error';
34055
34083
  result: null;
34056
- action_type: 'ENCODE_CARD';
34084
+ action_type: 'ENCODE_CREDENTIAL';
34057
34085
  error: {
34058
34086
  type: 'uncategorized_error';
34059
34087
  message: string;
@@ -34616,15 +34644,15 @@ interface Routes {
34616
34644
  status: 'pending';
34617
34645
  result: null;
34618
34646
  error: null;
34619
- action_type: 'SCAN_CARD';
34647
+ action_type: 'SCAN_CREDENTIAL';
34620
34648
  } | {
34621
34649
  /** The ID of the action attempt. */
34622
34650
  action_attempt_id: string;
34623
34651
  status: 'success';
34624
34652
  error: null;
34625
- action_type: 'SCAN_CARD';
34653
+ action_type: 'SCAN_CREDENTIAL';
34626
34654
  result: {
34627
- /** Snapshot of the card data read from the physical encoder. */
34655
+ /** Snapshot of credential data read from physical encoder. */
34628
34656
  acs_credential_on_encoder: {
34629
34657
  /** Date and time the credential was created. */
34630
34658
  created_at: string | null;
@@ -34777,7 +34805,7 @@ interface Routes {
34777
34805
  action_attempt_id: string;
34778
34806
  status: 'error';
34779
34807
  result: null;
34780
- action_type: 'SCAN_CARD';
34808
+ action_type: 'SCAN_CREDENTIAL';
34781
34809
  error: {
34782
34810
  type: 'uncategorized_error';
34783
34811
  message: string;
@@ -34794,13 +34822,13 @@ interface Routes {
34794
34822
  status: 'pending';
34795
34823
  result: null;
34796
34824
  error: null;
34797
- action_type: 'ENCODE_CARD';
34825
+ action_type: 'ENCODE_CREDENTIAL';
34798
34826
  } | {
34799
34827
  /** The ID of the action attempt. */
34800
34828
  action_attempt_id: string;
34801
34829
  status: 'success';
34802
34830
  error: null;
34803
- action_type: 'ENCODE_CARD';
34831
+ action_type: 'ENCODE_CREDENTIAL';
34804
34832
  /** Means by which a user gains access at an entrance.
34805
34833
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
34806
34834
  result: {
@@ -34923,7 +34951,7 @@ interface Routes {
34923
34951
  action_attempt_id: string;
34924
34952
  status: 'error';
34925
34953
  result: null;
34926
- action_type: 'ENCODE_CARD';
34954
+ action_type: 'ENCODE_CREDENTIAL';
34927
34955
  error: {
34928
34956
  type: 'uncategorized_error';
34929
34957
  message: string;
@@ -36411,13 +36439,15 @@ interface Routes {
36411
36439
  };
36412
36440
  };
36413
36441
  };
36414
- '/acs/encoders/encode_card': {
36415
- route: '/acs/encoders/encode_card';
36442
+ '/acs/encoders/encode_credential': {
36443
+ route: '/acs/encoders/encode_credential';
36416
36444
  method: 'POST';
36417
36445
  queryParams: {};
36418
36446
  jsonBody: {};
36419
36447
  commonParams: {
36448
+ /** ID of the encoder to use for the encoding. */
36420
36449
  device_id: string;
36450
+ /** ID of the acs_credential to encode on a physical card. */
36421
36451
  acs_credential_id: string;
36422
36452
  };
36423
36453
  formData: {};
@@ -36476,15 +36506,15 @@ interface Routes {
36476
36506
  status: 'pending';
36477
36507
  result: null;
36478
36508
  error: null;
36479
- action_type: 'SCAN_CARD';
36509
+ action_type: 'SCAN_CREDENTIAL';
36480
36510
  } | {
36481
36511
  /** The ID of the action attempt. */
36482
36512
  action_attempt_id: string;
36483
36513
  status: 'success';
36484
36514
  error: null;
36485
- action_type: 'SCAN_CARD';
36515
+ action_type: 'SCAN_CREDENTIAL';
36486
36516
  result: {
36487
- /** Snapshot of the card data read from the physical encoder. */
36517
+ /** Snapshot of credential data read from physical encoder. */
36488
36518
  acs_credential_on_encoder: {
36489
36519
  /** Date and time the credential was created. */
36490
36520
  created_at: string | null;
@@ -36637,7 +36667,7 @@ interface Routes {
36637
36667
  action_attempt_id: string;
36638
36668
  status: 'error';
36639
36669
  result: null;
36640
- action_type: 'SCAN_CARD';
36670
+ action_type: 'SCAN_CREDENTIAL';
36641
36671
  error: {
36642
36672
  type: 'uncategorized_error';
36643
36673
  message: string;
@@ -36654,13 +36684,13 @@ interface Routes {
36654
36684
  status: 'pending';
36655
36685
  result: null;
36656
36686
  error: null;
36657
- action_type: 'ENCODE_CARD';
36687
+ action_type: 'ENCODE_CREDENTIAL';
36658
36688
  } | {
36659
36689
  /** The ID of the action attempt. */
36660
36690
  action_attempt_id: string;
36661
36691
  status: 'success';
36662
36692
  error: null;
36663
- action_type: 'ENCODE_CARD';
36693
+ action_type: 'ENCODE_CREDENTIAL';
36664
36694
  /** Means by which a user gains access at an entrance.
36665
36695
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
36666
36696
  result: {
@@ -36783,7 +36813,7 @@ interface Routes {
36783
36813
  action_attempt_id: string;
36784
36814
  status: 'error';
36785
36815
  result: null;
36786
- action_type: 'ENCODE_CARD';
36816
+ action_type: 'ENCODE_CREDENTIAL';
36787
36817
  error: {
36788
36818
  type: 'uncategorized_error';
36789
36819
  message: string;
@@ -37627,13 +37657,15 @@ interface Routes {
37627
37657
  }>;
37628
37658
  };
37629
37659
  };
37630
- '/acs/encoders/scan_card': {
37631
- route: '/acs/encoders/scan_card';
37660
+ '/acs/encoders/scan_credential': {
37661
+ route: '/acs/encoders/scan_credential';
37632
37662
  method: 'POST';
37633
37663
  queryParams: {};
37634
37664
  jsonBody: {};
37635
37665
  commonParams: {
37666
+ /** ID of the acs_system the encoder belongs to. */
37636
37667
  acs_system_id: string;
37668
+ /** ID of the encoder to use for the scan. */
37637
37669
  device_id: string;
37638
37670
  };
37639
37671
  formData: {};
@@ -37692,15 +37724,15 @@ interface Routes {
37692
37724
  status: 'pending';
37693
37725
  result: null;
37694
37726
  error: null;
37695
- action_type: 'SCAN_CARD';
37727
+ action_type: 'SCAN_CREDENTIAL';
37696
37728
  } | {
37697
37729
  /** The ID of the action attempt. */
37698
37730
  action_attempt_id: string;
37699
37731
  status: 'success';
37700
37732
  error: null;
37701
- action_type: 'SCAN_CARD';
37733
+ action_type: 'SCAN_CREDENTIAL';
37702
37734
  result: {
37703
- /** Snapshot of the card data read from the physical encoder. */
37735
+ /** Snapshot of credential data read from physical encoder. */
37704
37736
  acs_credential_on_encoder: {
37705
37737
  /** Date and time the credential was created. */
37706
37738
  created_at: string | null;
@@ -37853,7 +37885,7 @@ interface Routes {
37853
37885
  action_attempt_id: string;
37854
37886
  status: 'error';
37855
37887
  result: null;
37856
- action_type: 'SCAN_CARD';
37888
+ action_type: 'SCAN_CREDENTIAL';
37857
37889
  error: {
37858
37890
  type: 'uncategorized_error';
37859
37891
  message: string;
@@ -37870,13 +37902,13 @@ interface Routes {
37870
37902
  status: 'pending';
37871
37903
  result: null;
37872
37904
  error: null;
37873
- action_type: 'ENCODE_CARD';
37905
+ action_type: 'ENCODE_CREDENTIAL';
37874
37906
  } | {
37875
37907
  /** The ID of the action attempt. */
37876
37908
  action_attempt_id: string;
37877
37909
  status: 'success';
37878
37910
  error: null;
37879
- action_type: 'ENCODE_CARD';
37911
+ action_type: 'ENCODE_CREDENTIAL';
37880
37912
  /** Means by which a user gains access at an entrance.
37881
37913
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
37882
37914
  result: {
@@ -37999,7 +38031,7 @@ interface Routes {
37999
38031
  action_attempt_id: string;
38000
38032
  status: 'error';
38001
38033
  result: null;
38002
- action_type: 'ENCODE_CARD';
38034
+ action_type: 'ENCODE_CREDENTIAL';
38003
38035
  error: {
38004
38036
  type: 'uncategorized_error';
38005
38037
  message: string;
@@ -38602,6 +38634,10 @@ interface Routes {
38602
38634
  /**
38603
38635
  * @deprecated Use `external_type_display_name`. */
38604
38636
  system_type_display_name?: string | undefined;
38637
+ location: {
38638
+ /** Time zone in which the `acs_system` is located. */
38639
+ time_zone: string | null;
38640
+ };
38605
38641
  /** Name of the `acs_system`. */
38606
38642
  name: string;
38607
38643
  /** Date and time at which the `acs_system` was created. */
@@ -38707,6 +38743,10 @@ interface Routes {
38707
38743
  /**
38708
38744
  * @deprecated Use `external_type_display_name`. */
38709
38745
  system_type_display_name?: string | undefined;
38746
+ location: {
38747
+ /** Time zone in which the `acs_system` is located. */
38748
+ time_zone: string | null;
38749
+ };
38710
38750
  /** Name of the `acs_system`. */
38711
38751
  name: string;
38712
38752
  /** Date and time at which the `acs_system` was created. */
@@ -38812,6 +38852,10 @@ interface Routes {
38812
38852
  /**
38813
38853
  * @deprecated Use `external_type_display_name`. */
38814
38854
  system_type_display_name?: string | undefined;
38855
+ location: {
38856
+ /** Time zone in which the `acs_system` is located. */
38857
+ time_zone: string | null;
38858
+ };
38815
38859
  /** Name of the `acs_system`. */
38816
38860
  name: string;
38817
38861
  /** Date and time at which the `acs_system` was created. */
@@ -39652,15 +39696,15 @@ interface Routes {
39652
39696
  status: 'pending';
39653
39697
  result: null;
39654
39698
  error: null;
39655
- action_type: 'SCAN_CARD';
39699
+ action_type: 'SCAN_CREDENTIAL';
39656
39700
  } | {
39657
39701
  /** The ID of the action attempt. */
39658
39702
  action_attempt_id: string;
39659
39703
  status: 'success';
39660
39704
  error: null;
39661
- action_type: 'SCAN_CARD';
39705
+ action_type: 'SCAN_CREDENTIAL';
39662
39706
  result: {
39663
- /** Snapshot of the card data read from the physical encoder. */
39707
+ /** Snapshot of credential data read from physical encoder. */
39664
39708
  acs_credential_on_encoder: {
39665
39709
  /** Date and time the credential was created. */
39666
39710
  created_at: string | null;
@@ -39813,7 +39857,7 @@ interface Routes {
39813
39857
  action_attempt_id: string;
39814
39858
  status: 'error';
39815
39859
  result: null;
39816
- action_type: 'SCAN_CARD';
39860
+ action_type: 'SCAN_CREDENTIAL';
39817
39861
  error: {
39818
39862
  type: 'uncategorized_error';
39819
39863
  message: string;
@@ -39830,13 +39874,13 @@ interface Routes {
39830
39874
  status: 'pending';
39831
39875
  result: null;
39832
39876
  error: null;
39833
- action_type: 'ENCODE_CARD';
39877
+ action_type: 'ENCODE_CREDENTIAL';
39834
39878
  } | {
39835
39879
  /** The ID of the action attempt. */
39836
39880
  action_attempt_id: string;
39837
39881
  status: 'success';
39838
39882
  error: null;
39839
- action_type: 'ENCODE_CARD';
39883
+ action_type: 'ENCODE_CREDENTIAL';
39840
39884
  /** Means by which a user gains access at an entrance.
39841
39885
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
39842
39886
  result: {
@@ -39959,7 +40003,7 @@ interface Routes {
39959
40003
  action_attempt_id: string;
39960
40004
  status: 'error';
39961
40005
  result: null;
39962
- action_type: 'ENCODE_CARD';
40006
+ action_type: 'ENCODE_CREDENTIAL';
39963
40007
  error: {
39964
40008
  type: 'uncategorized_error';
39965
40009
  message: string;
@@ -40384,15 +40428,15 @@ interface Routes {
40384
40428
  status: 'pending';
40385
40429
  result: null;
40386
40430
  error: null;
40387
- action_type: 'SCAN_CARD';
40431
+ action_type: 'SCAN_CREDENTIAL';
40388
40432
  } | {
40389
40433
  /** The ID of the action attempt. */
40390
40434
  action_attempt_id: string;
40391
40435
  status: 'success';
40392
40436
  error: null;
40393
- action_type: 'SCAN_CARD';
40437
+ action_type: 'SCAN_CREDENTIAL';
40394
40438
  result: {
40395
- /** Snapshot of the card data read from the physical encoder. */
40439
+ /** Snapshot of credential data read from physical encoder. */
40396
40440
  acs_credential_on_encoder: {
40397
40441
  /** Date and time the credential was created. */
40398
40442
  created_at: string | null;
@@ -40545,7 +40589,7 @@ interface Routes {
40545
40589
  action_attempt_id: string;
40546
40590
  status: 'error';
40547
40591
  result: null;
40548
- action_type: 'SCAN_CARD';
40592
+ action_type: 'SCAN_CREDENTIAL';
40549
40593
  error: {
40550
40594
  type: 'uncategorized_error';
40551
40595
  message: string;
@@ -40562,13 +40606,13 @@ interface Routes {
40562
40606
  status: 'pending';
40563
40607
  result: null;
40564
40608
  error: null;
40565
- action_type: 'ENCODE_CARD';
40609
+ action_type: 'ENCODE_CREDENTIAL';
40566
40610
  } | {
40567
40611
  /** The ID of the action attempt. */
40568
40612
  action_attempt_id: string;
40569
40613
  status: 'success';
40570
40614
  error: null;
40571
- action_type: 'ENCODE_CARD';
40615
+ action_type: 'ENCODE_CREDENTIAL';
40572
40616
  /** Means by which a user gains access at an entrance.
40573
40617
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
40574
40618
  result: {
@@ -40691,7 +40735,7 @@ interface Routes {
40691
40735
  action_attempt_id: string;
40692
40736
  status: 'error';
40693
40737
  result: null;
40694
- action_type: 'ENCODE_CARD';
40738
+ action_type: 'ENCODE_CREDENTIAL';
40695
40739
  error: {
40696
40740
  type: 'uncategorized_error';
40697
40741
  message: string;
@@ -44811,15 +44855,15 @@ interface Routes {
44811
44855
  status: 'pending';
44812
44856
  result: null;
44813
44857
  error: null;
44814
- action_type: 'SCAN_CARD';
44858
+ action_type: 'SCAN_CREDENTIAL';
44815
44859
  } | {
44816
44860
  /** The ID of the action attempt. */
44817
44861
  action_attempt_id: string;
44818
44862
  status: 'success';
44819
44863
  error: null;
44820
- action_type: 'SCAN_CARD';
44864
+ action_type: 'SCAN_CREDENTIAL';
44821
44865
  result: {
44822
- /** Snapshot of the card data read from the physical encoder. */
44866
+ /** Snapshot of credential data read from physical encoder. */
44823
44867
  acs_credential_on_encoder: {
44824
44868
  /** Date and time the credential was created. */
44825
44869
  created_at: string | null;
@@ -44972,7 +45016,7 @@ interface Routes {
44972
45016
  action_attempt_id: string;
44973
45017
  status: 'error';
44974
45018
  result: null;
44975
- action_type: 'SCAN_CARD';
45019
+ action_type: 'SCAN_CREDENTIAL';
44976
45020
  error: {
44977
45021
  type: 'uncategorized_error';
44978
45022
  message: string;
@@ -44989,13 +45033,13 @@ interface Routes {
44989
45033
  status: 'pending';
44990
45034
  result: null;
44991
45035
  error: null;
44992
- action_type: 'ENCODE_CARD';
45036
+ action_type: 'ENCODE_CREDENTIAL';
44993
45037
  } | {
44994
45038
  /** The ID of the action attempt. */
44995
45039
  action_attempt_id: string;
44996
45040
  status: 'success';
44997
45041
  error: null;
44998
- action_type: 'ENCODE_CARD';
45042
+ action_type: 'ENCODE_CREDENTIAL';
44999
45043
  /** Means by which a user gains access at an entrance.
45000
45044
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
45001
45045
  result: {
@@ -45118,7 +45162,7 @@ interface Routes {
45118
45162
  action_attempt_id: string;
45119
45163
  status: 'error';
45120
45164
  result: null;
45121
- action_type: 'ENCODE_CARD';
45165
+ action_type: 'ENCODE_CREDENTIAL';
45122
45166
  error: {
45123
45167
  type: 'uncategorized_error';
45124
45168
  message: string;
@@ -45544,15 +45588,15 @@ interface Routes {
45544
45588
  status: 'pending';
45545
45589
  result: null;
45546
45590
  error: null;
45547
- action_type: 'SCAN_CARD';
45591
+ action_type: 'SCAN_CREDENTIAL';
45548
45592
  } | {
45549
45593
  /** The ID of the action attempt. */
45550
45594
  action_attempt_id: string;
45551
45595
  status: 'success';
45552
45596
  error: null;
45553
- action_type: 'SCAN_CARD';
45597
+ action_type: 'SCAN_CREDENTIAL';
45554
45598
  result: {
45555
- /** Snapshot of the card data read from the physical encoder. */
45599
+ /** Snapshot of credential data read from physical encoder. */
45556
45600
  acs_credential_on_encoder: {
45557
45601
  /** Date and time the credential was created. */
45558
45602
  created_at: string | null;
@@ -45705,7 +45749,7 @@ interface Routes {
45705
45749
  action_attempt_id: string;
45706
45750
  status: 'error';
45707
45751
  result: null;
45708
- action_type: 'SCAN_CARD';
45752
+ action_type: 'SCAN_CREDENTIAL';
45709
45753
  error: {
45710
45754
  type: 'uncategorized_error';
45711
45755
  message: string;
@@ -45722,13 +45766,13 @@ interface Routes {
45722
45766
  status: 'pending';
45723
45767
  result: null;
45724
45768
  error: null;
45725
- action_type: 'ENCODE_CARD';
45769
+ action_type: 'ENCODE_CREDENTIAL';
45726
45770
  } | {
45727
45771
  /** The ID of the action attempt. */
45728
45772
  action_attempt_id: string;
45729
45773
  status: 'success';
45730
45774
  error: null;
45731
- action_type: 'ENCODE_CARD';
45775
+ action_type: 'ENCODE_CREDENTIAL';
45732
45776
  /** Means by which a user gains access at an entrance.
45733
45777
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
45734
45778
  result: {
@@ -45851,7 +45895,7 @@ interface Routes {
45851
45895
  action_attempt_id: string;
45852
45896
  status: 'error';
45853
45897
  result: null;
45854
- action_type: 'ENCODE_CARD';
45898
+ action_type: 'ENCODE_CREDENTIAL';
45855
45899
  error: {
45856
45900
  type: 'uncategorized_error';
45857
45901
  message: string;
@@ -47267,15 +47311,15 @@ interface Routes {
47267
47311
  status: 'pending';
47268
47312
  result: null;
47269
47313
  error: null;
47270
- action_type: 'SCAN_CARD';
47314
+ action_type: 'SCAN_CREDENTIAL';
47271
47315
  } | {
47272
47316
  /** The ID of the action attempt. */
47273
47317
  action_attempt_id: string;
47274
47318
  status: 'success';
47275
47319
  error: null;
47276
- action_type: 'SCAN_CARD';
47320
+ action_type: 'SCAN_CREDENTIAL';
47277
47321
  result: {
47278
- /** Snapshot of the card data read from the physical encoder. */
47322
+ /** Snapshot of credential data read from physical encoder. */
47279
47323
  acs_credential_on_encoder: {
47280
47324
  /** Date and time the credential was created. */
47281
47325
  created_at: string | null;
@@ -47428,7 +47472,7 @@ interface Routes {
47428
47472
  action_attempt_id: string;
47429
47473
  status: 'error';
47430
47474
  result: null;
47431
- action_type: 'SCAN_CARD';
47475
+ action_type: 'SCAN_CREDENTIAL';
47432
47476
  error: {
47433
47477
  type: 'uncategorized_error';
47434
47478
  message: string;
@@ -47445,13 +47489,13 @@ interface Routes {
47445
47489
  status: 'pending';
47446
47490
  result: null;
47447
47491
  error: null;
47448
- action_type: 'ENCODE_CARD';
47492
+ action_type: 'ENCODE_CREDENTIAL';
47449
47493
  } | {
47450
47494
  /** The ID of the action attempt. */
47451
47495
  action_attempt_id: string;
47452
47496
  status: 'success';
47453
47497
  error: null;
47454
- action_type: 'ENCODE_CARD';
47498
+ action_type: 'ENCODE_CREDENTIAL';
47455
47499
  /** Means by which a user gains access at an entrance.
47456
47500
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
47457
47501
  result: {
@@ -47574,7 +47618,7 @@ interface Routes {
47574
47618
  action_attempt_id: string;
47575
47619
  status: 'error';
47576
47620
  result: null;
47577
- action_type: 'ENCODE_CARD';
47621
+ action_type: 'ENCODE_CREDENTIAL';
47578
47622
  error: {
47579
47623
  type: 'uncategorized_error';
47580
47624
  message: string;
@@ -48010,15 +48054,15 @@ interface Routes {
48010
48054
  status: 'pending';
48011
48055
  result: null;
48012
48056
  error: null;
48013
- action_type: 'SCAN_CARD';
48057
+ action_type: 'SCAN_CREDENTIAL';
48014
48058
  } | {
48015
48059
  /** The ID of the action attempt. */
48016
48060
  action_attempt_id: string;
48017
48061
  status: 'success';
48018
48062
  error: null;
48019
- action_type: 'SCAN_CARD';
48063
+ action_type: 'SCAN_CREDENTIAL';
48020
48064
  result: {
48021
- /** Snapshot of the card data read from the physical encoder. */
48065
+ /** Snapshot of credential data read from physical encoder. */
48022
48066
  acs_credential_on_encoder: {
48023
48067
  /** Date and time the credential was created. */
48024
48068
  created_at: string | null;
@@ -48171,7 +48215,7 @@ interface Routes {
48171
48215
  action_attempt_id: string;
48172
48216
  status: 'error';
48173
48217
  result: null;
48174
- action_type: 'SCAN_CARD';
48218
+ action_type: 'SCAN_CREDENTIAL';
48175
48219
  error: {
48176
48220
  type: 'uncategorized_error';
48177
48221
  message: string;
@@ -48188,13 +48232,13 @@ interface Routes {
48188
48232
  status: 'pending';
48189
48233
  result: null;
48190
48234
  error: null;
48191
- action_type: 'ENCODE_CARD';
48235
+ action_type: 'ENCODE_CREDENTIAL';
48192
48236
  } | {
48193
48237
  /** The ID of the action attempt. */
48194
48238
  action_attempt_id: string;
48195
48239
  status: 'success';
48196
48240
  error: null;
48197
- action_type: 'ENCODE_CARD';
48241
+ action_type: 'ENCODE_CREDENTIAL';
48198
48242
  /** Means by which a user gains access at an entrance.
48199
48243
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
48200
48244
  result: {
@@ -48317,7 +48361,7 @@ interface Routes {
48317
48361
  action_attempt_id: string;
48318
48362
  status: 'error';
48319
48363
  result: null;
48320
- action_type: 'ENCODE_CARD';
48364
+ action_type: 'ENCODE_CREDENTIAL';
48321
48365
  error: {
48322
48366
  type: 'uncategorized_error';
48323
48367
  message: string;
@@ -48792,15 +48836,15 @@ interface Routes {
48792
48836
  status: 'pending';
48793
48837
  result: null;
48794
48838
  error: null;
48795
- action_type: 'SCAN_CARD';
48839
+ action_type: 'SCAN_CREDENTIAL';
48796
48840
  } | {
48797
48841
  /** The ID of the action attempt. */
48798
48842
  action_attempt_id: string;
48799
48843
  status: 'success';
48800
48844
  error: null;
48801
- action_type: 'SCAN_CARD';
48845
+ action_type: 'SCAN_CREDENTIAL';
48802
48846
  result: {
48803
- /** Snapshot of the card data read from the physical encoder. */
48847
+ /** Snapshot of credential data read from physical encoder. */
48804
48848
  acs_credential_on_encoder: {
48805
48849
  /** Date and time the credential was created. */
48806
48850
  created_at: string | null;
@@ -48953,7 +48997,7 @@ interface Routes {
48953
48997
  action_attempt_id: string;
48954
48998
  status: 'error';
48955
48999
  result: null;
48956
- action_type: 'SCAN_CARD';
49000
+ action_type: 'SCAN_CREDENTIAL';
48957
49001
  error: {
48958
49002
  type: 'uncategorized_error';
48959
49003
  message: string;
@@ -48970,13 +49014,13 @@ interface Routes {
48970
49014
  status: 'pending';
48971
49015
  result: null;
48972
49016
  error: null;
48973
- action_type: 'ENCODE_CARD';
49017
+ action_type: 'ENCODE_CREDENTIAL';
48974
49018
  } | {
48975
49019
  /** The ID of the action attempt. */
48976
49020
  action_attempt_id: string;
48977
49021
  status: 'success';
48978
49022
  error: null;
48979
- action_type: 'ENCODE_CARD';
49023
+ action_type: 'ENCODE_CREDENTIAL';
48980
49024
  /** Means by which a user gains access at an entrance.
48981
49025
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
48982
49026
  result: {
@@ -49099,7 +49143,7 @@ interface Routes {
49099
49143
  action_attempt_id: string;
49100
49144
  status: 'error';
49101
49145
  result: null;
49102
- action_type: 'ENCODE_CARD';
49146
+ action_type: 'ENCODE_CREDENTIAL';
49103
49147
  error: {
49104
49148
  type: 'uncategorized_error';
49105
49149
  message: string;
@@ -49707,15 +49751,15 @@ interface Routes {
49707
49751
  status: 'pending';
49708
49752
  result: null;
49709
49753
  error: null;
49710
- action_type: 'SCAN_CARD';
49754
+ action_type: 'SCAN_CREDENTIAL';
49711
49755
  } | {
49712
49756
  /** The ID of the action attempt. */
49713
49757
  action_attempt_id: string;
49714
49758
  status: 'success';
49715
49759
  error: null;
49716
- action_type: 'SCAN_CARD';
49760
+ action_type: 'SCAN_CREDENTIAL';
49717
49761
  result: {
49718
- /** Snapshot of the card data read from the physical encoder. */
49762
+ /** Snapshot of credential data read from physical encoder. */
49719
49763
  acs_credential_on_encoder: {
49720
49764
  /** Date and time the credential was created. */
49721
49765
  created_at: string | null;
@@ -49868,7 +49912,7 @@ interface Routes {
49868
49912
  action_attempt_id: string;
49869
49913
  status: 'error';
49870
49914
  result: null;
49871
- action_type: 'SCAN_CARD';
49915
+ action_type: 'SCAN_CREDENTIAL';
49872
49916
  error: {
49873
49917
  type: 'uncategorized_error';
49874
49918
  message: string;
@@ -49885,13 +49929,13 @@ interface Routes {
49885
49929
  status: 'pending';
49886
49930
  result: null;
49887
49931
  error: null;
49888
- action_type: 'ENCODE_CARD';
49932
+ action_type: 'ENCODE_CREDENTIAL';
49889
49933
  } | {
49890
49934
  /** The ID of the action attempt. */
49891
49935
  action_attempt_id: string;
49892
49936
  status: 'success';
49893
49937
  error: null;
49894
- action_type: 'ENCODE_CARD';
49938
+ action_type: 'ENCODE_CREDENTIAL';
49895
49939
  /** Means by which a user gains access at an entrance.
49896
49940
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
49897
49941
  result: {
@@ -50014,7 +50058,7 @@ interface Routes {
50014
50058
  action_attempt_id: string;
50015
50059
  status: 'error';
50016
50060
  result: null;
50017
- action_type: 'ENCODE_CARD';
50061
+ action_type: 'ENCODE_CREDENTIAL';
50018
50062
  error: {
50019
50063
  type: 'uncategorized_error';
50020
50064
  message: string;
@@ -50445,15 +50489,15 @@ interface Routes {
50445
50489
  status: 'pending';
50446
50490
  result: null;
50447
50491
  error: null;
50448
- action_type: 'SCAN_CARD';
50492
+ action_type: 'SCAN_CREDENTIAL';
50449
50493
  } | {
50450
50494
  /** The ID of the action attempt. */
50451
50495
  action_attempt_id: string;
50452
50496
  status: 'success';
50453
50497
  error: null;
50454
- action_type: 'SCAN_CARD';
50498
+ action_type: 'SCAN_CREDENTIAL';
50455
50499
  result: {
50456
- /** Snapshot of the card data read from the physical encoder. */
50500
+ /** Snapshot of credential data read from physical encoder. */
50457
50501
  acs_credential_on_encoder: {
50458
50502
  /** Date and time the credential was created. */
50459
50503
  created_at: string | null;
@@ -50606,7 +50650,7 @@ interface Routes {
50606
50650
  action_attempt_id: string;
50607
50651
  status: 'error';
50608
50652
  result: null;
50609
- action_type: 'SCAN_CARD';
50653
+ action_type: 'SCAN_CREDENTIAL';
50610
50654
  error: {
50611
50655
  type: 'uncategorized_error';
50612
50656
  message: string;
@@ -50623,13 +50667,13 @@ interface Routes {
50623
50667
  status: 'pending';
50624
50668
  result: null;
50625
50669
  error: null;
50626
- action_type: 'ENCODE_CARD';
50670
+ action_type: 'ENCODE_CREDENTIAL';
50627
50671
  } | {
50628
50672
  /** The ID of the action attempt. */
50629
50673
  action_attempt_id: string;
50630
50674
  status: 'success';
50631
50675
  error: null;
50632
- action_type: 'ENCODE_CARD';
50676
+ action_type: 'ENCODE_CREDENTIAL';
50633
50677
  /** Means by which a user gains access at an entrance.
50634
50678
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
50635
50679
  result: {
@@ -50752,7 +50796,7 @@ interface Routes {
50752
50796
  action_attempt_id: string;
50753
50797
  status: 'error';
50754
50798
  result: null;
50755
- action_type: 'ENCODE_CARD';
50799
+ action_type: 'ENCODE_CREDENTIAL';
50756
50800
  error: {
50757
50801
  type: 'uncategorized_error';
50758
50802
  message: string;
@@ -51693,15 +51737,15 @@ interface Routes {
51693
51737
  status: 'pending';
51694
51738
  result: null;
51695
51739
  error: null;
51696
- action_type: 'SCAN_CARD';
51740
+ action_type: 'SCAN_CREDENTIAL';
51697
51741
  } | {
51698
51742
  /** The ID of the action attempt. */
51699
51743
  action_attempt_id: string;
51700
51744
  status: 'success';
51701
51745
  error: null;
51702
- action_type: 'SCAN_CARD';
51746
+ action_type: 'SCAN_CREDENTIAL';
51703
51747
  result: {
51704
- /** Snapshot of the card data read from the physical encoder. */
51748
+ /** Snapshot of credential data read from physical encoder. */
51705
51749
  acs_credential_on_encoder: {
51706
51750
  /** Date and time the credential was created. */
51707
51751
  created_at: string | null;
@@ -51854,7 +51898,7 @@ interface Routes {
51854
51898
  action_attempt_id: string;
51855
51899
  status: 'error';
51856
51900
  result: null;
51857
- action_type: 'SCAN_CARD';
51901
+ action_type: 'SCAN_CREDENTIAL';
51858
51902
  error: {
51859
51903
  type: 'uncategorized_error';
51860
51904
  message: string;
@@ -51871,13 +51915,13 @@ interface Routes {
51871
51915
  status: 'pending';
51872
51916
  result: null;
51873
51917
  error: null;
51874
- action_type: 'ENCODE_CARD';
51918
+ action_type: 'ENCODE_CREDENTIAL';
51875
51919
  } | {
51876
51920
  /** The ID of the action attempt. */
51877
51921
  action_attempt_id: string;
51878
51922
  status: 'success';
51879
51923
  error: null;
51880
- action_type: 'ENCODE_CARD';
51924
+ action_type: 'ENCODE_CREDENTIAL';
51881
51925
  /** Means by which a user gains access at an entrance.
51882
51926
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
51883
51927
  result: {
@@ -52000,7 +52044,7 @@ interface Routes {
52000
52044
  action_attempt_id: string;
52001
52045
  status: 'error';
52002
52046
  result: null;
52003
- action_type: 'ENCODE_CARD';
52047
+ action_type: 'ENCODE_CREDENTIAL';
52004
52048
  error: {
52005
52049
  type: 'uncategorized_error';
52006
52050
  message: string;
@@ -52435,15 +52479,15 @@ interface Routes {
52435
52479
  status: 'pending';
52436
52480
  result: null;
52437
52481
  error: null;
52438
- action_type: 'SCAN_CARD';
52482
+ action_type: 'SCAN_CREDENTIAL';
52439
52483
  } | {
52440
52484
  /** The ID of the action attempt. */
52441
52485
  action_attempt_id: string;
52442
52486
  status: 'success';
52443
52487
  error: null;
52444
- action_type: 'SCAN_CARD';
52488
+ action_type: 'SCAN_CREDENTIAL';
52445
52489
  result: {
52446
- /** Snapshot of the card data read from the physical encoder. */
52490
+ /** Snapshot of credential data read from physical encoder. */
52447
52491
  acs_credential_on_encoder: {
52448
52492
  /** Date and time the credential was created. */
52449
52493
  created_at: string | null;
@@ -52596,7 +52640,7 @@ interface Routes {
52596
52640
  action_attempt_id: string;
52597
52641
  status: 'error';
52598
52642
  result: null;
52599
- action_type: 'SCAN_CARD';
52643
+ action_type: 'SCAN_CREDENTIAL';
52600
52644
  error: {
52601
52645
  type: 'uncategorized_error';
52602
52646
  message: string;
@@ -52613,13 +52657,13 @@ interface Routes {
52613
52657
  status: 'pending';
52614
52658
  result: null;
52615
52659
  error: null;
52616
- action_type: 'ENCODE_CARD';
52660
+ action_type: 'ENCODE_CREDENTIAL';
52617
52661
  } | {
52618
52662
  /** The ID of the action attempt. */
52619
52663
  action_attempt_id: string;
52620
52664
  status: 'success';
52621
52665
  error: null;
52622
- action_type: 'ENCODE_CARD';
52666
+ action_type: 'ENCODE_CREDENTIAL';
52623
52667
  /** Means by which a user gains access at an entrance.
52624
52668
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
52625
52669
  result: {
@@ -52742,7 +52786,7 @@ interface Routes {
52742
52786
  action_attempt_id: string;
52743
52787
  status: 'error';
52744
52788
  result: null;
52745
- action_type: 'ENCODE_CARD';
52789
+ action_type: 'ENCODE_CREDENTIAL';
52746
52790
  error: {
52747
52791
  type: 'uncategorized_error';
52748
52792
  message: string;
@@ -54120,15 +54164,15 @@ interface Routes {
54120
54164
  status: 'pending';
54121
54165
  result: null;
54122
54166
  error: null;
54123
- action_type: 'SCAN_CARD';
54167
+ action_type: 'SCAN_CREDENTIAL';
54124
54168
  } | {
54125
54169
  /** The ID of the action attempt. */
54126
54170
  action_attempt_id: string;
54127
54171
  status: 'success';
54128
54172
  error: null;
54129
- action_type: 'SCAN_CARD';
54173
+ action_type: 'SCAN_CREDENTIAL';
54130
54174
  result: {
54131
- /** Snapshot of the card data read from the physical encoder. */
54175
+ /** Snapshot of credential data read from physical encoder. */
54132
54176
  acs_credential_on_encoder: {
54133
54177
  /** Date and time the credential was created. */
54134
54178
  created_at: string | null;
@@ -54281,7 +54325,7 @@ interface Routes {
54281
54325
  action_attempt_id: string;
54282
54326
  status: 'error';
54283
54327
  result: null;
54284
- action_type: 'SCAN_CARD';
54328
+ action_type: 'SCAN_CREDENTIAL';
54285
54329
  error: {
54286
54330
  type: 'uncategorized_error';
54287
54331
  message: string;
@@ -54298,13 +54342,13 @@ interface Routes {
54298
54342
  status: 'pending';
54299
54343
  result: null;
54300
54344
  error: null;
54301
- action_type: 'ENCODE_CARD';
54345
+ action_type: 'ENCODE_CREDENTIAL';
54302
54346
  } | {
54303
54347
  /** The ID of the action attempt. */
54304
54348
  action_attempt_id: string;
54305
54349
  status: 'success';
54306
54350
  error: null;
54307
- action_type: 'ENCODE_CARD';
54351
+ action_type: 'ENCODE_CREDENTIAL';
54308
54352
  /** Means by which a user gains access at an entrance.
54309
54353
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
54310
54354
  result: {
@@ -54427,7 +54471,7 @@ interface Routes {
54427
54471
  action_attempt_id: string;
54428
54472
  status: 'error';
54429
54473
  result: null;
54430
- action_type: 'ENCODE_CARD';
54474
+ action_type: 'ENCODE_CREDENTIAL';
54431
54475
  error: {
54432
54476
  type: 'uncategorized_error';
54433
54477
  message: string;
@@ -54976,15 +55020,15 @@ interface Routes {
54976
55020
  status: 'pending';
54977
55021
  result: null;
54978
55022
  error: null;
54979
- action_type: 'SCAN_CARD';
55023
+ action_type: 'SCAN_CREDENTIAL';
54980
55024
  } | {
54981
55025
  /** The ID of the action attempt. */
54982
55026
  action_attempt_id: string;
54983
55027
  status: 'success';
54984
55028
  error: null;
54985
- action_type: 'SCAN_CARD';
55029
+ action_type: 'SCAN_CREDENTIAL';
54986
55030
  result: {
54987
- /** Snapshot of the card data read from the physical encoder. */
55031
+ /** Snapshot of credential data read from physical encoder. */
54988
55032
  acs_credential_on_encoder: {
54989
55033
  /** Date and time the credential was created. */
54990
55034
  created_at: string | null;
@@ -55137,7 +55181,7 @@ interface Routes {
55137
55181
  action_attempt_id: string;
55138
55182
  status: 'error';
55139
55183
  result: null;
55140
- action_type: 'SCAN_CARD';
55184
+ action_type: 'SCAN_CREDENTIAL';
55141
55185
  error: {
55142
55186
  type: 'uncategorized_error';
55143
55187
  message: string;
@@ -55154,13 +55198,13 @@ interface Routes {
55154
55198
  status: 'pending';
55155
55199
  result: null;
55156
55200
  error: null;
55157
- action_type: 'ENCODE_CARD';
55201
+ action_type: 'ENCODE_CREDENTIAL';
55158
55202
  } | {
55159
55203
  /** The ID of the action attempt. */
55160
55204
  action_attempt_id: string;
55161
55205
  status: 'success';
55162
55206
  error: null;
55163
- action_type: 'ENCODE_CARD';
55207
+ action_type: 'ENCODE_CREDENTIAL';
55164
55208
  /** Means by which a user gains access at an entrance.
55165
55209
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
55166
55210
  result: {
@@ -55283,7 +55327,7 @@ interface Routes {
55283
55327
  action_attempt_id: string;
55284
55328
  status: 'error';
55285
55329
  result: null;
55286
- action_type: 'ENCODE_CARD';
55330
+ action_type: 'ENCODE_CREDENTIAL';
55287
55331
  error: {
55288
55332
  type: 'uncategorized_error';
55289
55333
  message: string;
@@ -56833,6 +56877,10 @@ interface Routes {
56833
56877
  /**
56834
56878
  * @deprecated Use `external_type_display_name`. */
56835
56879
  system_type_display_name?: string | undefined;
56880
+ location: {
56881
+ /** Time zone in which the `acs_system` is located. */
56882
+ time_zone: string | null;
56883
+ };
56836
56884
  /** Name of the `acs_system`. */
56837
56885
  name: string;
56838
56886
  /** Date and time at which the `acs_system` was created. */
@@ -57248,15 +57296,15 @@ interface Routes {
57248
57296
  status: 'pending';
57249
57297
  result: null;
57250
57298
  error: null;
57251
- action_type: 'SCAN_CARD';
57299
+ action_type: 'SCAN_CREDENTIAL';
57252
57300
  } | {
57253
57301
  /** The ID of the action attempt. */
57254
57302
  action_attempt_id: string;
57255
57303
  status: 'success';
57256
57304
  error: null;
57257
- action_type: 'SCAN_CARD';
57305
+ action_type: 'SCAN_CREDENTIAL';
57258
57306
  result: {
57259
- /** Snapshot of the card data read from the physical encoder. */
57307
+ /** Snapshot of credential data read from physical encoder. */
57260
57308
  acs_credential_on_encoder: {
57261
57309
  /** Date and time the credential was created. */
57262
57310
  created_at: string | null;
@@ -57409,7 +57457,7 @@ interface Routes {
57409
57457
  action_attempt_id: string;
57410
57458
  status: 'error';
57411
57459
  result: null;
57412
- action_type: 'SCAN_CARD';
57460
+ action_type: 'SCAN_CREDENTIAL';
57413
57461
  error: {
57414
57462
  type: 'uncategorized_error';
57415
57463
  message: string;
@@ -57426,13 +57474,13 @@ interface Routes {
57426
57474
  status: 'pending';
57427
57475
  result: null;
57428
57476
  error: null;
57429
- action_type: 'ENCODE_CARD';
57477
+ action_type: 'ENCODE_CREDENTIAL';
57430
57478
  } | {
57431
57479
  /** The ID of the action attempt. */
57432
57480
  action_attempt_id: string;
57433
57481
  status: 'success';
57434
57482
  error: null;
57435
- action_type: 'ENCODE_CARD';
57483
+ action_type: 'ENCODE_CREDENTIAL';
57436
57484
  /** Means by which a user gains access at an entrance.
57437
57485
  The `acs_credential` object represents a credential that provides an ACS user access within an access control system. For each acs_credential object, you define the access method. You can also specify additional properties, such as a code. */
57438
57486
  result: {
@@ -57555,7 +57603,7 @@ interface Routes {
57555
57603
  action_attempt_id: string;
57556
57604
  status: 'error';
57557
57605
  result: null;
57558
- action_type: 'ENCODE_CARD';
57606
+ action_type: 'ENCODE_CREDENTIAL';
57559
57607
  error: {
57560
57608
  type: 'uncategorized_error';
57561
57609
  message: string;