From ed45a4e296365334ae90ff1e2a123024d5f7c265 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 20 Aug 2026 16:47:57 +0000 Subject: [PATCH] feat: Sync with Seam API via f04de0bd72ede95f024fae4e588aac24846b5b11 --- src/lib/seam/connect/openapi.ts | 220 +++++++++++++--------------- src/lib/seam/connect/route-types.ts | 24 +-- 2 files changed, 116 insertions(+), 128 deletions(-) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 8c9148bb..88d76eff 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -52662,24 +52662,18 @@ const openapi: OpenAPISpec = { description: 'Deletes a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews).\n\nYou do not need to delete a Connect Webview once a user completes it. Instead, you can simply ignore completed Connect Webviews.', operationId: 'connectWebviewsDeleteDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - connect_webview_id: { - description: - 'ID of the Connect Webview that you want to delete.', - format: 'uuid', - type: 'string', - }, - }, - required: ['connect_webview_id'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'connect_webview_id', + required: true, + schema: { + description: 'ID of the Connect Webview that you want to delete.', + format: 'uuid', + type: 'string', }, }, - }, + ], responses: { '200': { content: { @@ -53086,29 +53080,29 @@ const openapi: OpenAPISpec = { description: 'Deletes a specified [connected account](https://docs.seam.co/core-concepts/connected-accounts).\n\nDeleting a connected account triggers a `connected_account.deleted` event and removes the connected account and all data associated with the connected account from Seam, including devices, events, access codes, and so on. For every deleted resource, Seam sends a corresponding deleted event, but the resource is not deleted from the provider.\n\nFor example, if you delete a connected account with a device that has an access code, Seam sends a `connected_account.deleted` event, a `device.deleted` event, and an `access_code.deleted` event, but Seam does not remove the access code from the device.', operationId: 'connectedAccountsDeleteDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - connected_account_id: { - description: - 'ID of the connected account that you want to delete.', - format: 'uuid', - type: 'string', - }, - sync: { - default: false, - type: 'boolean', - 'x-undocumented': 'Only used internally.', - }, - }, - required: ['connected_account_id'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'connected_account_id', + required: true, + schema: { + description: + 'ID of the connected account that you want to delete.', + format: 'uuid', + type: 'string', }, }, - }, + { + in: 'query', + name: 'sync', + required: false, + schema: { + default: false, + type: 'boolean', + 'x-undocumented': 'Only used internally.', + }, + }, + ], responses: { '200': { content: { @@ -63467,35 +63461,39 @@ const openapi: OpenAPISpec = { description: 'Deletes a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) from a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).', operationId: 'noiseSensorsNoiseThresholdsDeleteDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - device_id: { - description: - 'ID of the device that contains the noise threshold that you want to delete.', - format: 'uuid', - type: 'string', - }, - noise_threshold_id: { - description: - 'ID of the noise threshold that you want to delete.', - format: 'uuid', - type: 'string', - }, - sync: { - default: false, - type: 'boolean', - 'x-undocumented': 'Only used internally.', - }, - }, - required: ['noise_threshold_id', 'device_id'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'noise_threshold_id', + required: true, + schema: { + description: 'ID of the noise threshold that you want to delete.', + format: 'uuid', + type: 'string', }, }, - }, + { + in: 'query', + name: 'device_id', + required: true, + schema: { + description: + 'ID of the device that contains the noise threshold that you want to delete.', + format: 'uuid', + type: 'string', + }, + }, + { + in: 'query', + name: 'sync', + required: false, + schema: { + default: false, + type: 'boolean', + 'x-undocumented': 'Only used internally.', + }, + }, + ], responses: { '200': { content: { @@ -64183,23 +64181,18 @@ const openapi: OpenAPISpec = { description: 'Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).', operationId: 'phonesDeactivateDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - device_id: { - description: - 'Device ID of the phone that you want to deactivate.', - type: 'string', - }, - }, - required: ['device_id'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'device_id', + required: true, + schema: { + description: + 'Device ID of the phone that you want to deactivate.', + type: 'string', }, }, - }, + ], responses: { '200': { content: { @@ -81099,23 +81092,18 @@ const openapi: OpenAPISpec = { delete: { description: 'Deletes a space.', operationId: 'spacesDeleteDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - space_id: { - description: 'ID of the space that you want to delete.', - format: 'uuid', - type: 'string', - }, - }, - required: ['space_id'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'space_id', + required: true, + schema: { + description: 'ID of the space that you want to delete.', + format: 'uuid', + type: 'string', }, }, - }, + ], responses: { '200': { content: { @@ -83043,30 +83031,30 @@ const openapi: OpenAPISpec = { description: 'Deletes a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).', operationId: 'thermostatsDeleteClimatePresetDelete', - requestBody: { - content: { - 'application/json': { - schema: { - properties: { - climate_preset_key: { - description: - 'Climate preset key of the climate preset that you want to delete.', - minLength: 1, - type: 'string', - }, - device_id: { - description: - 'ID of the thermostat device for which you want to delete a climate preset.', - format: 'uuid', - type: 'string', - }, - }, - required: ['device_id', 'climate_preset_key'], - type: 'object', - }, + parameters: [ + { + in: 'query', + name: 'device_id', + required: true, + schema: { + description: + 'ID of the thermostat device for which you want to delete a climate preset.', + format: 'uuid', + type: 'string', }, }, - }, + { + in: 'query', + name: 'climate_preset_key', + required: true, + schema: { + description: + 'Climate preset key of the climate preset that you want to delete.', + minLength: 1, + type: 'string', + }, + }, + ], responses: { '200': { content: { diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index aa2a8308..49d8c369 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -48717,11 +48717,11 @@ export type Routes = { route: '/connect_webviews/delete' method: 'DELETE' | 'POST' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** ID of the Connect Webview that you want to delete. */ connect_webview_id: string } - commonParams: {} formData: {} jsonResponse: {} maxDuration: undefined @@ -48892,13 +48892,13 @@ export type Routes = { route: '/connected_accounts/delete' method: 'DELETE' | 'POST' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** ID of the connected account that you want to delete. */ connected_account_id: string /** */ sync?: boolean } - commonParams: {} formData: {} jsonResponse: {} maxDuration: undefined @@ -90246,7 +90246,8 @@ export type Routes = { route: '/noise_sensors/noise_thresholds/delete' method: 'DELETE' | 'POST' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** ID of the noise threshold that you want to delete. */ noise_threshold_id: string /** ID of the device that contains the noise threshold that you want to delete. */ @@ -90254,7 +90255,6 @@ export type Routes = { /** */ sync?: boolean } - commonParams: {} formData: {} jsonResponse: { /** Represents an action attempt that enables you to keep track of the progress of your action that affects a physical device or system.actions against a device. Action attempts are useful because the physical world is intrinsically asynchronous. @@ -94540,11 +94540,11 @@ export type Routes = { route: '/phones/deactivate' method: 'DELETE' | 'POST' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** Device ID of the phone that you want to deactivate. */ device_id: string } - commonParams: {} formData: {} jsonResponse: {} maxDuration: undefined @@ -106433,11 +106433,11 @@ export type Routes = { route: '/spaces/delete' method: 'DELETE' | 'POST' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** ID of the space that you want to delete. */ space_id: string } - commonParams: {} formData: {} jsonResponse: {} maxDuration: undefined @@ -115990,13 +115990,13 @@ export type Routes = { route: '/thermostats/delete_climate_preset' method: 'POST' | 'DELETE' queryParams: {} - jsonBody: { + jsonBody: {} + commonParams: { /** ID of the thermostat device for which you want to delete a climate preset. */ device_id: string /** Climate preset key of the climate preset that you want to delete. */ climate_preset_key: string } - commonParams: {} formData: {} jsonResponse: {} maxDuration: undefined