From aaaa7b1f95b3f726f27c0938584477adab4499d2 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 29 Sep 2025 19:09:20 +0000 Subject: [PATCH 1/2] feat: Update to @seamapi/types@1.593.0 --- package-lock.json | 8 ++--- package.json | 2 +- .../connect/routes/seam-http-endpoints.ts | 17 +++++++++ .../routes/seam/customer/v1/spaces/spaces.ts | 35 +++++++++++++++++++ 4 files changed, 57 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index bfff7b63..e4f52ed3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "@seamapi/blueprint": "^0.51.1", "@seamapi/fake-seam-connect": "^1.77.0", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.591.0", + "@seamapi/types": "1.593.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^22.15.21", @@ -1371,9 +1371,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.591.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.591.0.tgz", - "integrity": "sha512-9r1414GHNbTX85XpEl9tvbiPDvw/TDghWMJk5TSz0CXkwafhOpvY08Wfl16KAPHdN5qVClDlLO9eG4ZS8z8BUQ==", + "version": "1.593.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.593.0.tgz", + "integrity": "sha512-vQE+dNC6sly/QWQQgI3A/hIaasrakKcYBBthOGXHTJFY9J+3a74FMaJp07JCm/1hSPUuhbFscqdPSb0VX4Onxw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index a17df0e3..6ff72db0 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@seamapi/blueprint": "^0.51.1", "@seamapi/fake-seam-connect": "^1.77.0", "@seamapi/smith": "^0.5.2", - "@seamapi/types": "1.591.0", + "@seamapi/types": "1.593.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^22.15.21", diff --git a/src/lib/seam/connect/routes/seam-http-endpoints.ts b/src/lib/seam/connect/routes/seam-http-endpoints.ts index cfe379be..d46a76d5 100644 --- a/src/lib/seam/connect/routes/seam-http-endpoints.ts +++ b/src/lib/seam/connect/routes/seam-http-endpoints.ts @@ -624,6 +624,9 @@ import { type SeamCustomerV1SpacesCreateOptions, type SeamCustomerV1SpacesCreateParameters, type SeamCustomerV1SpacesCreateRequest, + type SeamCustomerV1SpacesListOptions, + type SeamCustomerV1SpacesListParameters, + type SeamCustomerV1SpacesListRequest, SeamHttpSeamCustomerV1Spaces, } from './seam/customer/v1/spaces/index.js' import { @@ -3170,6 +3173,19 @@ export class SeamHttpEndpoints { } } + get '/seam/customer/v1/spaces/list'(): ( + parameters?: SeamCustomerV1SpacesListParameters, + options?: SeamCustomerV1SpacesListOptions, + ) => SeamCustomerV1SpacesListRequest { + const { client, defaults } = this + return function seamCustomerV1SpacesList( + ...args: Parameters + ): ReturnType { + const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults) + return seam.list(...args) + } + } + get '/seam/partner/v1/building_blocks/spaces/auto_map'(): ( parameters?: SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, options?: SeamPartnerV1BuildingBlocksSpacesAutoMapOptions, @@ -4354,6 +4370,7 @@ export type SeamHttpEndpointQueryPaths = | '/seam/customer/v1/reservations/get' | '/seam/customer/v1/reservations/list' | '/seam/customer/v1/settings/get' + | '/seam/customer/v1/spaces/list' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/get_related' diff --git a/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts b/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts index 7d9f8bb0..b07a2eaf 100644 --- a/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +++ b/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts @@ -175,6 +175,19 @@ export class SeamHttpSeamCustomerV1Spaces { options, }) } + + list( + parameters?: SeamCustomerV1SpacesListParameters, + options: SeamCustomerV1SpacesListOptions = {}, + ): SeamCustomerV1SpacesListRequest { + return new SeamHttpRequest(this, { + pathname: '/seam/customer/v1/spaces/list', + method: 'POST', + body: parameters, + responseKey: 'spaces', + options, + }) + } } export type SeamCustomerV1SpacesCreateParameters = @@ -199,3 +212,25 @@ export type SeamCustomerV1SpacesCreateRequest = SeamHttpRequest< > export interface SeamCustomerV1SpacesCreateOptions {} + +export type SeamCustomerV1SpacesListParameters = + RouteRequestBody<'/seam/customer/v1/spaces/list'> + +/** + * @deprecated Use SeamCustomerV1SpacesListParameters instead. + */ +export type SeamCustomerV1SpacesListParams = SeamCustomerV1SpacesListParameters + +/** + * @deprecated Use SeamCustomerV1SpacesListRequest instead. + */ +export type SeamCustomerV1SpacesListResponse = SetNonNullable< + Required> +> + +export type SeamCustomerV1SpacesListRequest = SeamHttpRequest< + SeamCustomerV1SpacesListResponse, + 'spaces' +> + +export interface SeamCustomerV1SpacesListOptions {} From 285584967257ba13030cc30986f7ff79757fa032 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 29 Sep 2025 19:12:07 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index e4f52ed3..86747246 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "npm": ">=10.1.0" }, "peerDependencies": { - "@seamapi/types": "^1.591.0" + "@seamapi/types": "^1.593.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index 6ff72db0..7d31be2c 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "npm": ">=10.1.0" }, "peerDependencies": { - "@seamapi/types": "^1.591.0" + "@seamapi/types": "^1.593.0" }, "peerDependenciesMeta": { "@seamapi/types": {