diff --git a/docs/api/_blueprint.json b/docs/api/_blueprint.json index 00512428e..457c09455 100644 --- a/docs/api/_blueprint.json +++ b/docs/api/_blueprint.json @@ -55282,12 +55282,100 @@ ], "workspaceScope": "required", "codeSamples": [] + }, + { + "title": "List Reservations for Space", + "name": "list_reservations", + "path": "/seam/customer/v1/spaces/list_reservations", + "parentPath": "/seam/customer/v1/spaces", + "description": "Returns a list of existing reservations for a specific space.\nIf issued_status is \"issued\", only reservations that have access methods issued will be returned.\nIf issued_status is \"pending\", only reservations that do not have access methods issued will be returned.\nIf issued_status is not provided, only reservations that do not have access methods issued will be returned.", + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": true, + "undocumentedMessage": "Internal endpoint for customer portals.", + "isDraft": false, + "draftMessage": "", + "response": { + "responseType": "resource_list", + "responseKey": "reservations", + "resourceType": "unknown", + "description": "OK", + "actionAttemptType": null, + "batchResourceTypes": null + }, + "request": { + "methods": [ + "GET", + "POST" + ], + "semanticMethod": "GET", + "preferredMethod": "POST", + "parameters": [ + { + "name": "issued_status", + "description": "Filter reservations by issued status.", + "isRequired": false, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": true, + "default": "pending", + "format": "enum", + "jsonType": "string", + "values": [ + { + "name": "issued", + "description": "", + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "" + }, + { + "name": "pending", + "description": "", + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "" + } + ] + }, + { + "name": "space_key", + "description": "Filter reservations by space key.", + "isRequired": true, + "isDeprecated": false, + "deprecationMessage": "", + "isUndocumented": false, + "undocumentedMessage": "", + "isDraft": false, + "draftMessage": "", + "hasDefault": false, + "format": "string", + "jsonType": "string" + } + ] + }, + "hasPagination": false, + "authMethods": [ + "client_session_token" + ], + "workspaceScope": "required", + "codeSamples": [] } ], "parentPath": "/seam/customer/v1", "isUndocumented": true, "isDeprecated": false, - "isDraft": true + "isDraft": false }, { "path": "/seam/customer/v1/staff_members", diff --git a/docs/api/_report.md b/docs/api/_report.md index 594e5c0f4..bc98e33f5 100644 --- a/docs/api/_report.md +++ b/docs/api/_report.md @@ -110,6 +110,7 @@ These items are intentionally undocumented. - `/seam/customer/v1/settings/update`: Internal endpoint for customer portals. - `/seam/customer/v1/spaces/create`: Only used internally. - `/seam/customer/v1/spaces/list`: Only used internally. +- `/seam/customer/v1/spaces/list_reservations`: Internal endpoint for customer portals. - `/seam/customer/v1/staff_members/get`: Internal endpoint for customer portals. - `/seam/customer/v1/staff_members/list`: Internal endpoint for customer portals. - `/seam/instant_key/v1/client_sessions/exchange_short_code`: Seam Instant Key only. @@ -470,7 +471,6 @@ These items have been marked as draft. - `/access_grants`: No draft message provided - `/access_grants/unmanaged`: No draft message provided - `/access_methods/unmanaged`: No draft message provided -- `/seam/customer/v1/spaces`: No draft message provided - `/spaces`: No draft message provided ### Endpoints @@ -643,6 +643,7 @@ These items are deprecated. - `/seam/customer/v1/reservations/get`: `reservation` - `/seam/customer/v1/reservations/list`: `reservations` - `/seam/customer/v1/settings/get`: `business_vertical` +- `/seam/customer/v1/spaces/list_reservations`: `reservations` - `/seam/customer/v1/staff_members/get`: `staff_member` - `/seam/customer/v1/staff_members/list`: `staff_members` - `/seam/instant_key/v1/preview/get`: `instant_key_preview` diff --git a/package-lock.json b/package-lock.json index 4e8fbde51..148a4dd96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@prettier/plugin-ruby": "^4.0.4", "@seamapi/blueprint": "^0.52.2", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.661.0", + "@seamapi/types": "1.662.0", "@types/command-exists": "^1.2.3", "change-case": "^5.4.4", "command-exists": "^1.2.9", @@ -983,9 +983,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.661.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.661.0.tgz", - "integrity": "sha512-R8P0VYqM5KnboNXR3BQjlICDfrkEfwUhsWcSDuJO0WIpEI4e007xdhR5hynA+Xqo8Icx/ZSjo9HSVtWqtdSB7A==", + "version": "1.662.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.662.0.tgz", + "integrity": "sha512-//iKPQFUNG/l7a9kE9oiVrV80ykfnarOfoZG1vSh3r6DLiW2IwVWKyXQafpw1un8NcvHXPKU8snz6GiMF8zAQQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 289880e9f..2375e934d 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@prettier/plugin-ruby": "^4.0.4", "@seamapi/blueprint": "^0.52.2", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.661.0", + "@seamapi/types": "1.662.0", "@types/command-exists": "^1.2.3", "change-case": "^5.4.4", "command-exists": "^1.2.9",