@seamapi/types 1.875.0 → 1.877.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
@@ -43774,6 +43774,66 @@ var openapi = {
43774
43774
  "x-title": "Update an Access Grant"
43775
43775
  }
43776
43776
  },
43777
+ "/access_methods/assign_card": {
43778
+ post: {
43779
+ description: "Assigns an existing card credential to a card-mode access method, identified by `card_number`.",
43780
+ operationId: "accessMethodsAssignCardPost",
43781
+ requestBody: {
43782
+ content: {
43783
+ "application/json": {
43784
+ schema: {
43785
+ properties: {
43786
+ access_method_id: {
43787
+ description: "ID of the card-mode `access_method` to assign the card to.",
43788
+ format: "uuid",
43789
+ type: "string"
43790
+ },
43791
+ card_number: {
43792
+ description: "Card number of the card credential to assign.",
43793
+ type: "string"
43794
+ }
43795
+ },
43796
+ required: ["access_method_id", "card_number"],
43797
+ type: "object"
43798
+ }
43799
+ }
43800
+ }
43801
+ },
43802
+ responses: {
43803
+ 200: {
43804
+ content: {
43805
+ "application/json": {
43806
+ schema: {
43807
+ properties: {
43808
+ access_method: {
43809
+ $ref: "#/components/schemas/access_method"
43810
+ },
43811
+ ok: { type: "boolean" }
43812
+ },
43813
+ required: ["access_method", "ok"],
43814
+ type: "object"
43815
+ }
43816
+ }
43817
+ },
43818
+ description: "OK"
43819
+ },
43820
+ 400: { description: "Bad Request" },
43821
+ 401: { description: "Unauthorized" }
43822
+ },
43823
+ security: [
43824
+ { pat_with_workspace: [] },
43825
+ { console_session_with_workspace: [] },
43826
+ { api_key: [] }
43827
+ ],
43828
+ summary: "/access_methods/assign_card",
43829
+ tags: [],
43830
+ "x-fern-sdk-group-name": ["access_methods"],
43831
+ "x-fern-sdk-method-name": "assign_card",
43832
+ "x-fern-sdk-return-value": "access_method",
43833
+ "x-response-key": "access_method",
43834
+ "x-title": "Assign a Card to an Access Method"
43835
+ }
43836
+ },
43777
43837
  "/access_methods/delete": {
43778
43838
  delete: {
43779
43839
  description: "Deletes an access method.",
@@ -44507,6 +44567,68 @@ var openapi = {
44507
44567
  "x-title": "List Access Methods"
44508
44568
  }
44509
44569
  },
44570
+ "/access_methods/unlock_door": {
44571
+ post: {
44572
+ description: "Remotely unlocks a specified [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) using the cloud key credential associated with an access method. Returns an action attempt that tracks the progress of the unlock operation.",
44573
+ operationId: "accessMethodsUnlockDoorPost",
44574
+ requestBody: {
44575
+ content: {
44576
+ "application/json": {
44577
+ schema: {
44578
+ properties: {
44579
+ access_method_id: {
44580
+ description: "ID of the cloud_key `access_method` to use for the unlock operation.",
44581
+ format: "uuid",
44582
+ type: "string"
44583
+ },
44584
+ acs_entrance_id: {
44585
+ description: "ID of the entrance to unlock.",
44586
+ format: "uuid",
44587
+ type: "string"
44588
+ }
44589
+ },
44590
+ required: ["access_method_id", "acs_entrance_id"],
44591
+ type: "object"
44592
+ }
44593
+ }
44594
+ }
44595
+ },
44596
+ responses: {
44597
+ 200: {
44598
+ content: {
44599
+ "application/json": {
44600
+ schema: {
44601
+ properties: {
44602
+ action_attempt: {
44603
+ $ref: "#/components/schemas/action_attempt"
44604
+ },
44605
+ ok: { type: "boolean" }
44606
+ },
44607
+ required: ["action_attempt", "ok"],
44608
+ type: "object"
44609
+ }
44610
+ }
44611
+ },
44612
+ description: "OK"
44613
+ },
44614
+ 400: { description: "Bad Request" },
44615
+ 401: { description: "Unauthorized" }
44616
+ },
44617
+ security: [
44618
+ { pat_with_workspace: [] },
44619
+ { console_session_with_workspace: [] },
44620
+ { api_key: [] }
44621
+ ],
44622
+ summary: "/access_methods/unlock_door",
44623
+ tags: [],
44624
+ "x-action-attempt-type": "UNLOCK_DOOR",
44625
+ "x-fern-sdk-group-name": ["access_methods"],
44626
+ "x-fern-sdk-method-name": "unlock_door",
44627
+ "x-fern-sdk-return-value": "action_attempt",
44628
+ "x-response-key": "action_attempt",
44629
+ "x-title": "Unlock a Door with an Access Method"
44630
+ }
44631
+ },
44510
44632
  "/access_methods/unmanaged/get": {
44511
44633
  get: {
44512
44634
  description: "Gets an unmanaged access method (where is_managed = false).",