From cd59eec5871348b8600518fa4c9b810ea1ebf10b Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 10 Jul 2026 15:39:37 +0000 Subject: [PATCH 1/2] feat: Update to @seamapi/types@1.940.0 --- package-lock.json | 8 +- package.json | 2 +- .../connect/routes/seam-http-endpoints.ts | 115 ++++++ .../connect/routes/seam/console/v1/index.ts | 1 + .../seam/console/v1/lynx-migration/index.ts | 6 + .../v1/lynx-migration/lynx-migration.ts | 350 ++++++++++++++++++ .../seam/connect/routes/seam/console/v1/v1.ts | 8 + 7 files changed, 485 insertions(+), 5 deletions(-) create mode 100644 src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts create mode 100644 src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts diff --git a/package-lock.json b/package-lock.json index 72ebb3f2..dc0235be 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.908.0", + "@seamapi/types": "1.940.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.908.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.908.0.tgz", - "integrity": "sha512-crqHgK+6Uz1y0CN432bis9Eunb9qOSvJr6CUB64zBNOGnm2RlM428SOoFnf9NUHVyPdANNyQZwG7ReQhyevN0g==", + "version": "1.940.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.940.0.tgz", + "integrity": "sha512-NXMIOUGJysWBuyBeea2s9XlI7laqSaw4W8xRayDV9Q/K0P6gTqFEovNAkh6WkSbvcLSF9uBSQU6BjRWvLdImpA==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index f461ff96..ec8cc85a 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.908.0", + "@seamapi/types": "1.940.0", "@swc/core": "^1.11.29", "@types/jsonwebtoken": "^9.0.6", "@types/node": "^24.10.9", diff --git a/src/lib/seam/connect/routes/seam-http-endpoints.ts b/src/lib/seam/connect/routes/seam-http-endpoints.ts index 83da0a0e..1df13495 100644 --- a/src/lib/seam/connect/routes/seam-http-endpoints.ts +++ b/src/lib/seam/connect/routes/seam-http-endpoints.ts @@ -611,6 +611,21 @@ import { type SeamConsoleV1GetResourceLocatorRequest, SeamHttpSeamConsoleV1, } from './seam/console/v1/index.js' +import { + type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions, + type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters, + type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest, + type SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions, + type SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters, + type SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest, + type SeamConsoleV1LynxMigrationListPropertyReservationsOptions, + type SeamConsoleV1LynxMigrationListPropertyReservationsParameters, + type SeamConsoleV1LynxMigrationListPropertyReservationsRequest, + type SeamConsoleV1LynxMigrationMigratePropertyOptions, + type SeamConsoleV1LynxMigrationMigratePropertyParameters, + type SeamConsoleV1LynxMigrationMigratePropertyRequest, + SeamHttpSeamConsoleV1LynxMigration, +} from './seam/console/v1/lynx-migration/index.js' import { type SeamConsoleV1SitesCreateOptions, type SeamConsoleV1SitesCreateParameters, @@ -3309,6 +3324,102 @@ export class SeamHttpEndpoints { } } + get '/seam/console/v1/lynx_migration/get_property_migration_status'(): ( + parameters?: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters, + options?: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions, + ) => SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamConsoleV1LynxMigrationGetPropertyMigrationStatus( + ...args: Parameters< + SeamHttpSeamConsoleV1LynxMigration['getPropertyMigrationStatus'] + > + ): ReturnType< + SeamHttpSeamConsoleV1LynxMigration['getPropertyMigrationStatus'] + > { + const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient( + client, + defaults, + ) + return seam.getPropertyMigrationStatus(...args) + } + } + + get '/seam/console/v1/lynx_migration/get_reservation_migration_status'(): ( + parameters?: SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters, + options?: SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions, + ) => SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamConsoleV1LynxMigrationGetReservationMigrationStatus( + ...args: Parameters< + SeamHttpSeamConsoleV1LynxMigration['getReservationMigrationStatus'] + > + ): ReturnType< + SeamHttpSeamConsoleV1LynxMigration['getReservationMigrationStatus'] + > { + const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient( + client, + defaults, + ) + return seam.getReservationMigrationStatus(...args) + } + } + + get '/seam/console/v1/lynx_migration/list_property_reservations'(): ( + parameters?: SeamConsoleV1LynxMigrationListPropertyReservationsParameters, + options?: SeamConsoleV1LynxMigrationListPropertyReservationsOptions, + ) => SeamConsoleV1LynxMigrationListPropertyReservationsRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamConsoleV1LynxMigrationListPropertyReservations( + ...args: Parameters< + SeamHttpSeamConsoleV1LynxMigration['listPropertyReservations'] + > + ): ReturnType< + SeamHttpSeamConsoleV1LynxMigration['listPropertyReservations'] + > { + const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient( + client, + defaults, + ) + return seam.listPropertyReservations(...args) + } + } + + get '/seam/console/v1/lynx_migration/migrate_property'(): ( + parameters?: SeamConsoleV1LynxMigrationMigratePropertyParameters, + options?: SeamConsoleV1LynxMigrationMigratePropertyOptions, + ) => SeamConsoleV1LynxMigrationMigratePropertyRequest { + const { client, defaults } = this + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return function seamConsoleV1LynxMigrationMigrateProperty( + ...args: Parameters + ): ReturnType { + const seam = SeamHttpSeamConsoleV1LynxMigration.fromClient( + client, + defaults, + ) + return seam.migrateProperty(...args) + } + } + get '/seam/console/v1/sites/create'(): ( parameters?: SeamConsoleV1SitesCreateParameters, options?: SeamConsoleV1SitesCreateOptions, @@ -5375,6 +5486,9 @@ export type SeamHttpEndpointQueryPaths = | '/phones/get' | '/phones/list' | '/seam/console/v1/get_resource_locator' + | '/seam/console/v1/lynx_migration/get_property_migration_status' + | '/seam/console/v1/lynx_migration/get_reservation_migration_status' + | '/seam/console/v1/lynx_migration/list_property_reservations' | '/seam/console/v1/sites/list' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/access_grants/list' @@ -5535,6 +5649,7 @@ export type SeamHttpEndpointMutationPaths = | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' + | '/seam/console/v1/lynx_migration/migrate_property' | '/seam/console/v1/sites/create' | '/seam/console/v1/sites/delete' | '/seam/console/v1/sites/update' diff --git a/src/lib/seam/connect/routes/seam/console/v1/index.ts b/src/lib/seam/connect/routes/seam/console/v1/index.ts index 2a706f21..ca42ba25 100644 --- a/src/lib/seam/connect/routes/seam/console/v1/index.ts +++ b/src/lib/seam/connect/routes/seam/console/v1/index.ts @@ -3,6 +3,7 @@ * Do not edit this file or add other files to this directory. */ +export * from './lynx-migration/index.js' export * from './sites/index.js' export * from './timelines/index.js' export * from './v1.js' diff --git a/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts b/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts new file mode 100644 index 00000000..3d495e3b --- /dev/null +++ b/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/index.ts @@ -0,0 +1,6 @@ +/* + * Automatically generated by codegen/smith.ts. + * Do not edit this file or add other files to this directory. + */ + +export * from './lynx-migration.js' diff --git a/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts b/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts new file mode 100644 index 00000000..153ddfb6 --- /dev/null +++ b/src/lib/seam/connect/routes/seam/console/v1/lynx-migration/lynx-migration.ts @@ -0,0 +1,350 @@ +/* + * Automatically generated by codegen/smith.ts. + * Do not edit this file or add other files to this directory. + */ + +import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect' + +import { seamApiLtsVersion } from 'lib/lts-version.js' +import { + getAuthHeadersForClientSessionToken, + warnOnInsecureuserIdentifierKey, +} from 'lib/seam/connect/auth.js' +import { type Client, createClient } from 'lib/seam/connect/client.js' +import { + isSeamHttpOptionsWithApiKey, + isSeamHttpOptionsWithClient, + isSeamHttpOptionsWithClientSessionToken, + isSeamHttpOptionsWithConsoleSessionToken, + isSeamHttpOptionsWithPersonalAccessToken, + type SeamHttpFromPublishableKeyOptions, + SeamHttpInvalidOptionsError, + type SeamHttpOptions, + type SeamHttpOptionsWithApiKey, + type SeamHttpOptionsWithClient, + type SeamHttpOptionsWithClientSessionToken, + type SeamHttpOptionsWithConsoleSessionToken, + type SeamHttpOptionsWithPersonalAccessToken, + type SeamHttpRequestOptions, +} from 'lib/seam/connect/options.js' +import { + limitToSeamHttpRequestOptions, + parseOptions, +} from 'lib/seam/connect/parse-options.js' +import { SeamHttpClientSessions } from 'lib/seam/connect/routes/client-sessions/index.js' +import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' +import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js' +import type { SetNonNullable } from 'lib/types.js' + +export class SeamHttpSeamConsoleV1LynxMigration { + client: Client + readonly defaults: Required + readonly ltsVersion = seamApiLtsVersion + static ltsVersion = seamApiLtsVersion + + 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) + } + + static fromClient( + client: SeamHttpOptionsWithClient['client'], + options: Omit = {}, + ): SeamHttpSeamConsoleV1LynxMigration { + const constructorOptions = { ...options, client } + if (!isSeamHttpOptionsWithClient(constructorOptions)) { + throw new SeamHttpInvalidOptionsError('Missing client') + } + return new SeamHttpSeamConsoleV1LynxMigration(constructorOptions) + } + + static fromApiKey( + apiKey: SeamHttpOptionsWithApiKey['apiKey'], + options: Omit = {}, + ): SeamHttpSeamConsoleV1LynxMigration { + const constructorOptions = { ...options, apiKey } + if (!isSeamHttpOptionsWithApiKey(constructorOptions)) { + throw new SeamHttpInvalidOptionsError('Missing apiKey') + } + return new SeamHttpSeamConsoleV1LynxMigration(constructorOptions) + } + + static fromClientSessionToken( + clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], + options: Omit< + SeamHttpOptionsWithClientSessionToken, + 'clientSessionToken' + > = {}, + ): SeamHttpSeamConsoleV1LynxMigration { + const constructorOptions = { ...options, clientSessionToken } + if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) { + throw new SeamHttpInvalidOptionsError('Missing clientSessionToken') + } + return new SeamHttpSeamConsoleV1LynxMigration(constructorOptions) + } + + static async fromPublishableKey( + publishableKey: string, + userIdentifierKey: string, + options: SeamHttpFromPublishableKeyOptions = {}, + ): Promise { + warnOnInsecureuserIdentifierKey(userIdentifierKey) + const clientOptions = parseOptions({ ...options, publishableKey }) + if (isSeamHttpOptionsWithClient(clientOptions)) { + throw new SeamHttpInvalidOptionsError( + 'The client option cannot be used with SeamHttpSeamConsoleV1LynxMigration.fromPublishableKey', + ) + } + const client = createClient(clientOptions) + const clientSessions = SeamHttpClientSessions.fromClient(client) + const { token } = await clientSessions.getOrCreate({ + user_identifier_key: userIdentifierKey, + }) + return SeamHttpSeamConsoleV1LynxMigration.fromClientSessionToken( + token, + options, + ) + } + + static fromConsoleSessionToken( + consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], + workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], + options: Omit< + SeamHttpOptionsWithConsoleSessionToken, + 'consoleSessionToken' | 'workspaceId' + > = {}, + ): SeamHttpSeamConsoleV1LynxMigration { + const constructorOptions = { ...options, consoleSessionToken, workspaceId } + if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) { + throw new SeamHttpInvalidOptionsError( + 'Missing consoleSessionToken or workspaceId', + ) + } + return new SeamHttpSeamConsoleV1LynxMigration(constructorOptions) + } + + static fromPersonalAccessToken( + personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], + workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], + options: Omit< + SeamHttpOptionsWithPersonalAccessToken, + 'personalAccessToken' | 'workspaceId' + > = {}, + ): SeamHttpSeamConsoleV1LynxMigration { + const constructorOptions = { ...options, personalAccessToken, workspaceId } + if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) { + throw new SeamHttpInvalidOptionsError( + 'Missing personalAccessToken or workspaceId', + ) + } + return new SeamHttpSeamConsoleV1LynxMigration(constructorOptions) + } + + createPaginator( + request: SeamHttpRequest, + ): SeamPaginator { + return new SeamPaginator(this, request) + } + + async updateClientSessionToken( + clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], + ): Promise { + const { headers } = this.client.defaults + const authHeaders = getAuthHeadersForClientSessionToken({ + clientSessionToken, + }) + for (const key of Object.keys(authHeaders)) { + if (headers[key] == null) { + throw new Error( + 'Cannot update a clientSessionToken on a client created without a clientSessionToken', + ) + } + } + this.client.defaults.headers = { ...headers, ...authHeaders } + const clientSessions = SeamHttpClientSessions.fromClient(this.client) + await clientSessions.get() + } + + getPropertyMigrationStatus( + parameters?: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters, + options: SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions = {}, + ): SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: '/seam/console/v1/lynx_migration/get_property_migration_status', + method: 'POST', + body: parameters, + responseKey: 'lynx_migration_property_run', + options, + }) + } + + getReservationMigrationStatus( + parameters?: SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters, + options: SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions = {}, + ): SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: + '/seam/console/v1/lynx_migration/get_reservation_migration_status', + method: 'POST', + body: parameters, + responseKey: 'lynx_migration_reservation_run', + options, + }) + } + + listPropertyReservations( + parameters?: SeamConsoleV1LynxMigrationListPropertyReservationsParameters, + options: SeamConsoleV1LynxMigrationListPropertyReservationsOptions = {}, + ): SeamConsoleV1LynxMigrationListPropertyReservationsRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: '/seam/console/v1/lynx_migration/list_property_reservations', + method: 'POST', + body: parameters, + responseKey: 'lynx_migration_property_plan', + options, + }) + } + + migrateProperty( + parameters?: SeamConsoleV1LynxMigrationMigratePropertyParameters, + options: SeamConsoleV1LynxMigrationMigratePropertyOptions = {}, + ): SeamConsoleV1LynxMigrationMigratePropertyRequest { + if (!this.defaults.isUndocumentedApiEnabled) { + throw new Error( + 'Cannot use undocumented API without isUndocumentedApiEnabled', + ) + } + return new SeamHttpRequest(this, { + pathname: '/seam/console/v1/lynx_migration/migrate_property', + method: 'POST', + body: parameters, + responseKey: 'lynx_migration_property_run', + options, + }) + } +} + +export type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters = + RouteRequestBody<'/seam/console/v1/lynx_migration/get_property_migration_status'> + +/** + * @deprecated Use SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters instead. + */ +export type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParams = + SeamConsoleV1LynxMigrationGetPropertyMigrationStatusParameters + +/** + * @deprecated Use SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest instead. + */ +export type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusResponse = + SetNonNullable< + Required< + RouteResponse<'/seam/console/v1/lynx_migration/get_property_migration_status'> + > + > + +export type SeamConsoleV1LynxMigrationGetPropertyMigrationStatusRequest = + SeamHttpRequest< + SeamConsoleV1LynxMigrationGetPropertyMigrationStatusResponse, + 'lynx_migration_property_run' + > + +export interface SeamConsoleV1LynxMigrationGetPropertyMigrationStatusOptions {} + +export type SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters = + RouteRequestBody<'/seam/console/v1/lynx_migration/get_reservation_migration_status'> + +/** + * @deprecated Use SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters instead. + */ +export type SeamConsoleV1LynxMigrationGetReservationMigrationStatusParams = + SeamConsoleV1LynxMigrationGetReservationMigrationStatusParameters + +/** + * @deprecated Use SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest instead. + */ +export type SeamConsoleV1LynxMigrationGetReservationMigrationStatusResponse = + SetNonNullable< + Required< + RouteResponse<'/seam/console/v1/lynx_migration/get_reservation_migration_status'> + > + > + +export type SeamConsoleV1LynxMigrationGetReservationMigrationStatusRequest = + SeamHttpRequest< + SeamConsoleV1LynxMigrationGetReservationMigrationStatusResponse, + 'lynx_migration_reservation_run' + > + +export interface SeamConsoleV1LynxMigrationGetReservationMigrationStatusOptions {} + +export type SeamConsoleV1LynxMigrationListPropertyReservationsParameters = + RouteRequestBody<'/seam/console/v1/lynx_migration/list_property_reservations'> + +/** + * @deprecated Use SeamConsoleV1LynxMigrationListPropertyReservationsParameters instead. + */ +export type SeamConsoleV1LynxMigrationListPropertyReservationsParams = + SeamConsoleV1LynxMigrationListPropertyReservationsParameters + +/** + * @deprecated Use SeamConsoleV1LynxMigrationListPropertyReservationsRequest instead. + */ +export type SeamConsoleV1LynxMigrationListPropertyReservationsResponse = + SetNonNullable< + Required< + RouteResponse<'/seam/console/v1/lynx_migration/list_property_reservations'> + > + > + +export type SeamConsoleV1LynxMigrationListPropertyReservationsRequest = + SeamHttpRequest< + SeamConsoleV1LynxMigrationListPropertyReservationsResponse, + 'lynx_migration_property_plan' + > + +export interface SeamConsoleV1LynxMigrationListPropertyReservationsOptions {} + +export type SeamConsoleV1LynxMigrationMigratePropertyParameters = + RouteRequestBody<'/seam/console/v1/lynx_migration/migrate_property'> + +/** + * @deprecated Use SeamConsoleV1LynxMigrationMigratePropertyParameters instead. + */ +export type SeamConsoleV1LynxMigrationMigratePropertyBody = + SeamConsoleV1LynxMigrationMigratePropertyParameters + +/** + * @deprecated Use SeamConsoleV1LynxMigrationMigratePropertyRequest instead. + */ +export type SeamConsoleV1LynxMigrationMigratePropertyResponse = SetNonNullable< + Required> +> + +export type SeamConsoleV1LynxMigrationMigratePropertyRequest = SeamHttpRequest< + SeamConsoleV1LynxMigrationMigratePropertyResponse, + 'lynx_migration_property_run' +> + +export interface SeamConsoleV1LynxMigrationMigratePropertyOptions {} diff --git a/src/lib/seam/connect/routes/seam/console/v1/v1.ts b/src/lib/seam/connect/routes/seam/console/v1/v1.ts index 278f3291..f8da40ef 100644 --- a/src/lib/seam/connect/routes/seam/console/v1/v1.ts +++ b/src/lib/seam/connect/routes/seam/console/v1/v1.ts @@ -36,6 +36,7 @@ import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js' import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js' import type { SetNonNullable } from 'lib/types.js' +import { SeamHttpSeamConsoleV1LynxMigration } from './lynx-migration/index.js' import { SeamHttpSeamConsoleV1Sites } from './sites/index.js' import { SeamHttpSeamConsoleV1Timelines } from './timelines/index.js' @@ -171,6 +172,13 @@ export class SeamHttpSeamConsoleV1 { await clientSessions.get() } + get lynxMigration(): SeamHttpSeamConsoleV1LynxMigration { + return SeamHttpSeamConsoleV1LynxMigration.fromClient( + this.client, + this.defaults, + ) + } + get sites(): SeamHttpSeamConsoleV1Sites { return SeamHttpSeamConsoleV1Sites.fromClient(this.client, this.defaults) } From 6195832d78488b0c84367c487e784d39cf58f5fc Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 10 Jul 2026 15:40:30 +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 dc0235be..05df7720 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,7 +49,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.908.0" + "@seamapi/types": "^1.940.0" }, "peerDependenciesMeta": { "@seamapi/types": { diff --git a/package.json b/package.json index ec8cc85a..a45a56e5 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "npm": ">=10.9.4" }, "peerDependencies": { - "@seamapi/types": "^1.908.0" + "@seamapi/types": "^1.940.0" }, "peerDependenciesMeta": { "@seamapi/types": {