@seamapi/types 1.317.0 → 1.318.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 (27) hide show
  1. package/dist/connect.cjs +29 -34
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +75 -39
  4. package/lib/seam/connect/models/acs/acs-encoder.d.ts +0 -10
  5. package/lib/seam/connect/models/acs/acs-encoder.js +0 -4
  6. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +5 -0
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +34 -0
  9. package/lib/seam/connect/models/acs/acs-system.js +10 -5
  10. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
  12. package/lib/seam/connect/models/acs/acs-user.js +1 -0
  13. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  14. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +3 -0
  15. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +1 -0
  16. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  17. package/lib/seam/connect/openapi.d.ts +39 -7
  18. package/lib/seam/connect/openapi.js +11 -15
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +20 -21
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/acs/acs-encoder.ts +0 -6
  23. package/src/lib/seam/connect/models/acs/acs-system.ts +10 -7
  24. package/src/lib/seam/connect/models/acs/acs-user.ts +1 -0
  25. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +1 -0
  26. package/src/lib/seam/connect/openapi.ts +11 -16
  27. package/src/lib/seam/connect/route-types.ts +20 -21
@@ -887,17 +887,14 @@ declare const acs_encoder: z.ZodObject<{
887
887
  message: z.ZodString;
888
888
  }, {
889
889
  error_code: z.ZodLiteral<"acs_encoder_removed">;
890
- _event_id: z.ZodString;
891
890
  }>, "strip", z.ZodTypeAny, {
892
891
  message: string;
893
892
  error_code: "acs_encoder_removed";
894
893
  created_at: string;
895
- _event_id: string;
896
894
  }, {
897
895
  message: string;
898
896
  error_code: "acs_encoder_removed";
899
897
  created_at: string;
900
- _event_id: string;
901
898
  }>, "many">;
902
899
  created_at: z.ZodString;
903
900
  display_name: z.ZodString;
@@ -907,7 +904,6 @@ declare const acs_encoder: z.ZodObject<{
907
904
  message: string;
908
905
  error_code: "acs_encoder_removed";
909
906
  created_at: string;
910
- _event_id: string;
911
907
  }[];
912
908
  display_name: string;
913
909
  workspace_id: string;
@@ -919,7 +915,6 @@ declare const acs_encoder: z.ZodObject<{
919
915
  message: string;
920
916
  error_code: "acs_encoder_removed";
921
917
  created_at: string;
922
- _event_id: string;
923
918
  }[];
924
919
  display_name: string;
925
920
  workspace_id: string;
@@ -1019,14 +1014,17 @@ declare const acs_entrance: z.ZodObject<{
1019
1014
  access_point_name: z.ZodString;
1020
1015
  common_area_number: z.ZodOptional<z.ZodNumber>;
1021
1016
  inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1017
+ lease_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1022
1018
  }, "strip", z.ZodTypeAny, {
1023
1019
  access_point_name: string;
1024
1020
  common_area_number?: number | undefined;
1025
1021
  inner_access_points_names?: string[] | undefined;
1022
+ lease_ids?: string[] | undefined;
1026
1023
  }, {
1027
1024
  access_point_name: string;
1028
1025
  common_area_number?: number | undefined;
1029
1026
  inner_access_points_names?: string[] | undefined;
1027
+ lease_ids?: string[] | undefined;
1030
1028
  }>>;
1031
1029
  assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
1032
1030
  door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
@@ -1104,6 +1102,7 @@ declare const acs_entrance: z.ZodObject<{
1104
1102
  access_point_name: string;
1105
1103
  common_area_number?: number | undefined;
1106
1104
  inner_access_points_names?: string[] | undefined;
1105
+ lease_ids?: string[] | undefined;
1107
1106
  } | undefined;
1108
1107
  salto_space_metadata?: {
1109
1108
  door_name: string;
@@ -1154,6 +1153,7 @@ declare const acs_entrance: z.ZodObject<{
1154
1153
  access_point_name: string;
1155
1154
  common_area_number?: number | undefined;
1156
1155
  inner_access_points_names?: string[] | undefined;
1156
+ lease_ids?: string[] | undefined;
1157
1157
  } | undefined;
1158
1158
  salto_space_metadata?: {
1159
1159
  door_name: string;
@@ -1295,14 +1295,17 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1295
1295
  message: z.ZodString;
1296
1296
  }, {
1297
1297
  warning_code: z.ZodLiteral<"time_zone_does_not_match_location">;
1298
+ misconfigured_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1298
1299
  }>, "strip", z.ZodTypeAny, {
1299
1300
  message: string;
1300
1301
  warning_code: "time_zone_does_not_match_location";
1301
1302
  created_at: string;
1303
+ misconfigured_acs_entrance_ids?: string[] | undefined;
1302
1304
  }, {
1303
1305
  message: string;
1304
1306
  warning_code: "time_zone_does_not_match_location";
1305
1307
  created_at: string;
1308
+ misconfigured_acs_entrance_ids?: string[] | undefined;
1306
1309
  }>]>, "many">;
1307
1310
  }, {
1308
1311
  can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
@@ -1345,6 +1348,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1345
1348
  message: string;
1346
1349
  warning_code: "time_zone_does_not_match_location";
1347
1350
  created_at: string;
1351
+ misconfigured_acs_entrance_ids?: string[] | undefined;
1348
1352
  })[];
1349
1353
  name: string;
1350
1354
  image_url: string;
@@ -1406,6 +1410,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
1406
1410
  message: string;
1407
1411
  warning_code: "time_zone_does_not_match_location";
1408
1412
  created_at: string;
1413
+ misconfigured_acs_entrance_ids?: string[] | undefined;
1409
1414
  })[];
1410
1415
  name: string;
1411
1416
  image_url: string;
@@ -1443,7 +1448,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1443
1448
  display_name: z.ZodString;
1444
1449
  external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user", "dormakaba_community_user"]>>;
1445
1450
  external_type_display_name: z.ZodOptional<z.ZodString>;
1446
- is_suspended: z.ZodBoolean;
1451
+ is_suspended: z.ZodOptional<z.ZodBoolean>;
1447
1452
  access_schedule: z.ZodOptional<z.ZodObject<{
1448
1453
  starts_at: z.ZodString;
1449
1454
  ends_at: z.ZodNullable<z.ZodString>;
@@ -1597,7 +1602,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1597
1602
  is_managed: true;
1598
1603
  acs_system_id: string;
1599
1604
  acs_user_id: string;
1600
- is_suspended: boolean;
1601
1605
  email?: string | undefined;
1602
1606
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | undefined;
1603
1607
  external_type_display_name?: string | undefined;
@@ -1608,6 +1612,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1608
1612
  email_address?: string | undefined;
1609
1613
  phone_number?: string | undefined;
1610
1614
  hid_acs_system_id?: string | undefined;
1615
+ is_suspended?: boolean | undefined;
1611
1616
  access_schedule?: {
1612
1617
  starts_at: string;
1613
1618
  ends_at: string | null;
@@ -1652,7 +1657,6 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1652
1657
  is_managed: true;
1653
1658
  acs_system_id: string;
1654
1659
  acs_user_id: string;
1655
- is_suspended: boolean;
1656
1660
  email?: string | undefined;
1657
1661
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | undefined;
1658
1662
  external_type_display_name?: string | undefined;
@@ -1663,6 +1667,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1663
1667
  email_address?: string | undefined;
1664
1668
  phone_number?: string | undefined;
1665
1669
  hid_acs_system_id?: string | undefined;
1670
+ is_suspended?: boolean | undefined;
1666
1671
  access_schedule?: {
1667
1672
  starts_at: string;
1668
1673
  ends_at: string | null;
@@ -1680,7 +1685,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1680
1685
  display_name: z.ZodString;
1681
1686
  external_type: z.ZodOptional<z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user", "dormakaba_community_user"]>>;
1682
1687
  external_type_display_name: z.ZodOptional<z.ZodString>;
1683
- is_suspended: z.ZodBoolean;
1688
+ is_suspended: z.ZodOptional<z.ZodBoolean>;
1684
1689
  access_schedule: z.ZodOptional<z.ZodObject<{
1685
1690
  starts_at: z.ZodString;
1686
1691
  ends_at: z.ZodNullable<z.ZodString>;
@@ -1834,7 +1839,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1834
1839
  is_managed: false;
1835
1840
  acs_system_id: string;
1836
1841
  acs_user_id: string;
1837
- is_suspended: boolean;
1838
1842
  email?: string | undefined;
1839
1843
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | undefined;
1840
1844
  external_type_display_name?: string | undefined;
@@ -1845,6 +1849,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1845
1849
  email_address?: string | undefined;
1846
1850
  phone_number?: string | undefined;
1847
1851
  hid_acs_system_id?: string | undefined;
1852
+ is_suspended?: boolean | undefined;
1848
1853
  access_schedule?: {
1849
1854
  starts_at: string;
1850
1855
  ends_at: string | null;
@@ -1889,7 +1894,6 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1889
1894
  is_managed: false;
1890
1895
  acs_system_id: string;
1891
1896
  acs_user_id: string;
1892
- is_suspended: boolean;
1893
1897
  email?: string | undefined;
1894
1898
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | undefined;
1895
1899
  external_type_display_name?: string | undefined;
@@ -1900,6 +1904,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1900
1904
  email_address?: string | undefined;
1901
1905
  phone_number?: string | undefined;
1902
1906
  hid_acs_system_id?: string | undefined;
1907
+ is_suspended?: boolean | undefined;
1903
1908
  access_schedule?: {
1904
1909
  starts_at: string;
1905
1910
  ends_at: string | null;
@@ -13101,6 +13106,12 @@ declare const _default: {
13101
13106
  };
13102
13107
  type: string;
13103
13108
  };
13109
+ lease_ids: {
13110
+ items: {
13111
+ type: string;
13112
+ };
13113
+ type: string;
13114
+ };
13104
13115
  };
13105
13116
  required: string[];
13106
13117
  type: string;
@@ -13246,12 +13257,14 @@ declare const _default: {
13246
13257
  type: string;
13247
13258
  };
13248
13259
  connected_account_ids: {
13260
+ deprecated: boolean;
13249
13261
  description: string;
13250
13262
  items: {
13251
13263
  format: string;
13252
13264
  type: string;
13253
13265
  };
13254
13266
  type: string;
13267
+ 'x-deprecated': string;
13255
13268
  };
13256
13269
  created_at: {
13257
13270
  description: string;
@@ -13382,7 +13395,7 @@ declare const _default: {
13382
13395
  description: string;
13383
13396
  items: {
13384
13397
  description: string;
13385
- oneOf: {
13398
+ oneOf: ({
13386
13399
  properties: {
13387
13400
  created_at: {
13388
13401
  description: string;
@@ -13398,10 +13411,37 @@ declare const _default: {
13398
13411
  enum: string[];
13399
13412
  type: string;
13400
13413
  };
13414
+ misconfigured_acs_entrance_ids?: never;
13401
13415
  };
13402
13416
  required: string[];
13403
13417
  type: string;
13404
- }[];
13418
+ } | {
13419
+ properties: {
13420
+ created_at: {
13421
+ description: string;
13422
+ format: string;
13423
+ type: string;
13424
+ };
13425
+ message: {
13426
+ description: string;
13427
+ type: string;
13428
+ };
13429
+ misconfigured_acs_entrance_ids: {
13430
+ items: {
13431
+ format: string;
13432
+ type: string;
13433
+ };
13434
+ type: string;
13435
+ };
13436
+ warning_code: {
13437
+ description: string;
13438
+ enum: string[];
13439
+ type: string;
13440
+ };
13441
+ };
13442
+ required: string[];
13443
+ type: string;
13444
+ })[];
13405
13445
  };
13406
13446
  type: string;
13407
13447
  };
@@ -24364,11 +24404,6 @@ declare const _default: {
24364
24404
  items: {
24365
24405
  description: string;
24366
24406
  properties: {
24367
- _event_id: {
24368
- description: string;
24369
- format: string;
24370
- type: string;
24371
- };
24372
24407
  created_at: {
24373
24408
  description: string;
24374
24409
  format: string;
@@ -34995,6 +35030,7 @@ declare const _default: {
34995
35030
  tags: string[];
34996
35031
  'x-fern-ignore': boolean;
34997
35032
  'x-response-key': null;
35033
+ 'x-title': string;
34998
35034
  };
34999
35035
  post: {
35000
35036
  operationId: string;
@@ -35079,6 +35115,7 @@ declare const _default: {
35079
35115
  'x-fern-sdk-group-name': string[];
35080
35116
  'x-fern-sdk-method-name': string;
35081
35117
  'x-response-key': null;
35118
+ 'x-title': string;
35082
35119
  };
35083
35120
  };
35084
35121
  '/webhooks/create': {
@@ -39997,6 +40034,7 @@ interface Routes {
39997
40034
  access_point_name: string;
39998
40035
  common_area_number?: number | undefined;
39999
40036
  inner_access_points_names?: string[] | undefined;
40037
+ lease_ids?: string[] | undefined;
40000
40038
  } | undefined;
40001
40039
  assa_abloy_vostio_metadata?: {
40002
40040
  door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
@@ -40041,7 +40079,7 @@ interface Routes {
40041
40079
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
40042
40080
  external_type_display_name?: string | undefined;
40043
40081
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
40044
- is_suspended: boolean;
40082
+ is_suspended?: boolean | undefined;
40045
40083
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
40046
40084
  access_schedule?: {
40047
40085
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -40919,6 +40957,7 @@ interface Routes {
40919
40957
  access_point_name: string;
40920
40958
  common_area_number?: number | undefined;
40921
40959
  inner_access_points_names?: string[] | undefined;
40960
+ lease_ids?: string[] | undefined;
40922
40961
  } | undefined;
40923
40962
  assa_abloy_vostio_metadata?: {
40924
40963
  door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
@@ -42225,8 +42264,6 @@ interface Routes {
42225
42264
  message: string;
42226
42265
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42227
42266
  error_code: 'acs_encoder_removed';
42228
- /** ID of the event that was created when the `acs_encoder` was removed. */
42229
- _event_id: string;
42230
42267
  }>;
42231
42268
  /** Date and time at which the `acs_encoder` was created. */
42232
42269
  created_at: string;
@@ -43155,6 +43192,7 @@ interface Routes {
43155
43192
  access_point_name: string;
43156
43193
  common_area_number?: number | undefined;
43157
43194
  inner_access_points_names?: string[] | undefined;
43195
+ lease_ids?: string[] | undefined;
43158
43196
  } | undefined;
43159
43197
  assa_abloy_vostio_metadata?: {
43160
43198
  door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
@@ -43235,6 +43273,7 @@ interface Routes {
43235
43273
  access_point_name: string;
43236
43274
  common_area_number?: number | undefined;
43237
43275
  inner_access_points_names?: string[] | undefined;
43276
+ lease_ids?: string[] | undefined;
43238
43277
  } | undefined;
43239
43278
  assa_abloy_vostio_metadata?: {
43240
43279
  door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
@@ -43406,9 +43445,7 @@ interface Routes {
43406
43445
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
43407
43446
  workspace_id: string;
43408
43447
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
43409
- ---
43410
- deprecated: Use `connected_account_id`.
43411
- --- */
43448
+ * @deprecated Use `connected_account_id`. */
43412
43449
  connected_account_ids: string[];
43413
43450
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
43414
43451
  connected_account_id: string;
@@ -43475,6 +43512,7 @@ interface Routes {
43475
43512
  message: string;
43476
43513
  /** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
43477
43514
  warning_code: 'time_zone_does_not_match_location';
43515
+ misconfigured_acs_entrance_ids?: string[] | undefined;
43478
43516
  }>;
43479
43517
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
43480
43518
  can_automate_enrollment?: boolean | undefined;
@@ -43534,9 +43572,7 @@ interface Routes {
43534
43572
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
43535
43573
  workspace_id: string;
43536
43574
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
43537
- ---
43538
- deprecated: Use `connected_account_id`.
43539
- --- */
43575
+ * @deprecated Use `connected_account_id`. */
43540
43576
  connected_account_ids: string[];
43541
43577
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
43542
43578
  connected_account_id: string;
@@ -43603,6 +43639,7 @@ interface Routes {
43603
43639
  message: string;
43604
43640
  /** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
43605
43641
  warning_code: 'time_zone_does_not_match_location';
43642
+ misconfigured_acs_entrance_ids?: string[] | undefined;
43606
43643
  }>;
43607
43644
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
43608
43645
  can_automate_enrollment?: boolean | undefined;
@@ -43662,9 +43699,7 @@ interface Routes {
43662
43699
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
43663
43700
  workspace_id: string;
43664
43701
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
43665
- ---
43666
- deprecated: Use `connected_account_id`.
43667
- --- */
43702
+ * @deprecated Use `connected_account_id`. */
43668
43703
  connected_account_ids: string[];
43669
43704
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
43670
43705
  connected_account_id: string;
@@ -43731,6 +43766,7 @@ interface Routes {
43731
43766
  message: string;
43732
43767
  /** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
43733
43768
  warning_code: 'time_zone_does_not_match_location';
43769
+ misconfigured_acs_entrance_ids?: string[] | undefined;
43734
43770
  }>;
43735
43771
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
43736
43772
  can_automate_enrollment?: boolean | undefined;
@@ -43804,7 +43840,7 @@ interface Routes {
43804
43840
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
43805
43841
  external_type_display_name?: string | undefined;
43806
43842
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
43807
- is_suspended: boolean;
43843
+ is_suspended?: boolean | undefined;
43808
43844
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
43809
43845
  access_schedule?: {
43810
43846
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -43920,7 +43956,7 @@ interface Routes {
43920
43956
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
43921
43957
  external_type_display_name?: string | undefined;
43922
43958
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
43923
- is_suspended: boolean;
43959
+ is_suspended?: boolean | undefined;
43924
43960
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
43925
43961
  access_schedule?: {
43926
43962
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -44031,7 +44067,7 @@ interface Routes {
44031
44067
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
44032
44068
  external_type_display_name?: string | undefined;
44033
44069
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
44034
- is_suspended: boolean;
44070
+ is_suspended?: boolean | undefined;
44035
44071
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
44036
44072
  access_schedule?: {
44037
44073
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -44158,6 +44194,7 @@ interface Routes {
44158
44194
  access_point_name: string;
44159
44195
  common_area_number?: number | undefined;
44160
44196
  inner_access_points_names?: string[] | undefined;
44197
+ lease_ids?: string[] | undefined;
44161
44198
  } | undefined;
44162
44199
  assa_abloy_vostio_metadata?: {
44163
44200
  door_type: 'CommonDoor' | 'EntranceDoor' | 'GuestDoor' | 'Elevator';
@@ -44240,7 +44277,7 @@ interface Routes {
44240
44277
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
44241
44278
  external_type_display_name?: string | undefined;
44242
44279
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
44243
- is_suspended: boolean;
44280
+ is_suspended?: boolean | undefined;
44244
44281
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
44245
44282
  access_schedule?: {
44246
44283
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -44346,7 +44383,7 @@ interface Routes {
44346
44383
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
44347
44384
  external_type_display_name?: string | undefined;
44348
44385
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
44349
- is_suspended: boolean;
44386
+ is_suspended?: boolean | undefined;
44350
44387
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
44351
44388
  access_schedule?: {
44352
44389
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -66589,9 +66626,7 @@ interface Routes {
66589
66626
  /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
66590
66627
  workspace_id: string;
66591
66628
  /** IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.
66592
- ---
66593
- deprecated: Use `connected_account_id`.
66594
- --- */
66629
+ * @deprecated Use `connected_account_id`. */
66595
66630
  connected_account_ids: string[];
66596
66631
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`. */
66597
66632
  connected_account_id: string;
@@ -66658,6 +66693,7 @@ interface Routes {
66658
66693
  message: string;
66659
66694
  /** Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances. */
66660
66695
  warning_code: 'time_zone_does_not_match_location';
66696
+ misconfigured_acs_entrance_ids?: string[] | undefined;
66661
66697
  }>;
66662
66698
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
66663
66699
  can_automate_enrollment?: boolean | undefined;
@@ -66698,7 +66734,7 @@ interface Routes {
66698
66734
  /** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
66699
66735
  external_type_display_name?: string | undefined;
66700
66736
  /** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
66701
- is_suspended: boolean;
66737
+ is_suspended?: boolean | undefined;
66702
66738
  /** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
66703
66739
  access_schedule?: {
66704
66740
  /** Date and time at which the user's access starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -5,31 +5,26 @@ declare const acs_encoder_error_map: z.ZodObject<{
5
5
  message: z.ZodString;
6
6
  }, {
7
7
  error_code: z.ZodLiteral<"acs_encoder_removed">;
8
- _event_id: z.ZodString;
9
8
  }>, "strip", z.ZodTypeAny, {
10
9
  message: string;
11
10
  error_code: "acs_encoder_removed";
12
11
  created_at: string;
13
- _event_id: string;
14
12
  }, {
15
13
  message: string;
16
14
  error_code: "acs_encoder_removed";
17
15
  created_at: string;
18
- _event_id: string;
19
16
  }>>>;
20
17
  }, "strip", z.ZodTypeAny, {
21
18
  acs_encoder_removed?: {
22
19
  message: string;
23
20
  error_code: "acs_encoder_removed";
24
21
  created_at: string;
25
- _event_id: string;
26
22
  } | null | undefined;
27
23
  }, {
28
24
  acs_encoder_removed?: {
29
25
  message: string;
30
26
  error_code: "acs_encoder_removed";
31
27
  created_at: string;
32
- _event_id: string;
33
28
  } | null | undefined;
34
29
  }>;
35
30
  export type AcsEncoderErrorMap = z.infer<typeof acs_encoder_error_map>;
@@ -42,17 +37,14 @@ export declare const acs_encoder: z.ZodObject<{
42
37
  message: z.ZodString;
43
38
  }, {
44
39
  error_code: z.ZodLiteral<"acs_encoder_removed">;
45
- _event_id: z.ZodString;
46
40
  }>, "strip", z.ZodTypeAny, {
47
41
  message: string;
48
42
  error_code: "acs_encoder_removed";
49
43
  created_at: string;
50
- _event_id: string;
51
44
  }, {
52
45
  message: string;
53
46
  error_code: "acs_encoder_removed";
54
47
  created_at: string;
55
- _event_id: string;
56
48
  }>, "many">;
57
49
  created_at: z.ZodString;
58
50
  display_name: z.ZodString;
@@ -62,7 +54,6 @@ export declare const acs_encoder: z.ZodObject<{
62
54
  message: string;
63
55
  error_code: "acs_encoder_removed";
64
56
  created_at: string;
65
- _event_id: string;
66
57
  }[];
67
58
  display_name: string;
68
59
  workspace_id: string;
@@ -74,7 +65,6 @@ export declare const acs_encoder: z.ZodObject<{
74
65
  message: string;
75
66
  error_code: "acs_encoder_removed";
76
67
  created_at: string;
77
- _event_id: string;
78
68
  }[];
79
69
  display_name: string;
80
70
  workspace_id: string;
@@ -11,10 +11,6 @@ const common_acs_encoder_error = z.object({
11
11
  const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
12
12
  const acs_encoder_removed = common_acs_encoder_error.extend({
13
13
  error_code: z.literal('acs_encoder_removed').describe(error_code_description),
14
- _event_id: z
15
- .string()
16
- .uuid()
17
- .describe('ID of the event that was created when the `acs_encoder` was removed.'),
18
14
  });
19
15
  const acs_encoder_error =
20
16
  // z.union([
@@ -1 +1 @@
1
- {"version":3,"file":"acs-encoder.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-encoder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1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AAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACzE,CAAC,CAAA"}
@@ -90,14 +90,17 @@ export declare const acs_entrance: z.ZodObject<{
90
90
  access_point_name: z.ZodString;
91
91
  common_area_number: z.ZodOptional<z.ZodNumber>;
92
92
  inner_access_points_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
93
+ lease_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
93
94
  }, "strip", z.ZodTypeAny, {
94
95
  access_point_name: string;
95
96
  common_area_number?: number | undefined;
96
97
  inner_access_points_names?: string[] | undefined;
98
+ lease_ids?: string[] | undefined;
97
99
  }, {
98
100
  access_point_name: string;
99
101
  common_area_number?: number | undefined;
100
102
  inner_access_points_names?: string[] | undefined;
103
+ lease_ids?: string[] | undefined;
101
104
  }>>;
102
105
  assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
103
106
  door_type: z.ZodEnum<["CommonDoor", "EntranceDoor", "GuestDoor", "Elevator"]>;
@@ -175,6 +178,7 @@ export declare const acs_entrance: z.ZodObject<{
175
178
  access_point_name: string;
176
179
  common_area_number?: number | undefined;
177
180
  inner_access_points_names?: string[] | undefined;
181
+ lease_ids?: string[] | undefined;
178
182
  } | undefined;
179
183
  salto_space_metadata?: {
180
184
  door_name: string;
@@ -225,6 +229,7 @@ export declare const acs_entrance: z.ZodObject<{
225
229
  access_point_name: string;
226
230
  common_area_number?: number | undefined;
227
231
  inner_access_points_names?: string[] | undefined;
232
+ lease_ids?: string[] | undefined;
228
233
  } | undefined;
229
234
  salto_space_metadata?: {
230
235
  door_name: string;