@seamapi/types 1.784.0 → 1.786.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 +28 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +73 -3
- package/dist/index.cjs +28 -8
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +4 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +25 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +39 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +28 -8
- package/src/lib/seam/connect/route-types.ts +47 -3
package/dist/connect.d.cts
CHANGED
|
@@ -13171,16 +13171,19 @@ declare const batch: z.ZodObject<{
|
|
|
13171
13171
|
device_name: z.ZodString;
|
|
13172
13172
|
product_type: z.ZodString;
|
|
13173
13173
|
dual_setpoints_not_supported: z.ZodOptional<z.ZodBoolean>;
|
|
13174
|
+
enforced_setpoint_range_celsius: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
13174
13175
|
}, "strip", z.ZodTypeAny, {
|
|
13175
13176
|
device_id: string;
|
|
13176
13177
|
device_name: string;
|
|
13177
13178
|
product_type: string;
|
|
13178
13179
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
13180
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
13179
13181
|
}, {
|
|
13180
13182
|
device_id: string;
|
|
13181
13183
|
device_name: string;
|
|
13182
13184
|
product_type: string;
|
|
13183
13185
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
13186
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
13184
13187
|
}>>;
|
|
13185
13188
|
keynest_metadata: z.ZodOptional<z.ZodObject<{
|
|
13186
13189
|
key_id: z.ZodOptional<z.ZodString>;
|
|
@@ -13535,6 +13538,7 @@ declare const batch: z.ZodObject<{
|
|
|
13535
13538
|
device_name: string;
|
|
13536
13539
|
product_type: string;
|
|
13537
13540
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
13541
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
13538
13542
|
} | undefined;
|
|
13539
13543
|
keynest_metadata?: {
|
|
13540
13544
|
device_name?: string | undefined;
|
|
@@ -13813,6 +13817,7 @@ declare const batch: z.ZodObject<{
|
|
|
13813
13817
|
device_name: string;
|
|
13814
13818
|
product_type: string;
|
|
13815
13819
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
13820
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
13816
13821
|
} | undefined;
|
|
13817
13822
|
keynest_metadata?: {
|
|
13818
13823
|
device_name?: string | undefined;
|
|
@@ -15764,6 +15769,7 @@ declare const batch: z.ZodObject<{
|
|
|
15764
15769
|
device_name: string;
|
|
15765
15770
|
product_type: string;
|
|
15766
15771
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
15772
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
15767
15773
|
} | undefined;
|
|
15768
15774
|
keynest_metadata?: {
|
|
15769
15775
|
device_name?: string | undefined;
|
|
@@ -16486,6 +16492,7 @@ declare const batch: z.ZodObject<{
|
|
|
16486
16492
|
device_name: string;
|
|
16487
16493
|
product_type: string;
|
|
16488
16494
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
16495
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
16489
16496
|
} | undefined;
|
|
16490
16497
|
keynest_metadata?: {
|
|
16491
16498
|
device_name?: string | undefined;
|
|
@@ -25735,16 +25742,19 @@ declare const batch: z.ZodObject<{
|
|
|
25735
25742
|
device_name: z.ZodString;
|
|
25736
25743
|
product_type: z.ZodString;
|
|
25737
25744
|
dual_setpoints_not_supported: z.ZodOptional<z.ZodBoolean>;
|
|
25745
|
+
enforced_setpoint_range_celsius: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
25738
25746
|
}, "strip", z.ZodTypeAny, {
|
|
25739
25747
|
device_id: string;
|
|
25740
25748
|
device_name: string;
|
|
25741
25749
|
product_type: string;
|
|
25742
25750
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
25751
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
25743
25752
|
}, {
|
|
25744
25753
|
device_id: string;
|
|
25745
25754
|
device_name: string;
|
|
25746
25755
|
product_type: string;
|
|
25747
25756
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
25757
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
25748
25758
|
}>>;
|
|
25749
25759
|
keynest_metadata: z.ZodOptional<z.ZodObject<{
|
|
25750
25760
|
key_id: z.ZodOptional<z.ZodString>;
|
|
@@ -26099,6 +26109,7 @@ declare const batch: z.ZodObject<{
|
|
|
26099
26109
|
device_name: string;
|
|
26100
26110
|
product_type: string;
|
|
26101
26111
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
26112
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
26102
26113
|
} | undefined;
|
|
26103
26114
|
keynest_metadata?: {
|
|
26104
26115
|
device_name?: string | undefined;
|
|
@@ -26377,6 +26388,7 @@ declare const batch: z.ZodObject<{
|
|
|
26377
26388
|
device_name: string;
|
|
26378
26389
|
product_type: string;
|
|
26379
26390
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
26391
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
26380
26392
|
} | undefined;
|
|
26381
26393
|
keynest_metadata?: {
|
|
26382
26394
|
device_name?: string | undefined;
|
|
@@ -38002,6 +38014,7 @@ declare const batch: z.ZodObject<{
|
|
|
38002
38014
|
device_name: string;
|
|
38003
38015
|
product_type: string;
|
|
38004
38016
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
38017
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
38005
38018
|
} | undefined;
|
|
38006
38019
|
keynest_metadata?: {
|
|
38007
38020
|
device_name?: string | undefined;
|
|
@@ -42876,6 +42889,7 @@ declare const batch: z.ZodObject<{
|
|
|
42876
42889
|
device_name: string;
|
|
42877
42890
|
product_type: string;
|
|
42878
42891
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
42892
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
42879
42893
|
} | undefined;
|
|
42880
42894
|
keynest_metadata?: {
|
|
42881
42895
|
device_name?: string | undefined;
|
|
@@ -49667,16 +49681,19 @@ declare const device: z.ZodObject<{
|
|
|
49667
49681
|
device_name: z.ZodString;
|
|
49668
49682
|
product_type: z.ZodString;
|
|
49669
49683
|
dual_setpoints_not_supported: z.ZodOptional<z.ZodBoolean>;
|
|
49684
|
+
enforced_setpoint_range_celsius: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
49670
49685
|
}, "strip", z.ZodTypeAny, {
|
|
49671
49686
|
device_id: string;
|
|
49672
49687
|
device_name: string;
|
|
49673
49688
|
product_type: string;
|
|
49674
49689
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
49690
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
49675
49691
|
}, {
|
|
49676
49692
|
device_id: string;
|
|
49677
49693
|
device_name: string;
|
|
49678
49694
|
product_type: string;
|
|
49679
49695
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
49696
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
49680
49697
|
}>>;
|
|
49681
49698
|
keynest_metadata: z.ZodOptional<z.ZodObject<{
|
|
49682
49699
|
key_id: z.ZodOptional<z.ZodString>;
|
|
@@ -50031,6 +50048,7 @@ declare const device: z.ZodObject<{
|
|
|
50031
50048
|
device_name: string;
|
|
50032
50049
|
product_type: string;
|
|
50033
50050
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
50051
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
50034
50052
|
} | undefined;
|
|
50035
50053
|
keynest_metadata?: {
|
|
50036
50054
|
device_name?: string | undefined;
|
|
@@ -50309,6 +50327,7 @@ declare const device: z.ZodObject<{
|
|
|
50309
50327
|
device_name: string;
|
|
50310
50328
|
product_type: string;
|
|
50311
50329
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
50330
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
50312
50331
|
} | undefined;
|
|
50313
50332
|
keynest_metadata?: {
|
|
50314
50333
|
device_name?: string | undefined;
|
|
@@ -52260,6 +52279,7 @@ declare const device: z.ZodObject<{
|
|
|
52260
52279
|
device_name: string;
|
|
52261
52280
|
product_type: string;
|
|
52262
52281
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
52282
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
52263
52283
|
} | undefined;
|
|
52264
52284
|
keynest_metadata?: {
|
|
52265
52285
|
device_name?: string | undefined;
|
|
@@ -52982,6 +53002,7 @@ declare const device: z.ZodObject<{
|
|
|
52982
53002
|
device_name: string;
|
|
52983
53003
|
product_type: string;
|
|
52984
53004
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
53005
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
52985
53006
|
} | undefined;
|
|
52986
53007
|
keynest_metadata?: {
|
|
52987
53008
|
device_name?: string | undefined;
|
|
@@ -54313,16 +54334,19 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54313
54334
|
device_name: z.ZodString;
|
|
54314
54335
|
product_type: z.ZodString;
|
|
54315
54336
|
dual_setpoints_not_supported: z.ZodOptional<z.ZodBoolean>;
|
|
54337
|
+
enforced_setpoint_range_celsius: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
54316
54338
|
}, "strip", z.ZodTypeAny, {
|
|
54317
54339
|
device_id: string;
|
|
54318
54340
|
device_name: string;
|
|
54319
54341
|
product_type: string;
|
|
54320
54342
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
54343
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
54321
54344
|
}, {
|
|
54322
54345
|
device_id: string;
|
|
54323
54346
|
device_name: string;
|
|
54324
54347
|
product_type: string;
|
|
54325
54348
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
54349
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
54326
54350
|
}>>;
|
|
54327
54351
|
keynest_metadata: z.ZodOptional<z.ZodObject<{
|
|
54328
54352
|
key_id: z.ZodOptional<z.ZodString>;
|
|
@@ -54677,6 +54701,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54677
54701
|
device_name: string;
|
|
54678
54702
|
product_type: string;
|
|
54679
54703
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
54704
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
54680
54705
|
} | undefined;
|
|
54681
54706
|
keynest_metadata?: {
|
|
54682
54707
|
device_name?: string | undefined;
|
|
@@ -54955,6 +54980,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
54955
54980
|
device_name: string;
|
|
54956
54981
|
product_type: string;
|
|
54957
54982
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
54983
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
54958
54984
|
} | undefined;
|
|
54959
54985
|
keynest_metadata?: {
|
|
54960
54986
|
device_name?: string | undefined;
|
|
@@ -69680,6 +69706,9 @@ declare const _default: {
|
|
|
69680
69706
|
description: string;
|
|
69681
69707
|
type: string;
|
|
69682
69708
|
};
|
|
69709
|
+
enforced_setpoint_range_celsius: {
|
|
69710
|
+
description: string;
|
|
69711
|
+
};
|
|
69683
69712
|
product_type: {
|
|
69684
69713
|
description: string;
|
|
69685
69714
|
type: string;
|
|
@@ -83254,6 +83283,11 @@ declare const _default: {
|
|
|
83254
83283
|
};
|
|
83255
83284
|
type: string;
|
|
83256
83285
|
};
|
|
83286
|
+
access_grant_id: {
|
|
83287
|
+
description: string;
|
|
83288
|
+
format: string;
|
|
83289
|
+
type: string;
|
|
83290
|
+
};
|
|
83257
83291
|
access_method_id: {
|
|
83258
83292
|
description: string;
|
|
83259
83293
|
format: string;
|
|
@@ -140313,12 +140347,14 @@ type Routes = {
|
|
|
140313
140347
|
commonParams: {
|
|
140314
140348
|
/** Customer key for which you want to list access codes. */
|
|
140315
140349
|
customer_key?: string | undefined;
|
|
140316
|
-
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
140350
|
+
/** ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
|
|
140317
140351
|
device_id?: string | undefined;
|
|
140318
|
-
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
140352
|
+
/** IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
|
|
140319
140353
|
access_code_ids?: string[] | undefined;
|
|
140320
|
-
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
140354
|
+
/** ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
|
|
140321
140355
|
access_method_id?: string | undefined;
|
|
140356
|
+
/** ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`. */
|
|
140357
|
+
access_grant_id?: string | undefined;
|
|
140322
140358
|
/** Your user ID for the user by which to filter access codes. */
|
|
140323
140359
|
user_identifier_key?: string | undefined;
|
|
140324
140360
|
/** Numerical limit on the number of access codes to return. */
|
|
@@ -147266,6 +147302,8 @@ type Routes = {
|
|
|
147266
147302
|
product_type: string;
|
|
147267
147303
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
147268
147304
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
147305
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
147306
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
147269
147307
|
} | undefined;
|
|
147270
147308
|
/** Metadata for a KeyNest device. */
|
|
147271
147309
|
keynest_metadata?: {
|
|
@@ -151586,6 +151624,8 @@ type Routes = {
|
|
|
151586
151624
|
product_type: string;
|
|
151587
151625
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
151588
151626
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
151627
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
151628
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
151589
151629
|
} | undefined;
|
|
151590
151630
|
/** Metadata for a KeyNest device. */
|
|
151591
151631
|
keynest_metadata?: {
|
|
@@ -168093,6 +168133,8 @@ type Routes = {
|
|
|
168093
168133
|
product_type: string;
|
|
168094
168134
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
168095
168135
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
168136
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
168137
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
168096
168138
|
} | undefined;
|
|
168097
168139
|
/** Metadata for a KeyNest device. */
|
|
168098
168140
|
keynest_metadata?: {
|
|
@@ -169466,6 +169508,8 @@ type Routes = {
|
|
|
169466
169508
|
product_type: string;
|
|
169467
169509
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
169468
169510
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
169511
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
169512
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
169469
169513
|
} | undefined;
|
|
169470
169514
|
/** Metadata for a KeyNest device. */
|
|
169471
169515
|
keynest_metadata?: {
|
|
@@ -178987,6 +179031,8 @@ type Routes = {
|
|
|
178987
179031
|
product_type: string;
|
|
178988
179032
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
178989
179033
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
179034
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
179035
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
178990
179036
|
} | undefined;
|
|
178991
179037
|
/** Metadata for a KeyNest device. */
|
|
178992
179038
|
keynest_metadata?: {
|
|
@@ -180310,6 +180356,8 @@ type Routes = {
|
|
|
180310
180356
|
product_type: string;
|
|
180311
180357
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
180312
180358
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
180359
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
180360
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
180313
180361
|
} | undefined;
|
|
180314
180362
|
/** Metadata for a KeyNest device. */
|
|
180315
180363
|
keynest_metadata?: {
|
|
@@ -181683,6 +181731,8 @@ type Routes = {
|
|
|
181683
181731
|
product_type: string;
|
|
181684
181732
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
181685
181733
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
181734
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
181735
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
181686
181736
|
} | undefined;
|
|
181687
181737
|
/** Metadata for a KeyNest device. */
|
|
181688
181738
|
keynest_metadata?: {
|
|
@@ -183005,6 +183055,8 @@ type Routes = {
|
|
|
183005
183055
|
product_type: string;
|
|
183006
183056
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
183007
183057
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
183058
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
183059
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
183008
183060
|
} | undefined;
|
|
183009
183061
|
/** Metadata for a KeyNest device. */
|
|
183010
183062
|
keynest_metadata?: {
|
|
@@ -189724,6 +189776,8 @@ type Routes = {
|
|
|
189724
189776
|
product_type: string;
|
|
189725
189777
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
189726
189778
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
189779
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
189780
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
189727
189781
|
} | undefined;
|
|
189728
189782
|
/** Metadata for a KeyNest device. */
|
|
189729
189783
|
keynest_metadata?: {
|
|
@@ -191046,6 +191100,8 @@ type Routes = {
|
|
|
191046
191100
|
product_type: string;
|
|
191047
191101
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
191048
191102
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
191103
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
191104
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
191049
191105
|
} | undefined;
|
|
191050
191106
|
/** Metadata for a KeyNest device. */
|
|
191051
191107
|
keynest_metadata?: {
|
|
@@ -204383,6 +204439,8 @@ type Routes = {
|
|
|
204383
204439
|
product_type: string;
|
|
204384
204440
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
204385
204441
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
204442
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
204443
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
204386
204444
|
} | undefined;
|
|
204387
204445
|
/** Metadata for a KeyNest device. */
|
|
204388
204446
|
keynest_metadata?: {
|
|
@@ -210496,6 +210554,8 @@ type Routes = {
|
|
|
210496
210554
|
product_type: string;
|
|
210497
210555
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
210498
210556
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
210557
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
210558
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
210499
210559
|
} | undefined;
|
|
210500
210560
|
/** Metadata for a KeyNest device. */
|
|
210501
210561
|
keynest_metadata?: {
|
|
@@ -214555,6 +214615,8 @@ type Routes = {
|
|
|
214555
214615
|
product_type: string;
|
|
214556
214616
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
214557
214617
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
214618
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
214619
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
214558
214620
|
} | undefined;
|
|
214559
214621
|
/** Metadata for a KeyNest device. */
|
|
214560
214622
|
keynest_metadata?: {
|
|
@@ -215877,6 +215939,8 @@ type Routes = {
|
|
|
215877
215939
|
product_type: string;
|
|
215878
215940
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
215879
215941
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
215942
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
215943
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
215880
215944
|
} | undefined;
|
|
215881
215945
|
/** Metadata for a KeyNest device. */
|
|
215882
215946
|
keynest_metadata?: {
|
|
@@ -223489,6 +223553,8 @@ type Routes = {
|
|
|
223489
223553
|
product_type: string;
|
|
223490
223554
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
223491
223555
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
223556
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
223557
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
223492
223558
|
} | undefined;
|
|
223493
223559
|
/** Metadata for a KeyNest device. */
|
|
223494
223560
|
keynest_metadata?: {
|
|
@@ -224813,6 +224879,8 @@ type Routes = {
|
|
|
224813
224879
|
product_type: string;
|
|
224814
224880
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
224815
224881
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
224882
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
224883
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
224816
224884
|
} | undefined;
|
|
224817
224885
|
/** Metadata for a KeyNest device. */
|
|
224818
224886
|
keynest_metadata?: {
|
|
@@ -227260,6 +227328,8 @@ type Routes = {
|
|
|
227260
227328
|
product_type: string;
|
|
227261
227329
|
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
|
|
227262
227330
|
dual_setpoints_not_supported?: boolean | undefined;
|
|
227331
|
+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
|
|
227332
|
+
enforced_setpoint_range_celsius?: [number, number] | undefined;
|
|
227263
227333
|
} | undefined;
|
|
227264
227334
|
/** Metadata for a KeyNest device. */
|
|
227265
227335
|
keynest_metadata?: {
|
package/dist/index.cjs
CHANGED
|
@@ -1079,6 +1079,9 @@ var device_metadata = zod.z.object({
|
|
|
1079
1079
|
product_type: zod.z.string().describe(`Product type for a Sensi device.`),
|
|
1080
1080
|
dual_setpoints_not_supported: zod.z.boolean().optional().describe(
|
|
1081
1081
|
`Set to true when the device does not support the /dual-setpoints API endpoint.`
|
|
1082
|
+
),
|
|
1083
|
+
enforced_setpoint_range_celsius: zod.z.tuple([zod.z.number(), zod.z.number()]).optional().describe(
|
|
1084
|
+
`Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.`
|
|
1082
1085
|
)
|
|
1083
1086
|
}).describe(`Metadata for a Sensi device.`),
|
|
1084
1087
|
keynest_metadata: zod.z.object({
|
|
@@ -18337,6 +18340,9 @@ var openapi_default = {
|
|
|
18337
18340
|
description: "Set to true when the device does not support the /dual-setpoints API endpoint.",
|
|
18338
18341
|
type: "boolean"
|
|
18339
18342
|
},
|
|
18343
|
+
enforced_setpoint_range_celsius: {
|
|
18344
|
+
description: "Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error."
|
|
18345
|
+
},
|
|
18340
18346
|
product_type: {
|
|
18341
18347
|
description: "Product type for a Sensi device.",
|
|
18342
18348
|
type: "string"
|
|
@@ -35746,7 +35752,7 @@ var openapi_default = {
|
|
|
35746
35752
|
},
|
|
35747
35753
|
"/access_codes/list": {
|
|
35748
35754
|
get: {
|
|
35749
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
35755
|
+
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35750
35756
|
operationId: "accessCodesListGet",
|
|
35751
35757
|
parameters: [
|
|
35752
35758
|
{
|
|
@@ -35761,7 +35767,7 @@ var openapi_default = {
|
|
|
35761
35767
|
in: "query",
|
|
35762
35768
|
name: "device_id",
|
|
35763
35769
|
schema: {
|
|
35764
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35770
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35765
35771
|
format: "uuid",
|
|
35766
35772
|
type: "string"
|
|
35767
35773
|
}
|
|
@@ -35770,7 +35776,7 @@ var openapi_default = {
|
|
|
35770
35776
|
in: "query",
|
|
35771
35777
|
name: "access_code_ids",
|
|
35772
35778
|
schema: {
|
|
35773
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35779
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35774
35780
|
items: { format: "uuid", type: "string" },
|
|
35775
35781
|
type: "array"
|
|
35776
35782
|
}
|
|
@@ -35779,7 +35785,16 @@ var openapi_default = {
|
|
|
35779
35785
|
in: "query",
|
|
35780
35786
|
name: "access_method_id",
|
|
35781
35787
|
schema: {
|
|
35782
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35788
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35789
|
+
format: "uuid",
|
|
35790
|
+
type: "string"
|
|
35791
|
+
}
|
|
35792
|
+
},
|
|
35793
|
+
{
|
|
35794
|
+
in: "query",
|
|
35795
|
+
name: "access_grant_id",
|
|
35796
|
+
schema: {
|
|
35797
|
+
description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35783
35798
|
format: "uuid",
|
|
35784
35799
|
type: "string"
|
|
35785
35800
|
}
|
|
@@ -35860,7 +35875,7 @@ var openapi_default = {
|
|
|
35860
35875
|
"x-title": "List Access Codes"
|
|
35861
35876
|
},
|
|
35862
35877
|
post: {
|
|
35863
|
-
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, or `
|
|
35878
|
+
description: "Returns a list of all [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).\n\nSpecify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35864
35879
|
operationId: "accessCodesListPost",
|
|
35865
35880
|
requestBody: {
|
|
35866
35881
|
content: {
|
|
@@ -35868,12 +35883,17 @@ var openapi_default = {
|
|
|
35868
35883
|
schema: {
|
|
35869
35884
|
properties: {
|
|
35870
35885
|
access_code_ids: {
|
|
35871
|
-
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, or `
|
|
35886
|
+
description: "IDs of the access codes that you want to retrieve. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35872
35887
|
items: { format: "uuid", type: "string" },
|
|
35873
35888
|
type: "array"
|
|
35874
35889
|
},
|
|
35890
|
+
access_grant_id: {
|
|
35891
|
+
description: "ID of the access grant for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35892
|
+
format: "uuid",
|
|
35893
|
+
type: "string"
|
|
35894
|
+
},
|
|
35875
35895
|
access_method_id: {
|
|
35876
|
-
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35896
|
+
description: "ID of the access method for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35877
35897
|
format: "uuid",
|
|
35878
35898
|
type: "string"
|
|
35879
35899
|
},
|
|
@@ -35882,7 +35902,7 @@ var openapi_default = {
|
|
|
35882
35902
|
type: "string"
|
|
35883
35903
|
},
|
|
35884
35904
|
device_id: {
|
|
35885
|
-
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, or `
|
|
35905
|
+
description: "ID of the device for which you want to list access codes. Specify `device_id`, `access_code_ids`, `access_method_id`, or `access_grant_id`.",
|
|
35886
35906
|
format: "uuid",
|
|
35887
35907
|
type: "string"
|
|
35888
35908
|
},
|