@seamapi/types 1.732.0 → 1.734.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.
- package/dist/connect.cjs +81 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +279 -40
- package/dist/index.cjs +81 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +62 -10
- package/lib/seam/connect/models/customer/customer-portal.d.ts +4 -0
- package/lib/seam/connect/models/customer/customer-portal.js +8 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +18 -0
- package/lib/seam/connect/models/devices/device-metadata.js +6 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +8 -1
- package/lib/seam/connect/models/devices/device-type.js +9 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +29 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -3
- package/lib/seam/connect/openapi.d.ts +22 -0
- package/lib/seam/connect/openapi.js +71 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +145 -24
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/customer-portal.ts +8 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +17 -0
- package/src/lib/seam/connect/openapi.ts +72 -0
- package/src/lib/seam/connect/route-types.ts +179 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
3
3
|
device_id: z.ZodString;
|
|
4
|
-
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
4
|
+
device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera"]>]>;
|
|
5
5
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
6
6
|
nickname: z.ZodOptional<z.ZodString>;
|
|
7
7
|
display_name: z.ZodString;
|
|
@@ -1050,6 +1050,16 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1050
1050
|
device_type: string;
|
|
1051
1051
|
time_zone: string | null;
|
|
1052
1052
|
}>>;
|
|
1053
|
+
ring_metadata: z.ZodOptional<z.ZodObject<{
|
|
1054
|
+
device_id: z.ZodString;
|
|
1055
|
+
device_name: z.ZodString;
|
|
1056
|
+
}, "strip", z.ZodTypeAny, {
|
|
1057
|
+
device_id: string;
|
|
1058
|
+
device_name: string;
|
|
1059
|
+
}, {
|
|
1060
|
+
device_id: string;
|
|
1061
|
+
device_name: string;
|
|
1062
|
+
}>>;
|
|
1053
1063
|
korelock_metadata: z.ZodOptional<z.ZodObject<{
|
|
1054
1064
|
device_id: z.ZodOptional<z.ZodString>;
|
|
1055
1065
|
device_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1339,6 +1349,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1339
1349
|
device_type: string;
|
|
1340
1350
|
time_zone: string | null;
|
|
1341
1351
|
} | undefined;
|
|
1352
|
+
ring_metadata?: {
|
|
1353
|
+
device_id: string;
|
|
1354
|
+
device_name: string;
|
|
1355
|
+
} | undefined;
|
|
1342
1356
|
korelock_metadata?: {
|
|
1343
1357
|
device_id?: string | undefined;
|
|
1344
1358
|
device_name?: string | undefined;
|
|
@@ -1612,6 +1626,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1612
1626
|
device_type: string;
|
|
1613
1627
|
time_zone: string | null;
|
|
1614
1628
|
} | undefined;
|
|
1629
|
+
ring_metadata?: {
|
|
1630
|
+
device_id: string;
|
|
1631
|
+
device_name: string;
|
|
1632
|
+
} | undefined;
|
|
1615
1633
|
korelock_metadata?: {
|
|
1616
1634
|
device_id?: string | undefined;
|
|
1617
1635
|
device_name?: string | undefined;
|
|
@@ -3371,7 +3389,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3371
3389
|
max_active_access_code_count: number;
|
|
3372
3390
|
})[];
|
|
3373
3391
|
custom_metadata: Record<string, string | boolean>;
|
|
3374
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3392
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
3375
3393
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3376
3394
|
properties: {
|
|
3377
3395
|
name: string;
|
|
@@ -3622,7 +3640,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3622
3640
|
max_active_access_code_count: number;
|
|
3623
3641
|
})[];
|
|
3624
3642
|
custom_metadata: Record<string, string | boolean>;
|
|
3625
|
-
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3643
|
+
device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | "ring_camera";
|
|
3626
3644
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3627
3645
|
properties: {
|
|
3628
3646
|
name: string;
|
|
@@ -6550,6 +6550,21 @@ declare const _default: {
|
|
|
6550
6550
|
required: string[];
|
|
6551
6551
|
type: string;
|
|
6552
6552
|
};
|
|
6553
|
+
ring_metadata: {
|
|
6554
|
+
description: string;
|
|
6555
|
+
properties: {
|
|
6556
|
+
device_id: {
|
|
6557
|
+
description: string;
|
|
6558
|
+
type: string;
|
|
6559
|
+
};
|
|
6560
|
+
device_name: {
|
|
6561
|
+
description: string;
|
|
6562
|
+
type: string;
|
|
6563
|
+
};
|
|
6564
|
+
};
|
|
6565
|
+
required: string[];
|
|
6566
|
+
type: string;
|
|
6567
|
+
};
|
|
6553
6568
|
salto_ks_metadata: {
|
|
6554
6569
|
description: string;
|
|
6555
6570
|
properties: {
|
|
@@ -37567,6 +37582,12 @@ declare const _default: {
|
|
|
37567
37582
|
};
|
|
37568
37583
|
description: string;
|
|
37569
37584
|
properties: {
|
|
37585
|
+
_dev: {
|
|
37586
|
+
default: boolean;
|
|
37587
|
+
description: string;
|
|
37588
|
+
type: string;
|
|
37589
|
+
'x-undocumented': string;
|
|
37590
|
+
};
|
|
37570
37591
|
customer_resources_filters: {
|
|
37571
37592
|
description: string;
|
|
37572
37593
|
items: {
|
|
@@ -38780,6 +38801,7 @@ declare const _default: {
|
|
|
38780
38801
|
required: string[];
|
|
38781
38802
|
type: string;
|
|
38782
38803
|
};
|
|
38804
|
+
_dev?: never;
|
|
38783
38805
|
customer_resources_filters?: never;
|
|
38784
38806
|
customization_profile_id?: never;
|
|
38785
38807
|
deep_link?: never;
|
|
@@ -9266,6 +9266,11 @@ export default {
|
|
|
9266
9266
|
enum: ['ios_phone', 'android_phone'],
|
|
9267
9267
|
type: 'string',
|
|
9268
9268
|
},
|
|
9269
|
+
{
|
|
9270
|
+
description: 'Device type for cameras.',
|
|
9271
|
+
enum: ['ring_camera'],
|
|
9272
|
+
type: 'string',
|
|
9273
|
+
},
|
|
9269
9274
|
],
|
|
9270
9275
|
},
|
|
9271
9276
|
display_name: {
|
|
@@ -10808,6 +10813,21 @@ export default {
|
|
|
10808
10813
|
required: ['device_id', 'device_name'],
|
|
10809
10814
|
type: 'object',
|
|
10810
10815
|
},
|
|
10816
|
+
ring_metadata: {
|
|
10817
|
+
description: 'Metadata for a Ring device.',
|
|
10818
|
+
properties: {
|
|
10819
|
+
device_id: {
|
|
10820
|
+
description: 'Device ID for a Ring device.',
|
|
10821
|
+
type: 'string',
|
|
10822
|
+
},
|
|
10823
|
+
device_name: {
|
|
10824
|
+
description: 'Device name for a Ring device.',
|
|
10825
|
+
type: 'string',
|
|
10826
|
+
},
|
|
10827
|
+
},
|
|
10828
|
+
required: ['device_id', 'device_name'],
|
|
10829
|
+
type: 'object',
|
|
10830
|
+
},
|
|
10811
10831
|
salto_ks_metadata: {
|
|
10812
10832
|
description: 'Metadata for a Salto KS device.',
|
|
10813
10833
|
properties: {
|
|
@@ -25019,6 +25039,11 @@ export default {
|
|
|
25019
25039
|
enum: ['ios_phone', 'android_phone'],
|
|
25020
25040
|
type: 'string',
|
|
25021
25041
|
},
|
|
25042
|
+
{
|
|
25043
|
+
description: 'Device type for cameras.',
|
|
25044
|
+
enum: ['ring_camera'],
|
|
25045
|
+
type: 'string',
|
|
25046
|
+
},
|
|
25022
25047
|
],
|
|
25023
25048
|
},
|
|
25024
25049
|
errors: {
|
|
@@ -43598,6 +43623,12 @@ export default {
|
|
|
43598
43623
|
},
|
|
43599
43624
|
description: 'Configuration for a customer portal',
|
|
43600
43625
|
properties: {
|
|
43626
|
+
_dev: {
|
|
43627
|
+
default: false,
|
|
43628
|
+
description: 'Whether the portal is in developer mode. Only available for Seam employees.',
|
|
43629
|
+
type: 'boolean',
|
|
43630
|
+
'x-undocumented': 'Internal developer mode flag.',
|
|
43631
|
+
},
|
|
43601
43632
|
customer_resources_filters: {
|
|
43602
43633
|
description: 'Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata.',
|
|
43603
43634
|
items: {
|
|
@@ -46169,6 +46200,11 @@ export default {
|
|
|
46169
46200
|
enum: ['ios_phone', 'android_phone'],
|
|
46170
46201
|
type: 'string',
|
|
46171
46202
|
},
|
|
46203
|
+
{
|
|
46204
|
+
description: 'Device type for cameras.',
|
|
46205
|
+
enum: ['ring_camera'],
|
|
46206
|
+
type: 'string',
|
|
46207
|
+
},
|
|
46172
46208
|
],
|
|
46173
46209
|
},
|
|
46174
46210
|
},
|
|
@@ -46239,6 +46275,11 @@ export default {
|
|
|
46239
46275
|
enum: ['ios_phone', 'android_phone'],
|
|
46240
46276
|
type: 'string',
|
|
46241
46277
|
},
|
|
46278
|
+
{
|
|
46279
|
+
description: 'Device type for cameras.',
|
|
46280
|
+
enum: ['ring_camera'],
|
|
46281
|
+
type: 'string',
|
|
46282
|
+
},
|
|
46242
46283
|
],
|
|
46243
46284
|
},
|
|
46244
46285
|
type: 'array',
|
|
@@ -46590,6 +46631,11 @@ export default {
|
|
|
46590
46631
|
enum: ['ios_phone', 'android_phone'],
|
|
46591
46632
|
type: 'string',
|
|
46592
46633
|
},
|
|
46634
|
+
{
|
|
46635
|
+
description: 'Device type for cameras.',
|
|
46636
|
+
enum: ['ring_camera'],
|
|
46637
|
+
type: 'string',
|
|
46638
|
+
},
|
|
46593
46639
|
],
|
|
46594
46640
|
},
|
|
46595
46641
|
device_types: {
|
|
@@ -46656,6 +46702,11 @@ export default {
|
|
|
46656
46702
|
enum: ['ios_phone', 'android_phone'],
|
|
46657
46703
|
type: 'string',
|
|
46658
46704
|
},
|
|
46705
|
+
{
|
|
46706
|
+
description: 'Device type for cameras.',
|
|
46707
|
+
enum: ['ring_camera'],
|
|
46708
|
+
type: 'string',
|
|
46709
|
+
},
|
|
46659
46710
|
],
|
|
46660
46711
|
},
|
|
46661
46712
|
type: 'array',
|
|
@@ -47986,6 +48037,11 @@ export default {
|
|
|
47986
48037
|
enum: ['ios_phone', 'android_phone'],
|
|
47987
48038
|
type: 'string',
|
|
47988
48039
|
},
|
|
48040
|
+
{
|
|
48041
|
+
description: 'Device type for cameras.',
|
|
48042
|
+
enum: ['ring_camera'],
|
|
48043
|
+
type: 'string',
|
|
48044
|
+
},
|
|
47989
48045
|
],
|
|
47990
48046
|
},
|
|
47991
48047
|
},
|
|
@@ -48056,6 +48112,11 @@ export default {
|
|
|
48056
48112
|
enum: ['ios_phone', 'android_phone'],
|
|
48057
48113
|
type: 'string',
|
|
48058
48114
|
},
|
|
48115
|
+
{
|
|
48116
|
+
description: 'Device type for cameras.',
|
|
48117
|
+
enum: ['ring_camera'],
|
|
48118
|
+
type: 'string',
|
|
48119
|
+
},
|
|
48059
48120
|
],
|
|
48060
48121
|
},
|
|
48061
48122
|
type: 'array',
|
|
@@ -48406,6 +48467,11 @@ export default {
|
|
|
48406
48467
|
enum: ['ios_phone', 'android_phone'],
|
|
48407
48468
|
type: 'string',
|
|
48408
48469
|
},
|
|
48470
|
+
{
|
|
48471
|
+
description: 'Device type for cameras.',
|
|
48472
|
+
enum: ['ring_camera'],
|
|
48473
|
+
type: 'string',
|
|
48474
|
+
},
|
|
48409
48475
|
],
|
|
48410
48476
|
},
|
|
48411
48477
|
device_types: {
|
|
@@ -48472,6 +48538,11 @@ export default {
|
|
|
48472
48538
|
enum: ['ios_phone', 'android_phone'],
|
|
48473
48539
|
type: 'string',
|
|
48474
48540
|
},
|
|
48541
|
+
{
|
|
48542
|
+
description: 'Device type for cameras.',
|
|
48543
|
+
enum: ['ring_camera'],
|
|
48544
|
+
type: 'string',
|
|
48545
|
+
},
|
|
48475
48546
|
],
|
|
48476
48547
|
},
|
|
48477
48548
|
type: 'array',
|