@seamapi/types 1.875.0 → 1.876.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
@@ -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.",