@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
package/dist/connect.cjs CHANGED
@@ -1200,7 +1200,8 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
1200
1200
  var acs_entrance_dormakaba_community_metadata = zod.z.object({
1201
1201
  access_point_name: zod.z.string(),
1202
1202
  common_area_number: zod.z.number().optional(),
1203
- inner_access_points_names: zod.z.array(zod.z.string()).optional()
1203
+ inner_access_points_names: zod.z.array(zod.z.string()).optional(),
1204
+ lease_ids: zod.z.array(zod.z.string()).optional()
1204
1205
  });
1205
1206
  var acs_entrance_latch_metadata = zod.z.object({
1206
1207
  accessibility_type: zod.z.string(),
@@ -1397,10 +1398,7 @@ var common_acs_encoder_error = zod.z.object({
1397
1398
  });
1398
1399
  var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1399
1400
  var acs_encoder_removed = common_acs_encoder_error.extend({
1400
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description),
1401
- _event_id: zod.z.string().uuid().describe(
1402
- "ID of the event that was created when the `acs_encoder` was removed."
1403
- )
1401
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description)
1404
1402
  });
1405
1403
  var acs_encoder_error = (
1406
1404
  // z.union([
@@ -1547,14 +1545,16 @@ var salto_ks_subscription_limit_almost_reached = common_acs_system_warning.exten
1547
1545
  var time_zone_does_not_match_location = common_acs_system_warning.extend({
1548
1546
  warning_code: zod.z.literal("time_zone_does_not_match_location").describe(
1549
1547
  "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."
1550
- )
1548
+ ),
1549
+ misconfigured_acs_entrance_ids: zod.z.array(zod.z.string().uuid()).optional()
1551
1550
  });
1552
1551
  var acs_system_warning = zod.z.union([
1553
1552
  salto_ks_subscription_limit_almost_reached,
1554
1553
  time_zone_does_not_match_location
1555
1554
  ]).describe("Warning associated with the `acs_system`.");
1556
1555
  zod.z.object({
1557
- salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable()
1556
+ salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.optional().nullable(),
1557
+ time_zone_does_not_match_location: time_zone_does_not_match_location.optional().nullable()
1558
1558
  });
1559
1559
  var acs_system = zod.z.object({
1560
1560
  default_credential_manager_acs_system_id: zod.z.string().uuid().nullable().optional().describe(
@@ -1600,13 +1600,12 @@ var acs_system = zod.z.object({
1600
1600
  workspace_id: zod.z.string().uuid().describe(
1601
1601
  "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`."
1602
1602
  ),
1603
- connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(
1604
- `IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
1605
- ---
1606
- deprecated: Use \`connected_account_id\`.
1607
- ---
1608
- `
1609
- ),
1603
+ connected_account_ids: zod.z.array(zod.z.string().uuid()).describe(`
1604
+ ---
1605
+ deprecated: Use \`connected_account_id\`.
1606
+ ---
1607
+ IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the \`acs_system\`.
1608
+ `),
1610
1609
  connected_account_id: zod.z.string().uuid().describe(
1611
1610
  "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`."
1612
1611
  ),
@@ -1735,7 +1734,7 @@ var common_acs_user = zod.z.object({
1735
1734
  external_type_display_name: zod.z.string().optional().describe(
1736
1735
  "Display name that corresponds to the brand-specific terminology for the `acs_user` type."
1737
1736
  ),
1738
- is_suspended: zod.z.boolean().describe(
1737
+ is_suspended: zod.z.boolean().optional().describe(
1739
1738
  "Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users)."
1740
1739
  ),
1741
1740
  access_schedule: schedule.optional().describe(
@@ -3427,7 +3426,8 @@ var openapi_default = {
3427
3426
  inner_access_points_names: {
3428
3427
  items: { type: "string" },
3429
3428
  type: "array"
3430
- }
3429
+ },
3430
+ lease_ids: { items: { type: "string" }, type: "array" }
3431
3431
  },
3432
3432
  required: ["access_point_name"],
3433
3433
  type: "object"
@@ -3560,9 +3560,11 @@ var openapi_default = {
3560
3560
  type: "string"
3561
3561
  },
3562
3562
  connected_account_ids: {
3563
- description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.\n---\ndeprecated: Use `connected_account_id`.\n---",
3563
+ deprecated: true,
3564
+ description: "IDs of the [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the `acs_system`.",
3564
3565
  items: { format: "uuid", type: "string" },
3565
- type: "array"
3566
+ type: "array",
3567
+ "x-deprecated": "Use `connected_account_id`."
3566
3568
  },
3567
3569
  created_at: {
3568
3570
  description: "Date and time at which the `acs_system` was created.",
@@ -3836,6 +3838,10 @@ var openapi_default = {
3836
3838
  description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
3837
3839
  type: "string"
3838
3840
  },
3841
+ misconfigured_acs_entrance_ids: {
3842
+ items: { format: "uuid", type: "string" },
3843
+ type: "array"
3844
+ },
3839
3845
  warning_code: {
3840
3846
  description: "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.",
3841
3847
  enum: ["time_zone_does_not_match_location"],
@@ -4133,7 +4139,6 @@ var openapi_default = {
4133
4139
  "workspace_id",
4134
4140
  "created_at",
4135
4141
  "display_name",
4136
- "is_suspended",
4137
4142
  "warnings",
4138
4143
  "errors",
4139
4144
  "is_managed"
@@ -16702,11 +16707,6 @@ var openapi_default = {
16702
16707
  items: {
16703
16708
  description: "Error associated with the `acs_encoder`.",
16704
16709
  properties: {
16705
- _event_id: {
16706
- description: "ID of the event that was created when the `acs_encoder` was removed.",
16707
- format: "uuid",
16708
- type: "string"
16709
- },
16710
16710
  created_at: {
16711
16711
  description: "Date and time at which Seam created the error.",
16712
16712
  format: "date-time",
@@ -16722,12 +16722,7 @@ var openapi_default = {
16722
16722
  type: "string"
16723
16723
  }
16724
16724
  },
16725
- required: [
16726
- "created_at",
16727
- "message",
16728
- "error_code",
16729
- "_event_id"
16730
- ],
16725
+ required: ["created_at", "message", "error_code"],
16731
16726
  type: "object"
16732
16727
  },
16733
16728
  type: "array"
@@ -18400,7 +18395,6 @@ var openapi_default = {
18400
18395
  "workspace_id",
18401
18396
  "created_at",
18402
18397
  "display_name",
18403
- "is_suspended",
18404
18398
  "warnings",
18405
18399
  "errors",
18406
18400
  "is_managed"
@@ -18760,7 +18754,6 @@ var openapi_default = {
18760
18754
  "workspace_id",
18761
18755
  "created_at",
18762
18756
  "display_name",
18763
- "is_suspended",
18764
18757
  "warnings",
18765
18758
  "errors",
18766
18759
  "is_managed"
@@ -25903,7 +25896,8 @@ var openapi_default = {
25903
25896
  summary: "/user_identities/update",
25904
25897
  tags: ["/user_identities"],
25905
25898
  "x-fern-ignore": true,
25906
- "x-response-key": null
25899
+ "x-response-key": null,
25900
+ "x-title": "Update a User Identity"
25907
25901
  },
25908
25902
  post: {
25909
25903
  operationId: "userIdentitiesUpdatePost",
@@ -25967,7 +25961,8 @@ var openapi_default = {
25967
25961
  tags: ["/user_identities"],
25968
25962
  "x-fern-sdk-group-name": ["user_identities"],
25969
25963
  "x-fern-sdk-method-name": "update",
25970
- "x-response-key": null
25964
+ "x-response-key": null,
25965
+ "x-title": "Update a User Identity"
25971
25966
  }
25972
25967
  },
25973
25968
  "/webhooks/create": {