@seamapi/types 1.689.0 → 1.691.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 +105 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +506 -0
- package/dist/index.cjs +105 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +116 -0
- package/lib/seam/connect/models/devices/device.d.ts +116 -0
- package/lib/seam/connect/models/devices/device.js +23 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +42 -0
- package/lib/seam/connect/openapi.js +86 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +280 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +27 -0
- package/src/lib/seam/connect/openapi.ts +102 -0
- package/src/lib/seam/connect/route-types.ts +320 -0
|
@@ -2840,6 +2840,19 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2840
2840
|
}>, z.ZodObject<{
|
|
2841
2841
|
message: z.ZodString;
|
|
2842
2842
|
created_at: z.ZodString;
|
|
2843
|
+
} & {
|
|
2844
|
+
warning_code: z.ZodLiteral<"ultraloq_time_zone_unknown">;
|
|
2845
|
+
}, "strip", z.ZodTypeAny, {
|
|
2846
|
+
message: string;
|
|
2847
|
+
created_at: string;
|
|
2848
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
2849
|
+
}, {
|
|
2850
|
+
message: string;
|
|
2851
|
+
created_at: string;
|
|
2852
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
2853
|
+
}>, z.ZodObject<{
|
|
2854
|
+
message: z.ZodString;
|
|
2855
|
+
created_at: z.ZodString;
|
|
2843
2856
|
} & {
|
|
2844
2857
|
warning_code: z.ZodLiteral<"hub_required_for_addtional_capabilities">;
|
|
2845
2858
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2863,6 +2876,19 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
2863
2876
|
message: string;
|
|
2864
2877
|
created_at: string;
|
|
2865
2878
|
warning_code: "keynest_unsupported_locker";
|
|
2879
|
+
}>, z.ZodObject<{
|
|
2880
|
+
message: z.ZodString;
|
|
2881
|
+
created_at: z.ZodString;
|
|
2882
|
+
} & {
|
|
2883
|
+
warning_code: z.ZodLiteral<"accessory_keypad_setup_required">;
|
|
2884
|
+
}, "strip", z.ZodTypeAny, {
|
|
2885
|
+
message: string;
|
|
2886
|
+
created_at: string;
|
|
2887
|
+
warning_code: "accessory_keypad_setup_required";
|
|
2888
|
+
}, {
|
|
2889
|
+
message: string;
|
|
2890
|
+
created_at: string;
|
|
2891
|
+
warning_code: "accessory_keypad_setup_required";
|
|
2866
2892
|
}>]>, "many">;
|
|
2867
2893
|
created_at: z.ZodString;
|
|
2868
2894
|
is_managed: z.ZodLiteral<true>;
|
|
@@ -3207,6 +3233,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3207
3233
|
message: string;
|
|
3208
3234
|
created_at: string;
|
|
3209
3235
|
warning_code: "lockly_time_zone_not_configured";
|
|
3236
|
+
} | {
|
|
3237
|
+
message: string;
|
|
3238
|
+
created_at: string;
|
|
3239
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
3210
3240
|
} | {
|
|
3211
3241
|
message: string;
|
|
3212
3242
|
created_at: string;
|
|
@@ -3219,6 +3249,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3219
3249
|
message: string;
|
|
3220
3250
|
created_at: string;
|
|
3221
3251
|
warning_code: "keynest_unsupported_locker";
|
|
3252
|
+
} | {
|
|
3253
|
+
message: string;
|
|
3254
|
+
created_at: string;
|
|
3255
|
+
warning_code: "accessory_keypad_setup_required";
|
|
3222
3256
|
})[];
|
|
3223
3257
|
custom_metadata: Record<string, string | boolean>;
|
|
3224
3258
|
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_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");
|
|
@@ -3440,6 +3474,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3440
3474
|
message: string;
|
|
3441
3475
|
created_at: string;
|
|
3442
3476
|
warning_code: "lockly_time_zone_not_configured";
|
|
3477
|
+
} | {
|
|
3478
|
+
message: string;
|
|
3479
|
+
created_at: string;
|
|
3480
|
+
warning_code: "ultraloq_time_zone_unknown";
|
|
3443
3481
|
} | {
|
|
3444
3482
|
message: string;
|
|
3445
3483
|
created_at: string;
|
|
@@ -3452,6 +3490,10 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
3452
3490
|
message: string;
|
|
3453
3491
|
created_at: string;
|
|
3454
3492
|
warning_code: "keynest_unsupported_locker";
|
|
3493
|
+
} | {
|
|
3494
|
+
message: string;
|
|
3495
|
+
created_at: string;
|
|
3496
|
+
warning_code: "accessory_keypad_setup_required";
|
|
3455
3497
|
})[];
|
|
3456
3498
|
custom_metadata: Record<string, string | boolean>;
|
|
3457
3499
|
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" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_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");
|
|
@@ -11859,6 +11859,27 @@ export default {
|
|
|
11859
11859
|
required: ['message', 'created_at', 'warning_code'],
|
|
11860
11860
|
type: 'object',
|
|
11861
11861
|
},
|
|
11862
|
+
{
|
|
11863
|
+
description: 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
|
|
11864
|
+
properties: {
|
|
11865
|
+
created_at: {
|
|
11866
|
+
description: 'Date and time at which Seam created the warning.',
|
|
11867
|
+
format: 'date-time',
|
|
11868
|
+
type: 'string',
|
|
11869
|
+
},
|
|
11870
|
+
message: {
|
|
11871
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
11872
|
+
type: 'string',
|
|
11873
|
+
},
|
|
11874
|
+
warning_code: {
|
|
11875
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
11876
|
+
enum: ['ultraloq_time_zone_unknown'],
|
|
11877
|
+
type: 'string',
|
|
11878
|
+
},
|
|
11879
|
+
},
|
|
11880
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
11881
|
+
type: 'object',
|
|
11882
|
+
},
|
|
11862
11883
|
{
|
|
11863
11884
|
description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
|
|
11864
11885
|
properties: {
|
|
@@ -11903,6 +11924,28 @@ export default {
|
|
|
11903
11924
|
type: 'object',
|
|
11904
11925
|
'x-variant-group-key': 'locks',
|
|
11905
11926
|
},
|
|
11927
|
+
{
|
|
11928
|
+
description: 'Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.',
|
|
11929
|
+
properties: {
|
|
11930
|
+
created_at: {
|
|
11931
|
+
description: 'Date and time at which Seam created the warning.',
|
|
11932
|
+
format: 'date-time',
|
|
11933
|
+
type: 'string',
|
|
11934
|
+
},
|
|
11935
|
+
message: {
|
|
11936
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
11937
|
+
type: 'string',
|
|
11938
|
+
},
|
|
11939
|
+
warning_code: {
|
|
11940
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
11941
|
+
enum: ['accessory_keypad_setup_required'],
|
|
11942
|
+
type: 'string',
|
|
11943
|
+
},
|
|
11944
|
+
},
|
|
11945
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
11946
|
+
type: 'object',
|
|
11947
|
+
'x-variant-group-key': 'locks',
|
|
11948
|
+
},
|
|
11906
11949
|
],
|
|
11907
11950
|
},
|
|
11908
11951
|
type: 'array',
|
|
@@ -23268,6 +23311,27 @@ export default {
|
|
|
23268
23311
|
required: ['message', 'created_at', 'warning_code'],
|
|
23269
23312
|
type: 'object',
|
|
23270
23313
|
},
|
|
23314
|
+
{
|
|
23315
|
+
description: 'Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.',
|
|
23316
|
+
properties: {
|
|
23317
|
+
created_at: {
|
|
23318
|
+
description: 'Date and time at which Seam created the warning.',
|
|
23319
|
+
format: 'date-time',
|
|
23320
|
+
type: 'string',
|
|
23321
|
+
},
|
|
23322
|
+
message: {
|
|
23323
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
23324
|
+
type: 'string',
|
|
23325
|
+
},
|
|
23326
|
+
warning_code: {
|
|
23327
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
23328
|
+
enum: ['ultraloq_time_zone_unknown'],
|
|
23329
|
+
type: 'string',
|
|
23330
|
+
},
|
|
23331
|
+
},
|
|
23332
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
23333
|
+
type: 'object',
|
|
23334
|
+
},
|
|
23271
23335
|
{
|
|
23272
23336
|
description: 'Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.',
|
|
23273
23337
|
properties: {
|
|
@@ -23312,6 +23376,28 @@ export default {
|
|
|
23312
23376
|
type: 'object',
|
|
23313
23377
|
'x-variant-group-key': 'locks',
|
|
23314
23378
|
},
|
|
23379
|
+
{
|
|
23380
|
+
description: 'Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.',
|
|
23381
|
+
properties: {
|
|
23382
|
+
created_at: {
|
|
23383
|
+
description: 'Date and time at which Seam created the warning.',
|
|
23384
|
+
format: 'date-time',
|
|
23385
|
+
type: 'string',
|
|
23386
|
+
},
|
|
23387
|
+
message: {
|
|
23388
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
23389
|
+
type: 'string',
|
|
23390
|
+
},
|
|
23391
|
+
warning_code: {
|
|
23392
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
23393
|
+
enum: ['accessory_keypad_setup_required'],
|
|
23394
|
+
type: 'string',
|
|
23395
|
+
},
|
|
23396
|
+
},
|
|
23397
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
23398
|
+
type: 'object',
|
|
23399
|
+
'x-variant-group-key': 'locks',
|
|
23400
|
+
},
|
|
23315
23401
|
],
|
|
23316
23402
|
},
|
|
23317
23403
|
type: 'array',
|