From 696cba8e0c10f46f6d4782b378a9305c2e6a417e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 06:34:03 +0000 Subject: [PATCH 1/2] feat(deps-dev): Bump @seamapi/types in the seam group Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/types` from 1.761.0 to 1.764.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.761.0...v1.764.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.764.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index aa4e0b4e..c0eaa7bb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@seamapi/blueprint": "^0.52.2", "@seamapi/fake-seam-connect": "^1.77.0", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.761.0", + "@seamapi/types": "1.764.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", @@ -1405,9 +1405,9 @@ "license": "MIT" }, "node_modules/@seamapi/types": { - "version": "1.761.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.761.0.tgz", - "integrity": "sha512-M25GTKyWbPYXRh0lTFZzpbtlEHMX5dbKj8amhgYe9H0tugVMYm1OMj9+w3t0V+eNXm7Qy2jw3c8IPFoLQxSmUA==", + "version": "1.764.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.764.0.tgz", + "integrity": "sha512-8DYH3xqnGanW0xUSKut60Vne0BCG0cZ+rI6B1DaTv/2fQ2lLQ50eLGfmvbe5WL8JVQAtuC3JK4IHclvH/vJAOw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index a8140181..f6de4e53 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@seamapi/blueprint": "^0.52.2", "@seamapi/fake-seam-connect": "^1.77.0", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.761.0", + "@seamapi/types": "1.764.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", From e27a9a299a176bae6fc803496adc6b4e2cc588a8 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 23 Mar 2026 06:34:55 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- .../connect/routes/seam-http-endpoints.ts | 27 ++++++++++++ .../customer/v1/reservations/reservations.ts | 41 +++++++++++++++++++ 4 files changed, 70 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index c0eaa7bb..1492acda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.761.0" + "@seamapi/types": "^1.764.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index f6de4e53..93ba0520 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.761.0" + "@seamapi/types": "^1.764.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/src/lib/seam/connect/routes/seam-http-endpoints.ts b/src/lib/seam/connect/routes/seam-http-endpoints.ts index 5195f006..66e865ba 100644 --- a/src/lib/seam/connect/routes/seam-http-endpoints.ts +++ b/src/lib/seam/connect/routes/seam-http-endpoints.ts @@ -711,6 +711,9 @@ import { type SeamCustomerV1ReservationsGetOptions, type SeamCustomerV1ReservationsGetParameters, type SeamCustomerV1ReservationsGetRequest, + type SeamCustomerV1ReservationsListAccessGrantsOptions, + type SeamCustomerV1ReservationsListAccessGrantsParameters, + type SeamCustomerV1ReservationsListAccessGrantsRequest, type SeamCustomerV1ReservationsListOptions, type SeamCustomerV1ReservationsListParameters, type SeamCustomerV1ReservationsListRequest, @@ -3682,6 +3685,29 @@ export class SeamHttpEndpoints { } } + get '/seam/customer/v1/reservations/list_access_grants'(): ( + parameters?: SeamCustomerV1ReservationsListAccessGrantsParameters, + options?: SeamCustomerV1ReservationsListAccessGrantsOptions, + ) => SeamCustomerV1ReservationsListAccessGrantsRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamCustomerV1ReservationsListAccessGrants( + ...args: Parameters< + SeamHttpSeamCustomerV1Reservations['listAccessGrants'] + > + ): ReturnType { + const seam = SeamHttpSeamCustomerV1Reservations.fromClient( + client, + defaults, + ) + return seam.listAccessGrants(...args) + } + } + get '/seam/customer/v1/settings/get'(): ( parameters?: SeamCustomerV1SettingsGetParameters, options?: SeamCustomerV1SettingsGetOptions, @@ -5059,6 +5085,7 @@ export type SeamHttpEndpointQueryPaths = | '/seam/customer/v1/portals/get' | '/seam/customer/v1/reservations/get' | '/seam/customer/v1/reservations/list' + | '/seam/customer/v1/reservations/list_access_grants' | '/seam/customer/v1/settings/get' | '/seam/customer/v1/settings/vertical_resource_aliases/get' | '/seam/customer/v1/spaces/list' diff --git a/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts b/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts index b14646dc..90d81c0f 100644 --- a/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts +++ b/src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts @@ -206,6 +206,24 @@ export class SeamHttpSeamCustomerV1Reservations { options, }) } + + listAccessGrants( + parameters?: SeamCustomerV1ReservationsListAccessGrantsParameters, + options: SeamCustomerV1ReservationsListAccessGrantsOptions = {}, + ): SeamCustomerV1ReservationsListAccessGrantsRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: '/seam/customer/v1/reservations/list_access_grants', + method: 'POST', + body: parameters, + responseKey: 'access_grants', + options, + }) + } } export type SeamCustomerV1ReservationsGetParameters = @@ -253,3 +271,26 @@ export type SeamCustomerV1ReservationsListRequest = SeamHttpRequest< > export interface SeamCustomerV1ReservationsListOptions {} + +export type SeamCustomerV1ReservationsListAccessGrantsParameters = + RouteRequestBody<'/seam/customer/v1/reservations/list_access_grants'> + +/** + * @deprecated Use SeamCustomerV1ReservationsListAccessGrantsParameters instead. + */ +export type SeamCustomerV1ReservationsListAccessGrantsParams = + SeamCustomerV1ReservationsListAccessGrantsParameters + +/** + * @deprecated Use SeamCustomerV1ReservationsListAccessGrantsRequest instead. + */ +export type SeamCustomerV1ReservationsListAccessGrantsResponse = SetNonNullable< + Required> +> + +export type SeamCustomerV1ReservationsListAccessGrantsRequest = SeamHttpRequest< + SeamCustomerV1ReservationsListAccessGrantsResponse, + 'access_grants' +> + +export interface SeamCustomerV1ReservationsListAccessGrantsOptions {}