Skip to content

Commit cd695a3

Browse files
authored
feat: Update to @seamapi/[email protected] (#979)
* feat: Update to @seamapi/[email protected] * ci: Generate docs
1 parent 75d2bea commit cd695a3

File tree

4 files changed

+96
-7
lines changed

4 files changed

+96
-7
lines changed

docs/api/_blueprint.json

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55282,12 +55282,100 @@
5528255282
],
5528355283
"workspaceScope": "required",
5528455284
"codeSamples": []
55285+
},
55286+
{
55287+
"title": "List Reservations for Space",
55288+
"name": "list_reservations",
55289+
"path": "/seam/customer/v1/spaces/list_reservations",
55290+
"parentPath": "/seam/customer/v1/spaces",
55291+
"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.",
55292+
"isDeprecated": false,
55293+
"deprecationMessage": "",
55294+
"isUndocumented": true,
55295+
"undocumentedMessage": "Internal endpoint for customer portals.",
55296+
"isDraft": false,
55297+
"draftMessage": "",
55298+
"response": {
55299+
"responseType": "resource_list",
55300+
"responseKey": "reservations",
55301+
"resourceType": "unknown",
55302+
"description": "OK",
55303+
"actionAttemptType": null,
55304+
"batchResourceTypes": null
55305+
},
55306+
"request": {
55307+
"methods": [
55308+
"GET",
55309+
"POST"
55310+
],
55311+
"semanticMethod": "GET",
55312+
"preferredMethod": "POST",
55313+
"parameters": [
55314+
{
55315+
"name": "issued_status",
55316+
"description": "Filter reservations by issued status.",
55317+
"isRequired": false,
55318+
"isDeprecated": false,
55319+
"deprecationMessage": "",
55320+
"isUndocumented": false,
55321+
"undocumentedMessage": "",
55322+
"isDraft": false,
55323+
"draftMessage": "",
55324+
"hasDefault": true,
55325+
"default": "pending",
55326+
"format": "enum",
55327+
"jsonType": "string",
55328+
"values": [
55329+
{
55330+
"name": "issued",
55331+
"description": "",
55332+
"isDeprecated": false,
55333+
"deprecationMessage": "",
55334+
"isUndocumented": false,
55335+
"undocumentedMessage": "",
55336+
"isDraft": false,
55337+
"draftMessage": ""
55338+
},
55339+
{
55340+
"name": "pending",
55341+
"description": "",
55342+
"isDeprecated": false,
55343+
"deprecationMessage": "",
55344+
"isUndocumented": false,
55345+
"undocumentedMessage": "",
55346+
"isDraft": false,
55347+
"draftMessage": ""
55348+
}
55349+
]
55350+
},
55351+
{
55352+
"name": "space_key",
55353+
"description": "Filter reservations by space key.",
55354+
"isRequired": true,
55355+
"isDeprecated": false,
55356+
"deprecationMessage": "",
55357+
"isUndocumented": false,
55358+
"undocumentedMessage": "",
55359+
"isDraft": false,
55360+
"draftMessage": "",
55361+
"hasDefault": false,
55362+
"format": "string",
55363+
"jsonType": "string"
55364+
}
55365+
]
55366+
},
55367+
"hasPagination": false,
55368+
"authMethods": [
55369+
"client_session_token"
55370+
],
55371+
"workspaceScope": "required",
55372+
"codeSamples": []
5528555373
}
5528655374
],
5528755375
"parentPath": "/seam/customer/v1",
5528855376
"isUndocumented": true,
5528955377
"isDeprecated": false,
55290-
"isDraft": true
55378+
"isDraft": false
5529155379
},
5529255380
{
5529355381
"path": "/seam/customer/v1/staff_members",

docs/api/_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ These items are intentionally undocumented.
110110
- `/seam/customer/v1/settings/update`: Internal endpoint for customer portals.
111111
- `/seam/customer/v1/spaces/create`: Only used internally.
112112
- `/seam/customer/v1/spaces/list`: Only used internally.
113+
- `/seam/customer/v1/spaces/list_reservations`: Internal endpoint for customer portals.
113114
- `/seam/customer/v1/staff_members/get`: Internal endpoint for customer portals.
114115
- `/seam/customer/v1/staff_members/list`: Internal endpoint for customer portals.
115116
- `/seam/instant_key/v1/client_sessions/exchange_short_code`: Seam Instant Key only.
@@ -470,7 +471,6 @@ These items have been marked as draft.
470471
- `/access_grants`: No draft message provided
471472
- `/access_grants/unmanaged`: No draft message provided
472473
- `/access_methods/unmanaged`: No draft message provided
473-
- `/seam/customer/v1/spaces`: No draft message provided
474474
- `/spaces`: No draft message provided
475475

476476
### Endpoints
@@ -643,6 +643,7 @@ These items are deprecated.
643643
- `/seam/customer/v1/reservations/get`: `reservation`
644644
- `/seam/customer/v1/reservations/list`: `reservations`
645645
- `/seam/customer/v1/settings/get`: `business_vertical`
646+
- `/seam/customer/v1/spaces/list_reservations`: `reservations`
646647
- `/seam/customer/v1/staff_members/get`: `staff_member`
647648
- `/seam/customer/v1/staff_members/list`: `staff_members`
648649
- `/seam/instant_key/v1/preview/get`: `instant_key_preview`

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@prettier/plugin-ruby": "^4.0.4",
3333
"@seamapi/blueprint": "^0.52.2",
3434
"@seamapi/smith": "^0.5.2",
35-
"@seamapi/types": "1.661.0",
35+
"@seamapi/types": "1.662.0",
3636
"@types/command-exists": "^1.2.3",
3737
"change-case": "^5.4.4",
3838
"command-exists": "^1.2.9",

0 commit comments

Comments
 (0)