diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 3546d3a5..be40a677 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -1787,6 +1787,13 @@ export default { is_managed: { enum: [false], type: 'boolean' }, properties: { properties: { + battery_level: { + description: + 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.', + maximum: 1, + minimum: 0, + type: 'number', + }, image_alt_text: { type: 'string' }, image_url: { type: 'string' }, manufacturer: { type: 'string' }, @@ -9717,14 +9724,14 @@ export default { type: 'string', }, is_sandbox: { default: false, type: 'boolean' }, + name: { type: 'string' }, webview_logo_shape: { enum: ['circle', 'square'], type: 'string', }, webview_primary_button_color: { type: 'string' }, - workspace_name: { type: 'string' }, }, - required: ['workspace_name', 'connect_partner_name'], + required: ['name', 'connect_partner_name'], type: 'object', }, }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index b7ddd69f..ba5e8ddf 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -3169,6 +3169,8 @@ export interface Routes { display_name: string manufacturer_display_name: string } + /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */ + battery_level?: number | undefined } } } @@ -3357,6 +3359,8 @@ export interface Routes { display_name: string manufacturer_display_name: string } + /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */ + battery_level?: number | undefined } }> } @@ -8900,7 +8904,7 @@ export interface Routes { method: 'POST' queryParams: {} jsonBody: { - workspace_name: string + name: string /** The name shown inside the connect webview */ connect_partner_name: string is_sandbox?: boolean diff --git a/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts b/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts index 1e754665..6acece59 100644 --- a/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +++ b/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts @@ -26,6 +26,14 @@ export const unmanaged_device = managed_device display_name: z.string(), manufacturer_display_name: z.string(), }), + battery_level: z + .number() + .min(0) + .max(1) + .optional() + .describe( + 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.', + ), }), })