From b236be4abedbe6dd86dc7dd013bdbfe3bc2350ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Jul 2025 06:29:31 +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.433.0 to 1.437.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.433.0...v1.437.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.437.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 003d5857..80bde6f6 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.4.4", - "@seamapi/types": "1.433.0", + "@seamapi/types": "1.437.0", "@swc/core": "^1.11.29", "@types/eslint": "^8.44.2", "@types/jsonwebtoken": "^9.0.6", @@ -1216,9 +1216,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.433.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.433.0.tgz", - "integrity": "sha512-Wj1SrJ3ONeRrwDnffeK8Cwd83n/zxvIGRUQ6e5n/2hP5SQ9z/fORWekpy4o1MTd7xGQawBEYLEwROq/wtn3xFw==", + "version": "1.437.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.437.0.tgz", + "integrity": "sha512-+rA742bee7Dy19U6lZHooi/Gx8kZmxBYUci18qPkfZ5ZCvqSg0rnOB1OkGFFw4eTQIBQ887JHhDUiYqZxK1TWQ==", "dev": true, "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index edc86528..7ee9675f 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,7 @@ "@seamapi/blueprint": "^0.51.1", "@seamapi/fake-seam-connect": "^1.77.0", "@seamapi/smith": "^0.4.4", - "@seamapi/types": "1.433.0", + "@seamapi/types": "1.437.0", "@swc/core": "^1.11.29", "@types/eslint": "^8.44.2", "@types/jsonwebtoken": "^9.0.6", From 55a2b448997d3f8bdc0d175c1ac799efb3cd7546 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 3 Jul 2025 06:31:19 +0000 Subject: [PATCH 2/2] ci: Generate code --- package-lock.json | 2 +- package.json | 2 +- .../connect/routes/locks/simulate/simulate.ts | 15 --------------- .../seam/connect/routes/seam-http-endpoints.ts | 10 ---------- 4 files changed, 2 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 80bde6f6..44fdbeea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "npm": ">=10.1.0" }, "peerDependencies": { - "@seamapi/types": "^1.433.0" + "@seamapi/types": "^1.437.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index 7ee9675f..a8b797b9 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "npm": ">=10.1.0" }, "peerDependencies": { - "@seamapi/types": "^1.433.0" + "@seamapi/types": "^1.437.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/src/lib/seam/connect/routes/locks/simulate/simulate.ts b/src/lib/seam/connect/routes/locks/simulate/simulate.ts index 0e1f7e6f..48310c82 100644 --- a/src/lib/seam/connect/routes/locks/simulate/simulate.ts +++ b/src/lib/seam/connect/routes/locks/simulate/simulate.ts @@ -44,11 +44,6 @@ export class SeamHttpLocksSimulate { constructor(apiKeyOrOptions: string | SeamHttpOptions = {}) { const options = parseOptions(apiKeyOrOptions) - if (!options.isUndocumentedApiEnabled) { - throw new Error( - 'Cannot use undocumented API without isUndocumentedApiEnabled', - ) - } this.client = 'client' in options ? options.client : createClient(options) this.defaults = limitToSeamHttpRequestOptions(options) } @@ -172,11 +167,6 @@ export class SeamHttpLocksSimulate { parameters?: LocksSimulateKeypadCodeEntryParameters, options: LocksSimulateKeypadCodeEntryOptions = {}, ): LocksSimulateKeypadCodeEntryRequest { - if (!this.defaults.isUndocumentedApiEnabled) { - throw new Error( - 'Cannot use undocumented API without isUndocumentedApiEnabled', - ) - } return new SeamHttpRequest(this, { pathname: '/locks/simulate/keypad_code_entry', method: 'POST', @@ -190,11 +180,6 @@ export class SeamHttpLocksSimulate { parameters?: LocksSimulateManualLockViaKeypadParameters, options: LocksSimulateManualLockViaKeypadOptions = {}, ): LocksSimulateManualLockViaKeypadRequest { - if (!this.defaults.isUndocumentedApiEnabled) { - throw new Error( - 'Cannot use undocumented API without isUndocumentedApiEnabled', - ) - } return new SeamHttpRequest(this, { pathname: '/locks/simulate/manual_lock_via_keypad', method: 'POST', diff --git a/src/lib/seam/connect/routes/seam-http-endpoints.ts b/src/lib/seam/connect/routes/seam-http-endpoints.ts index 1db555e1..1c33e60f 100644 --- a/src/lib/seam/connect/routes/seam-http-endpoints.ts +++ b/src/lib/seam/connect/routes/seam-http-endpoints.ts @@ -2524,11 +2524,6 @@ export class SeamHttpEndpoints { options?: LocksSimulateKeypadCodeEntryOptions, ) => LocksSimulateKeypadCodeEntryRequest { const { client, defaults } = this - if (!this.defaults.isUndocumentedApiEnabled) { - throw new Error( - 'Cannot use undocumented API without isUndocumentedApiEnabled', - ) - } return function locksSimulateKeypadCodeEntry( ...args: Parameters ): ReturnType { @@ -2542,11 +2537,6 @@ export class SeamHttpEndpoints { options?: LocksSimulateManualLockViaKeypadOptions, ) => LocksSimulateManualLockViaKeypadRequest { const { client, defaults } = this - if (!this.defaults.isUndocumentedApiEnabled) { - throw new Error( - 'Cannot use undocumented API without isUndocumentedApiEnabled', - ) - } return function locksSimulateManualLockViaKeypad( ...args: Parameters ): ReturnType {