@seamapi/types 1.604.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/index.cjs CHANGED
@@ -2579,9 +2579,9 @@ var acs_entrance_dormakaba_community_metadata = zod.z.object({
2579
2579
  );
2580
2580
  var acs_entrance_hotek_metadata = zod.z.object({
2581
2581
  room_number: zod.z.string().describe("Room number of the entrance."),
2582
- display_name: zod.z.string().describe("Display name of the entrance."),
2583
- door_type: zod.z.enum(["common_area", "guest"]).describe("Type of door.")
2584
- }).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.");
2585
2585
  var acs_entrance_latch_metadata = zod.z.object({
2586
2586
  accessibility_type: zod.z.string().describe("Accessibility type in the Latch access system."),
2587
2587
  door_name: zod.z.string().describe("Name of the door in the Latch access system."),
@@ -8284,13 +8284,12 @@ var openapi_default = {
8284
8284
  hotek_metadata: {
8285
8285
  description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
8286
8286
  properties: {
8287
- display_name: {
8287
+ common_area_name: {
8288
8288
  description: "Display name of the entrance.",
8289
8289
  type: "string"
8290
8290
  },
8291
- door_type: {
8292
- description: "Type of door.",
8293
- enum: ["common_area", "guest"],
8291
+ common_area_number: {
8292
+ description: "Display name of the entrance.",
8294
8293
  type: "string"
8295
8294
  },
8296
8295
  room_number: {
@@ -8298,7 +8297,6 @@ var openapi_default = {
8298
8297
  type: "string"
8299
8298
  }
8300
8299
  },
8301
- required: ["room_number", "display_name", "door_type"],
8302
8300
  type: "object"
8303
8301
  },
8304
8302
  latch_metadata: {
@@ -23713,13 +23711,12 @@ var openapi_default = {
23713
23711
  hotek_metadata: {
23714
23712
  description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
23715
23713
  properties: {
23716
- display_name: {
23714
+ common_area_name: {
23717
23715
  description: "Display name of the entrance.",
23718
23716
  type: "string"
23719
23717
  },
23720
- door_type: {
23721
- description: "Type of door.",
23722
- enum: ["common_area", "guest"],
23718
+ common_area_number: {
23719
+ description: "Display name of the entrance.",
23723
23720
  type: "string"
23724
23721
  },
23725
23722
  room_number: {
@@ -23727,11 +23724,6 @@ var openapi_default = {
23727
23724
  type: "string"
23728
23725
  }
23729
23726
  },
23730
- required: [
23731
- "room_number",
23732
- "display_name",
23733
- "door_type"
23734
- ],
23735
23727
  type: "object"
23736
23728
  },
23737
23729
  latch_metadata: {
@@ -38805,6 +38797,116 @@ var openapi_default = {
38805
38797
  "x-title": "List Compatible Credential Manager ACS Systems"
38806
38798
  }
38807
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
+ },
38808
38910
  "/acs/users/add_to_access_group": {
38809
38911
  post: {
38810
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).",