@seamapi/types 1.17.1 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1067,7 +1067,9 @@ export interface Routes {
1067
1067
  method: 'GET' | 'POST';
1068
1068
  queryParams: {};
1069
1069
  jsonBody: {};
1070
- commonParams: {};
1070
+ commonParams: {
1071
+ user_identifier_key?: string | undefined;
1072
+ };
1071
1073
  formData: {};
1072
1074
  jsonResponse: {
1073
1075
  connect_webviews: Array<{
@@ -198,6 +198,8 @@ export declare const device_model_v1: z.ZodObject<{
198
198
  }>, "many">;
199
199
  }, "strip", z.ZodTypeAny, {
200
200
  display_name: string;
201
+ main_category: "thermostat" | "smartlock" | "noise_sensor";
202
+ device_model_id: string;
201
203
  manufacturer: {
202
204
  display_name: string;
203
205
  manufacturer_id: string;
@@ -210,8 +212,6 @@ export declare const device_model_v1: z.ZodObject<{
210
212
  url: string;
211
213
  } | undefined;
212
214
  };
213
- main_category: "thermostat" | "smartlock" | "noise_sensor";
214
- device_model_id: string;
215
215
  is_device_supported: boolean;
216
216
  product_url: string;
217
217
  main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
@@ -233,6 +233,8 @@ export declare const device_model_v1: z.ZodObject<{
233
233
  }[];
234
234
  }, {
235
235
  display_name: string;
236
+ main_category: "thermostat" | "smartlock" | "noise_sensor";
237
+ device_model_id: string;
236
238
  manufacturer: {
237
239
  display_name: string;
238
240
  manufacturer_id: string;
@@ -245,8 +247,6 @@ export declare const device_model_v1: z.ZodObject<{
245
247
  url: string;
246
248
  } | undefined;
247
249
  };
248
- main_category: "thermostat" | "smartlock" | "noise_sensor";
249
- device_model_id: string;
250
250
  is_device_supported: boolean;
251
251
  product_url: string;
252
252
  main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/devicedb.ts CHANGED
@@ -1 +1 @@
1
- export * from './lib/seam/connect/index.js'
1
+ export * from './lib/seam/devicedb/index.js'
@@ -4382,41 +4382,18 @@ export default {
4382
4382
  },
4383
4383
  },
4384
4384
  '/connect_webviews/list': {
4385
- get: {
4386
- operationId: 'connectWebviewsListGet',
4387
- responses: {
4388
- 200: {
4389
- content: {
4390
- 'application/json': {
4391
- schema: {
4392
- properties: {
4393
- connect_webviews: {
4394
- items: { $ref: '#/components/schemas/connect_webview' },
4395
- type: 'array',
4396
- },
4397
- ok: { type: 'boolean' },
4398
- },
4399
- required: ['connect_webviews', 'ok'],
4400
- type: 'object',
4401
- },
4385
+ post: {
4386
+ operationId: 'connectWebviewsListPost',
4387
+ requestBody: {
4388
+ content: {
4389
+ 'application/json': {
4390
+ schema: {
4391
+ properties: { user_identifier_key: { type: 'string' } },
4392
+ type: 'object',
4402
4393
  },
4403
4394
  },
4404
- description: 'OK',
4405
4395
  },
4406
- 400: { description: 'Bad Request' },
4407
- 401: { description: 'Unauthorized' },
4408
4396
  },
4409
- security: [
4410
- { access_token: [], seam_workspace: [] },
4411
- { seam_client_session_token: [] },
4412
- { client_session_token: [] },
4413
- ],
4414
- summary: '/connect_webviews/list',
4415
- tags: ['/connect_webviews'],
4416
- 'x-fern-ignore': true,
4417
- },
4418
- post: {
4419
- operationId: 'connectWebviewsListPost',
4420
4397
  responses: {
4421
4398
  200: {
4422
4399
  content: {
@@ -1126,7 +1126,9 @@ export interface Routes {
1126
1126
  method: 'GET' | 'POST'
1127
1127
  queryParams: {}
1128
1128
  jsonBody: {}
1129
- commonParams: {}
1129
+ commonParams: {
1130
+ user_identifier_key?: string | undefined
1131
+ }
1130
1132
  formData: {}
1131
1133
  jsonResponse: {
1132
1134
  connect_webviews: Array<{