@seamapi/types 1.273.0 → 1.275.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 +232 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +783 -45
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +28 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +8 -0
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +38 -0
- package/lib/seam/connect/models/devices/device-metadata.js +11 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +94 -0
- package/lib/seam/connect/models/devices/phone.d.ts +66 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +66 -0
- package/lib/seam/connect/models/events/devices.d.ts +180 -0
- package/lib/seam/connect/models/events/devices.js +24 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +88 -0
- package/lib/seam/connect/openapi.d.ts +223 -0
- package/lib/seam/connect/openapi.js +187 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +269 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +8 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +11 -1
- package/src/lib/seam/connect/models/events/devices.ts +38 -0
- package/src/lib/seam/connect/openapi.ts +188 -0
- package/src/lib/seam/connect/route-types.ts +369 -0
|
@@ -2766,7 +2766,32 @@ declare const _default: {
|
|
|
2766
2766
|
required: string[];
|
|
2767
2767
|
type: string;
|
|
2768
2768
|
};
|
|
2769
|
+
salto_ks_metadata: {
|
|
2770
|
+
properties: {
|
|
2771
|
+
battery_level: {
|
|
2772
|
+
type: string;
|
|
2773
|
+
};
|
|
2774
|
+
customer_reference: {
|
|
2775
|
+
type: string;
|
|
2776
|
+
};
|
|
2777
|
+
lock_id: {
|
|
2778
|
+
type: string;
|
|
2779
|
+
};
|
|
2780
|
+
lock_type: {
|
|
2781
|
+
type: string;
|
|
2782
|
+
};
|
|
2783
|
+
locked_state: {
|
|
2784
|
+
type: string;
|
|
2785
|
+
};
|
|
2786
|
+
model: {
|
|
2787
|
+
type: string;
|
|
2788
|
+
};
|
|
2789
|
+
};
|
|
2790
|
+
required: string[];
|
|
2791
|
+
type: string;
|
|
2792
|
+
};
|
|
2769
2793
|
salto_metadata: {
|
|
2794
|
+
description: string;
|
|
2770
2795
|
properties: {
|
|
2771
2796
|
battery_level: {
|
|
2772
2797
|
type: string;
|
|
@@ -3090,6 +3115,7 @@ declare const _default: {
|
|
|
3090
3115
|
relative_humidity?: never;
|
|
3091
3116
|
temperature_celsius?: never;
|
|
3092
3117
|
temperature_fahrenheit?: never;
|
|
3118
|
+
temperature_threshold?: never;
|
|
3093
3119
|
};
|
|
3094
3120
|
type: string;
|
|
3095
3121
|
} | {
|
|
@@ -3380,6 +3406,32 @@ declare const _default: {
|
|
|
3380
3406
|
format: string;
|
|
3381
3407
|
type: string;
|
|
3382
3408
|
};
|
|
3409
|
+
temperature_threshold: {
|
|
3410
|
+
properties: {
|
|
3411
|
+
lower_limit_celsius: {
|
|
3412
|
+
format: string;
|
|
3413
|
+
nullable: boolean;
|
|
3414
|
+
type: string;
|
|
3415
|
+
};
|
|
3416
|
+
lower_limit_fahrenheit: {
|
|
3417
|
+
format: string;
|
|
3418
|
+
nullable: boolean;
|
|
3419
|
+
type: string;
|
|
3420
|
+
};
|
|
3421
|
+
upper_limit_celsius: {
|
|
3422
|
+
format: string;
|
|
3423
|
+
nullable: boolean;
|
|
3424
|
+
type: string;
|
|
3425
|
+
};
|
|
3426
|
+
upper_limit_fahrenheit: {
|
|
3427
|
+
format: string;
|
|
3428
|
+
nullable: boolean;
|
|
3429
|
+
type: string;
|
|
3430
|
+
};
|
|
3431
|
+
};
|
|
3432
|
+
required: string[];
|
|
3433
|
+
type: string;
|
|
3434
|
+
};
|
|
3383
3435
|
_experimental_supported_code_from_access_codes_lengths?: never;
|
|
3384
3436
|
code_constraints?: never;
|
|
3385
3437
|
door_open?: never;
|
|
@@ -16998,6 +17050,177 @@ declare const _default: {
|
|
|
16998
17050
|
'x-response-key': string;
|
|
16999
17051
|
};
|
|
17000
17052
|
};
|
|
17053
|
+
'/thermostats/set_temperature_threshold': {
|
|
17054
|
+
patch: {
|
|
17055
|
+
operationId: string;
|
|
17056
|
+
requestBody: {
|
|
17057
|
+
content: {
|
|
17058
|
+
'application/json': {
|
|
17059
|
+
schema: {
|
|
17060
|
+
properties: {
|
|
17061
|
+
device_id: {
|
|
17062
|
+
format: string;
|
|
17063
|
+
type: string;
|
|
17064
|
+
};
|
|
17065
|
+
lower_limit_celsius: {
|
|
17066
|
+
default: null;
|
|
17067
|
+
format: string;
|
|
17068
|
+
nullable: boolean;
|
|
17069
|
+
type: string;
|
|
17070
|
+
};
|
|
17071
|
+
lower_limit_fahrenheit: {
|
|
17072
|
+
default: null;
|
|
17073
|
+
format: string;
|
|
17074
|
+
nullable: boolean;
|
|
17075
|
+
type: string;
|
|
17076
|
+
};
|
|
17077
|
+
upper_limit_celsius: {
|
|
17078
|
+
default: null;
|
|
17079
|
+
format: string;
|
|
17080
|
+
nullable: boolean;
|
|
17081
|
+
type: string;
|
|
17082
|
+
};
|
|
17083
|
+
upper_limit_fahrenheit: {
|
|
17084
|
+
default: null;
|
|
17085
|
+
format: string;
|
|
17086
|
+
nullable: boolean;
|
|
17087
|
+
type: string;
|
|
17088
|
+
};
|
|
17089
|
+
};
|
|
17090
|
+
required: string[];
|
|
17091
|
+
type: string;
|
|
17092
|
+
};
|
|
17093
|
+
};
|
|
17094
|
+
};
|
|
17095
|
+
};
|
|
17096
|
+
responses: {
|
|
17097
|
+
200: {
|
|
17098
|
+
content: {
|
|
17099
|
+
'application/json': {
|
|
17100
|
+
schema: {
|
|
17101
|
+
properties: {
|
|
17102
|
+
ok: {
|
|
17103
|
+
type: string;
|
|
17104
|
+
};
|
|
17105
|
+
};
|
|
17106
|
+
required: string[];
|
|
17107
|
+
type: string;
|
|
17108
|
+
};
|
|
17109
|
+
};
|
|
17110
|
+
};
|
|
17111
|
+
description: string;
|
|
17112
|
+
};
|
|
17113
|
+
400: {
|
|
17114
|
+
description: string;
|
|
17115
|
+
};
|
|
17116
|
+
401: {
|
|
17117
|
+
description: string;
|
|
17118
|
+
};
|
|
17119
|
+
};
|
|
17120
|
+
security: ({
|
|
17121
|
+
api_key: never[];
|
|
17122
|
+
pat_with_workspace?: never;
|
|
17123
|
+
console_session?: never;
|
|
17124
|
+
} | {
|
|
17125
|
+
pat_with_workspace: never[];
|
|
17126
|
+
api_key?: never;
|
|
17127
|
+
console_session?: never;
|
|
17128
|
+
} | {
|
|
17129
|
+
console_session: never[];
|
|
17130
|
+
api_key?: never;
|
|
17131
|
+
pat_with_workspace?: never;
|
|
17132
|
+
})[];
|
|
17133
|
+
summary: string;
|
|
17134
|
+
tags: string[];
|
|
17135
|
+
'x-fern-ignore': boolean;
|
|
17136
|
+
'x-response-key': null;
|
|
17137
|
+
};
|
|
17138
|
+
post: {
|
|
17139
|
+
operationId: string;
|
|
17140
|
+
requestBody: {
|
|
17141
|
+
content: {
|
|
17142
|
+
'application/json': {
|
|
17143
|
+
schema: {
|
|
17144
|
+
properties: {
|
|
17145
|
+
device_id: {
|
|
17146
|
+
format: string;
|
|
17147
|
+
type: string;
|
|
17148
|
+
};
|
|
17149
|
+
lower_limit_celsius: {
|
|
17150
|
+
default: null;
|
|
17151
|
+
format: string;
|
|
17152
|
+
nullable: boolean;
|
|
17153
|
+
type: string;
|
|
17154
|
+
};
|
|
17155
|
+
lower_limit_fahrenheit: {
|
|
17156
|
+
default: null;
|
|
17157
|
+
format: string;
|
|
17158
|
+
nullable: boolean;
|
|
17159
|
+
type: string;
|
|
17160
|
+
};
|
|
17161
|
+
upper_limit_celsius: {
|
|
17162
|
+
default: null;
|
|
17163
|
+
format: string;
|
|
17164
|
+
nullable: boolean;
|
|
17165
|
+
type: string;
|
|
17166
|
+
};
|
|
17167
|
+
upper_limit_fahrenheit: {
|
|
17168
|
+
default: null;
|
|
17169
|
+
format: string;
|
|
17170
|
+
nullable: boolean;
|
|
17171
|
+
type: string;
|
|
17172
|
+
};
|
|
17173
|
+
};
|
|
17174
|
+
required: string[];
|
|
17175
|
+
type: string;
|
|
17176
|
+
};
|
|
17177
|
+
};
|
|
17178
|
+
};
|
|
17179
|
+
};
|
|
17180
|
+
responses: {
|
|
17181
|
+
200: {
|
|
17182
|
+
content: {
|
|
17183
|
+
'application/json': {
|
|
17184
|
+
schema: {
|
|
17185
|
+
properties: {
|
|
17186
|
+
ok: {
|
|
17187
|
+
type: string;
|
|
17188
|
+
};
|
|
17189
|
+
};
|
|
17190
|
+
required: string[];
|
|
17191
|
+
type: string;
|
|
17192
|
+
};
|
|
17193
|
+
};
|
|
17194
|
+
};
|
|
17195
|
+
description: string;
|
|
17196
|
+
};
|
|
17197
|
+
400: {
|
|
17198
|
+
description: string;
|
|
17199
|
+
};
|
|
17200
|
+
401: {
|
|
17201
|
+
description: string;
|
|
17202
|
+
};
|
|
17203
|
+
};
|
|
17204
|
+
security: ({
|
|
17205
|
+
api_key: never[];
|
|
17206
|
+
pat_with_workspace?: never;
|
|
17207
|
+
console_session?: never;
|
|
17208
|
+
} | {
|
|
17209
|
+
pat_with_workspace: never[];
|
|
17210
|
+
api_key?: never;
|
|
17211
|
+
console_session?: never;
|
|
17212
|
+
} | {
|
|
17213
|
+
console_session: never[];
|
|
17214
|
+
api_key?: never;
|
|
17215
|
+
pat_with_workspace?: never;
|
|
17216
|
+
})[];
|
|
17217
|
+
summary: string;
|
|
17218
|
+
tags: string[];
|
|
17219
|
+
'x-fern-sdk-group-name': string[];
|
|
17220
|
+
'x-fern-sdk-method-name': string;
|
|
17221
|
+
'x-response-key': null;
|
|
17222
|
+
};
|
|
17223
|
+
};
|
|
17001
17224
|
'/thermostats/update_climate_preset': {
|
|
17002
17225
|
patch: {
|
|
17003
17226
|
operationId: string;
|
|
@@ -3780,7 +3780,26 @@ export default {
|
|
|
3780
3780
|
required: ['device_id', 'device_name'],
|
|
3781
3781
|
type: 'object',
|
|
3782
3782
|
},
|
|
3783
|
+
salto_ks_metadata: {
|
|
3784
|
+
properties: {
|
|
3785
|
+
battery_level: { type: 'string' },
|
|
3786
|
+
customer_reference: { type: 'string' },
|
|
3787
|
+
lock_id: { type: 'string' },
|
|
3788
|
+
lock_type: { type: 'string' },
|
|
3789
|
+
locked_state: { type: 'string' },
|
|
3790
|
+
model: { type: 'string' },
|
|
3791
|
+
},
|
|
3792
|
+
required: [
|
|
3793
|
+
'lock_id',
|
|
3794
|
+
'customer_reference',
|
|
3795
|
+
'lock_type',
|
|
3796
|
+
'battery_level',
|
|
3797
|
+
'locked_state',
|
|
3798
|
+
],
|
|
3799
|
+
type: 'object',
|
|
3800
|
+
},
|
|
3783
3801
|
salto_metadata: {
|
|
3802
|
+
description: '\n ---\n deprecated: Use `salto_ks_metadata ` instead.\n ',
|
|
3784
3803
|
properties: {
|
|
3785
3804
|
battery_level: { type: 'string' },
|
|
3786
3805
|
customer_reference: { type: 'string' },
|
|
@@ -4264,6 +4283,37 @@ export default {
|
|
|
4264
4283
|
format: 'float',
|
|
4265
4284
|
type: 'number',
|
|
4266
4285
|
},
|
|
4286
|
+
temperature_threshold: {
|
|
4287
|
+
properties: {
|
|
4288
|
+
lower_limit_celsius: {
|
|
4289
|
+
format: 'float',
|
|
4290
|
+
nullable: true,
|
|
4291
|
+
type: 'number',
|
|
4292
|
+
},
|
|
4293
|
+
lower_limit_fahrenheit: {
|
|
4294
|
+
format: 'float',
|
|
4295
|
+
nullable: true,
|
|
4296
|
+
type: 'number',
|
|
4297
|
+
},
|
|
4298
|
+
upper_limit_celsius: {
|
|
4299
|
+
format: 'float',
|
|
4300
|
+
nullable: true,
|
|
4301
|
+
type: 'number',
|
|
4302
|
+
},
|
|
4303
|
+
upper_limit_fahrenheit: {
|
|
4304
|
+
format: 'float',
|
|
4305
|
+
nullable: true,
|
|
4306
|
+
type: 'number',
|
|
4307
|
+
},
|
|
4308
|
+
},
|
|
4309
|
+
required: [
|
|
4310
|
+
'lower_limit_celsius',
|
|
4311
|
+
'lower_limit_fahrenheit',
|
|
4312
|
+
'upper_limit_celsius',
|
|
4313
|
+
'upper_limit_fahrenheit',
|
|
4314
|
+
],
|
|
4315
|
+
type: 'object',
|
|
4316
|
+
},
|
|
4267
4317
|
},
|
|
4268
4318
|
type: 'object',
|
|
4269
4319
|
},
|
|
@@ -12591,6 +12641,8 @@ export default {
|
|
|
12591
12641
|
'action_attempt.unlock_door.failed',
|
|
12592
12642
|
'thermostat.climate_preset_activated',
|
|
12593
12643
|
'thermostat.manually_adjusted',
|
|
12644
|
+
'thermostat.temperature_threshold_exceeded',
|
|
12645
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
12594
12646
|
],
|
|
12595
12647
|
type: 'string',
|
|
12596
12648
|
},
|
|
@@ -12663,6 +12715,8 @@ export default {
|
|
|
12663
12715
|
'action_attempt.unlock_door.failed',
|
|
12664
12716
|
'thermostat.climate_preset_activated',
|
|
12665
12717
|
'thermostat.manually_adjusted',
|
|
12718
|
+
'thermostat.temperature_threshold_exceeded',
|
|
12719
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
12666
12720
|
],
|
|
12667
12721
|
type: 'string',
|
|
12668
12722
|
},
|
|
@@ -15216,6 +15270,139 @@ export default {
|
|
|
15216
15270
|
'x-response-key': 'action_attempt',
|
|
15217
15271
|
},
|
|
15218
15272
|
},
|
|
15273
|
+
'/thermostats/set_temperature_threshold': {
|
|
15274
|
+
patch: {
|
|
15275
|
+
operationId: 'thermostatsSetTemperatureThresholdPatch',
|
|
15276
|
+
requestBody: {
|
|
15277
|
+
content: {
|
|
15278
|
+
'application/json': {
|
|
15279
|
+
schema: {
|
|
15280
|
+
properties: {
|
|
15281
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
15282
|
+
lower_limit_celsius: {
|
|
15283
|
+
default: null,
|
|
15284
|
+
format: 'float',
|
|
15285
|
+
nullable: true,
|
|
15286
|
+
type: 'number',
|
|
15287
|
+
},
|
|
15288
|
+
lower_limit_fahrenheit: {
|
|
15289
|
+
default: null,
|
|
15290
|
+
format: 'float',
|
|
15291
|
+
nullable: true,
|
|
15292
|
+
type: 'number',
|
|
15293
|
+
},
|
|
15294
|
+
upper_limit_celsius: {
|
|
15295
|
+
default: null,
|
|
15296
|
+
format: 'float',
|
|
15297
|
+
nullable: true,
|
|
15298
|
+
type: 'number',
|
|
15299
|
+
},
|
|
15300
|
+
upper_limit_fahrenheit: {
|
|
15301
|
+
default: null,
|
|
15302
|
+
format: 'float',
|
|
15303
|
+
nullable: true,
|
|
15304
|
+
type: 'number',
|
|
15305
|
+
},
|
|
15306
|
+
},
|
|
15307
|
+
required: ['device_id'],
|
|
15308
|
+
type: 'object',
|
|
15309
|
+
},
|
|
15310
|
+
},
|
|
15311
|
+
},
|
|
15312
|
+
},
|
|
15313
|
+
responses: {
|
|
15314
|
+
200: {
|
|
15315
|
+
content: {
|
|
15316
|
+
'application/json': {
|
|
15317
|
+
schema: {
|
|
15318
|
+
properties: { ok: { type: 'boolean' } },
|
|
15319
|
+
required: ['ok'],
|
|
15320
|
+
type: 'object',
|
|
15321
|
+
},
|
|
15322
|
+
},
|
|
15323
|
+
},
|
|
15324
|
+
description: 'OK',
|
|
15325
|
+
},
|
|
15326
|
+
400: { description: 'Bad Request' },
|
|
15327
|
+
401: { description: 'Unauthorized' },
|
|
15328
|
+
},
|
|
15329
|
+
security: [
|
|
15330
|
+
{ api_key: [] },
|
|
15331
|
+
{ pat_with_workspace: [] },
|
|
15332
|
+
{ console_session: [] },
|
|
15333
|
+
],
|
|
15334
|
+
summary: '/thermostats/set_temperature_threshold',
|
|
15335
|
+
tags: ['/thermostats'],
|
|
15336
|
+
'x-fern-ignore': true,
|
|
15337
|
+
'x-response-key': null,
|
|
15338
|
+
},
|
|
15339
|
+
post: {
|
|
15340
|
+
operationId: 'thermostatsSetTemperatureThresholdPost',
|
|
15341
|
+
requestBody: {
|
|
15342
|
+
content: {
|
|
15343
|
+
'application/json': {
|
|
15344
|
+
schema: {
|
|
15345
|
+
properties: {
|
|
15346
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
15347
|
+
lower_limit_celsius: {
|
|
15348
|
+
default: null,
|
|
15349
|
+
format: 'float',
|
|
15350
|
+
nullable: true,
|
|
15351
|
+
type: 'number',
|
|
15352
|
+
},
|
|
15353
|
+
lower_limit_fahrenheit: {
|
|
15354
|
+
default: null,
|
|
15355
|
+
format: 'float',
|
|
15356
|
+
nullable: true,
|
|
15357
|
+
type: 'number',
|
|
15358
|
+
},
|
|
15359
|
+
upper_limit_celsius: {
|
|
15360
|
+
default: null,
|
|
15361
|
+
format: 'float',
|
|
15362
|
+
nullable: true,
|
|
15363
|
+
type: 'number',
|
|
15364
|
+
},
|
|
15365
|
+
upper_limit_fahrenheit: {
|
|
15366
|
+
default: null,
|
|
15367
|
+
format: 'float',
|
|
15368
|
+
nullable: true,
|
|
15369
|
+
type: 'number',
|
|
15370
|
+
},
|
|
15371
|
+
},
|
|
15372
|
+
required: ['device_id'],
|
|
15373
|
+
type: 'object',
|
|
15374
|
+
},
|
|
15375
|
+
},
|
|
15376
|
+
},
|
|
15377
|
+
},
|
|
15378
|
+
responses: {
|
|
15379
|
+
200: {
|
|
15380
|
+
content: {
|
|
15381
|
+
'application/json': {
|
|
15382
|
+
schema: {
|
|
15383
|
+
properties: { ok: { type: 'boolean' } },
|
|
15384
|
+
required: ['ok'],
|
|
15385
|
+
type: 'object',
|
|
15386
|
+
},
|
|
15387
|
+
},
|
|
15388
|
+
},
|
|
15389
|
+
description: 'OK',
|
|
15390
|
+
},
|
|
15391
|
+
400: { description: 'Bad Request' },
|
|
15392
|
+
401: { description: 'Unauthorized' },
|
|
15393
|
+
},
|
|
15394
|
+
security: [
|
|
15395
|
+
{ api_key: [] },
|
|
15396
|
+
{ pat_with_workspace: [] },
|
|
15397
|
+
{ console_session: [] },
|
|
15398
|
+
],
|
|
15399
|
+
summary: '/thermostats/set_temperature_threshold',
|
|
15400
|
+
tags: ['/thermostats'],
|
|
15401
|
+
'x-fern-sdk-group-name': ['thermostats'],
|
|
15402
|
+
'x-fern-sdk-method-name': 'set_temperature_threshold',
|
|
15403
|
+
'x-response-key': null,
|
|
15404
|
+
},
|
|
15405
|
+
},
|
|
15219
15406
|
'/thermostats/update_climate_preset': {
|
|
15220
15407
|
patch: {
|
|
15221
15408
|
operationId: 'thermostatsUpdateClimatePresetPatch',
|