@seamapi/types 1.306.0 → 1.307.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 +64 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +228 -91
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +13 -13
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +13 -13
- package/lib/seam/connect/models/action-attempts/scan-credential.js +7 -2
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +23 -0
- package/lib/seam/connect/models/devices/device-metadata.js +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +36 -3
- package/lib/seam/connect/models/devices/phone.d.ts +24 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -3
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +35 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +137 -72
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +7 -4
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +35 -1
- package/src/lib/seam/connect/route-types.ts +205 -42
package/dist/connect.cjs
CHANGED
|
@@ -705,6 +705,11 @@ var device_metadata = zod.z.object({
|
|
|
705
705
|
}),
|
|
706
706
|
assa_abloy_vostio_metadata: zod.z.object({
|
|
707
707
|
encoder_name: zod.z.string()
|
|
708
|
+
}),
|
|
709
|
+
tado_metadata: zod.z.object({
|
|
710
|
+
serial_number: zod.z.string(),
|
|
711
|
+
device_name: zod.z.string(),
|
|
712
|
+
device_type: zod.z.string()
|
|
708
713
|
})
|
|
709
714
|
}).partial();
|
|
710
715
|
var LOCK_DEVICE_TYPE = {
|
|
@@ -749,7 +754,8 @@ var noise_sensor_device_type = zod.z.enum(
|
|
|
749
754
|
var THERMOSTAT_DEVICE_TYPE = {
|
|
750
755
|
ECOBEE_THERMOSTAT: "ecobee_thermostat",
|
|
751
756
|
NEST_THERMOSTAT: "nest_thermostat",
|
|
752
|
-
HONEYWELL_RESIDEO_THERMOSTAT: "honeywell_resideo_thermostat"
|
|
757
|
+
HONEYWELL_RESIDEO_THERMOSTAT: "honeywell_resideo_thermostat",
|
|
758
|
+
TADO_THERMOSTAT: "tado_thermostat"
|
|
753
759
|
};
|
|
754
760
|
var thermostat_device_type = zod.z.enum(
|
|
755
761
|
Object.values(THERMOSTAT_DEVICE_TYPE)
|
|
@@ -1978,14 +1984,15 @@ var error6 = zod.z.union([
|
|
|
1978
1984
|
no_card_on_encoder_error2
|
|
1979
1985
|
]);
|
|
1980
1986
|
var warning = zod.z.object({
|
|
1981
|
-
warning_code: zod.z.
|
|
1987
|
+
warning_code: zod.z.union([
|
|
1988
|
+
zod.z.literal("acs_credential_on_encoder_out_of_sync"),
|
|
1989
|
+
zod.z.literal("acs_credential_on_seam_not_found")
|
|
1990
|
+
]),
|
|
1982
1991
|
warning_message: zod.z.string()
|
|
1983
1992
|
});
|
|
1984
1993
|
var acs_credential_on_seam = acs_credential.or(unmanaged_acs_credential);
|
|
1985
1994
|
var result6 = zod.z.object({
|
|
1986
|
-
acs_credential_on_encoder: acs_credential_on_encoder.describe(
|
|
1987
|
-
"Snapshot of credential data read from physical encoder."
|
|
1988
|
-
),
|
|
1995
|
+
acs_credential_on_encoder: acs_credential_on_encoder.nullable().describe("Snapshot of credential data read from physical encoder."),
|
|
1989
1996
|
acs_credential_on_seam: acs_credential_on_seam.nullable().describe("Matching acs_credential currently encoded on this card."),
|
|
1990
1997
|
warnings: zod.z.array(warning)
|
|
1991
1998
|
});
|
|
@@ -4285,6 +4292,7 @@ var openapi_default = {
|
|
|
4285
4292
|
properties: {
|
|
4286
4293
|
acs_credential_on_encoder: {
|
|
4287
4294
|
description: "Snapshot of credential data read from physical encoder.",
|
|
4295
|
+
nullable: true,
|
|
4288
4296
|
properties: {
|
|
4289
4297
|
card_number: {
|
|
4290
4298
|
description: "A number or string that physically identifies this card.",
|
|
@@ -4894,7 +4902,10 @@ var openapi_default = {
|
|
|
4894
4902
|
items: {
|
|
4895
4903
|
properties: {
|
|
4896
4904
|
warning_code: {
|
|
4897
|
-
enum: [
|
|
4905
|
+
enum: [
|
|
4906
|
+
"acs_credential_on_encoder_out_of_sync",
|
|
4907
|
+
"acs_credential_on_seam_not_found"
|
|
4908
|
+
],
|
|
4898
4909
|
type: "string"
|
|
4899
4910
|
},
|
|
4900
4911
|
warning_message: { type: "string" }
|
|
@@ -7013,7 +7024,8 @@ var openapi_default = {
|
|
|
7013
7024
|
enum: [
|
|
7014
7025
|
"ecobee_thermostat",
|
|
7015
7026
|
"nest_thermostat",
|
|
7016
|
-
"honeywell_resideo_thermostat"
|
|
7027
|
+
"honeywell_resideo_thermostat",
|
|
7028
|
+
"tado_thermostat"
|
|
7017
7029
|
],
|
|
7018
7030
|
type: "string"
|
|
7019
7031
|
},
|
|
@@ -7689,6 +7701,19 @@ var openapi_default = {
|
|
|
7689
7701
|
required: ["device_id", "device_name"],
|
|
7690
7702
|
type: "object"
|
|
7691
7703
|
},
|
|
7704
|
+
tado_metadata: {
|
|
7705
|
+
properties: {
|
|
7706
|
+
device_name: { type: "string" },
|
|
7707
|
+
device_type: { type: "string" },
|
|
7708
|
+
serial_number: { type: "string" }
|
|
7709
|
+
},
|
|
7710
|
+
required: [
|
|
7711
|
+
"serial_number",
|
|
7712
|
+
"device_name",
|
|
7713
|
+
"device_type"
|
|
7714
|
+
],
|
|
7715
|
+
type: "object"
|
|
7716
|
+
},
|
|
7692
7717
|
tedee_metadata: {
|
|
7693
7718
|
properties: {
|
|
7694
7719
|
bridge_id: { format: "float", type: "number" },
|
|
@@ -8919,7 +8944,8 @@ var openapi_default = {
|
|
|
8919
8944
|
enum: [
|
|
8920
8945
|
"ecobee_thermostat",
|
|
8921
8946
|
"nest_thermostat",
|
|
8922
|
-
"honeywell_resideo_thermostat"
|
|
8947
|
+
"honeywell_resideo_thermostat",
|
|
8948
|
+
"tado_thermostat"
|
|
8923
8949
|
],
|
|
8924
8950
|
type: "string"
|
|
8925
8951
|
},
|
|
@@ -16314,7 +16340,8 @@ var openapi_default = {
|
|
|
16314
16340
|
enum: [
|
|
16315
16341
|
"ecobee_thermostat",
|
|
16316
16342
|
"nest_thermostat",
|
|
16317
|
-
"honeywell_resideo_thermostat"
|
|
16343
|
+
"honeywell_resideo_thermostat",
|
|
16344
|
+
"tado_thermostat"
|
|
16318
16345
|
],
|
|
16319
16346
|
type: "string"
|
|
16320
16347
|
},
|
|
@@ -16365,7 +16392,8 @@ var openapi_default = {
|
|
|
16365
16392
|
enum: [
|
|
16366
16393
|
"ecobee_thermostat",
|
|
16367
16394
|
"nest_thermostat",
|
|
16368
|
-
"honeywell_resideo_thermostat"
|
|
16395
|
+
"honeywell_resideo_thermostat",
|
|
16396
|
+
"tado_thermostat"
|
|
16369
16397
|
],
|
|
16370
16398
|
type: "string"
|
|
16371
16399
|
},
|
|
@@ -16460,7 +16488,8 @@ var openapi_default = {
|
|
|
16460
16488
|
"dormakaba_oracode",
|
|
16461
16489
|
"tedee",
|
|
16462
16490
|
"honeywell_resideo",
|
|
16463
|
-
"akiles"
|
|
16491
|
+
"akiles",
|
|
16492
|
+
"tado"
|
|
16464
16493
|
],
|
|
16465
16494
|
type: "string"
|
|
16466
16495
|
},
|
|
@@ -16829,7 +16858,8 @@ var openapi_default = {
|
|
|
16829
16858
|
enum: [
|
|
16830
16859
|
"ecobee_thermostat",
|
|
16831
16860
|
"nest_thermostat",
|
|
16832
|
-
"honeywell_resideo_thermostat"
|
|
16861
|
+
"honeywell_resideo_thermostat",
|
|
16862
|
+
"tado_thermostat"
|
|
16833
16863
|
],
|
|
16834
16864
|
type: "string"
|
|
16835
16865
|
},
|
|
@@ -16880,7 +16910,8 @@ var openapi_default = {
|
|
|
16880
16910
|
enum: [
|
|
16881
16911
|
"ecobee_thermostat",
|
|
16882
16912
|
"nest_thermostat",
|
|
16883
|
-
"honeywell_resideo_thermostat"
|
|
16913
|
+
"honeywell_resideo_thermostat",
|
|
16914
|
+
"tado_thermostat"
|
|
16884
16915
|
],
|
|
16885
16916
|
type: "string"
|
|
16886
16917
|
},
|
|
@@ -16975,7 +17006,8 @@ var openapi_default = {
|
|
|
16975
17006
|
"dormakaba_oracode",
|
|
16976
17007
|
"tedee",
|
|
16977
17008
|
"honeywell_resideo",
|
|
16978
|
-
"akiles"
|
|
17009
|
+
"akiles",
|
|
17010
|
+
"tado"
|
|
16979
17011
|
],
|
|
16980
17012
|
type: "string"
|
|
16981
17013
|
},
|
|
@@ -17649,7 +17681,8 @@ var openapi_default = {
|
|
|
17649
17681
|
enum: [
|
|
17650
17682
|
"ecobee_thermostat",
|
|
17651
17683
|
"nest_thermostat",
|
|
17652
|
-
"honeywell_resideo_thermostat"
|
|
17684
|
+
"honeywell_resideo_thermostat",
|
|
17685
|
+
"tado_thermostat"
|
|
17653
17686
|
],
|
|
17654
17687
|
type: "string"
|
|
17655
17688
|
},
|
|
@@ -17700,7 +17733,8 @@ var openapi_default = {
|
|
|
17700
17733
|
enum: [
|
|
17701
17734
|
"ecobee_thermostat",
|
|
17702
17735
|
"nest_thermostat",
|
|
17703
|
-
"honeywell_resideo_thermostat"
|
|
17736
|
+
"honeywell_resideo_thermostat",
|
|
17737
|
+
"tado_thermostat"
|
|
17704
17738
|
],
|
|
17705
17739
|
type: "string"
|
|
17706
17740
|
},
|
|
@@ -17795,7 +17829,8 @@ var openapi_default = {
|
|
|
17795
17829
|
"dormakaba_oracode",
|
|
17796
17830
|
"tedee",
|
|
17797
17831
|
"honeywell_resideo",
|
|
17798
|
-
"akiles"
|
|
17832
|
+
"akiles",
|
|
17833
|
+
"tado"
|
|
17799
17834
|
],
|
|
17800
17835
|
type: "string"
|
|
17801
17836
|
},
|
|
@@ -18125,7 +18160,8 @@ var openapi_default = {
|
|
|
18125
18160
|
enum: [
|
|
18126
18161
|
"ecobee_thermostat",
|
|
18127
18162
|
"nest_thermostat",
|
|
18128
|
-
"honeywell_resideo_thermostat"
|
|
18163
|
+
"honeywell_resideo_thermostat",
|
|
18164
|
+
"tado_thermostat"
|
|
18129
18165
|
],
|
|
18130
18166
|
type: "string"
|
|
18131
18167
|
},
|
|
@@ -18176,7 +18212,8 @@ var openapi_default = {
|
|
|
18176
18212
|
enum: [
|
|
18177
18213
|
"ecobee_thermostat",
|
|
18178
18214
|
"nest_thermostat",
|
|
18179
|
-
"honeywell_resideo_thermostat"
|
|
18215
|
+
"honeywell_resideo_thermostat",
|
|
18216
|
+
"tado_thermostat"
|
|
18180
18217
|
],
|
|
18181
18218
|
type: "string"
|
|
18182
18219
|
},
|
|
@@ -18271,7 +18308,8 @@ var openapi_default = {
|
|
|
18271
18308
|
"dormakaba_oracode",
|
|
18272
18309
|
"tedee",
|
|
18273
18310
|
"honeywell_resideo",
|
|
18274
|
-
"akiles"
|
|
18311
|
+
"akiles",
|
|
18312
|
+
"tado"
|
|
18275
18313
|
],
|
|
18276
18314
|
type: "string"
|
|
18277
18315
|
},
|
|
@@ -19496,7 +19534,8 @@ var openapi_default = {
|
|
|
19496
19534
|
enum: [
|
|
19497
19535
|
"ecobee_thermostat",
|
|
19498
19536
|
"nest_thermostat",
|
|
19499
|
-
"honeywell_resideo_thermostat"
|
|
19537
|
+
"honeywell_resideo_thermostat",
|
|
19538
|
+
"tado_thermostat"
|
|
19500
19539
|
],
|
|
19501
19540
|
type: "string"
|
|
19502
19541
|
},
|
|
@@ -19547,7 +19586,8 @@ var openapi_default = {
|
|
|
19547
19586
|
enum: [
|
|
19548
19587
|
"ecobee_thermostat",
|
|
19549
19588
|
"nest_thermostat",
|
|
19550
|
-
"honeywell_resideo_thermostat"
|
|
19589
|
+
"honeywell_resideo_thermostat",
|
|
19590
|
+
"tado_thermostat"
|
|
19551
19591
|
],
|
|
19552
19592
|
type: "string"
|
|
19553
19593
|
},
|
|
@@ -19642,7 +19682,8 @@ var openapi_default = {
|
|
|
19642
19682
|
"dormakaba_oracode",
|
|
19643
19683
|
"tedee",
|
|
19644
19684
|
"honeywell_resideo",
|
|
19645
|
-
"akiles"
|
|
19685
|
+
"akiles",
|
|
19686
|
+
"tado"
|
|
19646
19687
|
],
|
|
19647
19688
|
type: "string"
|
|
19648
19689
|
},
|