From 0a28a53c2a30896bd2407bb2eed464a89cdc7a05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 06:33:37 +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.768.1 to 1.772.0 - [Release notes](https://github.com/seamapi/types/releases) - [Commits](https://github.com/seamapi/types/compare/v1.768.1...v1.772.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.772.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 6b9fad96..a85e8803 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.768.1", + "@seamapi/types": "1.772.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.768.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.768.1.tgz", - "integrity": "sha512-BBYgxv+gaE0rz2iekFB5tYm3VzQ8o/xEGbsZy0AXg/FpVtsTxT2f0481XEh6a7UXEJYYEtHZvA7/bXJyXymcnA==", + "version": "1.772.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.772.0.tgz", + "integrity": "sha512-/MFq/zRLLo4/QDgOR1jIPWfqGeAAlH4plSRLJ0njdfV0AHFqODlCUp8uE2oOO6LYsNOXXPltG1hLR6TDIMBXPg==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index ed07cd4d..3981682a 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.768.1", + "@seamapi/types": "1.772.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", From 55957b686783baa247e4c9fdafcb0e3d361b4c88 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 31 Mar 2026 06:34:24 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- .../connect/routes/seam-http-endpoints.ts | 22 ++++++++++ .../seam/customer/v1/portals/portals.ts | 41 +++++++++++++++++++ 4 files changed, 65 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a85e8803..e54590ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.768.1" + "@seamapi/types": "^1.772.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index 3981682a..8a8c6bdd 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.768.1" + "@seamapi/types": "^1.772.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 db4bfb1f..8760bab6 100644 --- a/src/lib/seam/connect/routes/seam-http-endpoints.ts +++ b/src/lib/seam/connect/routes/seam-http-endpoints.ts @@ -708,6 +708,9 @@ import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest, + type SeamCustomerV1PortalsUpdateOptions, + type SeamCustomerV1PortalsUpdateParameters, + type SeamCustomerV1PortalsUpdateRequest, SeamHttpSeamCustomerV1Portals, } from './seam/customer/v1/portals/index.js' import { @@ -3684,6 +3687,24 @@ export class SeamHttpEndpoints { } } + get '/seam/customer/v1/portals/update'(): ( + parameters?: SeamCustomerV1PortalsUpdateParameters, + options?: SeamCustomerV1PortalsUpdateOptions, + ) => SeamCustomerV1PortalsUpdateRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamCustomerV1PortalsUpdate( + ...args: Parameters + ): ReturnType { + const seam = SeamHttpSeamCustomerV1Portals.fromClient(client, defaults) + return seam.update(...args) + } + } + get '/seam/customer/v1/reservations/get'(): ( parameters?: SeamCustomerV1ReservationsGetParameters, options?: SeamCustomerV1ReservationsGetOptions, @@ -5278,6 +5299,7 @@ export type SeamHttpEndpointMutationPaths = | '/seam/customer/v1/connectors/update' | '/seam/customer/v1/customers/automations/update' | '/seam/customer/v1/customers/open_portal' + | '/seam/customer/v1/portals/update' | '/seam/customer/v1/settings/update' | '/seam/customer/v1/spaces/create' | '/seam/customer/v1/spaces/push_common_areas' diff --git a/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts b/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts index 0a9746f5..049ca791 100644 --- a/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +++ b/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts @@ -185,6 +185,24 @@ export class SeamHttpSeamCustomerV1Portals { options, }) } + + update( + parameters?: SeamCustomerV1PortalsUpdateParameters, + options: SeamCustomerV1PortalsUpdateOptions = {}, + ): SeamCustomerV1PortalsUpdateRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: '/seam/customer/v1/portals/update', + method: 'PATCH', + body: parameters, + responseKey: undefined, + options, + }) + } } export type SeamCustomerV1PortalsGetParameters = @@ -208,3 +226,26 @@ export type SeamCustomerV1PortalsGetRequest = SeamHttpRequest< > export interface SeamCustomerV1PortalsGetOptions {} + +export type SeamCustomerV1PortalsUpdateParameters = + RouteRequestBody<'/seam/customer/v1/portals/update'> + +/** + * @deprecated Use SeamCustomerV1PortalsUpdateParameters instead. + */ +export type SeamCustomerV1PortalsUpdateBody = + SeamCustomerV1PortalsUpdateParameters + +/** + * @deprecated Use SeamCustomerV1PortalsUpdateRequest instead. + */ +export type SeamCustomerV1PortalsUpdateResponse = SetNonNullable< + Required> +> + +export type SeamCustomerV1PortalsUpdateRequest = SeamHttpRequest< + void, + undefined +> + +export interface SeamCustomerV1PortalsUpdateOptions {}