@seamapi/types 1.289.0 → 1.289.1

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 (24) hide show
  1. package/dist/connect.cjs +54 -38
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +172 -164
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
  5. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  7. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  8. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  9. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  10. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  11. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  12. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  13. package/lib/seam/connect/openapi.d.ts +6 -2
  14. package/lib/seam/connect/openapi.js +41 -25
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +148 -144
  17. package/package.json +1 -1
  18. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  19. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  20. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  21. package/src/lib/seam/connect/openapi.ts +46 -25
  22. package/src/lib/seam/connect/route-types.ts +148 -144
  23. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  24. package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
@@ -1786,19 +1786,19 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1786
1786
  result: z.ZodNull;
1787
1787
  error: z.ZodNull;
1788
1788
  }>, {
1789
- action_type: z.ZodLiteral<"SCAN_CARD">;
1789
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
1790
1790
  }>, "strip", z.ZodTypeAny, {
1791
1791
  status: "pending";
1792
1792
  action_attempt_id: string;
1793
1793
  error: null;
1794
1794
  result: null;
1795
- action_type: "SCAN_CARD";
1795
+ action_type: "SCAN_CREDENTIAL";
1796
1796
  }, {
1797
1797
  status: "pending";
1798
1798
  action_attempt_id: string;
1799
1799
  error: null;
1800
1800
  result: null;
1801
- action_type: "SCAN_CARD";
1801
+ action_type: "SCAN_CREDENTIAL";
1802
1802
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1803
1803
  action_attempt_id: z.ZodString;
1804
1804
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -1806,7 +1806,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
1806
1806
  status: z.ZodLiteral<"success">;
1807
1807
  error: z.ZodNull;
1808
1808
  }>, {
1809
- action_type: z.ZodLiteral<"SCAN_CARD">;
1809
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
1810
1810
  result: z.ZodObject<{
1811
1811
  acs_credential_on_encoder: z.ZodObject<{
1812
1812
  created_at: z.ZodNullable<z.ZodString>;
@@ -2535,7 +2535,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2535
2535
  latest_desired_state_synced_with_provider_at?: string | undefined;
2536
2536
  } | null;
2537
2537
  };
2538
- action_type: "SCAN_CARD";
2538
+ action_type: "SCAN_CREDENTIAL";
2539
2539
  }, {
2540
2540
  status: "success";
2541
2541
  action_attempt_id: string;
@@ -2648,7 +2648,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2648
2648
  latest_desired_state_synced_with_provider_at?: string | undefined;
2649
2649
  } | null;
2650
2650
  };
2651
- action_type: "SCAN_CARD";
2651
+ action_type: "SCAN_CREDENTIAL";
2652
2652
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2653
2653
  action_attempt_id: z.ZodString;
2654
2654
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2656,7 +2656,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2656
2656
  status: z.ZodLiteral<"error">;
2657
2657
  result: z.ZodNull;
2658
2658
  }>, {
2659
- action_type: z.ZodLiteral<"SCAN_CARD">;
2659
+ action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
2660
2660
  error: z.ZodUnion<[z.ZodObject<{
2661
2661
  type: z.ZodLiteral<"uncategorized_error">;
2662
2662
  message: z.ZodString;
@@ -2699,7 +2699,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2699
2699
  type: "no_card_on_encoder";
2700
2700
  };
2701
2701
  result: null;
2702
- action_type: "SCAN_CARD";
2702
+ action_type: "SCAN_CREDENTIAL";
2703
2703
  }, {
2704
2704
  status: "error";
2705
2705
  action_attempt_id: string;
@@ -2714,7 +2714,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2714
2714
  type: "no_card_on_encoder";
2715
2715
  };
2716
2716
  result: null;
2717
- action_type: "SCAN_CARD";
2717
+ action_type: "SCAN_CREDENTIAL";
2718
2718
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2719
2719
  action_attempt_id: z.ZodString;
2720
2720
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2723,19 +2723,19 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2723
2723
  result: z.ZodNull;
2724
2724
  error: z.ZodNull;
2725
2725
  }>, {
2726
- action_type: z.ZodLiteral<"ENCODE_CARD">;
2726
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
2727
2727
  }>, "strip", z.ZodTypeAny, {
2728
2728
  status: "pending";
2729
2729
  action_attempt_id: string;
2730
2730
  error: null;
2731
2731
  result: null;
2732
- action_type: "ENCODE_CARD";
2732
+ action_type: "ENCODE_CREDENTIAL";
2733
2733
  }, {
2734
2734
  status: "pending";
2735
2735
  action_attempt_id: string;
2736
2736
  error: null;
2737
2737
  result: null;
2738
- action_type: "ENCODE_CARD";
2738
+ action_type: "ENCODE_CREDENTIAL";
2739
2739
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2740
2740
  action_attempt_id: z.ZodString;
2741
2741
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -2743,7 +2743,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
2743
2743
  status: z.ZodLiteral<"success">;
2744
2744
  error: z.ZodNull;
2745
2745
  }>, {
2746
- action_type: z.ZodLiteral<"ENCODE_CARD">;
2746
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
2747
2747
  result: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2748
2748
  acs_credential_id: z.ZodString;
2749
2749
  acs_user_id: z.ZodOptional<z.ZodString>;
@@ -3132,7 +3132,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3132
3132
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
3133
3133
  latest_desired_state_synced_with_provider_at?: string | undefined;
3134
3134
  };
3135
- action_type: "ENCODE_CARD";
3135
+ action_type: "ENCODE_CREDENTIAL";
3136
3136
  }, {
3137
3137
  status: "success";
3138
3138
  action_attempt_id: string;
@@ -3218,7 +3218,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3218
3218
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
3219
3219
  latest_desired_state_synced_with_provider_at?: string | undefined;
3220
3220
  };
3221
- action_type: "ENCODE_CARD";
3221
+ action_type: "ENCODE_CREDENTIAL";
3222
3222
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3223
3223
  action_attempt_id: z.ZodString;
3224
3224
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -3226,7 +3226,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3226
3226
  status: z.ZodLiteral<"error">;
3227
3227
  result: z.ZodNull;
3228
3228
  }>, {
3229
- action_type: z.ZodLiteral<"ENCODE_CARD">;
3229
+ action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
3230
3230
  error: z.ZodUnion<[z.ZodObject<{
3231
3231
  type: z.ZodLiteral<"uncategorized_error">;
3232
3232
  message: z.ZodString;
@@ -3281,7 +3281,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3281
3281
  type: "incompatible_card_format";
3282
3282
  };
3283
3283
  result: null;
3284
- action_type: "ENCODE_CARD";
3284
+ action_type: "ENCODE_CREDENTIAL";
3285
3285
  }, {
3286
3286
  status: "error";
3287
3287
  action_attempt_id: string;
@@ -3299,7 +3299,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
3299
3299
  type: "incompatible_card_format";
3300
3300
  };
3301
3301
  result: null;
3302
- action_type: "ENCODE_CARD";
3302
+ action_type: "ENCODE_CREDENTIAL";
3303
3303
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3304
3304
  action_attempt_id: z.ZodString;
3305
3305
  status: z.ZodEnum<["pending", "success", "error"]>;
@@ -20828,7 +20828,7 @@ declare const _default: {
20828
20828
  'x-title': string;
20829
20829
  };
20830
20830
  };
20831
- '/acs/encoders/encode_card': {
20831
+ '/acs/encoders/encode_credential': {
20832
20832
  post: {
20833
20833
  operationId: string;
20834
20834
  requestBody: {
@@ -20837,10 +20837,12 @@ declare const _default: {
20837
20837
  schema: {
20838
20838
  properties: {
20839
20839
  acs_credential_id: {
20840
+ description: string;
20840
20841
  format: string;
20841
20842
  type: string;
20842
20843
  };
20843
20844
  device_id: {
20845
+ description: string;
20844
20846
  format: string;
20845
20847
  type: string;
20846
20848
  };
@@ -21024,7 +21026,7 @@ declare const _default: {
21024
21026
  'x-undocumented': string;
21025
21027
  };
21026
21028
  };
21027
- '/acs/encoders/scan_card': {
21029
+ '/acs/encoders/scan_credential': {
21028
21030
  post: {
21029
21031
  operationId: string;
21030
21032
  requestBody: {
@@ -21033,10 +21035,12 @@ declare const _default: {
21033
21035
  schema: {
21034
21036
  properties: {
21035
21037
  acs_system_id: {
21038
+ description: string;
21036
21039
  format: string;
21037
21040
  type: string;
21038
21041
  };
21039
21042
  device_id: {
21043
+ description: string;
21040
21044
  format: string;
21041
21045
  type: string;
21042
21046
  };
@@ -31823,15 +31827,15 @@ interface Routes {
31823
31827
  status: 'pending';
31824
31828
  result: null;
31825
31829
  error: null;
31826
- action_type: 'SCAN_CARD';
31830
+ action_type: 'SCAN_CREDENTIAL';
31827
31831
  } | {
31828
31832
  /** The ID of the action attempt. */
31829
31833
  action_attempt_id: string;
31830
31834
  status: 'success';
31831
31835
  error: null;
31832
- action_type: 'SCAN_CARD';
31836
+ action_type: 'SCAN_CREDENTIAL';
31833
31837
  result: {
31834
- /** Snapshot of the card data read from the physical encoder. */
31838
+ /** Snapshot of credential data read from physical encoder. */
31835
31839
  acs_credential_on_encoder: {
31836
31840
  /** Date and time the credential was created. */
31837
31841
  created_at: string | null;
@@ -31984,7 +31988,7 @@ interface Routes {
31984
31988
  action_attempt_id: string;
31985
31989
  status: 'error';
31986
31990
  result: null;
31987
- action_type: 'SCAN_CARD';
31991
+ action_type: 'SCAN_CREDENTIAL';
31988
31992
  error: {
31989
31993
  type: 'uncategorized_error';
31990
31994
  message: string;
@@ -32001,13 +32005,13 @@ interface Routes {
32001
32005
  status: 'pending';
32002
32006
  result: null;
32003
32007
  error: null;
32004
- action_type: 'ENCODE_CARD';
32008
+ action_type: 'ENCODE_CREDENTIAL';
32005
32009
  } | {
32006
32010
  /** The ID of the action attempt. */
32007
32011
  action_attempt_id: string;
32008
32012
  status: 'success';
32009
32013
  error: null;
32010
- action_type: 'ENCODE_CARD';
32014
+ action_type: 'ENCODE_CREDENTIAL';
32011
32015
  /** Means by which a user gains access at an entrance.
32012
32016
  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
32017
  result: {
@@ -32130,7 +32134,7 @@ interface Routes {
32130
32134
  action_attempt_id: string;
32131
32135
  status: 'error';
32132
32136
  result: null;
32133
- action_type: 'ENCODE_CARD';
32137
+ action_type: 'ENCODE_CREDENTIAL';
32134
32138
  error: {
32135
32139
  type: 'uncategorized_error';
32136
32140
  message: string;
@@ -32706,15 +32710,15 @@ interface Routes {
32706
32710
  status: 'pending';
32707
32711
  result: null;
32708
32712
  error: null;
32709
- action_type: 'SCAN_CARD';
32713
+ action_type: 'SCAN_CREDENTIAL';
32710
32714
  } | {
32711
32715
  /** The ID of the action attempt. */
32712
32716
  action_attempt_id: string;
32713
32717
  status: 'success';
32714
32718
  error: null;
32715
- action_type: 'SCAN_CARD';
32719
+ action_type: 'SCAN_CREDENTIAL';
32716
32720
  result: {
32717
- /** Snapshot of the card data read from the physical encoder. */
32721
+ /** Snapshot of credential data read from physical encoder. */
32718
32722
  acs_credential_on_encoder: {
32719
32723
  /** Date and time the credential was created. */
32720
32724
  created_at: string | null;
@@ -32867,7 +32871,7 @@ interface Routes {
32867
32871
  action_attempt_id: string;
32868
32872
  status: 'error';
32869
32873
  result: null;
32870
- action_type: 'SCAN_CARD';
32874
+ action_type: 'SCAN_CREDENTIAL';
32871
32875
  error: {
32872
32876
  type: 'uncategorized_error';
32873
32877
  message: string;
@@ -32884,13 +32888,13 @@ interface Routes {
32884
32888
  status: 'pending';
32885
32889
  result: null;
32886
32890
  error: null;
32887
- action_type: 'ENCODE_CARD';
32891
+ action_type: 'ENCODE_CREDENTIAL';
32888
32892
  } | {
32889
32893
  /** The ID of the action attempt. */
32890
32894
  action_attempt_id: string;
32891
32895
  status: 'success';
32892
32896
  error: null;
32893
- action_type: 'ENCODE_CARD';
32897
+ action_type: 'ENCODE_CREDENTIAL';
32894
32898
  /** Means by which a user gains access at an entrance.
32895
32899
  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
32900
  result: {
@@ -33013,7 +33017,7 @@ interface Routes {
33013
33017
  action_attempt_id: string;
33014
33018
  status: 'error';
33015
33019
  result: null;
33016
- action_type: 'ENCODE_CARD';
33020
+ action_type: 'ENCODE_CREDENTIAL';
33017
33021
  error: {
33018
33022
  type: 'uncategorized_error';
33019
33023
  message: string;
@@ -33746,15 +33750,15 @@ interface Routes {
33746
33750
  status: 'pending';
33747
33751
  result: null;
33748
33752
  error: null;
33749
- action_type: 'SCAN_CARD';
33753
+ action_type: 'SCAN_CREDENTIAL';
33750
33754
  } | {
33751
33755
  /** The ID of the action attempt. */
33752
33756
  action_attempt_id: string;
33753
33757
  status: 'success';
33754
33758
  error: null;
33755
- action_type: 'SCAN_CARD';
33759
+ action_type: 'SCAN_CREDENTIAL';
33756
33760
  result: {
33757
- /** Snapshot of the card data read from the physical encoder. */
33761
+ /** Snapshot of credential data read from physical encoder. */
33758
33762
  acs_credential_on_encoder: {
33759
33763
  /** Date and time the credential was created. */
33760
33764
  created_at: string | null;
@@ -33907,7 +33911,7 @@ interface Routes {
33907
33911
  action_attempt_id: string;
33908
33912
  status: 'error';
33909
33913
  result: null;
33910
- action_type: 'SCAN_CARD';
33914
+ action_type: 'SCAN_CREDENTIAL';
33911
33915
  error: {
33912
33916
  type: 'uncategorized_error';
33913
33917
  message: string;
@@ -33924,13 +33928,13 @@ interface Routes {
33924
33928
  status: 'pending';
33925
33929
  result: null;
33926
33930
  error: null;
33927
- action_type: 'ENCODE_CARD';
33931
+ action_type: 'ENCODE_CREDENTIAL';
33928
33932
  } | {
33929
33933
  /** The ID of the action attempt. */
33930
33934
  action_attempt_id: string;
33931
33935
  status: 'success';
33932
33936
  error: null;
33933
- action_type: 'ENCODE_CARD';
33937
+ action_type: 'ENCODE_CREDENTIAL';
33934
33938
  /** Means by which a user gains access at an entrance.
33935
33939
  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
33940
  result: {
@@ -34053,7 +34057,7 @@ interface Routes {
34053
34057
  action_attempt_id: string;
34054
34058
  status: 'error';
34055
34059
  result: null;
34056
- action_type: 'ENCODE_CARD';
34060
+ action_type: 'ENCODE_CREDENTIAL';
34057
34061
  error: {
34058
34062
  type: 'uncategorized_error';
34059
34063
  message: string;
@@ -34616,15 +34620,15 @@ interface Routes {
34616
34620
  status: 'pending';
34617
34621
  result: null;
34618
34622
  error: null;
34619
- action_type: 'SCAN_CARD';
34623
+ action_type: 'SCAN_CREDENTIAL';
34620
34624
  } | {
34621
34625
  /** The ID of the action attempt. */
34622
34626
  action_attempt_id: string;
34623
34627
  status: 'success';
34624
34628
  error: null;
34625
- action_type: 'SCAN_CARD';
34629
+ action_type: 'SCAN_CREDENTIAL';
34626
34630
  result: {
34627
- /** Snapshot of the card data read from the physical encoder. */
34631
+ /** Snapshot of credential data read from physical encoder. */
34628
34632
  acs_credential_on_encoder: {
34629
34633
  /** Date and time the credential was created. */
34630
34634
  created_at: string | null;
@@ -34777,7 +34781,7 @@ interface Routes {
34777
34781
  action_attempt_id: string;
34778
34782
  status: 'error';
34779
34783
  result: null;
34780
- action_type: 'SCAN_CARD';
34784
+ action_type: 'SCAN_CREDENTIAL';
34781
34785
  error: {
34782
34786
  type: 'uncategorized_error';
34783
34787
  message: string;
@@ -34794,13 +34798,13 @@ interface Routes {
34794
34798
  status: 'pending';
34795
34799
  result: null;
34796
34800
  error: null;
34797
- action_type: 'ENCODE_CARD';
34801
+ action_type: 'ENCODE_CREDENTIAL';
34798
34802
  } | {
34799
34803
  /** The ID of the action attempt. */
34800
34804
  action_attempt_id: string;
34801
34805
  status: 'success';
34802
34806
  error: null;
34803
- action_type: 'ENCODE_CARD';
34807
+ action_type: 'ENCODE_CREDENTIAL';
34804
34808
  /** Means by which a user gains access at an entrance.
34805
34809
  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
34810
  result: {
@@ -34923,7 +34927,7 @@ interface Routes {
34923
34927
  action_attempt_id: string;
34924
34928
  status: 'error';
34925
34929
  result: null;
34926
- action_type: 'ENCODE_CARD';
34930
+ action_type: 'ENCODE_CREDENTIAL';
34927
34931
  error: {
34928
34932
  type: 'uncategorized_error';
34929
34933
  message: string;
@@ -36411,13 +36415,15 @@ interface Routes {
36411
36415
  };
36412
36416
  };
36413
36417
  };
36414
- '/acs/encoders/encode_card': {
36415
- route: '/acs/encoders/encode_card';
36418
+ '/acs/encoders/encode_credential': {
36419
+ route: '/acs/encoders/encode_credential';
36416
36420
  method: 'POST';
36417
36421
  queryParams: {};
36418
36422
  jsonBody: {};
36419
36423
  commonParams: {
36424
+ /** ID of the encoder to use for the encoding. */
36420
36425
  device_id: string;
36426
+ /** ID of the acs_credential to encode on a physical card. */
36421
36427
  acs_credential_id: string;
36422
36428
  };
36423
36429
  formData: {};
@@ -36476,15 +36482,15 @@ interface Routes {
36476
36482
  status: 'pending';
36477
36483
  result: null;
36478
36484
  error: null;
36479
- action_type: 'SCAN_CARD';
36485
+ action_type: 'SCAN_CREDENTIAL';
36480
36486
  } | {
36481
36487
  /** The ID of the action attempt. */
36482
36488
  action_attempt_id: string;
36483
36489
  status: 'success';
36484
36490
  error: null;
36485
- action_type: 'SCAN_CARD';
36491
+ action_type: 'SCAN_CREDENTIAL';
36486
36492
  result: {
36487
- /** Snapshot of the card data read from the physical encoder. */
36493
+ /** Snapshot of credential data read from physical encoder. */
36488
36494
  acs_credential_on_encoder: {
36489
36495
  /** Date and time the credential was created. */
36490
36496
  created_at: string | null;
@@ -36637,7 +36643,7 @@ interface Routes {
36637
36643
  action_attempt_id: string;
36638
36644
  status: 'error';
36639
36645
  result: null;
36640
- action_type: 'SCAN_CARD';
36646
+ action_type: 'SCAN_CREDENTIAL';
36641
36647
  error: {
36642
36648
  type: 'uncategorized_error';
36643
36649
  message: string;
@@ -36654,13 +36660,13 @@ interface Routes {
36654
36660
  status: 'pending';
36655
36661
  result: null;
36656
36662
  error: null;
36657
- action_type: 'ENCODE_CARD';
36663
+ action_type: 'ENCODE_CREDENTIAL';
36658
36664
  } | {
36659
36665
  /** The ID of the action attempt. */
36660
36666
  action_attempt_id: string;
36661
36667
  status: 'success';
36662
36668
  error: null;
36663
- action_type: 'ENCODE_CARD';
36669
+ action_type: 'ENCODE_CREDENTIAL';
36664
36670
  /** Means by which a user gains access at an entrance.
36665
36671
  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
36672
  result: {
@@ -36783,7 +36789,7 @@ interface Routes {
36783
36789
  action_attempt_id: string;
36784
36790
  status: 'error';
36785
36791
  result: null;
36786
- action_type: 'ENCODE_CARD';
36792
+ action_type: 'ENCODE_CREDENTIAL';
36787
36793
  error: {
36788
36794
  type: 'uncategorized_error';
36789
36795
  message: string;
@@ -37627,13 +37633,15 @@ interface Routes {
37627
37633
  }>;
37628
37634
  };
37629
37635
  };
37630
- '/acs/encoders/scan_card': {
37631
- route: '/acs/encoders/scan_card';
37636
+ '/acs/encoders/scan_credential': {
37637
+ route: '/acs/encoders/scan_credential';
37632
37638
  method: 'POST';
37633
37639
  queryParams: {};
37634
37640
  jsonBody: {};
37635
37641
  commonParams: {
37642
+ /** ID of the acs_system the encoder belongs to. */
37636
37643
  acs_system_id: string;
37644
+ /** ID of the encoder to use for the scan. */
37637
37645
  device_id: string;
37638
37646
  };
37639
37647
  formData: {};
@@ -37692,15 +37700,15 @@ interface Routes {
37692
37700
  status: 'pending';
37693
37701
  result: null;
37694
37702
  error: null;
37695
- action_type: 'SCAN_CARD';
37703
+ action_type: 'SCAN_CREDENTIAL';
37696
37704
  } | {
37697
37705
  /** The ID of the action attempt. */
37698
37706
  action_attempt_id: string;
37699
37707
  status: 'success';
37700
37708
  error: null;
37701
- action_type: 'SCAN_CARD';
37709
+ action_type: 'SCAN_CREDENTIAL';
37702
37710
  result: {
37703
- /** Snapshot of the card data read from the physical encoder. */
37711
+ /** Snapshot of credential data read from physical encoder. */
37704
37712
  acs_credential_on_encoder: {
37705
37713
  /** Date and time the credential was created. */
37706
37714
  created_at: string | null;
@@ -37853,7 +37861,7 @@ interface Routes {
37853
37861
  action_attempt_id: string;
37854
37862
  status: 'error';
37855
37863
  result: null;
37856
- action_type: 'SCAN_CARD';
37864
+ action_type: 'SCAN_CREDENTIAL';
37857
37865
  error: {
37858
37866
  type: 'uncategorized_error';
37859
37867
  message: string;
@@ -37870,13 +37878,13 @@ interface Routes {
37870
37878
  status: 'pending';
37871
37879
  result: null;
37872
37880
  error: null;
37873
- action_type: 'ENCODE_CARD';
37881
+ action_type: 'ENCODE_CREDENTIAL';
37874
37882
  } | {
37875
37883
  /** The ID of the action attempt. */
37876
37884
  action_attempt_id: string;
37877
37885
  status: 'success';
37878
37886
  error: null;
37879
- action_type: 'ENCODE_CARD';
37887
+ action_type: 'ENCODE_CREDENTIAL';
37880
37888
  /** Means by which a user gains access at an entrance.
37881
37889
  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
37890
  result: {
@@ -37999,7 +38007,7 @@ interface Routes {
37999
38007
  action_attempt_id: string;
38000
38008
  status: 'error';
38001
38009
  result: null;
38002
- action_type: 'ENCODE_CARD';
38010
+ action_type: 'ENCODE_CREDENTIAL';
38003
38011
  error: {
38004
38012
  type: 'uncategorized_error';
38005
38013
  message: string;
@@ -39652,15 +39660,15 @@ interface Routes {
39652
39660
  status: 'pending';
39653
39661
  result: null;
39654
39662
  error: null;
39655
- action_type: 'SCAN_CARD';
39663
+ action_type: 'SCAN_CREDENTIAL';
39656
39664
  } | {
39657
39665
  /** The ID of the action attempt. */
39658
39666
  action_attempt_id: string;
39659
39667
  status: 'success';
39660
39668
  error: null;
39661
- action_type: 'SCAN_CARD';
39669
+ action_type: 'SCAN_CREDENTIAL';
39662
39670
  result: {
39663
- /** Snapshot of the card data read from the physical encoder. */
39671
+ /** Snapshot of credential data read from physical encoder. */
39664
39672
  acs_credential_on_encoder: {
39665
39673
  /** Date and time the credential was created. */
39666
39674
  created_at: string | null;
@@ -39813,7 +39821,7 @@ interface Routes {
39813
39821
  action_attempt_id: string;
39814
39822
  status: 'error';
39815
39823
  result: null;
39816
- action_type: 'SCAN_CARD';
39824
+ action_type: 'SCAN_CREDENTIAL';
39817
39825
  error: {
39818
39826
  type: 'uncategorized_error';
39819
39827
  message: string;
@@ -39830,13 +39838,13 @@ interface Routes {
39830
39838
  status: 'pending';
39831
39839
  result: null;
39832
39840
  error: null;
39833
- action_type: 'ENCODE_CARD';
39841
+ action_type: 'ENCODE_CREDENTIAL';
39834
39842
  } | {
39835
39843
  /** The ID of the action attempt. */
39836
39844
  action_attempt_id: string;
39837
39845
  status: 'success';
39838
39846
  error: null;
39839
- action_type: 'ENCODE_CARD';
39847
+ action_type: 'ENCODE_CREDENTIAL';
39840
39848
  /** Means by which a user gains access at an entrance.
39841
39849
  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
39850
  result: {
@@ -39959,7 +39967,7 @@ interface Routes {
39959
39967
  action_attempt_id: string;
39960
39968
  status: 'error';
39961
39969
  result: null;
39962
- action_type: 'ENCODE_CARD';
39970
+ action_type: 'ENCODE_CREDENTIAL';
39963
39971
  error: {
39964
39972
  type: 'uncategorized_error';
39965
39973
  message: string;
@@ -40384,15 +40392,15 @@ interface Routes {
40384
40392
  status: 'pending';
40385
40393
  result: null;
40386
40394
  error: null;
40387
- action_type: 'SCAN_CARD';
40395
+ action_type: 'SCAN_CREDENTIAL';
40388
40396
  } | {
40389
40397
  /** The ID of the action attempt. */
40390
40398
  action_attempt_id: string;
40391
40399
  status: 'success';
40392
40400
  error: null;
40393
- action_type: 'SCAN_CARD';
40401
+ action_type: 'SCAN_CREDENTIAL';
40394
40402
  result: {
40395
- /** Snapshot of the card data read from the physical encoder. */
40403
+ /** Snapshot of credential data read from physical encoder. */
40396
40404
  acs_credential_on_encoder: {
40397
40405
  /** Date and time the credential was created. */
40398
40406
  created_at: string | null;
@@ -40545,7 +40553,7 @@ interface Routes {
40545
40553
  action_attempt_id: string;
40546
40554
  status: 'error';
40547
40555
  result: null;
40548
- action_type: 'SCAN_CARD';
40556
+ action_type: 'SCAN_CREDENTIAL';
40549
40557
  error: {
40550
40558
  type: 'uncategorized_error';
40551
40559
  message: string;
@@ -40562,13 +40570,13 @@ interface Routes {
40562
40570
  status: 'pending';
40563
40571
  result: null;
40564
40572
  error: null;
40565
- action_type: 'ENCODE_CARD';
40573
+ action_type: 'ENCODE_CREDENTIAL';
40566
40574
  } | {
40567
40575
  /** The ID of the action attempt. */
40568
40576
  action_attempt_id: string;
40569
40577
  status: 'success';
40570
40578
  error: null;
40571
- action_type: 'ENCODE_CARD';
40579
+ action_type: 'ENCODE_CREDENTIAL';
40572
40580
  /** Means by which a user gains access at an entrance.
40573
40581
  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
40582
  result: {
@@ -40691,7 +40699,7 @@ interface Routes {
40691
40699
  action_attempt_id: string;
40692
40700
  status: 'error';
40693
40701
  result: null;
40694
- action_type: 'ENCODE_CARD';
40702
+ action_type: 'ENCODE_CREDENTIAL';
40695
40703
  error: {
40696
40704
  type: 'uncategorized_error';
40697
40705
  message: string;
@@ -44811,15 +44819,15 @@ interface Routes {
44811
44819
  status: 'pending';
44812
44820
  result: null;
44813
44821
  error: null;
44814
- action_type: 'SCAN_CARD';
44822
+ action_type: 'SCAN_CREDENTIAL';
44815
44823
  } | {
44816
44824
  /** The ID of the action attempt. */
44817
44825
  action_attempt_id: string;
44818
44826
  status: 'success';
44819
44827
  error: null;
44820
- action_type: 'SCAN_CARD';
44828
+ action_type: 'SCAN_CREDENTIAL';
44821
44829
  result: {
44822
- /** Snapshot of the card data read from the physical encoder. */
44830
+ /** Snapshot of credential data read from physical encoder. */
44823
44831
  acs_credential_on_encoder: {
44824
44832
  /** Date and time the credential was created. */
44825
44833
  created_at: string | null;
@@ -44972,7 +44980,7 @@ interface Routes {
44972
44980
  action_attempt_id: string;
44973
44981
  status: 'error';
44974
44982
  result: null;
44975
- action_type: 'SCAN_CARD';
44983
+ action_type: 'SCAN_CREDENTIAL';
44976
44984
  error: {
44977
44985
  type: 'uncategorized_error';
44978
44986
  message: string;
@@ -44989,13 +44997,13 @@ interface Routes {
44989
44997
  status: 'pending';
44990
44998
  result: null;
44991
44999
  error: null;
44992
- action_type: 'ENCODE_CARD';
45000
+ action_type: 'ENCODE_CREDENTIAL';
44993
45001
  } | {
44994
45002
  /** The ID of the action attempt. */
44995
45003
  action_attempt_id: string;
44996
45004
  status: 'success';
44997
45005
  error: null;
44998
- action_type: 'ENCODE_CARD';
45006
+ action_type: 'ENCODE_CREDENTIAL';
44999
45007
  /** Means by which a user gains access at an entrance.
45000
45008
  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
45009
  result: {
@@ -45118,7 +45126,7 @@ interface Routes {
45118
45126
  action_attempt_id: string;
45119
45127
  status: 'error';
45120
45128
  result: null;
45121
- action_type: 'ENCODE_CARD';
45129
+ action_type: 'ENCODE_CREDENTIAL';
45122
45130
  error: {
45123
45131
  type: 'uncategorized_error';
45124
45132
  message: string;
@@ -45544,15 +45552,15 @@ interface Routes {
45544
45552
  status: 'pending';
45545
45553
  result: null;
45546
45554
  error: null;
45547
- action_type: 'SCAN_CARD';
45555
+ action_type: 'SCAN_CREDENTIAL';
45548
45556
  } | {
45549
45557
  /** The ID of the action attempt. */
45550
45558
  action_attempt_id: string;
45551
45559
  status: 'success';
45552
45560
  error: null;
45553
- action_type: 'SCAN_CARD';
45561
+ action_type: 'SCAN_CREDENTIAL';
45554
45562
  result: {
45555
- /** Snapshot of the card data read from the physical encoder. */
45563
+ /** Snapshot of credential data read from physical encoder. */
45556
45564
  acs_credential_on_encoder: {
45557
45565
  /** Date and time the credential was created. */
45558
45566
  created_at: string | null;
@@ -45705,7 +45713,7 @@ interface Routes {
45705
45713
  action_attempt_id: string;
45706
45714
  status: 'error';
45707
45715
  result: null;
45708
- action_type: 'SCAN_CARD';
45716
+ action_type: 'SCAN_CREDENTIAL';
45709
45717
  error: {
45710
45718
  type: 'uncategorized_error';
45711
45719
  message: string;
@@ -45722,13 +45730,13 @@ interface Routes {
45722
45730
  status: 'pending';
45723
45731
  result: null;
45724
45732
  error: null;
45725
- action_type: 'ENCODE_CARD';
45733
+ action_type: 'ENCODE_CREDENTIAL';
45726
45734
  } | {
45727
45735
  /** The ID of the action attempt. */
45728
45736
  action_attempt_id: string;
45729
45737
  status: 'success';
45730
45738
  error: null;
45731
- action_type: 'ENCODE_CARD';
45739
+ action_type: 'ENCODE_CREDENTIAL';
45732
45740
  /** Means by which a user gains access at an entrance.
45733
45741
  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
45742
  result: {
@@ -45851,7 +45859,7 @@ interface Routes {
45851
45859
  action_attempt_id: string;
45852
45860
  status: 'error';
45853
45861
  result: null;
45854
- action_type: 'ENCODE_CARD';
45862
+ action_type: 'ENCODE_CREDENTIAL';
45855
45863
  error: {
45856
45864
  type: 'uncategorized_error';
45857
45865
  message: string;
@@ -47267,15 +47275,15 @@ interface Routes {
47267
47275
  status: 'pending';
47268
47276
  result: null;
47269
47277
  error: null;
47270
- action_type: 'SCAN_CARD';
47278
+ action_type: 'SCAN_CREDENTIAL';
47271
47279
  } | {
47272
47280
  /** The ID of the action attempt. */
47273
47281
  action_attempt_id: string;
47274
47282
  status: 'success';
47275
47283
  error: null;
47276
- action_type: 'SCAN_CARD';
47284
+ action_type: 'SCAN_CREDENTIAL';
47277
47285
  result: {
47278
- /** Snapshot of the card data read from the physical encoder. */
47286
+ /** Snapshot of credential data read from physical encoder. */
47279
47287
  acs_credential_on_encoder: {
47280
47288
  /** Date and time the credential was created. */
47281
47289
  created_at: string | null;
@@ -47428,7 +47436,7 @@ interface Routes {
47428
47436
  action_attempt_id: string;
47429
47437
  status: 'error';
47430
47438
  result: null;
47431
- action_type: 'SCAN_CARD';
47439
+ action_type: 'SCAN_CREDENTIAL';
47432
47440
  error: {
47433
47441
  type: 'uncategorized_error';
47434
47442
  message: string;
@@ -47445,13 +47453,13 @@ interface Routes {
47445
47453
  status: 'pending';
47446
47454
  result: null;
47447
47455
  error: null;
47448
- action_type: 'ENCODE_CARD';
47456
+ action_type: 'ENCODE_CREDENTIAL';
47449
47457
  } | {
47450
47458
  /** The ID of the action attempt. */
47451
47459
  action_attempt_id: string;
47452
47460
  status: 'success';
47453
47461
  error: null;
47454
- action_type: 'ENCODE_CARD';
47462
+ action_type: 'ENCODE_CREDENTIAL';
47455
47463
  /** Means by which a user gains access at an entrance.
47456
47464
  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
47465
  result: {
@@ -47574,7 +47582,7 @@ interface Routes {
47574
47582
  action_attempt_id: string;
47575
47583
  status: 'error';
47576
47584
  result: null;
47577
- action_type: 'ENCODE_CARD';
47585
+ action_type: 'ENCODE_CREDENTIAL';
47578
47586
  error: {
47579
47587
  type: 'uncategorized_error';
47580
47588
  message: string;
@@ -48010,15 +48018,15 @@ interface Routes {
48010
48018
  status: 'pending';
48011
48019
  result: null;
48012
48020
  error: null;
48013
- action_type: 'SCAN_CARD';
48021
+ action_type: 'SCAN_CREDENTIAL';
48014
48022
  } | {
48015
48023
  /** The ID of the action attempt. */
48016
48024
  action_attempt_id: string;
48017
48025
  status: 'success';
48018
48026
  error: null;
48019
- action_type: 'SCAN_CARD';
48027
+ action_type: 'SCAN_CREDENTIAL';
48020
48028
  result: {
48021
- /** Snapshot of the card data read from the physical encoder. */
48029
+ /** Snapshot of credential data read from physical encoder. */
48022
48030
  acs_credential_on_encoder: {
48023
48031
  /** Date and time the credential was created. */
48024
48032
  created_at: string | null;
@@ -48171,7 +48179,7 @@ interface Routes {
48171
48179
  action_attempt_id: string;
48172
48180
  status: 'error';
48173
48181
  result: null;
48174
- action_type: 'SCAN_CARD';
48182
+ action_type: 'SCAN_CREDENTIAL';
48175
48183
  error: {
48176
48184
  type: 'uncategorized_error';
48177
48185
  message: string;
@@ -48188,13 +48196,13 @@ interface Routes {
48188
48196
  status: 'pending';
48189
48197
  result: null;
48190
48198
  error: null;
48191
- action_type: 'ENCODE_CARD';
48199
+ action_type: 'ENCODE_CREDENTIAL';
48192
48200
  } | {
48193
48201
  /** The ID of the action attempt. */
48194
48202
  action_attempt_id: string;
48195
48203
  status: 'success';
48196
48204
  error: null;
48197
- action_type: 'ENCODE_CARD';
48205
+ action_type: 'ENCODE_CREDENTIAL';
48198
48206
  /** Means by which a user gains access at an entrance.
48199
48207
  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
48208
  result: {
@@ -48317,7 +48325,7 @@ interface Routes {
48317
48325
  action_attempt_id: string;
48318
48326
  status: 'error';
48319
48327
  result: null;
48320
- action_type: 'ENCODE_CARD';
48328
+ action_type: 'ENCODE_CREDENTIAL';
48321
48329
  error: {
48322
48330
  type: 'uncategorized_error';
48323
48331
  message: string;
@@ -48792,15 +48800,15 @@ interface Routes {
48792
48800
  status: 'pending';
48793
48801
  result: null;
48794
48802
  error: null;
48795
- action_type: 'SCAN_CARD';
48803
+ action_type: 'SCAN_CREDENTIAL';
48796
48804
  } | {
48797
48805
  /** The ID of the action attempt. */
48798
48806
  action_attempt_id: string;
48799
48807
  status: 'success';
48800
48808
  error: null;
48801
- action_type: 'SCAN_CARD';
48809
+ action_type: 'SCAN_CREDENTIAL';
48802
48810
  result: {
48803
- /** Snapshot of the card data read from the physical encoder. */
48811
+ /** Snapshot of credential data read from physical encoder. */
48804
48812
  acs_credential_on_encoder: {
48805
48813
  /** Date and time the credential was created. */
48806
48814
  created_at: string | null;
@@ -48953,7 +48961,7 @@ interface Routes {
48953
48961
  action_attempt_id: string;
48954
48962
  status: 'error';
48955
48963
  result: null;
48956
- action_type: 'SCAN_CARD';
48964
+ action_type: 'SCAN_CREDENTIAL';
48957
48965
  error: {
48958
48966
  type: 'uncategorized_error';
48959
48967
  message: string;
@@ -48970,13 +48978,13 @@ interface Routes {
48970
48978
  status: 'pending';
48971
48979
  result: null;
48972
48980
  error: null;
48973
- action_type: 'ENCODE_CARD';
48981
+ action_type: 'ENCODE_CREDENTIAL';
48974
48982
  } | {
48975
48983
  /** The ID of the action attempt. */
48976
48984
  action_attempt_id: string;
48977
48985
  status: 'success';
48978
48986
  error: null;
48979
- action_type: 'ENCODE_CARD';
48987
+ action_type: 'ENCODE_CREDENTIAL';
48980
48988
  /** Means by which a user gains access at an entrance.
48981
48989
  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
48990
  result: {
@@ -49099,7 +49107,7 @@ interface Routes {
49099
49107
  action_attempt_id: string;
49100
49108
  status: 'error';
49101
49109
  result: null;
49102
- action_type: 'ENCODE_CARD';
49110
+ action_type: 'ENCODE_CREDENTIAL';
49103
49111
  error: {
49104
49112
  type: 'uncategorized_error';
49105
49113
  message: string;
@@ -49707,15 +49715,15 @@ interface Routes {
49707
49715
  status: 'pending';
49708
49716
  result: null;
49709
49717
  error: null;
49710
- action_type: 'SCAN_CARD';
49718
+ action_type: 'SCAN_CREDENTIAL';
49711
49719
  } | {
49712
49720
  /** The ID of the action attempt. */
49713
49721
  action_attempt_id: string;
49714
49722
  status: 'success';
49715
49723
  error: null;
49716
- action_type: 'SCAN_CARD';
49724
+ action_type: 'SCAN_CREDENTIAL';
49717
49725
  result: {
49718
- /** Snapshot of the card data read from the physical encoder. */
49726
+ /** Snapshot of credential data read from physical encoder. */
49719
49727
  acs_credential_on_encoder: {
49720
49728
  /** Date and time the credential was created. */
49721
49729
  created_at: string | null;
@@ -49868,7 +49876,7 @@ interface Routes {
49868
49876
  action_attempt_id: string;
49869
49877
  status: 'error';
49870
49878
  result: null;
49871
- action_type: 'SCAN_CARD';
49879
+ action_type: 'SCAN_CREDENTIAL';
49872
49880
  error: {
49873
49881
  type: 'uncategorized_error';
49874
49882
  message: string;
@@ -49885,13 +49893,13 @@ interface Routes {
49885
49893
  status: 'pending';
49886
49894
  result: null;
49887
49895
  error: null;
49888
- action_type: 'ENCODE_CARD';
49896
+ action_type: 'ENCODE_CREDENTIAL';
49889
49897
  } | {
49890
49898
  /** The ID of the action attempt. */
49891
49899
  action_attempt_id: string;
49892
49900
  status: 'success';
49893
49901
  error: null;
49894
- action_type: 'ENCODE_CARD';
49902
+ action_type: 'ENCODE_CREDENTIAL';
49895
49903
  /** Means by which a user gains access at an entrance.
49896
49904
  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
49905
  result: {
@@ -50014,7 +50022,7 @@ interface Routes {
50014
50022
  action_attempt_id: string;
50015
50023
  status: 'error';
50016
50024
  result: null;
50017
- action_type: 'ENCODE_CARD';
50025
+ action_type: 'ENCODE_CREDENTIAL';
50018
50026
  error: {
50019
50027
  type: 'uncategorized_error';
50020
50028
  message: string;
@@ -50445,15 +50453,15 @@ interface Routes {
50445
50453
  status: 'pending';
50446
50454
  result: null;
50447
50455
  error: null;
50448
- action_type: 'SCAN_CARD';
50456
+ action_type: 'SCAN_CREDENTIAL';
50449
50457
  } | {
50450
50458
  /** The ID of the action attempt. */
50451
50459
  action_attempt_id: string;
50452
50460
  status: 'success';
50453
50461
  error: null;
50454
- action_type: 'SCAN_CARD';
50462
+ action_type: 'SCAN_CREDENTIAL';
50455
50463
  result: {
50456
- /** Snapshot of the card data read from the physical encoder. */
50464
+ /** Snapshot of credential data read from physical encoder. */
50457
50465
  acs_credential_on_encoder: {
50458
50466
  /** Date and time the credential was created. */
50459
50467
  created_at: string | null;
@@ -50606,7 +50614,7 @@ interface Routes {
50606
50614
  action_attempt_id: string;
50607
50615
  status: 'error';
50608
50616
  result: null;
50609
- action_type: 'SCAN_CARD';
50617
+ action_type: 'SCAN_CREDENTIAL';
50610
50618
  error: {
50611
50619
  type: 'uncategorized_error';
50612
50620
  message: string;
@@ -50623,13 +50631,13 @@ interface Routes {
50623
50631
  status: 'pending';
50624
50632
  result: null;
50625
50633
  error: null;
50626
- action_type: 'ENCODE_CARD';
50634
+ action_type: 'ENCODE_CREDENTIAL';
50627
50635
  } | {
50628
50636
  /** The ID of the action attempt. */
50629
50637
  action_attempt_id: string;
50630
50638
  status: 'success';
50631
50639
  error: null;
50632
- action_type: 'ENCODE_CARD';
50640
+ action_type: 'ENCODE_CREDENTIAL';
50633
50641
  /** Means by which a user gains access at an entrance.
50634
50642
  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
50643
  result: {
@@ -50752,7 +50760,7 @@ interface Routes {
50752
50760
  action_attempt_id: string;
50753
50761
  status: 'error';
50754
50762
  result: null;
50755
- action_type: 'ENCODE_CARD';
50763
+ action_type: 'ENCODE_CREDENTIAL';
50756
50764
  error: {
50757
50765
  type: 'uncategorized_error';
50758
50766
  message: string;
@@ -51693,15 +51701,15 @@ interface Routes {
51693
51701
  status: 'pending';
51694
51702
  result: null;
51695
51703
  error: null;
51696
- action_type: 'SCAN_CARD';
51704
+ action_type: 'SCAN_CREDENTIAL';
51697
51705
  } | {
51698
51706
  /** The ID of the action attempt. */
51699
51707
  action_attempt_id: string;
51700
51708
  status: 'success';
51701
51709
  error: null;
51702
- action_type: 'SCAN_CARD';
51710
+ action_type: 'SCAN_CREDENTIAL';
51703
51711
  result: {
51704
- /** Snapshot of the card data read from the physical encoder. */
51712
+ /** Snapshot of credential data read from physical encoder. */
51705
51713
  acs_credential_on_encoder: {
51706
51714
  /** Date and time the credential was created. */
51707
51715
  created_at: string | null;
@@ -51854,7 +51862,7 @@ interface Routes {
51854
51862
  action_attempt_id: string;
51855
51863
  status: 'error';
51856
51864
  result: null;
51857
- action_type: 'SCAN_CARD';
51865
+ action_type: 'SCAN_CREDENTIAL';
51858
51866
  error: {
51859
51867
  type: 'uncategorized_error';
51860
51868
  message: string;
@@ -51871,13 +51879,13 @@ interface Routes {
51871
51879
  status: 'pending';
51872
51880
  result: null;
51873
51881
  error: null;
51874
- action_type: 'ENCODE_CARD';
51882
+ action_type: 'ENCODE_CREDENTIAL';
51875
51883
  } | {
51876
51884
  /** The ID of the action attempt. */
51877
51885
  action_attempt_id: string;
51878
51886
  status: 'success';
51879
51887
  error: null;
51880
- action_type: 'ENCODE_CARD';
51888
+ action_type: 'ENCODE_CREDENTIAL';
51881
51889
  /** Means by which a user gains access at an entrance.
51882
51890
  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
51891
  result: {
@@ -52000,7 +52008,7 @@ interface Routes {
52000
52008
  action_attempt_id: string;
52001
52009
  status: 'error';
52002
52010
  result: null;
52003
- action_type: 'ENCODE_CARD';
52011
+ action_type: 'ENCODE_CREDENTIAL';
52004
52012
  error: {
52005
52013
  type: 'uncategorized_error';
52006
52014
  message: string;
@@ -52435,15 +52443,15 @@ interface Routes {
52435
52443
  status: 'pending';
52436
52444
  result: null;
52437
52445
  error: null;
52438
- action_type: 'SCAN_CARD';
52446
+ action_type: 'SCAN_CREDENTIAL';
52439
52447
  } | {
52440
52448
  /** The ID of the action attempt. */
52441
52449
  action_attempt_id: string;
52442
52450
  status: 'success';
52443
52451
  error: null;
52444
- action_type: 'SCAN_CARD';
52452
+ action_type: 'SCAN_CREDENTIAL';
52445
52453
  result: {
52446
- /** Snapshot of the card data read from the physical encoder. */
52454
+ /** Snapshot of credential data read from physical encoder. */
52447
52455
  acs_credential_on_encoder: {
52448
52456
  /** Date and time the credential was created. */
52449
52457
  created_at: string | null;
@@ -52596,7 +52604,7 @@ interface Routes {
52596
52604
  action_attempt_id: string;
52597
52605
  status: 'error';
52598
52606
  result: null;
52599
- action_type: 'SCAN_CARD';
52607
+ action_type: 'SCAN_CREDENTIAL';
52600
52608
  error: {
52601
52609
  type: 'uncategorized_error';
52602
52610
  message: string;
@@ -52613,13 +52621,13 @@ interface Routes {
52613
52621
  status: 'pending';
52614
52622
  result: null;
52615
52623
  error: null;
52616
- action_type: 'ENCODE_CARD';
52624
+ action_type: 'ENCODE_CREDENTIAL';
52617
52625
  } | {
52618
52626
  /** The ID of the action attempt. */
52619
52627
  action_attempt_id: string;
52620
52628
  status: 'success';
52621
52629
  error: null;
52622
- action_type: 'ENCODE_CARD';
52630
+ action_type: 'ENCODE_CREDENTIAL';
52623
52631
  /** Means by which a user gains access at an entrance.
52624
52632
  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
52633
  result: {
@@ -52742,7 +52750,7 @@ interface Routes {
52742
52750
  action_attempt_id: string;
52743
52751
  status: 'error';
52744
52752
  result: null;
52745
- action_type: 'ENCODE_CARD';
52753
+ action_type: 'ENCODE_CREDENTIAL';
52746
52754
  error: {
52747
52755
  type: 'uncategorized_error';
52748
52756
  message: string;
@@ -54120,15 +54128,15 @@ interface Routes {
54120
54128
  status: 'pending';
54121
54129
  result: null;
54122
54130
  error: null;
54123
- action_type: 'SCAN_CARD';
54131
+ action_type: 'SCAN_CREDENTIAL';
54124
54132
  } | {
54125
54133
  /** The ID of the action attempt. */
54126
54134
  action_attempt_id: string;
54127
54135
  status: 'success';
54128
54136
  error: null;
54129
- action_type: 'SCAN_CARD';
54137
+ action_type: 'SCAN_CREDENTIAL';
54130
54138
  result: {
54131
- /** Snapshot of the card data read from the physical encoder. */
54139
+ /** Snapshot of credential data read from physical encoder. */
54132
54140
  acs_credential_on_encoder: {
54133
54141
  /** Date and time the credential was created. */
54134
54142
  created_at: string | null;
@@ -54281,7 +54289,7 @@ interface Routes {
54281
54289
  action_attempt_id: string;
54282
54290
  status: 'error';
54283
54291
  result: null;
54284
- action_type: 'SCAN_CARD';
54292
+ action_type: 'SCAN_CREDENTIAL';
54285
54293
  error: {
54286
54294
  type: 'uncategorized_error';
54287
54295
  message: string;
@@ -54298,13 +54306,13 @@ interface Routes {
54298
54306
  status: 'pending';
54299
54307
  result: null;
54300
54308
  error: null;
54301
- action_type: 'ENCODE_CARD';
54309
+ action_type: 'ENCODE_CREDENTIAL';
54302
54310
  } | {
54303
54311
  /** The ID of the action attempt. */
54304
54312
  action_attempt_id: string;
54305
54313
  status: 'success';
54306
54314
  error: null;
54307
- action_type: 'ENCODE_CARD';
54315
+ action_type: 'ENCODE_CREDENTIAL';
54308
54316
  /** Means by which a user gains access at an entrance.
54309
54317
  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
54318
  result: {
@@ -54427,7 +54435,7 @@ interface Routes {
54427
54435
  action_attempt_id: string;
54428
54436
  status: 'error';
54429
54437
  result: null;
54430
- action_type: 'ENCODE_CARD';
54438
+ action_type: 'ENCODE_CREDENTIAL';
54431
54439
  error: {
54432
54440
  type: 'uncategorized_error';
54433
54441
  message: string;
@@ -54976,15 +54984,15 @@ interface Routes {
54976
54984
  status: 'pending';
54977
54985
  result: null;
54978
54986
  error: null;
54979
- action_type: 'SCAN_CARD';
54987
+ action_type: 'SCAN_CREDENTIAL';
54980
54988
  } | {
54981
54989
  /** The ID of the action attempt. */
54982
54990
  action_attempt_id: string;
54983
54991
  status: 'success';
54984
54992
  error: null;
54985
- action_type: 'SCAN_CARD';
54993
+ action_type: 'SCAN_CREDENTIAL';
54986
54994
  result: {
54987
- /** Snapshot of the card data read from the physical encoder. */
54995
+ /** Snapshot of credential data read from physical encoder. */
54988
54996
  acs_credential_on_encoder: {
54989
54997
  /** Date and time the credential was created. */
54990
54998
  created_at: string | null;
@@ -55137,7 +55145,7 @@ interface Routes {
55137
55145
  action_attempt_id: string;
55138
55146
  status: 'error';
55139
55147
  result: null;
55140
- action_type: 'SCAN_CARD';
55148
+ action_type: 'SCAN_CREDENTIAL';
55141
55149
  error: {
55142
55150
  type: 'uncategorized_error';
55143
55151
  message: string;
@@ -55154,13 +55162,13 @@ interface Routes {
55154
55162
  status: 'pending';
55155
55163
  result: null;
55156
55164
  error: null;
55157
- action_type: 'ENCODE_CARD';
55165
+ action_type: 'ENCODE_CREDENTIAL';
55158
55166
  } | {
55159
55167
  /** The ID of the action attempt. */
55160
55168
  action_attempt_id: string;
55161
55169
  status: 'success';
55162
55170
  error: null;
55163
- action_type: 'ENCODE_CARD';
55171
+ action_type: 'ENCODE_CREDENTIAL';
55164
55172
  /** Means by which a user gains access at an entrance.
55165
55173
  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
55174
  result: {
@@ -55283,7 +55291,7 @@ interface Routes {
55283
55291
  action_attempt_id: string;
55284
55292
  status: 'error';
55285
55293
  result: null;
55286
- action_type: 'ENCODE_CARD';
55294
+ action_type: 'ENCODE_CREDENTIAL';
55287
55295
  error: {
55288
55296
  type: 'uncategorized_error';
55289
55297
  message: string;
@@ -57248,15 +57256,15 @@ interface Routes {
57248
57256
  status: 'pending';
57249
57257
  result: null;
57250
57258
  error: null;
57251
- action_type: 'SCAN_CARD';
57259
+ action_type: 'SCAN_CREDENTIAL';
57252
57260
  } | {
57253
57261
  /** The ID of the action attempt. */
57254
57262
  action_attempt_id: string;
57255
57263
  status: 'success';
57256
57264
  error: null;
57257
- action_type: 'SCAN_CARD';
57265
+ action_type: 'SCAN_CREDENTIAL';
57258
57266
  result: {
57259
- /** Snapshot of the card data read from the physical encoder. */
57267
+ /** Snapshot of credential data read from physical encoder. */
57260
57268
  acs_credential_on_encoder: {
57261
57269
  /** Date and time the credential was created. */
57262
57270
  created_at: string | null;
@@ -57409,7 +57417,7 @@ interface Routes {
57409
57417
  action_attempt_id: string;
57410
57418
  status: 'error';
57411
57419
  result: null;
57412
- action_type: 'SCAN_CARD';
57420
+ action_type: 'SCAN_CREDENTIAL';
57413
57421
  error: {
57414
57422
  type: 'uncategorized_error';
57415
57423
  message: string;
@@ -57426,13 +57434,13 @@ interface Routes {
57426
57434
  status: 'pending';
57427
57435
  result: null;
57428
57436
  error: null;
57429
- action_type: 'ENCODE_CARD';
57437
+ action_type: 'ENCODE_CREDENTIAL';
57430
57438
  } | {
57431
57439
  /** The ID of the action attempt. */
57432
57440
  action_attempt_id: string;
57433
57441
  status: 'success';
57434
57442
  error: null;
57435
- action_type: 'ENCODE_CARD';
57443
+ action_type: 'ENCODE_CREDENTIAL';
57436
57444
  /** Means by which a user gains access at an entrance.
57437
57445
  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
57446
  result: {
@@ -57555,7 +57563,7 @@ interface Routes {
57555
57563
  action_attempt_id: string;
57556
57564
  status: 'error';
57557
57565
  result: null;
57558
- action_type: 'ENCODE_CARD';
57566
+ action_type: 'ENCODE_CREDENTIAL';
57559
57567
  error: {
57560
57568
  type: 'uncategorized_error';
57561
57569
  message: string;