@seamapi/types 1.463.0 → 1.464.3
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.
- package/LICENSE.txt +1 -1
- package/dist/connect.cjs +57 -55
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2884 -2548
- package/dist/devicedb.d.cts +0 -4
- package/dist/index.cjs +57 -55
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +8 -8
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
- package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-credential.js +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +11 -10
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +248 -248
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/common.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -84
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +2925 -3128
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
- package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +16 -16
- package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
- package/lib/seam/connect/models/customer/customer-portal.js +18 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +12 -12
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +12 -12
- package/lib/seam/connect/models/devices/device-metadata.d.ts +56 -56
- package/lib/seam/connect/models/devices/device.d.ts +136 -194
- package/lib/seam/connect/models/devices/device.js +2 -16
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +100 -121
- package/lib/seam/connect/models/events/devices.d.ts +16 -16
- package/lib/seam/connect/models/events/seam-event.d.ts +8 -8
- package/lib/seam/connect/models/locations/location.d.ts +2 -2
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +2 -2
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +2 -2
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
- package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/models/workspaces/workspace.d.ts +4 -4
- package/lib/seam/connect/openapi.d.ts +58 -0
- package/lib/seam/connect/openapi.js +62 -50
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2820 -2429
- package/lib/seam/devicedb/models/device-model.d.ts +116 -116
- package/lib/seam/devicedb/models/image-reference.d.ts +4 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +12 -12
- package/lib/seam/devicedb/route-specs.d.ts +210 -214
- package/package.json +12 -13
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
- package/src/lib/seam/connect/models/devices/device.ts +4 -19
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +60 -52
- package/src/lib/seam/connect/route-types.ts +3038 -2543
|
@@ -259,143 +259,143 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
259
259
|
time: z.ZodString;
|
|
260
260
|
value: z.ZodNumber;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
-
time: string;
|
|
263
262
|
value: number;
|
|
264
|
-
}, {
|
|
265
263
|
time: string;
|
|
264
|
+
}, {
|
|
266
265
|
value: number;
|
|
266
|
+
time: string;
|
|
267
267
|
}>;
|
|
268
268
|
sound: z.ZodObject<{
|
|
269
269
|
time: z.ZodString;
|
|
270
270
|
value: z.ZodNumber;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
time: string;
|
|
273
272
|
value: number;
|
|
274
|
-
}, {
|
|
275
273
|
time: string;
|
|
274
|
+
}, {
|
|
276
275
|
value: number;
|
|
276
|
+
time: string;
|
|
277
277
|
}>;
|
|
278
278
|
humidity: z.ZodObject<{
|
|
279
279
|
time: z.ZodString;
|
|
280
280
|
value: z.ZodNumber;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
|
-
time: string;
|
|
283
282
|
value: number;
|
|
284
|
-
}, {
|
|
285
283
|
time: string;
|
|
284
|
+
}, {
|
|
286
285
|
value: number;
|
|
286
|
+
time: string;
|
|
287
287
|
}>;
|
|
288
288
|
pressure: z.ZodObject<{
|
|
289
289
|
time: z.ZodString;
|
|
290
290
|
value: z.ZodNumber;
|
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
time: string;
|
|
293
292
|
value: number;
|
|
294
|
-
}, {
|
|
295
293
|
time: string;
|
|
294
|
+
}, {
|
|
296
295
|
value: number;
|
|
296
|
+
time: string;
|
|
297
297
|
}>;
|
|
298
298
|
accelerometer_z: z.ZodObject<{
|
|
299
299
|
time: z.ZodString;
|
|
300
300
|
value: z.ZodNumber;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
time: string;
|
|
303
302
|
value: number;
|
|
304
|
-
}, {
|
|
305
303
|
time: string;
|
|
304
|
+
}, {
|
|
306
305
|
value: number;
|
|
306
|
+
time: string;
|
|
307
307
|
}>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
|
-
pressure: {
|
|
310
|
-
time: string;
|
|
311
|
-
value: number;
|
|
312
|
-
};
|
|
313
309
|
temperature: {
|
|
314
|
-
time: string;
|
|
315
310
|
value: number;
|
|
311
|
+
time: string;
|
|
316
312
|
};
|
|
317
313
|
sound: {
|
|
318
|
-
time: string;
|
|
319
314
|
value: number;
|
|
315
|
+
time: string;
|
|
320
316
|
};
|
|
321
317
|
humidity: {
|
|
322
|
-
time: string;
|
|
323
318
|
value: number;
|
|
324
|
-
};
|
|
325
|
-
accelerometer_z: {
|
|
326
319
|
time: string;
|
|
327
|
-
value: number;
|
|
328
320
|
};
|
|
329
|
-
}, {
|
|
330
321
|
pressure: {
|
|
322
|
+
value: number;
|
|
331
323
|
time: string;
|
|
324
|
+
};
|
|
325
|
+
accelerometer_z: {
|
|
332
326
|
value: number;
|
|
327
|
+
time: string;
|
|
333
328
|
};
|
|
329
|
+
}, {
|
|
334
330
|
temperature: {
|
|
335
|
-
time: string;
|
|
336
331
|
value: number;
|
|
332
|
+
time: string;
|
|
337
333
|
};
|
|
338
334
|
sound: {
|
|
339
|
-
time: string;
|
|
340
335
|
value: number;
|
|
336
|
+
time: string;
|
|
341
337
|
};
|
|
342
338
|
humidity: {
|
|
339
|
+
value: number;
|
|
343
340
|
time: string;
|
|
341
|
+
};
|
|
342
|
+
pressure: {
|
|
344
343
|
value: number;
|
|
344
|
+
time: string;
|
|
345
345
|
};
|
|
346
346
|
accelerometer_z: {
|
|
347
|
-
time: string;
|
|
348
347
|
value: number;
|
|
348
|
+
time: string;
|
|
349
349
|
};
|
|
350
350
|
}>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
352
|
device_id: string;
|
|
353
353
|
device_name: string;
|
|
354
354
|
latest_sensor_values: {
|
|
355
|
-
pressure: {
|
|
356
|
-
time: string;
|
|
357
|
-
value: number;
|
|
358
|
-
};
|
|
359
355
|
temperature: {
|
|
360
|
-
time: string;
|
|
361
356
|
value: number;
|
|
357
|
+
time: string;
|
|
362
358
|
};
|
|
363
359
|
sound: {
|
|
364
|
-
time: string;
|
|
365
360
|
value: number;
|
|
361
|
+
time: string;
|
|
366
362
|
};
|
|
367
363
|
humidity: {
|
|
364
|
+
value: number;
|
|
368
365
|
time: string;
|
|
366
|
+
};
|
|
367
|
+
pressure: {
|
|
369
368
|
value: number;
|
|
369
|
+
time: string;
|
|
370
370
|
};
|
|
371
371
|
accelerometer_z: {
|
|
372
|
-
time: string;
|
|
373
372
|
value: number;
|
|
373
|
+
time: string;
|
|
374
374
|
};
|
|
375
375
|
};
|
|
376
376
|
}, {
|
|
377
377
|
device_id: string;
|
|
378
378
|
device_name: string;
|
|
379
379
|
latest_sensor_values: {
|
|
380
|
-
pressure: {
|
|
381
|
-
time: string;
|
|
382
|
-
value: number;
|
|
383
|
-
};
|
|
384
380
|
temperature: {
|
|
385
|
-
time: string;
|
|
386
381
|
value: number;
|
|
382
|
+
time: string;
|
|
387
383
|
};
|
|
388
384
|
sound: {
|
|
389
|
-
time: string;
|
|
390
385
|
value: number;
|
|
386
|
+
time: string;
|
|
391
387
|
};
|
|
392
388
|
humidity: {
|
|
389
|
+
value: number;
|
|
393
390
|
time: string;
|
|
391
|
+
};
|
|
392
|
+
pressure: {
|
|
394
393
|
value: number;
|
|
394
|
+
time: string;
|
|
395
395
|
};
|
|
396
396
|
accelerometer_z: {
|
|
397
|
-
time: string;
|
|
398
397
|
value: number;
|
|
398
|
+
time: string;
|
|
399
399
|
};
|
|
400
400
|
};
|
|
401
401
|
}>>;
|
|
@@ -805,7 +805,6 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
805
805
|
fob_id: z.ZodNumber;
|
|
806
806
|
has_photo: z.ZodBoolean;
|
|
807
807
|
}, "strip", z.ZodTypeAny, {
|
|
808
|
-
address: string | null;
|
|
809
808
|
device_name: string;
|
|
810
809
|
key_id: string;
|
|
811
810
|
property_id: string | null;
|
|
@@ -815,6 +814,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
815
814
|
status_type: string;
|
|
816
815
|
current_or_last_store_id: number;
|
|
817
816
|
last_movement: string;
|
|
817
|
+
address: string | null;
|
|
818
818
|
current_status: string | null;
|
|
819
819
|
current_user_name: string | null;
|
|
820
820
|
current_user_email: string | null;
|
|
@@ -826,7 +826,6 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
826
826
|
fob_id: number;
|
|
827
827
|
has_photo: boolean;
|
|
828
828
|
}, {
|
|
829
|
-
address: string | null;
|
|
830
829
|
device_name: string;
|
|
831
830
|
key_id: string;
|
|
832
831
|
property_id: string | null;
|
|
@@ -836,6 +835,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
836
835
|
status_type: string;
|
|
837
836
|
current_or_last_store_id: number;
|
|
838
837
|
last_movement: string;
|
|
838
|
+
address: string | null;
|
|
839
839
|
current_status: string | null;
|
|
840
840
|
current_user_name: string | null;
|
|
841
841
|
current_user_email: string | null;
|
|
@@ -937,25 +937,25 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
937
937
|
device_id: string;
|
|
938
938
|
device_name: string;
|
|
939
939
|
latest_sensor_values: {
|
|
940
|
-
pressure: {
|
|
941
|
-
time: string;
|
|
942
|
-
value: number;
|
|
943
|
-
};
|
|
944
940
|
temperature: {
|
|
945
|
-
time: string;
|
|
946
941
|
value: number;
|
|
942
|
+
time: string;
|
|
947
943
|
};
|
|
948
944
|
sound: {
|
|
949
|
-
time: string;
|
|
950
945
|
value: number;
|
|
946
|
+
time: string;
|
|
951
947
|
};
|
|
952
948
|
humidity: {
|
|
949
|
+
value: number;
|
|
953
950
|
time: string;
|
|
951
|
+
};
|
|
952
|
+
pressure: {
|
|
954
953
|
value: number;
|
|
954
|
+
time: string;
|
|
955
955
|
};
|
|
956
956
|
accelerometer_z: {
|
|
957
|
-
time: string;
|
|
958
957
|
value: number;
|
|
958
|
+
time: string;
|
|
959
959
|
};
|
|
960
960
|
};
|
|
961
961
|
} | undefined;
|
|
@@ -1081,7 +1081,6 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1081
1081
|
product_type: string;
|
|
1082
1082
|
} | undefined;
|
|
1083
1083
|
keynest_metadata?: {
|
|
1084
|
-
address: string | null;
|
|
1085
1084
|
device_name: string;
|
|
1086
1085
|
key_id: string;
|
|
1087
1086
|
property_id: string | null;
|
|
@@ -1091,6 +1090,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1091
1090
|
status_type: string;
|
|
1092
1091
|
current_or_last_store_id: number;
|
|
1093
1092
|
last_movement: string;
|
|
1093
|
+
address: string | null;
|
|
1094
1094
|
current_status: string | null;
|
|
1095
1095
|
current_user_name: string | null;
|
|
1096
1096
|
current_user_email: string | null;
|
|
@@ -1192,25 +1192,25 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1192
1192
|
device_id: string;
|
|
1193
1193
|
device_name: string;
|
|
1194
1194
|
latest_sensor_values: {
|
|
1195
|
-
pressure: {
|
|
1196
|
-
time: string;
|
|
1197
|
-
value: number;
|
|
1198
|
-
};
|
|
1199
1195
|
temperature: {
|
|
1200
|
-
time: string;
|
|
1201
1196
|
value: number;
|
|
1197
|
+
time: string;
|
|
1202
1198
|
};
|
|
1203
1199
|
sound: {
|
|
1204
|
-
time: string;
|
|
1205
1200
|
value: number;
|
|
1201
|
+
time: string;
|
|
1206
1202
|
};
|
|
1207
1203
|
humidity: {
|
|
1204
|
+
value: number;
|
|
1208
1205
|
time: string;
|
|
1206
|
+
};
|
|
1207
|
+
pressure: {
|
|
1209
1208
|
value: number;
|
|
1209
|
+
time: string;
|
|
1210
1210
|
};
|
|
1211
1211
|
accelerometer_z: {
|
|
1212
|
-
time: string;
|
|
1213
1212
|
value: number;
|
|
1213
|
+
time: string;
|
|
1214
1214
|
};
|
|
1215
1215
|
};
|
|
1216
1216
|
} | undefined;
|
|
@@ -1336,7 +1336,6 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1336
1336
|
product_type: string;
|
|
1337
1337
|
} | undefined;
|
|
1338
1338
|
keynest_metadata?: {
|
|
1339
|
-
address: string | null;
|
|
1340
1339
|
device_name: string;
|
|
1341
1340
|
key_id: string;
|
|
1342
1341
|
property_id: string | null;
|
|
@@ -1346,6 +1345,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1346
1345
|
status_type: string;
|
|
1347
1346
|
current_or_last_store_id: number;
|
|
1348
1347
|
last_movement: string;
|
|
1348
|
+
address: string | null;
|
|
1349
1349
|
current_status: string | null;
|
|
1350
1350
|
current_user_name: string | null;
|
|
1351
1351
|
current_user_email: string | null;
|