@seamapi/types 1.286.1 → 1.286.2

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 (49) hide show
  1. package/dist/connect.cjs +189 -52
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +450 -211
  4. package/lib/seam/connect/models/acs/acs-entrance.d.ts +14 -14
  5. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +18 -18
  6. package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -4
  7. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  8. package/lib/seam/connect/models/action-attempts/{encode-card.d.ts → encode-credential.d.ts} +11 -11
  9. package/lib/seam/connect/models/action-attempts/{encode-card.js → encode-credential.js} +6 -6
  10. package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -0
  11. package/lib/seam/connect/models/action-attempts/{scan-card.d.ts → scan-credential.d.ts} +11 -11
  12. package/lib/seam/connect/models/action-attempts/{scan-card.js → scan-credential.js} +7 -7
  13. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -0
  14. package/lib/seam/connect/models/devices/device-metadata.d.ts +13 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js +3 -0
  16. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-type.d.ts +5 -3
  18. package/lib/seam/connect/models/devices/device-type.js +1 -0
  19. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +22 -3
  21. package/lib/seam/connect/models/devices/phone.d.ts +14 -1
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -3
  23. package/lib/seam/connect/models/events/acs/credentials.d.ts +61 -0
  24. package/lib/seam/connect/models/events/acs/credentials.js +9 -1
  25. package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
  26. package/lib/seam/connect/models/events/acs/index.d.ts +30 -0
  27. package/lib/seam/connect/models/events/action-attempts.d.ts +177 -0
  28. package/lib/seam/connect/models/events/action-attempts.js +16 -0
  29. package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
  30. package/lib/seam/connect/models/events/seam-event.d.ts +147 -1
  31. package/lib/seam/connect/models/events/seam-event.js +2 -0
  32. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  33. package/lib/seam/connect/openapi.d.ts +16 -2
  34. package/lib/seam/connect/openapi.js +125 -37
  35. package/lib/seam/connect/openapi.js.map +1 -1
  36. package/lib/seam/connect/route-types.d.ts +217 -170
  37. package/package.json +1 -1
  38. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -4
  39. package/src/lib/seam/connect/models/action-attempts/{encode-card.ts → encode-credential.ts} +8 -6
  40. package/src/lib/seam/connect/models/action-attempts/{scan-card.ts → scan-credential.ts} +9 -7
  41. package/src/lib/seam/connect/models/devices/device-metadata.ts +3 -0
  42. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  43. package/src/lib/seam/connect/models/events/acs/credentials.ts +10 -1
  44. package/src/lib/seam/connect/models/events/action-attempts.ts +19 -0
  45. package/src/lib/seam/connect/models/events/seam-event.ts +2 -0
  46. package/src/lib/seam/connect/openapi.ts +130 -37
  47. package/src/lib/seam/connect/route-types.ts +245 -170
  48. package/lib/seam/connect/models/action-attempts/encode-card.js.map +0 -1
  49. package/lib/seam/connect/models/action-attempts/scan-card.js.map +0 -1
@@ -594,6 +594,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
594
594
  }, {
595
595
  connected_account_id: z.ZodOptional<z.ZodString>;
596
596
  acs_system_id: z.ZodString;
597
+ }>, {
598
+ acs_credential_id: z.ZodString;
599
+ }>, {
600
+ event_type: z.ZodLiteral<"acs_credential.issued">;
601
+ }>, "strip", z.ZodTypeAny, {
602
+ created_at: string;
603
+ workspace_id: string;
604
+ acs_system_id: string;
605
+ acs_credential_id: string;
606
+ event_id: string;
607
+ occurred_at: string;
608
+ event_type: "acs_credential.issued";
609
+ connected_account_id?: string | undefined;
610
+ }, {
611
+ created_at: string;
612
+ workspace_id: string;
613
+ acs_system_id: string;
614
+ acs_credential_id: string;
615
+ event_id: string;
616
+ occurred_at: string;
617
+ event_type: "acs_credential.issued";
618
+ connected_account_id?: string | undefined;
619
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
620
+ event_id: z.ZodString;
621
+ workspace_id: z.ZodString;
622
+ created_at: z.ZodString;
623
+ occurred_at: z.ZodString;
624
+ }, {
625
+ connected_account_id: z.ZodOptional<z.ZodString>;
626
+ acs_system_id: z.ZodString;
597
627
  }>, {
598
628
  acs_user_id: z.ZodString;
599
629
  }>, {
@@ -809,7 +839,123 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
809
839
  event_id: string;
810
840
  occurred_at: string;
811
841
  event_type: "connected_account.completed_first_sync_after_reconnection";
812
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
842
+ }>, ...(z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
843
+ event_id: z.ZodString;
844
+ workspace_id: z.ZodString;
845
+ created_at: z.ZodString;
846
+ occurred_at: z.ZodString;
847
+ }, {
848
+ action_attempt_id: z.ZodString;
849
+ action_type: z.ZodString;
850
+ status: z.ZodString;
851
+ }>, {
852
+ event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
853
+ }>, "strip", z.ZodTypeAny, {
854
+ status: string;
855
+ created_at: string;
856
+ workspace_id: string;
857
+ action_attempt_id: string;
858
+ action_type: string;
859
+ event_id: string;
860
+ occurred_at: string;
861
+ event_type: "action_attempt.lock_door.succeeded";
862
+ }, {
863
+ status: string;
864
+ created_at: string;
865
+ workspace_id: string;
866
+ action_attempt_id: string;
867
+ action_type: string;
868
+ event_id: string;
869
+ occurred_at: string;
870
+ event_type: "action_attempt.lock_door.succeeded";
871
+ }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
872
+ event_id: z.ZodString;
873
+ workspace_id: z.ZodString;
874
+ created_at: z.ZodString;
875
+ occurred_at: z.ZodString;
876
+ }, {
877
+ action_attempt_id: z.ZodString;
878
+ action_type: z.ZodString;
879
+ status: z.ZodString;
880
+ }>, {
881
+ event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
882
+ }>, "strip", z.ZodTypeAny, {
883
+ status: string;
884
+ created_at: string;
885
+ workspace_id: string;
886
+ action_attempt_id: string;
887
+ action_type: string;
888
+ event_id: string;
889
+ occurred_at: string;
890
+ event_type: "action_attempt.lock_door.failed";
891
+ }, {
892
+ status: string;
893
+ created_at: string;
894
+ workspace_id: string;
895
+ action_attempt_id: string;
896
+ action_type: string;
897
+ event_id: string;
898
+ occurred_at: string;
899
+ event_type: "action_attempt.lock_door.failed";
900
+ }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
901
+ event_id: z.ZodString;
902
+ workspace_id: z.ZodString;
903
+ created_at: z.ZodString;
904
+ occurred_at: z.ZodString;
905
+ }, {
906
+ action_attempt_id: z.ZodString;
907
+ action_type: z.ZodString;
908
+ status: z.ZodString;
909
+ }>, {
910
+ event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
911
+ }>, "strip", z.ZodTypeAny, {
912
+ status: string;
913
+ created_at: string;
914
+ workspace_id: string;
915
+ action_attempt_id: string;
916
+ action_type: string;
917
+ event_id: string;
918
+ occurred_at: string;
919
+ event_type: "action_attempt.unlock_door.succeeded";
920
+ }, {
921
+ status: string;
922
+ created_at: string;
923
+ workspace_id: string;
924
+ action_attempt_id: string;
925
+ action_type: string;
926
+ event_id: string;
927
+ occurred_at: string;
928
+ event_type: "action_attempt.unlock_door.succeeded";
929
+ }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
930
+ event_id: z.ZodString;
931
+ workspace_id: z.ZodString;
932
+ created_at: z.ZodString;
933
+ occurred_at: z.ZodString;
934
+ }, {
935
+ action_attempt_id: z.ZodString;
936
+ action_type: z.ZodString;
937
+ status: z.ZodString;
938
+ }>, {
939
+ event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
940
+ }>, "strip", z.ZodTypeAny, {
941
+ status: string;
942
+ created_at: string;
943
+ workspace_id: string;
944
+ action_attempt_id: string;
945
+ action_type: string;
946
+ event_id: string;
947
+ occurred_at: string;
948
+ event_type: "action_attempt.unlock_door.failed";
949
+ }, {
950
+ status: string;
951
+ created_at: string;
952
+ workspace_id: string;
953
+ action_attempt_id: string;
954
+ action_type: string;
955
+ event_id: string;
956
+ occurred_at: string;
957
+ event_type: "action_attempt.unlock_door.failed";
958
+ }>)[], z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
813
959
  event_id: z.ZodString;
814
960
  workspace_id: z.ZodString;
815
961
  created_at: z.ZodString;
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { access_code_events } from './access-codes.js';
3
3
  import { acs_events } from './acs/index.js';
4
+ import { action_attempt_events } from './action-attempts.js';
4
5
  import { client_session_events } from './client-sessions.js';
5
6
  import { connect_webview_events } from './connect-webviews.js';
6
7
  import { connected_account_events } from './connected-accounts.js';
@@ -12,6 +13,7 @@ export const seam_event = z.discriminatedUnion('event_type', [
12
13
  ...acs_events,
13
14
  ...client_session_events,
14
15
  ...connected_account_events,
16
+ ...action_attempt_events,
15
17
  ...connect_webview_events,
16
18
  ...device_events,
17
19
  ...enrollment_automation_events,
@@ -1 +1 @@
1
- {"version":3,"file":"seam-event.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/seam-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3D,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,qBAAqB;IACxB,GAAG,wBAAwB;IAC3B,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,4BAA4B;IAC/B,GAAG,YAAY;CAChB,CAAC,CAAA"}
1
+ {"version":3,"file":"seam-event.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/seam-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,kBAAkB,CAAC,YAAY,EAAE;IAC3D,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,qBAAqB;IACxB,GAAG,wBAAwB;IAC3B,GAAG,qBAAqB;IACxB,GAAG,sBAAsB;IACzB,GAAG,aAAa;IAChB,GAAG,4BAA4B;IAC/B,GAAG,YAAY;CAChB,CAAC,CAAA"}
@@ -2456,6 +2456,15 @@ declare const _default: {
2456
2456
  required: string[];
2457
2457
  type: string;
2458
2458
  };
2459
+ assa_abloy_vostio_metadata: {
2460
+ properties: {
2461
+ encoder_id: {
2462
+ type: string;
2463
+ };
2464
+ };
2465
+ required: string[];
2466
+ type: string;
2467
+ };
2459
2468
  august_metadata: {
2460
2469
  properties: {
2461
2470
  has_keypad: {
@@ -7772,6 +7781,7 @@ declare const _default: {
7772
7781
  description: string;
7773
7782
  properties: {
7774
7783
  assa_abloy_credential_service_mobile_endpoint_id: {
7784
+ description: string;
7775
7785
  format: string;
7776
7786
  type: string;
7777
7787
  };
@@ -9052,7 +9062,7 @@ declare const _default: {
9052
9062
  'x-title': string;
9053
9063
  };
9054
9064
  };
9055
- '/acs/encoders/encode_card': {
9065
+ '/acs/encoders/encode_credential': {
9056
9066
  post: {
9057
9067
  operationId: string;
9058
9068
  requestBody: {
@@ -9061,10 +9071,12 @@ declare const _default: {
9061
9071
  schema: {
9062
9072
  properties: {
9063
9073
  acs_credential_id: {
9074
+ description: string;
9064
9075
  format: string;
9065
9076
  type: string;
9066
9077
  };
9067
9078
  device_id: {
9079
+ description: string;
9068
9080
  format: string;
9069
9081
  type: string;
9070
9082
  };
@@ -9248,7 +9260,7 @@ declare const _default: {
9248
9260
  'x-undocumented': string;
9249
9261
  };
9250
9262
  };
9251
- '/acs/encoders/scan_card': {
9263
+ '/acs/encoders/scan_credential': {
9252
9264
  post: {
9253
9265
  operationId: string;
9254
9266
  requestBody: {
@@ -9257,10 +9269,12 @@ declare const _default: {
9257
9269
  schema: {
9258
9270
  properties: {
9259
9271
  acs_system_id: {
9272
+ description: string;
9260
9273
  format: string;
9261
9274
  type: string;
9262
9275
  };
9263
9276
  device_id: {
9277
+ description: string;
9264
9278
  format: string;
9265
9279
  type: string;
9266
9280
  };
@@ -1251,7 +1251,7 @@ export default {
1251
1251
  type: 'object',
1252
1252
  },
1253
1253
  {
1254
- description: 'Reading card data from physical encoder.',
1254
+ description: 'Reading credential data from physical encoder.',
1255
1255
  properties: {
1256
1256
  action_attempt_id: {
1257
1257
  description: 'The ID of the action attempt.',
@@ -1259,7 +1259,7 @@ export default {
1259
1259
  type: 'string',
1260
1260
  'x-title': 'Action Attempt ID',
1261
1261
  },
1262
- action_type: { enum: ['SCAN_CARD'], type: 'string' },
1262
+ action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
1263
1263
  error: { nullable: true },
1264
1264
  result: { nullable: true },
1265
1265
  status: { enum: ['pending'], type: 'string' },
@@ -1274,7 +1274,7 @@ export default {
1274
1274
  type: 'object',
1275
1275
  },
1276
1276
  {
1277
- description: 'Reading card data from physical encoder succeeded.',
1277
+ description: 'Reading credential data from physical encoder succeeded.',
1278
1278
  properties: {
1279
1279
  action_attempt_id: {
1280
1280
  description: 'The ID of the action attempt.',
@@ -1282,12 +1282,12 @@ export default {
1282
1282
  type: 'string',
1283
1283
  'x-title': 'Action Attempt ID',
1284
1284
  },
1285
- action_type: { enum: ['SCAN_CARD'], type: 'string' },
1285
+ action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
1286
1286
  error: { nullable: true },
1287
1287
  result: {
1288
1288
  properties: {
1289
1289
  acs_credential_on_encoder: {
1290
- description: 'Snapshot of the card data read from the physical encoder.',
1290
+ description: 'Snapshot of credential data read from physical encoder.',
1291
1291
  properties: {
1292
1292
  card_number: {
1293
1293
  description: 'A number or string that physically identifies this card.',
@@ -1721,7 +1721,7 @@ export default {
1721
1721
  type: 'object',
1722
1722
  },
1723
1723
  {
1724
- description: 'Reading card data from physical encoder failed.',
1724
+ description: 'Reading credential data from physical encoder failed.',
1725
1725
  properties: {
1726
1726
  action_attempt_id: {
1727
1727
  description: 'The ID of the action attempt.',
@@ -1729,7 +1729,7 @@ export default {
1729
1729
  type: 'string',
1730
1730
  'x-title': 'Action Attempt ID',
1731
1731
  },
1732
- action_type: { enum: ['SCAN_CARD'], type: 'string' },
1732
+ action_type: { enum: ['SCAN_CREDENTIAL'], type: 'string' },
1733
1733
  error: {
1734
1734
  oneOf: [
1735
1735
  {
@@ -1774,7 +1774,7 @@ export default {
1774
1774
  type: 'object',
1775
1775
  },
1776
1776
  {
1777
- description: 'Encoding card data from physical encoder.',
1777
+ description: 'Encoding credential data from physical encoder.',
1778
1778
  properties: {
1779
1779
  action_attempt_id: {
1780
1780
  description: 'The ID of the action attempt.',
@@ -1782,7 +1782,7 @@ export default {
1782
1782
  type: 'string',
1783
1783
  'x-title': 'Action Attempt ID',
1784
1784
  },
1785
- action_type: { enum: ['ENCODE_CARD'], type: 'string' },
1785
+ action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
1786
1786
  error: { nullable: true },
1787
1787
  result: { nullable: true },
1788
1788
  status: { enum: ['pending'], type: 'string' },
@@ -1797,7 +1797,7 @@ export default {
1797
1797
  type: 'object',
1798
1798
  },
1799
1799
  {
1800
- description: 'Encoding card data from physical encoder succeeded.',
1800
+ description: 'Encoding credential data from physical encoder succeeded.',
1801
1801
  properties: {
1802
1802
  action_attempt_id: {
1803
1803
  description: 'The ID of the action attempt.',
@@ -1805,7 +1805,7 @@ export default {
1805
1805
  type: 'string',
1806
1806
  'x-title': 'Action Attempt ID',
1807
1807
  },
1808
- action_type: { enum: ['ENCODE_CARD'], type: 'string' },
1808
+ action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
1809
1809
  error: { nullable: true },
1810
1810
  result: {
1811
1811
  description: 'Means by which a user gains access at an entrance.\n\n 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.',
@@ -2142,7 +2142,7 @@ export default {
2142
2142
  type: 'object',
2143
2143
  },
2144
2144
  {
2145
- description: 'Encoding card data from physical encoder failed.',
2145
+ description: 'Encoding credential data from physical encoder failed.',
2146
2146
  properties: {
2147
2147
  action_attempt_id: {
2148
2148
  description: 'The ID of the action attempt.',
@@ -2150,7 +2150,7 @@ export default {
2150
2150
  type: 'string',
2151
2151
  'x-title': 'Action Attempt ID',
2152
2152
  },
2153
- action_type: { enum: ['ENCODE_CARD'], type: 'string' },
2153
+ action_type: { enum: ['ENCODE_CREDENTIAL'], type: 'string' },
2154
2154
  error: {
2155
2155
  oneOf: [
2156
2156
  {
@@ -3533,7 +3533,10 @@ export default {
3533
3533
  type: 'string',
3534
3534
  },
3535
3535
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
3536
- { enum: ['visionline_encoder'], type: 'string' },
3536
+ {
3537
+ enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
3538
+ type: 'string',
3539
+ },
3537
3540
  ],
3538
3541
  },
3539
3542
  display_name: {
@@ -3800,6 +3803,11 @@ export default {
3800
3803
  required: ['gadget_name', 'gadget_id'],
3801
3804
  type: 'object',
3802
3805
  },
3806
+ assa_abloy_vostio_metadata: {
3807
+ properties: { encoder_id: { type: 'string' } },
3808
+ required: ['encoder_id'],
3809
+ type: 'object',
3810
+ },
3803
3811
  august_metadata: {
3804
3812
  properties: {
3805
3813
  has_keypad: { type: 'boolean' },
@@ -5273,7 +5281,10 @@ export default {
5273
5281
  type: 'string',
5274
5282
  },
5275
5283
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
5276
- { enum: ['visionline_encoder'], type: 'string' },
5284
+ {
5285
+ enum: ['visionline_encoder', 'assa_abloy_vostio_encoder'],
5286
+ type: 'string',
5287
+ },
5277
5288
  ],
5278
5289
  },
5279
5290
  errors: {
@@ -7780,6 +7791,7 @@ export default {
7780
7791
  description: 'Visionline-specific metadata for the new credential.',
7781
7792
  properties: {
7782
7793
  assa_abloy_credential_service_mobile_endpoint_id: {
7794
+ description: 'DEPRECATED: DO NOT USE',
7783
7795
  format: 'uuid',
7784
7796
  type: 'string',
7785
7797
  },
@@ -8848,16 +8860,24 @@ export default {
8848
8860
  'x-title': 'Update a Credential',
8849
8861
  },
8850
8862
  },
8851
- '/acs/encoders/encode_card': {
8863
+ '/acs/encoders/encode_credential': {
8852
8864
  post: {
8853
- operationId: 'acsEncodersEncodeCardPost',
8865
+ operationId: 'acsEncodersEncodeCredentialPost',
8854
8866
  requestBody: {
8855
8867
  content: {
8856
8868
  'application/json': {
8857
8869
  schema: {
8858
8870
  properties: {
8859
- acs_credential_id: { format: 'uuid', type: 'string' },
8860
- device_id: { format: 'uuid', type: 'string' },
8871
+ acs_credential_id: {
8872
+ description: 'ID of the acs_credential to encode on a physical card.',
8873
+ format: 'uuid',
8874
+ type: 'string',
8875
+ },
8876
+ device_id: {
8877
+ description: 'ID of the encoder to use for the encoding.',
8878
+ format: 'uuid',
8879
+ type: 'string',
8880
+ },
8861
8881
  },
8862
8882
  required: ['device_id', 'acs_credential_id'],
8863
8883
  type: 'object',
@@ -8891,10 +8911,10 @@ export default {
8891
8911
  { console_session: [] },
8892
8912
  { api_key: [] },
8893
8913
  ],
8894
- summary: '/acs/encoders/encode_card',
8914
+ summary: '/acs/encoders/encode_credential',
8895
8915
  tags: ['/acs'],
8896
8916
  'x-fern-sdk-group-name': ['acs', 'encoders'],
8897
- 'x-fern-sdk-method-name': 'encode_card',
8917
+ 'x-fern-sdk-method-name': 'encode_credential',
8898
8918
  'x-fern-sdk-return-value': 'action_attempt',
8899
8919
  'x-response-key': 'action_attempt',
8900
8920
  'x-undocumented': 'Encoding a card is currently unimplemented.',
@@ -8986,16 +9006,24 @@ export default {
8986
9006
  'x-undocumented': 'Encoders are in alpha.',
8987
9007
  },
8988
9008
  },
8989
- '/acs/encoders/scan_card': {
9009
+ '/acs/encoders/scan_credential': {
8990
9010
  post: {
8991
- operationId: 'acsEncodersScanCardPost',
9011
+ operationId: 'acsEncodersScanCredentialPost',
8992
9012
  requestBody: {
8993
9013
  content: {
8994
9014
  'application/json': {
8995
9015
  schema: {
8996
9016
  properties: {
8997
- acs_system_id: { format: 'uuid', type: 'string' },
8998
- device_id: { format: 'uuid', type: 'string' },
9017
+ acs_system_id: {
9018
+ description: 'ID of the acs_system the encoder belongs to.',
9019
+ format: 'uuid',
9020
+ type: 'string',
9021
+ },
9022
+ device_id: {
9023
+ description: 'ID of the encoder to use for the scan.',
9024
+ format: 'uuid',
9025
+ type: 'string',
9026
+ },
8999
9027
  },
9000
9028
  required: ['acs_system_id', 'device_id'],
9001
9029
  type: 'object',
@@ -9029,10 +9057,10 @@ export default {
9029
9057
  { console_session: [] },
9030
9058
  { api_key: [] },
9031
9059
  ],
9032
- summary: '/acs/encoders/scan_card',
9060
+ summary: '/acs/encoders/scan_credential',
9033
9061
  tags: ['/acs'],
9034
9062
  'x-fern-sdk-group-name': ['acs', 'encoders'],
9035
- 'x-fern-sdk-method-name': 'scan_card',
9063
+ 'x-fern-sdk-method-name': 'scan_credential',
9036
9064
  'x-fern-sdk-return-value': 'action_attempt',
9037
9065
  'x-response-key': 'action_attempt',
9038
9066
  'x-undocumented': 'Reading a card is currently unimplemented.',
@@ -12232,7 +12260,13 @@ export default {
12232
12260
  type: 'string',
12233
12261
  },
12234
12262
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
12235
- { enum: ['visionline_encoder'], type: 'string' },
12263
+ {
12264
+ enum: [
12265
+ 'visionline_encoder',
12266
+ 'assa_abloy_vostio_encoder',
12267
+ ],
12268
+ type: 'string',
12269
+ },
12236
12270
  ],
12237
12271
  },
12238
12272
  device_types: {
@@ -12286,7 +12320,13 @@ export default {
12286
12320
  enum: ['ios_phone', 'android_phone'],
12287
12321
  type: 'string',
12288
12322
  },
12289
- { enum: ['visionline_encoder'], type: 'string' },
12323
+ {
12324
+ enum: [
12325
+ 'visionline_encoder',
12326
+ 'assa_abloy_vostio_encoder',
12327
+ ],
12328
+ type: 'string',
12329
+ },
12290
12330
  ],
12291
12331
  },
12292
12332
  type: 'array',
@@ -12724,7 +12764,13 @@ export default {
12724
12764
  type: 'string',
12725
12765
  },
12726
12766
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
12727
- { enum: ['visionline_encoder'], type: 'string' },
12767
+ {
12768
+ enum: [
12769
+ 'visionline_encoder',
12770
+ 'assa_abloy_vostio_encoder',
12771
+ ],
12772
+ type: 'string',
12773
+ },
12728
12774
  ],
12729
12775
  },
12730
12776
  device_types: {
@@ -12778,7 +12824,13 @@ export default {
12778
12824
  enum: ['ios_phone', 'android_phone'],
12779
12825
  type: 'string',
12780
12826
  },
12781
- { enum: ['visionline_encoder'], type: 'string' },
12827
+ {
12828
+ enum: [
12829
+ 'visionline_encoder',
12830
+ 'assa_abloy_vostio_encoder',
12831
+ ],
12832
+ type: 'string',
12833
+ },
12782
12834
  ],
12783
12835
  },
12784
12836
  type: 'array',
@@ -13516,7 +13568,13 @@ export default {
13516
13568
  type: 'string',
13517
13569
  },
13518
13570
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
13519
- { enum: ['visionline_encoder'], type: 'string' },
13571
+ {
13572
+ enum: [
13573
+ 'visionline_encoder',
13574
+ 'assa_abloy_vostio_encoder',
13575
+ ],
13576
+ type: 'string',
13577
+ },
13520
13578
  ],
13521
13579
  },
13522
13580
  device_types: {
@@ -13570,7 +13628,13 @@ export default {
13570
13628
  enum: ['ios_phone', 'android_phone'],
13571
13629
  type: 'string',
13572
13630
  },
13573
- { enum: ['visionline_encoder'], type: 'string' },
13631
+ {
13632
+ enum: [
13633
+ 'visionline_encoder',
13634
+ 'assa_abloy_vostio_encoder',
13635
+ ],
13636
+ type: 'string',
13637
+ },
13574
13638
  ],
13575
13639
  },
13576
13640
  type: 'array',
@@ -13970,7 +14034,13 @@ export default {
13970
14034
  type: 'string',
13971
14035
  },
13972
14036
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
13973
- { enum: ['visionline_encoder'], type: 'string' },
14037
+ {
14038
+ enum: [
14039
+ 'visionline_encoder',
14040
+ 'assa_abloy_vostio_encoder',
14041
+ ],
14042
+ type: 'string',
14043
+ },
13974
14044
  ],
13975
14045
  },
13976
14046
  device_types: {
@@ -14024,7 +14094,13 @@ export default {
14024
14094
  enum: ['ios_phone', 'android_phone'],
14025
14095
  type: 'string',
14026
14096
  },
14027
- { enum: ['visionline_encoder'], type: 'string' },
14097
+ {
14098
+ enum: [
14099
+ 'visionline_encoder',
14100
+ 'assa_abloy_vostio_encoder',
14101
+ ],
14102
+ type: 'string',
14103
+ },
14028
14104
  ],
14029
14105
  },
14030
14106
  type: 'array',
@@ -15236,7 +15312,13 @@ export default {
15236
15312
  type: 'string',
15237
15313
  },
15238
15314
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
15239
- { enum: ['visionline_encoder'], type: 'string' },
15315
+ {
15316
+ enum: [
15317
+ 'visionline_encoder',
15318
+ 'assa_abloy_vostio_encoder',
15319
+ ],
15320
+ type: 'string',
15321
+ },
15240
15322
  ],
15241
15323
  },
15242
15324
  device_types: {
@@ -15290,7 +15372,13 @@ export default {
15290
15372
  enum: ['ios_phone', 'android_phone'],
15291
15373
  type: 'string',
15292
15374
  },
15293
- { enum: ['visionline_encoder'], type: 'string' },
15375
+ {
15376
+ enum: [
15377
+ 'visionline_encoder',
15378
+ 'assa_abloy_vostio_encoder',
15379
+ ],
15380
+ type: 'string',
15381
+ },
15294
15382
  ],
15295
15383
  },
15296
15384
  type: 'array',