@seamapi/types 1.603.0 → 1.605.0

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.
package/dist/connect.cjs CHANGED
@@ -2352,6 +2352,7 @@ var access_grant = zod.z.object({
2352
2352
  workspace_id: zod.z.string().uuid().describe("ID of the Seam workspace associated with the Access Grant."),
2353
2353
  access_grant_id: zod.z.string().uuid().describe("ID of the Access Grant."),
2354
2354
  access_grant_key: zod.z.string().optional().describe("Unique key for the access grant within the workspace."),
2355
+ reservation_key: zod.z.string().optional().describe("Reservation key for the access grant."),
2355
2356
  user_identity_id: zod.z.string().uuid().describe("ID of user identity to which the Access Grant gives access."),
2356
2357
  location_ids: zod.z.array(zod.z.string().uuid()).describe(`
2357
2358
  ---
@@ -2578,9 +2579,9 @@ var acs_entrance_dormakaba_community_metadata = zod.z.object({
2578
2579
  );
2579
2580
  var acs_entrance_hotek_metadata = zod.z.object({
2580
2581
  room_number: zod.z.string().describe("Room number of the entrance."),
2581
- display_name: zod.z.string().describe("Display name of the entrance."),
2582
- door_type: zod.z.enum(["common_area", "guest"]).describe("Type of door.")
2583
- }).describe("Hotek-specific metadata associated with the entrance.");
2582
+ common_area_number: zod.z.string().describe("Display name of the entrance."),
2583
+ common_area_name: zod.z.string().describe("Display name of the entrance.")
2584
+ }).partial().describe("Hotek-specific metadata associated with the entrance.");
2584
2585
  var acs_entrance_latch_metadata = zod.z.object({
2585
2586
  accessibility_type: zod.z.string().describe("Accessibility type in the Latch access system."),
2586
2587
  door_name: zod.z.string().describe("Name of the door in the Latch access system."),
@@ -7400,6 +7401,10 @@ var openapi_default = {
7400
7401
  },
7401
7402
  type: "array"
7402
7403
  },
7404
+ reservation_key: {
7405
+ description: "Reservation key for the access grant.",
7406
+ type: "string"
7407
+ },
7403
7408
  space_ids: {
7404
7409
  description: "IDs of the spaces to which the Access Grant gives access.",
7405
7410
  items: { format: "uuid", type: "string" },
@@ -8279,13 +8284,12 @@ var openapi_default = {
8279
8284
  hotek_metadata: {
8280
8285
  description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
8281
8286
  properties: {
8282
- display_name: {
8287
+ common_area_name: {
8283
8288
  description: "Display name of the entrance.",
8284
8289
  type: "string"
8285
8290
  },
8286
- door_type: {
8287
- description: "Type of door.",
8288
- enum: ["common_area", "guest"],
8291
+ common_area_number: {
8292
+ description: "Display name of the entrance.",
8289
8293
  type: "string"
8290
8294
  },
8291
8295
  room_number: {
@@ -8293,7 +8297,6 @@ var openapi_default = {
8293
8297
  type: "string"
8294
8298
  }
8295
8299
  },
8296
- required: ["room_number", "display_name", "door_type"],
8297
8300
  type: "object"
8298
8301
  },
8299
8302
  latch_metadata: {
@@ -23708,13 +23711,12 @@ var openapi_default = {
23708
23711
  hotek_metadata: {
23709
23712
  description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
23710
23713
  properties: {
23711
- display_name: {
23714
+ common_area_name: {
23712
23715
  description: "Display name of the entrance.",
23713
23716
  type: "string"
23714
23717
  },
23715
- door_type: {
23716
- description: "Type of door.",
23717
- enum: ["common_area", "guest"],
23718
+ common_area_number: {
23719
+ description: "Display name of the entrance.",
23718
23720
  type: "string"
23719
23721
  },
23720
23722
  room_number: {
@@ -23722,11 +23724,6 @@ var openapi_default = {
23722
23724
  type: "string"
23723
23725
  }
23724
23726
  },
23725
- required: [
23726
- "room_number",
23727
- "display_name",
23728
- "door_type"
23729
- ],
23730
23727
  type: "object"
23731
23728
  },
23732
23729
  latch_metadata: {
@@ -31312,6 +31309,10 @@ var openapi_default = {
31312
31309
  },
31313
31310
  type: "array"
31314
31311
  },
31312
+ reservation_key: {
31313
+ description: "Reservation key for the access grant.",
31314
+ type: "string"
31315
+ },
31315
31316
  space_ids: {
31316
31317
  description: "Set of IDs of existing spaces to which access is being granted.",
31317
31318
  items: { format: "uuid", type: "string" },
@@ -32197,6 +32198,10 @@ var openapi_default = {
32197
32198
  },
32198
32199
  type: "array"
32199
32200
  },
32201
+ reservation_key: {
32202
+ description: "Reservation key for the access grant.",
32203
+ type: "string"
32204
+ },
32200
32205
  space_ids: {
32201
32206
  description: "IDs of the spaces to which the Access Grant gives access.",
32202
32207
  items: { format: "uuid", type: "string" },
@@ -32405,6 +32410,10 @@ var openapi_default = {
32405
32410
  },
32406
32411
  type: "array"
32407
32412
  },
32413
+ reservation_key: {
32414
+ description: "Reservation key for the access grant.",
32415
+ type: "string"
32416
+ },
32408
32417
  space_ids: {
32409
32418
  description: "IDs of the spaces to which the Access Grant gives access.",
32410
32419
  items: { format: "uuid", type: "string" },
@@ -32628,6 +32637,10 @@ var openapi_default = {
32628
32637
  },
32629
32638
  type: "array"
32630
32639
  },
32640
+ reservation_key: {
32641
+ description: "Reservation key for the access grant.",
32642
+ type: "string"
32643
+ },
32631
32644
  space_ids: {
32632
32645
  description: "IDs of the spaces to which the Access Grant gives access.",
32633
32646
  items: { format: "uuid", type: "string" },
@@ -32848,6 +32861,10 @@ var openapi_default = {
32848
32861
  },
32849
32862
  type: "array"
32850
32863
  },
32864
+ reservation_key: {
32865
+ description: "Reservation key for the access grant.",
32866
+ type: "string"
32867
+ },
32851
32868
  space_ids: {
32852
32869
  description: "IDs of the spaces to which the Access Grant gives access.",
32853
32870
  items: { format: "uuid", type: "string" },
@@ -38780,6 +38797,116 @@ var openapi_default = {
38780
38797
  "x-title": "List Compatible Credential Manager ACS Systems"
38781
38798
  }
38782
38799
  },
38800
+ "/acs/systems/report_devices": {
38801
+ post: {
38802
+ description: "Reports ACS system resources including encoders and entrances with their metadata.\n\nThis endpoint allows reporting of:\n- ACS encoders with removal status and encoder port metadata\n- ACS entrances with room number metadata",
38803
+ operationId: "acsSystemsReportDevicesPost",
38804
+ requestBody: {
38805
+ content: {
38806
+ "application/json": {
38807
+ schema: {
38808
+ properties: {
38809
+ acs_encoders: {
38810
+ default: [],
38811
+ description: "Array of ACS encoders to report",
38812
+ items: {
38813
+ properties: {
38814
+ hotek_metadata: {
38815
+ properties: {
38816
+ encoder_number: {
38817
+ description: "The encoder number determined by the USB port connection.",
38818
+ type: "string"
38819
+ }
38820
+ },
38821
+ required: ["encoder_number"],
38822
+ type: "object"
38823
+ },
38824
+ is_removed: {
38825
+ default: false,
38826
+ description: "Whether the encoder is removed",
38827
+ type: "boolean"
38828
+ }
38829
+ },
38830
+ required: ["hotek_metadata"],
38831
+ type: "object"
38832
+ },
38833
+ type: "array"
38834
+ },
38835
+ acs_entrances: {
38836
+ default: [],
38837
+ description: "Array of ACS entrances to report",
38838
+ items: {
38839
+ properties: {
38840
+ hotek_metadata: {
38841
+ description: "Hotek-specific metadata associated with the entrance.",
38842
+ properties: {
38843
+ common_area_name: {
38844
+ description: "The common area name",
38845
+ type: "string"
38846
+ },
38847
+ common_area_number: {
38848
+ description: "The room number identifier",
38849
+ type: "string"
38850
+ },
38851
+ room_number: {
38852
+ description: "The room number identifier",
38853
+ type: "string"
38854
+ }
38855
+ },
38856
+ type: "object"
38857
+ },
38858
+ is_removed: {
38859
+ default: false,
38860
+ description: "Whether the entrance is removed",
38861
+ type: "boolean"
38862
+ }
38863
+ },
38864
+ required: ["hotek_metadata"],
38865
+ type: "object"
38866
+ },
38867
+ type: "array"
38868
+ },
38869
+ acs_system_id: {
38870
+ description: "ID of the ACS system to report resources for",
38871
+ format: "uuid",
38872
+ type: "string"
38873
+ }
38874
+ },
38875
+ required: ["acs_system_id"],
38876
+ type: "object"
38877
+ }
38878
+ }
38879
+ }
38880
+ },
38881
+ responses: {
38882
+ 200: {
38883
+ content: {
38884
+ "application/json": {
38885
+ schema: {
38886
+ properties: { ok: { type: "boolean" } },
38887
+ required: ["ok"],
38888
+ type: "object"
38889
+ }
38890
+ }
38891
+ },
38892
+ description: "OK"
38893
+ },
38894
+ 400: { description: "Bad Request" },
38895
+ 401: { description: "Unauthorized" }
38896
+ },
38897
+ security: [
38898
+ { pat_with_workspace: [] },
38899
+ { console_session_with_workspace: [] },
38900
+ { api_key: [] }
38901
+ ],
38902
+ summary: "/acs/systems/report_devices",
38903
+ tags: ["/acs"],
38904
+ "x-fern-sdk-group-name": ["acs", "systems"],
38905
+ "x-fern-sdk-method-name": "report_devices",
38906
+ "x-response-key": null,
38907
+ "x-title": "Report ACS Resources"
38908
+ }
38909
+ },
38783
38910
  "/acs/users/add_to_access_group": {
38784
38911
  post: {
38785
38912
  description: "Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).",