@seamapi/types 1.288.2 → 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 +119 -53
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +219 -165
  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 +36 -2
  14. package/lib/seam/connect/openapi.js +99 -33
  15. package/lib/seam/connect/openapi.js.map +1 -1
  16. package/lib/seam/connect/route-types.d.ts +165 -145
  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 +119 -33
  22. package/src/lib/seam/connect/route-types.ts +165 -145
  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
  };
@@ -27696,6 +27700,7 @@ declare const _default: {
27696
27700
  };
27697
27701
  '/thermostats/cool': {
27698
27702
  post: {
27703
+ description: string;
27699
27704
  operationId: string;
27700
27705
  requestBody: {
27701
27706
  content: {
@@ -27703,14 +27708,17 @@ declare const _default: {
27703
27708
  schema: {
27704
27709
  properties: {
27705
27710
  cooling_set_point_celsius: {
27711
+ description: string;
27706
27712
  format: string;
27707
27713
  type: string;
27708
27714
  };
27709
27715
  cooling_set_point_fahrenheit: {
27716
+ description: string;
27710
27717
  format: string;
27711
27718
  type: string;
27712
27719
  };
27713
27720
  device_id: {
27721
+ description: string;
27714
27722
  format: string;
27715
27723
  type: string;
27716
27724
  };
@@ -27779,6 +27787,7 @@ declare const _default: {
27779
27787
  'x-fern-sdk-method-name': string;
27780
27788
  'x-fern-sdk-return-value': string;
27781
27789
  'x-response-key': string;
27790
+ 'x-title': string;
27782
27791
  };
27783
27792
  };
27784
27793
  '/thermostats/create_climate_preset': {
@@ -27947,6 +27956,7 @@ declare const _default: {
27947
27956
  };
27948
27957
  '/thermostats/get': {
27949
27958
  post: {
27959
+ description: string;
27950
27960
  operationId: string;
27951
27961
  requestBody: {
27952
27962
  content: {
@@ -27954,10 +27964,12 @@ declare const _default: {
27954
27964
  schema: {
27955
27965
  properties: {
27956
27966
  device_id: {
27967
+ description: string;
27957
27968
  format: string;
27958
27969
  type: string;
27959
27970
  };
27960
27971
  name: {
27972
+ description: string;
27961
27973
  type: string;
27962
27974
  };
27963
27975
  };
@@ -28021,10 +28033,12 @@ declare const _default: {
28021
28033
  'x-fern-sdk-method-name': string;
28022
28034
  'x-fern-sdk-return-value': string;
28023
28035
  'x-response-key': string;
28036
+ 'x-title': string;
28024
28037
  };
28025
28038
  };
28026
28039
  '/thermostats/heat': {
28027
28040
  post: {
28041
+ description: string;
28028
28042
  operationId: string;
28029
28043
  requestBody: {
28030
28044
  content: {
@@ -28032,14 +28046,17 @@ declare const _default: {
28032
28046
  schema: {
28033
28047
  properties: {
28034
28048
  device_id: {
28049
+ description: string;
28035
28050
  format: string;
28036
28051
  type: string;
28037
28052
  };
28038
28053
  heating_set_point_celsius: {
28054
+ description: string;
28039
28055
  format: string;
28040
28056
  type: string;
28041
28057
  };
28042
28058
  heating_set_point_fahrenheit: {
28059
+ description: string;
28043
28060
  format: string;
28044
28061
  type: string;
28045
28062
  };
@@ -28108,10 +28125,12 @@ declare const _default: {
28108
28125
  'x-fern-sdk-method-name': string;
28109
28126
  'x-fern-sdk-return-value': string;
28110
28127
  'x-response-key': string;
28128
+ 'x-title': string;
28111
28129
  };
28112
28130
  };
28113
28131
  '/thermostats/heat_cool': {
28114
28132
  post: {
28133
+ description: string;
28115
28134
  operationId: string;
28116
28135
  requestBody: {
28117
28136
  content: {
@@ -28119,22 +28138,27 @@ declare const _default: {
28119
28138
  schema: {
28120
28139
  properties: {
28121
28140
  cooling_set_point_celsius: {
28141
+ description: string;
28122
28142
  format: string;
28123
28143
  type: string;
28124
28144
  };
28125
28145
  cooling_set_point_fahrenheit: {
28146
+ description: string;
28126
28147
  format: string;
28127
28148
  type: string;
28128
28149
  };
28129
28150
  device_id: {
28151
+ description: string;
28130
28152
  format: string;
28131
28153
  type: string;
28132
28154
  };
28133
28155
  heating_set_point_celsius: {
28156
+ description: string;
28134
28157
  format: string;
28135
28158
  type: string;
28136
28159
  };
28137
28160
  heating_set_point_fahrenheit: {
28161
+ description: string;
28138
28162
  format: string;
28139
28163
  type: string;
28140
28164
  };
@@ -28203,10 +28227,12 @@ declare const _default: {
28203
28227
  'x-fern-sdk-method-name': string;
28204
28228
  'x-fern-sdk-return-value': string;
28205
28229
  'x-response-key': string;
28230
+ 'x-title': string;
28206
28231
  };
28207
28232
  };
28208
28233
  '/thermostats/list': {
28209
28234
  post: {
28235
+ description: string;
28210
28236
  operationId: string;
28211
28237
  requestBody: {
28212
28238
  content: {
@@ -28358,10 +28384,12 @@ declare const _default: {
28358
28384
  'x-fern-sdk-method-name': string;
28359
28385
  'x-fern-sdk-return-value': string;
28360
28386
  'x-response-key': string;
28387
+ 'x-title': string;
28361
28388
  };
28362
28389
  };
28363
28390
  '/thermostats/off': {
28364
28391
  post: {
28392
+ description: string;
28365
28393
  operationId: string;
28366
28394
  requestBody: {
28367
28395
  content: {
@@ -28369,6 +28397,7 @@ declare const _default: {
28369
28397
  schema: {
28370
28398
  properties: {
28371
28399
  device_id: {
28400
+ description: string;
28372
28401
  format: string;
28373
28402
  type: string;
28374
28403
  };
@@ -28437,6 +28466,7 @@ declare const _default: {
28437
28466
  'x-fern-sdk-method-name': string;
28438
28467
  'x-fern-sdk-return-value': string;
28439
28468
  'x-response-key': string;
28469
+ 'x-title': string;
28440
28470
  };
28441
28471
  };
28442
28472
  '/thermostats/schedules/create': {
@@ -28996,6 +29026,7 @@ declare const _default: {
28996
29026
  };
28997
29027
  '/thermostats/set_fan_mode': {
28998
29028
  post: {
29029
+ description: string;
28999
29030
  operationId: string;
29000
29031
  requestBody: {
29001
29032
  content: {
@@ -29003,6 +29034,7 @@ declare const _default: {
29003
29034
  schema: {
29004
29035
  properties: {
29005
29036
  device_id: {
29037
+ description: string;
29006
29038
  format: string;
29007
29039
  type: string;
29008
29040
  };
@@ -29013,6 +29045,7 @@ declare const _default: {
29013
29045
  'x-deprecated': string;
29014
29046
  };
29015
29047
  fan_mode_setting: {
29048
+ description: string;
29016
29049
  enum: string[];
29017
29050
  type: string;
29018
29051
  };
@@ -29081,6 +29114,7 @@ declare const _default: {
29081
29114
  'x-fern-sdk-method-name': string;
29082
29115
  'x-fern-sdk-return-value': string;
29083
29116
  'x-response-key': string;
29117
+ 'x-title': string;
29084
29118
  };
29085
29119
  };
29086
29120
  '/thermostats/set_temperature_threshold': {
@@ -31793,15 +31827,15 @@ interface Routes {
31793
31827
  status: 'pending';
31794
31828
  result: null;
31795
31829
  error: null;
31796
- action_type: 'SCAN_CARD';
31830
+ action_type: 'SCAN_CREDENTIAL';
31797
31831
  } | {
31798
31832
  /** The ID of the action attempt. */
31799
31833
  action_attempt_id: string;
31800
31834
  status: 'success';
31801
31835
  error: null;
31802
- action_type: 'SCAN_CARD';
31836
+ action_type: 'SCAN_CREDENTIAL';
31803
31837
  result: {
31804
- /** Snapshot of the card data read from the physical encoder. */
31838
+ /** Snapshot of credential data read from physical encoder. */
31805
31839
  acs_credential_on_encoder: {
31806
31840
  /** Date and time the credential was created. */
31807
31841
  created_at: string | null;
@@ -31954,7 +31988,7 @@ interface Routes {
31954
31988
  action_attempt_id: string;
31955
31989
  status: 'error';
31956
31990
  result: null;
31957
- action_type: 'SCAN_CARD';
31991
+ action_type: 'SCAN_CREDENTIAL';
31958
31992
  error: {
31959
31993
  type: 'uncategorized_error';
31960
31994
  message: string;
@@ -31971,13 +32005,13 @@ interface Routes {
31971
32005
  status: 'pending';
31972
32006
  result: null;
31973
32007
  error: null;
31974
- action_type: 'ENCODE_CARD';
32008
+ action_type: 'ENCODE_CREDENTIAL';
31975
32009
  } | {
31976
32010
  /** The ID of the action attempt. */
31977
32011
  action_attempt_id: string;
31978
32012
  status: 'success';
31979
32013
  error: null;
31980
- action_type: 'ENCODE_CARD';
32014
+ action_type: 'ENCODE_CREDENTIAL';
31981
32015
  /** Means by which a user gains access at an entrance.
31982
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. */
31983
32017
  result: {
@@ -32100,7 +32134,7 @@ interface Routes {
32100
32134
  action_attempt_id: string;
32101
32135
  status: 'error';
32102
32136
  result: null;
32103
- action_type: 'ENCODE_CARD';
32137
+ action_type: 'ENCODE_CREDENTIAL';
32104
32138
  error: {
32105
32139
  type: 'uncategorized_error';
32106
32140
  message: string;
@@ -32676,15 +32710,15 @@ interface Routes {
32676
32710
  status: 'pending';
32677
32711
  result: null;
32678
32712
  error: null;
32679
- action_type: 'SCAN_CARD';
32713
+ action_type: 'SCAN_CREDENTIAL';
32680
32714
  } | {
32681
32715
  /** The ID of the action attempt. */
32682
32716
  action_attempt_id: string;
32683
32717
  status: 'success';
32684
32718
  error: null;
32685
- action_type: 'SCAN_CARD';
32719
+ action_type: 'SCAN_CREDENTIAL';
32686
32720
  result: {
32687
- /** Snapshot of the card data read from the physical encoder. */
32721
+ /** Snapshot of credential data read from physical encoder. */
32688
32722
  acs_credential_on_encoder: {
32689
32723
  /** Date and time the credential was created. */
32690
32724
  created_at: string | null;
@@ -32837,7 +32871,7 @@ interface Routes {
32837
32871
  action_attempt_id: string;
32838
32872
  status: 'error';
32839
32873
  result: null;
32840
- action_type: 'SCAN_CARD';
32874
+ action_type: 'SCAN_CREDENTIAL';
32841
32875
  error: {
32842
32876
  type: 'uncategorized_error';
32843
32877
  message: string;
@@ -32854,13 +32888,13 @@ interface Routes {
32854
32888
  status: 'pending';
32855
32889
  result: null;
32856
32890
  error: null;
32857
- action_type: 'ENCODE_CARD';
32891
+ action_type: 'ENCODE_CREDENTIAL';
32858
32892
  } | {
32859
32893
  /** The ID of the action attempt. */
32860
32894
  action_attempt_id: string;
32861
32895
  status: 'success';
32862
32896
  error: null;
32863
- action_type: 'ENCODE_CARD';
32897
+ action_type: 'ENCODE_CREDENTIAL';
32864
32898
  /** Means by which a user gains access at an entrance.
32865
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. */
32866
32900
  result: {
@@ -32983,7 +33017,7 @@ interface Routes {
32983
33017
  action_attempt_id: string;
32984
33018
  status: 'error';
32985
33019
  result: null;
32986
- action_type: 'ENCODE_CARD';
33020
+ action_type: 'ENCODE_CREDENTIAL';
32987
33021
  error: {
32988
33022
  type: 'uncategorized_error';
32989
33023
  message: string;
@@ -33716,15 +33750,15 @@ interface Routes {
33716
33750
  status: 'pending';
33717
33751
  result: null;
33718
33752
  error: null;
33719
- action_type: 'SCAN_CARD';
33753
+ action_type: 'SCAN_CREDENTIAL';
33720
33754
  } | {
33721
33755
  /** The ID of the action attempt. */
33722
33756
  action_attempt_id: string;
33723
33757
  status: 'success';
33724
33758
  error: null;
33725
- action_type: 'SCAN_CARD';
33759
+ action_type: 'SCAN_CREDENTIAL';
33726
33760
  result: {
33727
- /** Snapshot of the card data read from the physical encoder. */
33761
+ /** Snapshot of credential data read from physical encoder. */
33728
33762
  acs_credential_on_encoder: {
33729
33763
  /** Date and time the credential was created. */
33730
33764
  created_at: string | null;
@@ -33877,7 +33911,7 @@ interface Routes {
33877
33911
  action_attempt_id: string;
33878
33912
  status: 'error';
33879
33913
  result: null;
33880
- action_type: 'SCAN_CARD';
33914
+ action_type: 'SCAN_CREDENTIAL';
33881
33915
  error: {
33882
33916
  type: 'uncategorized_error';
33883
33917
  message: string;
@@ -33894,13 +33928,13 @@ interface Routes {
33894
33928
  status: 'pending';
33895
33929
  result: null;
33896
33930
  error: null;
33897
- action_type: 'ENCODE_CARD';
33931
+ action_type: 'ENCODE_CREDENTIAL';
33898
33932
  } | {
33899
33933
  /** The ID of the action attempt. */
33900
33934
  action_attempt_id: string;
33901
33935
  status: 'success';
33902
33936
  error: null;
33903
- action_type: 'ENCODE_CARD';
33937
+ action_type: 'ENCODE_CREDENTIAL';
33904
33938
  /** Means by which a user gains access at an entrance.
33905
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. */
33906
33940
  result: {
@@ -34023,7 +34057,7 @@ interface Routes {
34023
34057
  action_attempt_id: string;
34024
34058
  status: 'error';
34025
34059
  result: null;
34026
- action_type: 'ENCODE_CARD';
34060
+ action_type: 'ENCODE_CREDENTIAL';
34027
34061
  error: {
34028
34062
  type: 'uncategorized_error';
34029
34063
  message: string;
@@ -34586,15 +34620,15 @@ interface Routes {
34586
34620
  status: 'pending';
34587
34621
  result: null;
34588
34622
  error: null;
34589
- action_type: 'SCAN_CARD';
34623
+ action_type: 'SCAN_CREDENTIAL';
34590
34624
  } | {
34591
34625
  /** The ID of the action attempt. */
34592
34626
  action_attempt_id: string;
34593
34627
  status: 'success';
34594
34628
  error: null;
34595
- action_type: 'SCAN_CARD';
34629
+ action_type: 'SCAN_CREDENTIAL';
34596
34630
  result: {
34597
- /** Snapshot of the card data read from the physical encoder. */
34631
+ /** Snapshot of credential data read from physical encoder. */
34598
34632
  acs_credential_on_encoder: {
34599
34633
  /** Date and time the credential was created. */
34600
34634
  created_at: string | null;
@@ -34747,7 +34781,7 @@ interface Routes {
34747
34781
  action_attempt_id: string;
34748
34782
  status: 'error';
34749
34783
  result: null;
34750
- action_type: 'SCAN_CARD';
34784
+ action_type: 'SCAN_CREDENTIAL';
34751
34785
  error: {
34752
34786
  type: 'uncategorized_error';
34753
34787
  message: string;
@@ -34764,13 +34798,13 @@ interface Routes {
34764
34798
  status: 'pending';
34765
34799
  result: null;
34766
34800
  error: null;
34767
- action_type: 'ENCODE_CARD';
34801
+ action_type: 'ENCODE_CREDENTIAL';
34768
34802
  } | {
34769
34803
  /** The ID of the action attempt. */
34770
34804
  action_attempt_id: string;
34771
34805
  status: 'success';
34772
34806
  error: null;
34773
- action_type: 'ENCODE_CARD';
34807
+ action_type: 'ENCODE_CREDENTIAL';
34774
34808
  /** Means by which a user gains access at an entrance.
34775
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. */
34776
34810
  result: {
@@ -34893,7 +34927,7 @@ interface Routes {
34893
34927
  action_attempt_id: string;
34894
34928
  status: 'error';
34895
34929
  result: null;
34896
- action_type: 'ENCODE_CARD';
34930
+ action_type: 'ENCODE_CREDENTIAL';
34897
34931
  error: {
34898
34932
  type: 'uncategorized_error';
34899
34933
  message: string;
@@ -36381,13 +36415,15 @@ interface Routes {
36381
36415
  };
36382
36416
  };
36383
36417
  };
36384
- '/acs/encoders/encode_card': {
36385
- route: '/acs/encoders/encode_card';
36418
+ '/acs/encoders/encode_credential': {
36419
+ route: '/acs/encoders/encode_credential';
36386
36420
  method: 'POST';
36387
36421
  queryParams: {};
36388
36422
  jsonBody: {};
36389
36423
  commonParams: {
36424
+ /** ID of the encoder to use for the encoding. */
36390
36425
  device_id: string;
36426
+ /** ID of the acs_credential to encode on a physical card. */
36391
36427
  acs_credential_id: string;
36392
36428
  };
36393
36429
  formData: {};
@@ -36446,15 +36482,15 @@ interface Routes {
36446
36482
  status: 'pending';
36447
36483
  result: null;
36448
36484
  error: null;
36449
- action_type: 'SCAN_CARD';
36485
+ action_type: 'SCAN_CREDENTIAL';
36450
36486
  } | {
36451
36487
  /** The ID of the action attempt. */
36452
36488
  action_attempt_id: string;
36453
36489
  status: 'success';
36454
36490
  error: null;
36455
- action_type: 'SCAN_CARD';
36491
+ action_type: 'SCAN_CREDENTIAL';
36456
36492
  result: {
36457
- /** Snapshot of the card data read from the physical encoder. */
36493
+ /** Snapshot of credential data read from physical encoder. */
36458
36494
  acs_credential_on_encoder: {
36459
36495
  /** Date and time the credential was created. */
36460
36496
  created_at: string | null;
@@ -36607,7 +36643,7 @@ interface Routes {
36607
36643
  action_attempt_id: string;
36608
36644
  status: 'error';
36609
36645
  result: null;
36610
- action_type: 'SCAN_CARD';
36646
+ action_type: 'SCAN_CREDENTIAL';
36611
36647
  error: {
36612
36648
  type: 'uncategorized_error';
36613
36649
  message: string;
@@ -36624,13 +36660,13 @@ interface Routes {
36624
36660
  status: 'pending';
36625
36661
  result: null;
36626
36662
  error: null;
36627
- action_type: 'ENCODE_CARD';
36663
+ action_type: 'ENCODE_CREDENTIAL';
36628
36664
  } | {
36629
36665
  /** The ID of the action attempt. */
36630
36666
  action_attempt_id: string;
36631
36667
  status: 'success';
36632
36668
  error: null;
36633
- action_type: 'ENCODE_CARD';
36669
+ action_type: 'ENCODE_CREDENTIAL';
36634
36670
  /** Means by which a user gains access at an entrance.
36635
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. */
36636
36672
  result: {
@@ -36753,7 +36789,7 @@ interface Routes {
36753
36789
  action_attempt_id: string;
36754
36790
  status: 'error';
36755
36791
  result: null;
36756
- action_type: 'ENCODE_CARD';
36792
+ action_type: 'ENCODE_CREDENTIAL';
36757
36793
  error: {
36758
36794
  type: 'uncategorized_error';
36759
36795
  message: string;
@@ -37597,13 +37633,15 @@ interface Routes {
37597
37633
  }>;
37598
37634
  };
37599
37635
  };
37600
- '/acs/encoders/scan_card': {
37601
- route: '/acs/encoders/scan_card';
37636
+ '/acs/encoders/scan_credential': {
37637
+ route: '/acs/encoders/scan_credential';
37602
37638
  method: 'POST';
37603
37639
  queryParams: {};
37604
37640
  jsonBody: {};
37605
37641
  commonParams: {
37642
+ /** ID of the acs_system the encoder belongs to. */
37606
37643
  acs_system_id: string;
37644
+ /** ID of the encoder to use for the scan. */
37607
37645
  device_id: string;
37608
37646
  };
37609
37647
  formData: {};
@@ -37662,15 +37700,15 @@ interface Routes {
37662
37700
  status: 'pending';
37663
37701
  result: null;
37664
37702
  error: null;
37665
- action_type: 'SCAN_CARD';
37703
+ action_type: 'SCAN_CREDENTIAL';
37666
37704
  } | {
37667
37705
  /** The ID of the action attempt. */
37668
37706
  action_attempt_id: string;
37669
37707
  status: 'success';
37670
37708
  error: null;
37671
- action_type: 'SCAN_CARD';
37709
+ action_type: 'SCAN_CREDENTIAL';
37672
37710
  result: {
37673
- /** Snapshot of the card data read from the physical encoder. */
37711
+ /** Snapshot of credential data read from physical encoder. */
37674
37712
  acs_credential_on_encoder: {
37675
37713
  /** Date and time the credential was created. */
37676
37714
  created_at: string | null;
@@ -37823,7 +37861,7 @@ interface Routes {
37823
37861
  action_attempt_id: string;
37824
37862
  status: 'error';
37825
37863
  result: null;
37826
- action_type: 'SCAN_CARD';
37864
+ action_type: 'SCAN_CREDENTIAL';
37827
37865
  error: {
37828
37866
  type: 'uncategorized_error';
37829
37867
  message: string;
@@ -37840,13 +37878,13 @@ interface Routes {
37840
37878
  status: 'pending';
37841
37879
  result: null;
37842
37880
  error: null;
37843
- action_type: 'ENCODE_CARD';
37881
+ action_type: 'ENCODE_CREDENTIAL';
37844
37882
  } | {
37845
37883
  /** The ID of the action attempt. */
37846
37884
  action_attempt_id: string;
37847
37885
  status: 'success';
37848
37886
  error: null;
37849
- action_type: 'ENCODE_CARD';
37887
+ action_type: 'ENCODE_CREDENTIAL';
37850
37888
  /** Means by which a user gains access at an entrance.
37851
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. */
37852
37890
  result: {
@@ -37969,7 +38007,7 @@ interface Routes {
37969
38007
  action_attempt_id: string;
37970
38008
  status: 'error';
37971
38009
  result: null;
37972
- action_type: 'ENCODE_CARD';
38010
+ action_type: 'ENCODE_CREDENTIAL';
37973
38011
  error: {
37974
38012
  type: 'uncategorized_error';
37975
38013
  message: string;
@@ -39622,15 +39660,15 @@ interface Routes {
39622
39660
  status: 'pending';
39623
39661
  result: null;
39624
39662
  error: null;
39625
- action_type: 'SCAN_CARD';
39663
+ action_type: 'SCAN_CREDENTIAL';
39626
39664
  } | {
39627
39665
  /** The ID of the action attempt. */
39628
39666
  action_attempt_id: string;
39629
39667
  status: 'success';
39630
39668
  error: null;
39631
- action_type: 'SCAN_CARD';
39669
+ action_type: 'SCAN_CREDENTIAL';
39632
39670
  result: {
39633
- /** Snapshot of the card data read from the physical encoder. */
39671
+ /** Snapshot of credential data read from physical encoder. */
39634
39672
  acs_credential_on_encoder: {
39635
39673
  /** Date and time the credential was created. */
39636
39674
  created_at: string | null;
@@ -39783,7 +39821,7 @@ interface Routes {
39783
39821
  action_attempt_id: string;
39784
39822
  status: 'error';
39785
39823
  result: null;
39786
- action_type: 'SCAN_CARD';
39824
+ action_type: 'SCAN_CREDENTIAL';
39787
39825
  error: {
39788
39826
  type: 'uncategorized_error';
39789
39827
  message: string;
@@ -39800,13 +39838,13 @@ interface Routes {
39800
39838
  status: 'pending';
39801
39839
  result: null;
39802
39840
  error: null;
39803
- action_type: 'ENCODE_CARD';
39841
+ action_type: 'ENCODE_CREDENTIAL';
39804
39842
  } | {
39805
39843
  /** The ID of the action attempt. */
39806
39844
  action_attempt_id: string;
39807
39845
  status: 'success';
39808
39846
  error: null;
39809
- action_type: 'ENCODE_CARD';
39847
+ action_type: 'ENCODE_CREDENTIAL';
39810
39848
  /** Means by which a user gains access at an entrance.
39811
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. */
39812
39850
  result: {
@@ -39929,7 +39967,7 @@ interface Routes {
39929
39967
  action_attempt_id: string;
39930
39968
  status: 'error';
39931
39969
  result: null;
39932
- action_type: 'ENCODE_CARD';
39970
+ action_type: 'ENCODE_CREDENTIAL';
39933
39971
  error: {
39934
39972
  type: 'uncategorized_error';
39935
39973
  message: string;
@@ -40354,15 +40392,15 @@ interface Routes {
40354
40392
  status: 'pending';
40355
40393
  result: null;
40356
40394
  error: null;
40357
- action_type: 'SCAN_CARD';
40395
+ action_type: 'SCAN_CREDENTIAL';
40358
40396
  } | {
40359
40397
  /** The ID of the action attempt. */
40360
40398
  action_attempt_id: string;
40361
40399
  status: 'success';
40362
40400
  error: null;
40363
- action_type: 'SCAN_CARD';
40401
+ action_type: 'SCAN_CREDENTIAL';
40364
40402
  result: {
40365
- /** Snapshot of the card data read from the physical encoder. */
40403
+ /** Snapshot of credential data read from physical encoder. */
40366
40404
  acs_credential_on_encoder: {
40367
40405
  /** Date and time the credential was created. */
40368
40406
  created_at: string | null;
@@ -40515,7 +40553,7 @@ interface Routes {
40515
40553
  action_attempt_id: string;
40516
40554
  status: 'error';
40517
40555
  result: null;
40518
- action_type: 'SCAN_CARD';
40556
+ action_type: 'SCAN_CREDENTIAL';
40519
40557
  error: {
40520
40558
  type: 'uncategorized_error';
40521
40559
  message: string;
@@ -40532,13 +40570,13 @@ interface Routes {
40532
40570
  status: 'pending';
40533
40571
  result: null;
40534
40572
  error: null;
40535
- action_type: 'ENCODE_CARD';
40573
+ action_type: 'ENCODE_CREDENTIAL';
40536
40574
  } | {
40537
40575
  /** The ID of the action attempt. */
40538
40576
  action_attempt_id: string;
40539
40577
  status: 'success';
40540
40578
  error: null;
40541
- action_type: 'ENCODE_CARD';
40579
+ action_type: 'ENCODE_CREDENTIAL';
40542
40580
  /** Means by which a user gains access at an entrance.
40543
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. */
40544
40582
  result: {
@@ -40661,7 +40699,7 @@ interface Routes {
40661
40699
  action_attempt_id: string;
40662
40700
  status: 'error';
40663
40701
  result: null;
40664
- action_type: 'ENCODE_CARD';
40702
+ action_type: 'ENCODE_CREDENTIAL';
40665
40703
  error: {
40666
40704
  type: 'uncategorized_error';
40667
40705
  message: string;
@@ -44781,15 +44819,15 @@ interface Routes {
44781
44819
  status: 'pending';
44782
44820
  result: null;
44783
44821
  error: null;
44784
- action_type: 'SCAN_CARD';
44822
+ action_type: 'SCAN_CREDENTIAL';
44785
44823
  } | {
44786
44824
  /** The ID of the action attempt. */
44787
44825
  action_attempt_id: string;
44788
44826
  status: 'success';
44789
44827
  error: null;
44790
- action_type: 'SCAN_CARD';
44828
+ action_type: 'SCAN_CREDENTIAL';
44791
44829
  result: {
44792
- /** Snapshot of the card data read from the physical encoder. */
44830
+ /** Snapshot of credential data read from physical encoder. */
44793
44831
  acs_credential_on_encoder: {
44794
44832
  /** Date and time the credential was created. */
44795
44833
  created_at: string | null;
@@ -44942,7 +44980,7 @@ interface Routes {
44942
44980
  action_attempt_id: string;
44943
44981
  status: 'error';
44944
44982
  result: null;
44945
- action_type: 'SCAN_CARD';
44983
+ action_type: 'SCAN_CREDENTIAL';
44946
44984
  error: {
44947
44985
  type: 'uncategorized_error';
44948
44986
  message: string;
@@ -44959,13 +44997,13 @@ interface Routes {
44959
44997
  status: 'pending';
44960
44998
  result: null;
44961
44999
  error: null;
44962
- action_type: 'ENCODE_CARD';
45000
+ action_type: 'ENCODE_CREDENTIAL';
44963
45001
  } | {
44964
45002
  /** The ID of the action attempt. */
44965
45003
  action_attempt_id: string;
44966
45004
  status: 'success';
44967
45005
  error: null;
44968
- action_type: 'ENCODE_CARD';
45006
+ action_type: 'ENCODE_CREDENTIAL';
44969
45007
  /** Means by which a user gains access at an entrance.
44970
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. */
44971
45009
  result: {
@@ -45088,7 +45126,7 @@ interface Routes {
45088
45126
  action_attempt_id: string;
45089
45127
  status: 'error';
45090
45128
  result: null;
45091
- action_type: 'ENCODE_CARD';
45129
+ action_type: 'ENCODE_CREDENTIAL';
45092
45130
  error: {
45093
45131
  type: 'uncategorized_error';
45094
45132
  message: string;
@@ -45514,15 +45552,15 @@ interface Routes {
45514
45552
  status: 'pending';
45515
45553
  result: null;
45516
45554
  error: null;
45517
- action_type: 'SCAN_CARD';
45555
+ action_type: 'SCAN_CREDENTIAL';
45518
45556
  } | {
45519
45557
  /** The ID of the action attempt. */
45520
45558
  action_attempt_id: string;
45521
45559
  status: 'success';
45522
45560
  error: null;
45523
- action_type: 'SCAN_CARD';
45561
+ action_type: 'SCAN_CREDENTIAL';
45524
45562
  result: {
45525
- /** Snapshot of the card data read from the physical encoder. */
45563
+ /** Snapshot of credential data read from physical encoder. */
45526
45564
  acs_credential_on_encoder: {
45527
45565
  /** Date and time the credential was created. */
45528
45566
  created_at: string | null;
@@ -45675,7 +45713,7 @@ interface Routes {
45675
45713
  action_attempt_id: string;
45676
45714
  status: 'error';
45677
45715
  result: null;
45678
- action_type: 'SCAN_CARD';
45716
+ action_type: 'SCAN_CREDENTIAL';
45679
45717
  error: {
45680
45718
  type: 'uncategorized_error';
45681
45719
  message: string;
@@ -45692,13 +45730,13 @@ interface Routes {
45692
45730
  status: 'pending';
45693
45731
  result: null;
45694
45732
  error: null;
45695
- action_type: 'ENCODE_CARD';
45733
+ action_type: 'ENCODE_CREDENTIAL';
45696
45734
  } | {
45697
45735
  /** The ID of the action attempt. */
45698
45736
  action_attempt_id: string;
45699
45737
  status: 'success';
45700
45738
  error: null;
45701
- action_type: 'ENCODE_CARD';
45739
+ action_type: 'ENCODE_CREDENTIAL';
45702
45740
  /** Means by which a user gains access at an entrance.
45703
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. */
45704
45742
  result: {
@@ -45821,7 +45859,7 @@ interface Routes {
45821
45859
  action_attempt_id: string;
45822
45860
  status: 'error';
45823
45861
  result: null;
45824
- action_type: 'ENCODE_CARD';
45862
+ action_type: 'ENCODE_CREDENTIAL';
45825
45863
  error: {
45826
45864
  type: 'uncategorized_error';
45827
45865
  message: string;
@@ -47237,15 +47275,15 @@ interface Routes {
47237
47275
  status: 'pending';
47238
47276
  result: null;
47239
47277
  error: null;
47240
- action_type: 'SCAN_CARD';
47278
+ action_type: 'SCAN_CREDENTIAL';
47241
47279
  } | {
47242
47280
  /** The ID of the action attempt. */
47243
47281
  action_attempt_id: string;
47244
47282
  status: 'success';
47245
47283
  error: null;
47246
- action_type: 'SCAN_CARD';
47284
+ action_type: 'SCAN_CREDENTIAL';
47247
47285
  result: {
47248
- /** Snapshot of the card data read from the physical encoder. */
47286
+ /** Snapshot of credential data read from physical encoder. */
47249
47287
  acs_credential_on_encoder: {
47250
47288
  /** Date and time the credential was created. */
47251
47289
  created_at: string | null;
@@ -47398,7 +47436,7 @@ interface Routes {
47398
47436
  action_attempt_id: string;
47399
47437
  status: 'error';
47400
47438
  result: null;
47401
- action_type: 'SCAN_CARD';
47439
+ action_type: 'SCAN_CREDENTIAL';
47402
47440
  error: {
47403
47441
  type: 'uncategorized_error';
47404
47442
  message: string;
@@ -47415,13 +47453,13 @@ interface Routes {
47415
47453
  status: 'pending';
47416
47454
  result: null;
47417
47455
  error: null;
47418
- action_type: 'ENCODE_CARD';
47456
+ action_type: 'ENCODE_CREDENTIAL';
47419
47457
  } | {
47420
47458
  /** The ID of the action attempt. */
47421
47459
  action_attempt_id: string;
47422
47460
  status: 'success';
47423
47461
  error: null;
47424
- action_type: 'ENCODE_CARD';
47462
+ action_type: 'ENCODE_CREDENTIAL';
47425
47463
  /** Means by which a user gains access at an entrance.
47426
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. */
47427
47465
  result: {
@@ -47544,7 +47582,7 @@ interface Routes {
47544
47582
  action_attempt_id: string;
47545
47583
  status: 'error';
47546
47584
  result: null;
47547
- action_type: 'ENCODE_CARD';
47585
+ action_type: 'ENCODE_CREDENTIAL';
47548
47586
  error: {
47549
47587
  type: 'uncategorized_error';
47550
47588
  message: string;
@@ -47980,15 +48018,15 @@ interface Routes {
47980
48018
  status: 'pending';
47981
48019
  result: null;
47982
48020
  error: null;
47983
- action_type: 'SCAN_CARD';
48021
+ action_type: 'SCAN_CREDENTIAL';
47984
48022
  } | {
47985
48023
  /** The ID of the action attempt. */
47986
48024
  action_attempt_id: string;
47987
48025
  status: 'success';
47988
48026
  error: null;
47989
- action_type: 'SCAN_CARD';
48027
+ action_type: 'SCAN_CREDENTIAL';
47990
48028
  result: {
47991
- /** Snapshot of the card data read from the physical encoder. */
48029
+ /** Snapshot of credential data read from physical encoder. */
47992
48030
  acs_credential_on_encoder: {
47993
48031
  /** Date and time the credential was created. */
47994
48032
  created_at: string | null;
@@ -48141,7 +48179,7 @@ interface Routes {
48141
48179
  action_attempt_id: string;
48142
48180
  status: 'error';
48143
48181
  result: null;
48144
- action_type: 'SCAN_CARD';
48182
+ action_type: 'SCAN_CREDENTIAL';
48145
48183
  error: {
48146
48184
  type: 'uncategorized_error';
48147
48185
  message: string;
@@ -48158,13 +48196,13 @@ interface Routes {
48158
48196
  status: 'pending';
48159
48197
  result: null;
48160
48198
  error: null;
48161
- action_type: 'ENCODE_CARD';
48199
+ action_type: 'ENCODE_CREDENTIAL';
48162
48200
  } | {
48163
48201
  /** The ID of the action attempt. */
48164
48202
  action_attempt_id: string;
48165
48203
  status: 'success';
48166
48204
  error: null;
48167
- action_type: 'ENCODE_CARD';
48205
+ action_type: 'ENCODE_CREDENTIAL';
48168
48206
  /** Means by which a user gains access at an entrance.
48169
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. */
48170
48208
  result: {
@@ -48287,7 +48325,7 @@ interface Routes {
48287
48325
  action_attempt_id: string;
48288
48326
  status: 'error';
48289
48327
  result: null;
48290
- action_type: 'ENCODE_CARD';
48328
+ action_type: 'ENCODE_CREDENTIAL';
48291
48329
  error: {
48292
48330
  type: 'uncategorized_error';
48293
48331
  message: string;
@@ -48762,15 +48800,15 @@ interface Routes {
48762
48800
  status: 'pending';
48763
48801
  result: null;
48764
48802
  error: null;
48765
- action_type: 'SCAN_CARD';
48803
+ action_type: 'SCAN_CREDENTIAL';
48766
48804
  } | {
48767
48805
  /** The ID of the action attempt. */
48768
48806
  action_attempt_id: string;
48769
48807
  status: 'success';
48770
48808
  error: null;
48771
- action_type: 'SCAN_CARD';
48809
+ action_type: 'SCAN_CREDENTIAL';
48772
48810
  result: {
48773
- /** Snapshot of the card data read from the physical encoder. */
48811
+ /** Snapshot of credential data read from physical encoder. */
48774
48812
  acs_credential_on_encoder: {
48775
48813
  /** Date and time the credential was created. */
48776
48814
  created_at: string | null;
@@ -48923,7 +48961,7 @@ interface Routes {
48923
48961
  action_attempt_id: string;
48924
48962
  status: 'error';
48925
48963
  result: null;
48926
- action_type: 'SCAN_CARD';
48964
+ action_type: 'SCAN_CREDENTIAL';
48927
48965
  error: {
48928
48966
  type: 'uncategorized_error';
48929
48967
  message: string;
@@ -48940,13 +48978,13 @@ interface Routes {
48940
48978
  status: 'pending';
48941
48979
  result: null;
48942
48980
  error: null;
48943
- action_type: 'ENCODE_CARD';
48981
+ action_type: 'ENCODE_CREDENTIAL';
48944
48982
  } | {
48945
48983
  /** The ID of the action attempt. */
48946
48984
  action_attempt_id: string;
48947
48985
  status: 'success';
48948
48986
  error: null;
48949
- action_type: 'ENCODE_CARD';
48987
+ action_type: 'ENCODE_CREDENTIAL';
48950
48988
  /** Means by which a user gains access at an entrance.
48951
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. */
48952
48990
  result: {
@@ -49069,7 +49107,7 @@ interface Routes {
49069
49107
  action_attempt_id: string;
49070
49108
  status: 'error';
49071
49109
  result: null;
49072
- action_type: 'ENCODE_CARD';
49110
+ action_type: 'ENCODE_CREDENTIAL';
49073
49111
  error: {
49074
49112
  type: 'uncategorized_error';
49075
49113
  message: string;
@@ -49677,15 +49715,15 @@ interface Routes {
49677
49715
  status: 'pending';
49678
49716
  result: null;
49679
49717
  error: null;
49680
- action_type: 'SCAN_CARD';
49718
+ action_type: 'SCAN_CREDENTIAL';
49681
49719
  } | {
49682
49720
  /** The ID of the action attempt. */
49683
49721
  action_attempt_id: string;
49684
49722
  status: 'success';
49685
49723
  error: null;
49686
- action_type: 'SCAN_CARD';
49724
+ action_type: 'SCAN_CREDENTIAL';
49687
49725
  result: {
49688
- /** Snapshot of the card data read from the physical encoder. */
49726
+ /** Snapshot of credential data read from physical encoder. */
49689
49727
  acs_credential_on_encoder: {
49690
49728
  /** Date and time the credential was created. */
49691
49729
  created_at: string | null;
@@ -49838,7 +49876,7 @@ interface Routes {
49838
49876
  action_attempt_id: string;
49839
49877
  status: 'error';
49840
49878
  result: null;
49841
- action_type: 'SCAN_CARD';
49879
+ action_type: 'SCAN_CREDENTIAL';
49842
49880
  error: {
49843
49881
  type: 'uncategorized_error';
49844
49882
  message: string;
@@ -49855,13 +49893,13 @@ interface Routes {
49855
49893
  status: 'pending';
49856
49894
  result: null;
49857
49895
  error: null;
49858
- action_type: 'ENCODE_CARD';
49896
+ action_type: 'ENCODE_CREDENTIAL';
49859
49897
  } | {
49860
49898
  /** The ID of the action attempt. */
49861
49899
  action_attempt_id: string;
49862
49900
  status: 'success';
49863
49901
  error: null;
49864
- action_type: 'ENCODE_CARD';
49902
+ action_type: 'ENCODE_CREDENTIAL';
49865
49903
  /** Means by which a user gains access at an entrance.
49866
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. */
49867
49905
  result: {
@@ -49984,7 +50022,7 @@ interface Routes {
49984
50022
  action_attempt_id: string;
49985
50023
  status: 'error';
49986
50024
  result: null;
49987
- action_type: 'ENCODE_CARD';
50025
+ action_type: 'ENCODE_CREDENTIAL';
49988
50026
  error: {
49989
50027
  type: 'uncategorized_error';
49990
50028
  message: string;
@@ -50350,8 +50388,11 @@ interface Routes {
50350
50388
  method: 'POST';
50351
50389
  queryParams: {};
50352
50390
  jsonBody: {
50391
+ /** ID of the thermostat device. */
50353
50392
  device_id: string;
50393
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
50354
50394
  cooling_set_point_celsius?: number | undefined;
50395
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °F). You must set one of the `cooling_set_point` parameters. */
50355
50396
  cooling_set_point_fahrenheit?: number | undefined;
50356
50397
  sync?: boolean;
50357
50398
  };
@@ -50412,15 +50453,15 @@ interface Routes {
50412
50453
  status: 'pending';
50413
50454
  result: null;
50414
50455
  error: null;
50415
- action_type: 'SCAN_CARD';
50456
+ action_type: 'SCAN_CREDENTIAL';
50416
50457
  } | {
50417
50458
  /** The ID of the action attempt. */
50418
50459
  action_attempt_id: string;
50419
50460
  status: 'success';
50420
50461
  error: null;
50421
- action_type: 'SCAN_CARD';
50462
+ action_type: 'SCAN_CREDENTIAL';
50422
50463
  result: {
50423
- /** Snapshot of the card data read from the physical encoder. */
50464
+ /** Snapshot of credential data read from physical encoder. */
50424
50465
  acs_credential_on_encoder: {
50425
50466
  /** Date and time the credential was created. */
50426
50467
  created_at: string | null;
@@ -50573,7 +50614,7 @@ interface Routes {
50573
50614
  action_attempt_id: string;
50574
50615
  status: 'error';
50575
50616
  result: null;
50576
- action_type: 'SCAN_CARD';
50617
+ action_type: 'SCAN_CREDENTIAL';
50577
50618
  error: {
50578
50619
  type: 'uncategorized_error';
50579
50620
  message: string;
@@ -50590,13 +50631,13 @@ interface Routes {
50590
50631
  status: 'pending';
50591
50632
  result: null;
50592
50633
  error: null;
50593
- action_type: 'ENCODE_CARD';
50634
+ action_type: 'ENCODE_CREDENTIAL';
50594
50635
  } | {
50595
50636
  /** The ID of the action attempt. */
50596
50637
  action_attempt_id: string;
50597
50638
  status: 'success';
50598
50639
  error: null;
50599
- action_type: 'ENCODE_CARD';
50640
+ action_type: 'ENCODE_CREDENTIAL';
50600
50641
  /** Means by which a user gains access at an entrance.
50601
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. */
50602
50643
  result: {
@@ -50719,7 +50760,7 @@ interface Routes {
50719
50760
  action_attempt_id: string;
50720
50761
  status: 'error';
50721
50762
  result: null;
50722
- action_type: 'ENCODE_CARD';
50763
+ action_type: 'ENCODE_CREDENTIAL';
50723
50764
  error: {
50724
50765
  type: 'uncategorized_error';
50725
50766
  message: string;
@@ -51118,7 +51159,9 @@ interface Routes {
51118
51159
  queryParams: {};
51119
51160
  jsonBody: {};
51120
51161
  commonParams: {
51162
+ /** ID of the thermostat device. */
51121
51163
  device_id?: string | undefined;
51164
+ /** Name of the thermostat. */
51122
51165
  name?: string | undefined;
51123
51166
  };
51124
51167
  formData: {};
@@ -51593,8 +51636,11 @@ interface Routes {
51593
51636
  method: 'POST';
51594
51637
  queryParams: {};
51595
51638
  jsonBody: {
51639
+ /** ID of the thermostat device. */
51596
51640
  device_id: string;
51641
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
51597
51642
  heating_set_point_celsius?: number | undefined;
51643
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °F). You must set one of the `heating_set_point` parameters. */
51598
51644
  heating_set_point_fahrenheit?: number | undefined;
51599
51645
  sync?: boolean;
51600
51646
  };
@@ -51655,15 +51701,15 @@ interface Routes {
51655
51701
  status: 'pending';
51656
51702
  result: null;
51657
51703
  error: null;
51658
- action_type: 'SCAN_CARD';
51704
+ action_type: 'SCAN_CREDENTIAL';
51659
51705
  } | {
51660
51706
  /** The ID of the action attempt. */
51661
51707
  action_attempt_id: string;
51662
51708
  status: 'success';
51663
51709
  error: null;
51664
- action_type: 'SCAN_CARD';
51710
+ action_type: 'SCAN_CREDENTIAL';
51665
51711
  result: {
51666
- /** Snapshot of the card data read from the physical encoder. */
51712
+ /** Snapshot of credential data read from physical encoder. */
51667
51713
  acs_credential_on_encoder: {
51668
51714
  /** Date and time the credential was created. */
51669
51715
  created_at: string | null;
@@ -51816,7 +51862,7 @@ interface Routes {
51816
51862
  action_attempt_id: string;
51817
51863
  status: 'error';
51818
51864
  result: null;
51819
- action_type: 'SCAN_CARD';
51865
+ action_type: 'SCAN_CREDENTIAL';
51820
51866
  error: {
51821
51867
  type: 'uncategorized_error';
51822
51868
  message: string;
@@ -51833,13 +51879,13 @@ interface Routes {
51833
51879
  status: 'pending';
51834
51880
  result: null;
51835
51881
  error: null;
51836
- action_type: 'ENCODE_CARD';
51882
+ action_type: 'ENCODE_CREDENTIAL';
51837
51883
  } | {
51838
51884
  /** The ID of the action attempt. */
51839
51885
  action_attempt_id: string;
51840
51886
  status: 'success';
51841
51887
  error: null;
51842
- action_type: 'ENCODE_CARD';
51888
+ action_type: 'ENCODE_CREDENTIAL';
51843
51889
  /** Means by which a user gains access at an entrance.
51844
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. */
51845
51891
  result: {
@@ -51962,7 +52008,7 @@ interface Routes {
51962
52008
  action_attempt_id: string;
51963
52009
  status: 'error';
51964
52010
  result: null;
51965
- action_type: 'ENCODE_CARD';
52011
+ action_type: 'ENCODE_CREDENTIAL';
51966
52012
  error: {
51967
52013
  type: 'uncategorized_error';
51968
52014
  message: string;
@@ -52328,10 +52374,15 @@ interface Routes {
52328
52374
  method: 'POST';
52329
52375
  queryParams: {};
52330
52376
  jsonBody: {
52377
+ /** ID of the thermostat device. */
52331
52378
  device_id: string;
52379
+ /** Temperature to which the HVAC system connected to the thermostat should heat (in °C). You must set one of the `heating_set_point` parameters. */
52332
52380
  heating_set_point_celsius?: number | undefined;
52381
+ /** Temperature the thermostat should heat to (in °F). You must set one of the heating_set_point parameters. */
52333
52382
  heating_set_point_fahrenheit?: number | undefined;
52383
+ /** Temperature to which the HVAC system connected to the thermostat should cool (in °C). You must set one of the `cooling_set_point` parameters. */
52334
52384
  cooling_set_point_celsius?: number | undefined;
52385
+ /** Temperature the thermostat should cool to (in °F). You must set one of the cooling_set_point parameters. */
52335
52386
  cooling_set_point_fahrenheit?: number | undefined;
52336
52387
  sync?: boolean;
52337
52388
  };
@@ -52392,15 +52443,15 @@ interface Routes {
52392
52443
  status: 'pending';
52393
52444
  result: null;
52394
52445
  error: null;
52395
- action_type: 'SCAN_CARD';
52446
+ action_type: 'SCAN_CREDENTIAL';
52396
52447
  } | {
52397
52448
  /** The ID of the action attempt. */
52398
52449
  action_attempt_id: string;
52399
52450
  status: 'success';
52400
52451
  error: null;
52401
- action_type: 'SCAN_CARD';
52452
+ action_type: 'SCAN_CREDENTIAL';
52402
52453
  result: {
52403
- /** Snapshot of the card data read from the physical encoder. */
52454
+ /** Snapshot of credential data read from physical encoder. */
52404
52455
  acs_credential_on_encoder: {
52405
52456
  /** Date and time the credential was created. */
52406
52457
  created_at: string | null;
@@ -52553,7 +52604,7 @@ interface Routes {
52553
52604
  action_attempt_id: string;
52554
52605
  status: 'error';
52555
52606
  result: null;
52556
- action_type: 'SCAN_CARD';
52607
+ action_type: 'SCAN_CREDENTIAL';
52557
52608
  error: {
52558
52609
  type: 'uncategorized_error';
52559
52610
  message: string;
@@ -52570,13 +52621,13 @@ interface Routes {
52570
52621
  status: 'pending';
52571
52622
  result: null;
52572
52623
  error: null;
52573
- action_type: 'ENCODE_CARD';
52624
+ action_type: 'ENCODE_CREDENTIAL';
52574
52625
  } | {
52575
52626
  /** The ID of the action attempt. */
52576
52627
  action_attempt_id: string;
52577
52628
  status: 'success';
52578
52629
  error: null;
52579
- action_type: 'ENCODE_CARD';
52630
+ action_type: 'ENCODE_CREDENTIAL';
52580
52631
  /** Means by which a user gains access at an entrance.
52581
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. */
52582
52633
  result: {
@@ -52699,7 +52750,7 @@ interface Routes {
52699
52750
  action_attempt_id: string;
52700
52751
  status: 'error';
52701
52752
  result: null;
52702
- action_type: 'ENCODE_CARD';
52753
+ action_type: 'ENCODE_CREDENTIAL';
52703
52754
  error: {
52704
52755
  type: 'uncategorized_error';
52705
52756
  message: string;
@@ -54016,6 +54067,7 @@ interface Routes {
54016
54067
  method: 'POST';
54017
54068
  queryParams: {};
54018
54069
  jsonBody: {
54070
+ /** ID of the thermostat device. */
54019
54071
  device_id: string;
54020
54072
  sync?: boolean;
54021
54073
  };
@@ -54076,15 +54128,15 @@ interface Routes {
54076
54128
  status: 'pending';
54077
54129
  result: null;
54078
54130
  error: null;
54079
- action_type: 'SCAN_CARD';
54131
+ action_type: 'SCAN_CREDENTIAL';
54080
54132
  } | {
54081
54133
  /** The ID of the action attempt. */
54082
54134
  action_attempt_id: string;
54083
54135
  status: 'success';
54084
54136
  error: null;
54085
- action_type: 'SCAN_CARD';
54137
+ action_type: 'SCAN_CREDENTIAL';
54086
54138
  result: {
54087
- /** Snapshot of the card data read from the physical encoder. */
54139
+ /** Snapshot of credential data read from physical encoder. */
54088
54140
  acs_credential_on_encoder: {
54089
54141
  /** Date and time the credential was created. */
54090
54142
  created_at: string | null;
@@ -54237,7 +54289,7 @@ interface Routes {
54237
54289
  action_attempt_id: string;
54238
54290
  status: 'error';
54239
54291
  result: null;
54240
- action_type: 'SCAN_CARD';
54292
+ action_type: 'SCAN_CREDENTIAL';
54241
54293
  error: {
54242
54294
  type: 'uncategorized_error';
54243
54295
  message: string;
@@ -54254,13 +54306,13 @@ interface Routes {
54254
54306
  status: 'pending';
54255
54307
  result: null;
54256
54308
  error: null;
54257
- action_type: 'ENCODE_CARD';
54309
+ action_type: 'ENCODE_CREDENTIAL';
54258
54310
  } | {
54259
54311
  /** The ID of the action attempt. */
54260
54312
  action_attempt_id: string;
54261
54313
  status: 'success';
54262
54314
  error: null;
54263
- action_type: 'ENCODE_CARD';
54315
+ action_type: 'ENCODE_CREDENTIAL';
54264
54316
  /** Means by which a user gains access at an entrance.
54265
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. */
54266
54318
  result: {
@@ -54383,7 +54435,7 @@ interface Routes {
54383
54435
  action_attempt_id: string;
54384
54436
  status: 'error';
54385
54437
  result: null;
54386
- action_type: 'ENCODE_CARD';
54438
+ action_type: 'ENCODE_CREDENTIAL';
54387
54439
  error: {
54388
54440
  type: 'uncategorized_error';
54389
54441
  message: string;
@@ -54866,10 +54918,12 @@ interface Routes {
54866
54918
  method: 'POST';
54867
54919
  queryParams: {};
54868
54920
  jsonBody: {
54921
+ /** ID of the thermostat device. */
54869
54922
  device_id: string;
54870
54923
  /**
54871
- * @deprecated use fan_mode_setting instead. */
54924
+ * @deprecated Use `fan_mode_setting` instead. */
54872
54925
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
54926
+ /** Fan mode setting of the thermostat. See also [Fan Mode Settings](https://docs.seam.co/latest/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings). */
54873
54927
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
54874
54928
  sync?: boolean;
54875
54929
  };
@@ -54930,15 +54984,15 @@ interface Routes {
54930
54984
  status: 'pending';
54931
54985
  result: null;
54932
54986
  error: null;
54933
- action_type: 'SCAN_CARD';
54987
+ action_type: 'SCAN_CREDENTIAL';
54934
54988
  } | {
54935
54989
  /** The ID of the action attempt. */
54936
54990
  action_attempt_id: string;
54937
54991
  status: 'success';
54938
54992
  error: null;
54939
- action_type: 'SCAN_CARD';
54993
+ action_type: 'SCAN_CREDENTIAL';
54940
54994
  result: {
54941
- /** Snapshot of the card data read from the physical encoder. */
54995
+ /** Snapshot of credential data read from physical encoder. */
54942
54996
  acs_credential_on_encoder: {
54943
54997
  /** Date and time the credential was created. */
54944
54998
  created_at: string | null;
@@ -55091,7 +55145,7 @@ interface Routes {
55091
55145
  action_attempt_id: string;
55092
55146
  status: 'error';
55093
55147
  result: null;
55094
- action_type: 'SCAN_CARD';
55148
+ action_type: 'SCAN_CREDENTIAL';
55095
55149
  error: {
55096
55150
  type: 'uncategorized_error';
55097
55151
  message: string;
@@ -55108,13 +55162,13 @@ interface Routes {
55108
55162
  status: 'pending';
55109
55163
  result: null;
55110
55164
  error: null;
55111
- action_type: 'ENCODE_CARD';
55165
+ action_type: 'ENCODE_CREDENTIAL';
55112
55166
  } | {
55113
55167
  /** The ID of the action attempt. */
55114
55168
  action_attempt_id: string;
55115
55169
  status: 'success';
55116
55170
  error: null;
55117
- action_type: 'ENCODE_CARD';
55171
+ action_type: 'ENCODE_CREDENTIAL';
55118
55172
  /** Means by which a user gains access at an entrance.
55119
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. */
55120
55174
  result: {
@@ -55237,7 +55291,7 @@ interface Routes {
55237
55291
  action_attempt_id: string;
55238
55292
  status: 'error';
55239
55293
  result: null;
55240
- action_type: 'ENCODE_CARD';
55294
+ action_type: 'ENCODE_CREDENTIAL';
55241
55295
  error: {
55242
55296
  type: 'uncategorized_error';
55243
55297
  message: string;
@@ -57202,15 +57256,15 @@ interface Routes {
57202
57256
  status: 'pending';
57203
57257
  result: null;
57204
57258
  error: null;
57205
- action_type: 'SCAN_CARD';
57259
+ action_type: 'SCAN_CREDENTIAL';
57206
57260
  } | {
57207
57261
  /** The ID of the action attempt. */
57208
57262
  action_attempt_id: string;
57209
57263
  status: 'success';
57210
57264
  error: null;
57211
- action_type: 'SCAN_CARD';
57265
+ action_type: 'SCAN_CREDENTIAL';
57212
57266
  result: {
57213
- /** Snapshot of the card data read from the physical encoder. */
57267
+ /** Snapshot of credential data read from physical encoder. */
57214
57268
  acs_credential_on_encoder: {
57215
57269
  /** Date and time the credential was created. */
57216
57270
  created_at: string | null;
@@ -57363,7 +57417,7 @@ interface Routes {
57363
57417
  action_attempt_id: string;
57364
57418
  status: 'error';
57365
57419
  result: null;
57366
- action_type: 'SCAN_CARD';
57420
+ action_type: 'SCAN_CREDENTIAL';
57367
57421
  error: {
57368
57422
  type: 'uncategorized_error';
57369
57423
  message: string;
@@ -57380,13 +57434,13 @@ interface Routes {
57380
57434
  status: 'pending';
57381
57435
  result: null;
57382
57436
  error: null;
57383
- action_type: 'ENCODE_CARD';
57437
+ action_type: 'ENCODE_CREDENTIAL';
57384
57438
  } | {
57385
57439
  /** The ID of the action attempt. */
57386
57440
  action_attempt_id: string;
57387
57441
  status: 'success';
57388
57442
  error: null;
57389
- action_type: 'ENCODE_CARD';
57443
+ action_type: 'ENCODE_CREDENTIAL';
57390
57444
  /** Means by which a user gains access at an entrance.
57391
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. */
57392
57446
  result: {
@@ -57509,7 +57563,7 @@ interface Routes {
57509
57563
  action_attempt_id: string;
57510
57564
  status: 'error';
57511
57565
  result: null;
57512
- action_type: 'ENCODE_CARD';
57566
+ action_type: 'ENCODE_CREDENTIAL';
57513
57567
  error: {
57514
57568
  type: 'uncategorized_error';
57515
57569
  message: string;