@seamapi/types 1.593.0 → 1.594.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
@@ -31946,6 +31946,85 @@ var openapi_default = {
31946
31946
  "x-title": "List Access Grants"
31947
31947
  }
31948
31948
  },
31949
+ "/access_grants/request_access_methods": {
31950
+ post: {
31951
+ description: "Adds additional requested access methods to an existing Access Grant.",
31952
+ operationId: "accessGrantsRequestAccessMethodsPost",
31953
+ requestBody: {
31954
+ content: {
31955
+ "application/json": {
31956
+ schema: {
31957
+ properties: {
31958
+ access_grant_id: {
31959
+ description: "ID of the Access Grant to add access methods to.",
31960
+ format: "uuid",
31961
+ type: "string"
31962
+ },
31963
+ requested_access_methods: {
31964
+ description: "Array of requested access methods to add to the access grant.",
31965
+ items: {
31966
+ properties: {
31967
+ code: {
31968
+ description: "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
31969
+ maxLength: 9,
31970
+ minLength: 4,
31971
+ pattern: "^\\d+$",
31972
+ type: "string"
31973
+ },
31974
+ mode: {
31975
+ description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
31976
+ enum: ["code", "card", "mobile_key"],
31977
+ type: "string"
31978
+ }
31979
+ },
31980
+ required: ["mode"],
31981
+ type: "object"
31982
+ },
31983
+ minItems: 1,
31984
+ type: "array"
31985
+ }
31986
+ },
31987
+ required: ["access_grant_id", "requested_access_methods"],
31988
+ type: "object"
31989
+ }
31990
+ }
31991
+ }
31992
+ },
31993
+ responses: {
31994
+ 200: {
31995
+ content: {
31996
+ "application/json": {
31997
+ schema: {
31998
+ properties: {
31999
+ access_grant: { $ref: "#/components/schemas/access_grant" },
32000
+ ok: { type: "boolean" }
32001
+ },
32002
+ required: ["access_grant", "ok"],
32003
+ type: "object"
32004
+ }
32005
+ }
32006
+ },
32007
+ description: "OK"
32008
+ },
32009
+ 400: { description: "Bad Request" },
32010
+ 401: { description: "Unauthorized" }
32011
+ },
32012
+ security: [
32013
+ { pat_with_workspace: [] },
32014
+ { console_session_with_workspace: [] },
32015
+ { api_key: [] },
32016
+ { client_session_with_customer: [] }
32017
+ ],
32018
+ summary: "/access_grants/request_access_methods",
32019
+ tags: [],
32020
+ "x-draft": "Early access.",
32021
+ "x-fern-sdk-group-name": ["access_grants"],
32022
+ "x-fern-sdk-method-name": "request_access_methods",
32023
+ "x-fern-sdk-return-value": "access_grant",
32024
+ "x-response-key": "access_grant",
32025
+ "x-title": "Add Requested Access Methods to Access Grant"
32026
+ }
32027
+ },
31949
32028
  "/access_grants/unmanaged/get": {
31950
32029
  get: {
31951
32030
  description: "Get an unmanaged Access Grant (where is_managed = false).",