@seamapi/types 1.274.0 → 1.276.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 +204 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +460 -2
- 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.d.ts +40 -0
- package/lib/seam/connect/models/devices/phone.d.ts +28 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -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 +202 -0
- package/lib/seam/connect/openapi.js +169 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +102 -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/events/devices.ts +38 -0
- package/src/lib/seam/connect/openapi.ts +169 -0
- package/src/lib/seam/connect/route-types.ts +174 -0
|
@@ -3115,6 +3115,7 @@ declare const _default: {
|
|
|
3115
3115
|
relative_humidity?: never;
|
|
3116
3116
|
temperature_celsius?: never;
|
|
3117
3117
|
temperature_fahrenheit?: never;
|
|
3118
|
+
temperature_threshold?: never;
|
|
3118
3119
|
};
|
|
3119
3120
|
type: string;
|
|
3120
3121
|
} | {
|
|
@@ -3405,6 +3406,32 @@ declare const _default: {
|
|
|
3405
3406
|
format: string;
|
|
3406
3407
|
type: string;
|
|
3407
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
|
+
};
|
|
3408
3435
|
_experimental_supported_code_from_access_codes_lengths?: never;
|
|
3409
3436
|
code_constraints?: never;
|
|
3410
3437
|
door_open?: never;
|
|
@@ -13909,6 +13936,10 @@ declare const _default: {
|
|
|
13909
13936
|
since: {
|
|
13910
13937
|
type: string;
|
|
13911
13938
|
};
|
|
13939
|
+
unstable_offset: {
|
|
13940
|
+
format: string;
|
|
13941
|
+
type: string;
|
|
13942
|
+
};
|
|
13912
13943
|
};
|
|
13913
13944
|
type: string;
|
|
13914
13945
|
};
|
|
@@ -17023,6 +17054,177 @@ declare const _default: {
|
|
|
17023
17054
|
'x-response-key': string;
|
|
17024
17055
|
};
|
|
17025
17056
|
};
|
|
17057
|
+
'/thermostats/set_temperature_threshold': {
|
|
17058
|
+
patch: {
|
|
17059
|
+
operationId: string;
|
|
17060
|
+
requestBody: {
|
|
17061
|
+
content: {
|
|
17062
|
+
'application/json': {
|
|
17063
|
+
schema: {
|
|
17064
|
+
properties: {
|
|
17065
|
+
device_id: {
|
|
17066
|
+
format: string;
|
|
17067
|
+
type: string;
|
|
17068
|
+
};
|
|
17069
|
+
lower_limit_celsius: {
|
|
17070
|
+
default: null;
|
|
17071
|
+
format: string;
|
|
17072
|
+
nullable: boolean;
|
|
17073
|
+
type: string;
|
|
17074
|
+
};
|
|
17075
|
+
lower_limit_fahrenheit: {
|
|
17076
|
+
default: null;
|
|
17077
|
+
format: string;
|
|
17078
|
+
nullable: boolean;
|
|
17079
|
+
type: string;
|
|
17080
|
+
};
|
|
17081
|
+
upper_limit_celsius: {
|
|
17082
|
+
default: null;
|
|
17083
|
+
format: string;
|
|
17084
|
+
nullable: boolean;
|
|
17085
|
+
type: string;
|
|
17086
|
+
};
|
|
17087
|
+
upper_limit_fahrenheit: {
|
|
17088
|
+
default: null;
|
|
17089
|
+
format: string;
|
|
17090
|
+
nullable: boolean;
|
|
17091
|
+
type: string;
|
|
17092
|
+
};
|
|
17093
|
+
};
|
|
17094
|
+
required: string[];
|
|
17095
|
+
type: string;
|
|
17096
|
+
};
|
|
17097
|
+
};
|
|
17098
|
+
};
|
|
17099
|
+
};
|
|
17100
|
+
responses: {
|
|
17101
|
+
200: {
|
|
17102
|
+
content: {
|
|
17103
|
+
'application/json': {
|
|
17104
|
+
schema: {
|
|
17105
|
+
properties: {
|
|
17106
|
+
ok: {
|
|
17107
|
+
type: string;
|
|
17108
|
+
};
|
|
17109
|
+
};
|
|
17110
|
+
required: string[];
|
|
17111
|
+
type: string;
|
|
17112
|
+
};
|
|
17113
|
+
};
|
|
17114
|
+
};
|
|
17115
|
+
description: string;
|
|
17116
|
+
};
|
|
17117
|
+
400: {
|
|
17118
|
+
description: string;
|
|
17119
|
+
};
|
|
17120
|
+
401: {
|
|
17121
|
+
description: string;
|
|
17122
|
+
};
|
|
17123
|
+
};
|
|
17124
|
+
security: ({
|
|
17125
|
+
api_key: never[];
|
|
17126
|
+
pat_with_workspace?: never;
|
|
17127
|
+
console_session?: never;
|
|
17128
|
+
} | {
|
|
17129
|
+
pat_with_workspace: never[];
|
|
17130
|
+
api_key?: never;
|
|
17131
|
+
console_session?: never;
|
|
17132
|
+
} | {
|
|
17133
|
+
console_session: never[];
|
|
17134
|
+
api_key?: never;
|
|
17135
|
+
pat_with_workspace?: never;
|
|
17136
|
+
})[];
|
|
17137
|
+
summary: string;
|
|
17138
|
+
tags: string[];
|
|
17139
|
+
'x-fern-ignore': boolean;
|
|
17140
|
+
'x-response-key': null;
|
|
17141
|
+
};
|
|
17142
|
+
post: {
|
|
17143
|
+
operationId: string;
|
|
17144
|
+
requestBody: {
|
|
17145
|
+
content: {
|
|
17146
|
+
'application/json': {
|
|
17147
|
+
schema: {
|
|
17148
|
+
properties: {
|
|
17149
|
+
device_id: {
|
|
17150
|
+
format: string;
|
|
17151
|
+
type: string;
|
|
17152
|
+
};
|
|
17153
|
+
lower_limit_celsius: {
|
|
17154
|
+
default: null;
|
|
17155
|
+
format: string;
|
|
17156
|
+
nullable: boolean;
|
|
17157
|
+
type: string;
|
|
17158
|
+
};
|
|
17159
|
+
lower_limit_fahrenheit: {
|
|
17160
|
+
default: null;
|
|
17161
|
+
format: string;
|
|
17162
|
+
nullable: boolean;
|
|
17163
|
+
type: string;
|
|
17164
|
+
};
|
|
17165
|
+
upper_limit_celsius: {
|
|
17166
|
+
default: null;
|
|
17167
|
+
format: string;
|
|
17168
|
+
nullable: boolean;
|
|
17169
|
+
type: string;
|
|
17170
|
+
};
|
|
17171
|
+
upper_limit_fahrenheit: {
|
|
17172
|
+
default: null;
|
|
17173
|
+
format: string;
|
|
17174
|
+
nullable: boolean;
|
|
17175
|
+
type: string;
|
|
17176
|
+
};
|
|
17177
|
+
};
|
|
17178
|
+
required: string[];
|
|
17179
|
+
type: string;
|
|
17180
|
+
};
|
|
17181
|
+
};
|
|
17182
|
+
};
|
|
17183
|
+
};
|
|
17184
|
+
responses: {
|
|
17185
|
+
200: {
|
|
17186
|
+
content: {
|
|
17187
|
+
'application/json': {
|
|
17188
|
+
schema: {
|
|
17189
|
+
properties: {
|
|
17190
|
+
ok: {
|
|
17191
|
+
type: string;
|
|
17192
|
+
};
|
|
17193
|
+
};
|
|
17194
|
+
required: string[];
|
|
17195
|
+
type: string;
|
|
17196
|
+
};
|
|
17197
|
+
};
|
|
17198
|
+
};
|
|
17199
|
+
description: string;
|
|
17200
|
+
};
|
|
17201
|
+
400: {
|
|
17202
|
+
description: string;
|
|
17203
|
+
};
|
|
17204
|
+
401: {
|
|
17205
|
+
description: string;
|
|
17206
|
+
};
|
|
17207
|
+
};
|
|
17208
|
+
security: ({
|
|
17209
|
+
api_key: never[];
|
|
17210
|
+
pat_with_workspace?: never;
|
|
17211
|
+
console_session?: never;
|
|
17212
|
+
} | {
|
|
17213
|
+
pat_with_workspace: never[];
|
|
17214
|
+
api_key?: never;
|
|
17215
|
+
console_session?: never;
|
|
17216
|
+
} | {
|
|
17217
|
+
console_session: never[];
|
|
17218
|
+
api_key?: never;
|
|
17219
|
+
pat_with_workspace?: never;
|
|
17220
|
+
})[];
|
|
17221
|
+
summary: string;
|
|
17222
|
+
tags: string[];
|
|
17223
|
+
'x-fern-sdk-group-name': string[];
|
|
17224
|
+
'x-fern-sdk-method-name': string;
|
|
17225
|
+
'x-response-key': null;
|
|
17226
|
+
};
|
|
17227
|
+
};
|
|
17026
17228
|
'/thermostats/update_climate_preset': {
|
|
17027
17229
|
patch: {
|
|
17028
17230
|
operationId: string;
|
|
@@ -4283,6 +4283,37 @@ export default {
|
|
|
4283
4283
|
format: 'float',
|
|
4284
4284
|
type: 'number',
|
|
4285
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
|
+
},
|
|
4286
4317
|
},
|
|
4287
4318
|
type: 'object',
|
|
4288
4319
|
},
|
|
@@ -12610,6 +12641,8 @@ export default {
|
|
|
12610
12641
|
'action_attempt.unlock_door.failed',
|
|
12611
12642
|
'thermostat.climate_preset_activated',
|
|
12612
12643
|
'thermostat.manually_adjusted',
|
|
12644
|
+
'thermostat.temperature_threshold_exceeded',
|
|
12645
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
12613
12646
|
],
|
|
12614
12647
|
type: 'string',
|
|
12615
12648
|
},
|
|
@@ -12682,6 +12715,8 @@ export default {
|
|
|
12682
12715
|
'action_attempt.unlock_door.failed',
|
|
12683
12716
|
'thermostat.climate_preset_activated',
|
|
12684
12717
|
'thermostat.manually_adjusted',
|
|
12718
|
+
'thermostat.temperature_threshold_exceeded',
|
|
12719
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
12685
12720
|
],
|
|
12686
12721
|
type: 'string',
|
|
12687
12722
|
},
|
|
@@ -12689,6 +12724,7 @@ export default {
|
|
|
12689
12724
|
},
|
|
12690
12725
|
limit: { default: 500, format: 'float', type: 'number' },
|
|
12691
12726
|
since: { type: 'string' },
|
|
12727
|
+
unstable_offset: { format: 'float', type: 'number' },
|
|
12692
12728
|
},
|
|
12693
12729
|
type: 'object',
|
|
12694
12730
|
},
|
|
@@ -15235,6 +15271,139 @@ export default {
|
|
|
15235
15271
|
'x-response-key': 'action_attempt',
|
|
15236
15272
|
},
|
|
15237
15273
|
},
|
|
15274
|
+
'/thermostats/set_temperature_threshold': {
|
|
15275
|
+
patch: {
|
|
15276
|
+
operationId: 'thermostatsSetTemperatureThresholdPatch',
|
|
15277
|
+
requestBody: {
|
|
15278
|
+
content: {
|
|
15279
|
+
'application/json': {
|
|
15280
|
+
schema: {
|
|
15281
|
+
properties: {
|
|
15282
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
15283
|
+
lower_limit_celsius: {
|
|
15284
|
+
default: null,
|
|
15285
|
+
format: 'float',
|
|
15286
|
+
nullable: true,
|
|
15287
|
+
type: 'number',
|
|
15288
|
+
},
|
|
15289
|
+
lower_limit_fahrenheit: {
|
|
15290
|
+
default: null,
|
|
15291
|
+
format: 'float',
|
|
15292
|
+
nullable: true,
|
|
15293
|
+
type: 'number',
|
|
15294
|
+
},
|
|
15295
|
+
upper_limit_celsius: {
|
|
15296
|
+
default: null,
|
|
15297
|
+
format: 'float',
|
|
15298
|
+
nullable: true,
|
|
15299
|
+
type: 'number',
|
|
15300
|
+
},
|
|
15301
|
+
upper_limit_fahrenheit: {
|
|
15302
|
+
default: null,
|
|
15303
|
+
format: 'float',
|
|
15304
|
+
nullable: true,
|
|
15305
|
+
type: 'number',
|
|
15306
|
+
},
|
|
15307
|
+
},
|
|
15308
|
+
required: ['device_id'],
|
|
15309
|
+
type: 'object',
|
|
15310
|
+
},
|
|
15311
|
+
},
|
|
15312
|
+
},
|
|
15313
|
+
},
|
|
15314
|
+
responses: {
|
|
15315
|
+
200: {
|
|
15316
|
+
content: {
|
|
15317
|
+
'application/json': {
|
|
15318
|
+
schema: {
|
|
15319
|
+
properties: { ok: { type: 'boolean' } },
|
|
15320
|
+
required: ['ok'],
|
|
15321
|
+
type: 'object',
|
|
15322
|
+
},
|
|
15323
|
+
},
|
|
15324
|
+
},
|
|
15325
|
+
description: 'OK',
|
|
15326
|
+
},
|
|
15327
|
+
400: { description: 'Bad Request' },
|
|
15328
|
+
401: { description: 'Unauthorized' },
|
|
15329
|
+
},
|
|
15330
|
+
security: [
|
|
15331
|
+
{ api_key: [] },
|
|
15332
|
+
{ pat_with_workspace: [] },
|
|
15333
|
+
{ console_session: [] },
|
|
15334
|
+
],
|
|
15335
|
+
summary: '/thermostats/set_temperature_threshold',
|
|
15336
|
+
tags: ['/thermostats'],
|
|
15337
|
+
'x-fern-ignore': true,
|
|
15338
|
+
'x-response-key': null,
|
|
15339
|
+
},
|
|
15340
|
+
post: {
|
|
15341
|
+
operationId: 'thermostatsSetTemperatureThresholdPost',
|
|
15342
|
+
requestBody: {
|
|
15343
|
+
content: {
|
|
15344
|
+
'application/json': {
|
|
15345
|
+
schema: {
|
|
15346
|
+
properties: {
|
|
15347
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
15348
|
+
lower_limit_celsius: {
|
|
15349
|
+
default: null,
|
|
15350
|
+
format: 'float',
|
|
15351
|
+
nullable: true,
|
|
15352
|
+
type: 'number',
|
|
15353
|
+
},
|
|
15354
|
+
lower_limit_fahrenheit: {
|
|
15355
|
+
default: null,
|
|
15356
|
+
format: 'float',
|
|
15357
|
+
nullable: true,
|
|
15358
|
+
type: 'number',
|
|
15359
|
+
},
|
|
15360
|
+
upper_limit_celsius: {
|
|
15361
|
+
default: null,
|
|
15362
|
+
format: 'float',
|
|
15363
|
+
nullable: true,
|
|
15364
|
+
type: 'number',
|
|
15365
|
+
},
|
|
15366
|
+
upper_limit_fahrenheit: {
|
|
15367
|
+
default: null,
|
|
15368
|
+
format: 'float',
|
|
15369
|
+
nullable: true,
|
|
15370
|
+
type: 'number',
|
|
15371
|
+
},
|
|
15372
|
+
},
|
|
15373
|
+
required: ['device_id'],
|
|
15374
|
+
type: 'object',
|
|
15375
|
+
},
|
|
15376
|
+
},
|
|
15377
|
+
},
|
|
15378
|
+
},
|
|
15379
|
+
responses: {
|
|
15380
|
+
200: {
|
|
15381
|
+
content: {
|
|
15382
|
+
'application/json': {
|
|
15383
|
+
schema: {
|
|
15384
|
+
properties: { ok: { type: 'boolean' } },
|
|
15385
|
+
required: ['ok'],
|
|
15386
|
+
type: 'object',
|
|
15387
|
+
},
|
|
15388
|
+
},
|
|
15389
|
+
},
|
|
15390
|
+
description: 'OK',
|
|
15391
|
+
},
|
|
15392
|
+
400: { description: 'Bad Request' },
|
|
15393
|
+
401: { description: 'Unauthorized' },
|
|
15394
|
+
},
|
|
15395
|
+
security: [
|
|
15396
|
+
{ api_key: [] },
|
|
15397
|
+
{ pat_with_workspace: [] },
|
|
15398
|
+
{ console_session: [] },
|
|
15399
|
+
],
|
|
15400
|
+
summary: '/thermostats/set_temperature_threshold',
|
|
15401
|
+
tags: ['/thermostats'],
|
|
15402
|
+
'x-fern-sdk-group-name': ['thermostats'],
|
|
15403
|
+
'x-fern-sdk-method-name': 'set_temperature_threshold',
|
|
15404
|
+
'x-response-key': null,
|
|
15405
|
+
},
|
|
15406
|
+
},
|
|
15238
15407
|
'/thermostats/update_climate_preset': {
|
|
15239
15408
|
patch: {
|
|
15240
15409
|
operationId: 'thermostatsUpdateClimatePresetPatch',
|