@seamapi/types 1.1194.0 → 1.1196.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/lib/seam/connect/openapi.js +22 -105
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7 -34
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +25 -105
- package/src/lib/seam/connect/route-types.ts +9 -34
|
@@ -20,8 +20,6 @@ export type Routes = {
|
|
|
20
20
|
ends_at?: string | undefined;
|
|
21
21
|
/** Code to be used for access. */
|
|
22
22
|
code?: string | undefined;
|
|
23
|
-
/** */
|
|
24
|
-
sync?: boolean;
|
|
25
23
|
attempt_for_offline_device?: boolean;
|
|
26
24
|
/** Key to identify access codes that should have the same code. Any two access codes with the same `common_code_key` are guaranteed to have the same `code`. See also [Creating and Updating Multiple Linked Access Codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes). */
|
|
27
25
|
common_code_key?: string | undefined;
|
|
@@ -3337,8 +3335,6 @@ export type Routes = {
|
|
|
3337
3335
|
device_id?: string | undefined;
|
|
3338
3336
|
/** ID of the access code that you want to delete. */
|
|
3339
3337
|
access_code_id: string;
|
|
3340
|
-
/** */
|
|
3341
|
-
sync?: boolean;
|
|
3342
3338
|
};
|
|
3343
3339
|
formData: {};
|
|
3344
3340
|
jsonResponse: {
|
|
@@ -8219,8 +8215,6 @@ export type Routes = {
|
|
|
8219
8215
|
allow_external_modification?: boolean | undefined;
|
|
8220
8216
|
/** Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set `force` to `true`. */
|
|
8221
8217
|
force?: boolean | undefined;
|
|
8222
|
-
/** */
|
|
8223
|
-
sync?: boolean;
|
|
8224
8218
|
};
|
|
8225
8219
|
commonParams: {};
|
|
8226
8220
|
formData: {};
|
|
@@ -8235,8 +8229,6 @@ export type Routes = {
|
|
|
8235
8229
|
commonParams: {
|
|
8236
8230
|
/** ID of the unmanaged access code that you want to delete. */
|
|
8237
8231
|
access_code_id: string;
|
|
8238
|
-
/** */
|
|
8239
|
-
sync?: boolean;
|
|
8240
8232
|
};
|
|
8241
8233
|
formData: {};
|
|
8242
8234
|
jsonResponse: {
|
|
@@ -11380,8 +11372,6 @@ export type Routes = {
|
|
|
11380
11372
|
ends_at?: string | undefined;
|
|
11381
11373
|
/** Code to be used for access. */
|
|
11382
11374
|
code?: string | undefined;
|
|
11383
|
-
/** */
|
|
11384
|
-
sync?: boolean;
|
|
11385
11375
|
attempt_for_offline_device?: boolean;
|
|
11386
11376
|
/** Indicates whether [external modification](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
11387
11377
|
allow_external_modification?: boolean | undefined;
|
|
@@ -48858,8 +48848,6 @@ export type Routes = {
|
|
|
48858
48848
|
commonParams: {
|
|
48859
48849
|
/** ID of the connected account that you want to delete. */
|
|
48860
48850
|
connected_account_id: string;
|
|
48861
|
-
/** */
|
|
48862
|
-
sync?: boolean;
|
|
48863
48851
|
};
|
|
48864
48852
|
formData: {};
|
|
48865
48853
|
jsonResponse: {};
|
|
@@ -72670,8 +72658,6 @@ export type Routes = {
|
|
|
72670
72658
|
jsonBody: {
|
|
72671
72659
|
/** ID of the lock that you want to lock. */
|
|
72672
72660
|
device_id: string;
|
|
72673
|
-
/** */
|
|
72674
|
-
sync?: boolean;
|
|
72675
72661
|
};
|
|
72676
72662
|
commonParams: {};
|
|
72677
72663
|
formData: {};
|
|
@@ -79382,8 +79368,6 @@ export type Routes = {
|
|
|
79382
79368
|
jsonBody: {
|
|
79383
79369
|
/** ID of the lock that you want to unlock. */
|
|
79384
79370
|
device_id: string;
|
|
79385
|
-
/** */
|
|
79386
|
-
sync?: boolean;
|
|
79387
79371
|
};
|
|
79388
79372
|
commonParams: {};
|
|
79389
79373
|
formData: {};
|
|
@@ -85249,8 +85233,6 @@ export type Routes = {
|
|
|
85249
85233
|
jsonBody: {
|
|
85250
85234
|
/** ID of the device for which you want to create a noise threshold. */
|
|
85251
85235
|
device_id: string;
|
|
85252
|
-
/** */
|
|
85253
|
-
sync?: boolean;
|
|
85254
85236
|
/** Name of the new noise threshold. */
|
|
85255
85237
|
name?: string | undefined;
|
|
85256
85238
|
/** Time at which the new noise threshold should become active daily. */
|
|
@@ -87517,8 +87499,6 @@ export type Routes = {
|
|
|
87517
87499
|
noise_threshold_id: string;
|
|
87518
87500
|
/** ID of the device that contains the noise threshold that you want to delete. */
|
|
87519
87501
|
device_id: string;
|
|
87520
|
-
/** */
|
|
87521
|
-
sync?: boolean;
|
|
87522
87502
|
};
|
|
87523
87503
|
formData: {};
|
|
87524
87504
|
jsonResponse: {
|
|
@@ -89819,8 +89799,6 @@ export type Routes = {
|
|
|
89819
89799
|
noise_threshold_id: string;
|
|
89820
89800
|
/** ID of the device that contains the noise threshold that you want to update. */
|
|
89821
89801
|
device_id: string;
|
|
89822
|
-
/** */
|
|
89823
|
-
sync?: boolean;
|
|
89824
89802
|
/** Name of the noise threshold that you want to update. */
|
|
89825
89803
|
name?: string | undefined;
|
|
89826
89804
|
/** Time at which the noise threshold should become active daily. */
|
|
@@ -118263,6 +118241,13 @@ export type Routes = {
|
|
|
118263
118241
|
/** Postal address for the space. */
|
|
118264
118242
|
address?: (string | null) | undefined;
|
|
118265
118243
|
} | undefined;
|
|
118244
|
+
/** Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space. */
|
|
118245
|
+
geolocation?: ({
|
|
118246
|
+
/** Latitude of the space, in decimal degrees. */
|
|
118247
|
+
latitude: number;
|
|
118248
|
+
/** Longitude of the space, in decimal degrees. */
|
|
118249
|
+
longitude: number;
|
|
118250
|
+
} | null) | undefined;
|
|
118266
118251
|
/** Reassign this space to the parent space (site) with this `parent_space_id`. */
|
|
118267
118252
|
parent_space_id?: string | undefined;
|
|
118268
118253
|
/** Reassign this space to the parent space (site) with this `parent_space_key`. */
|
|
@@ -138506,8 +138491,6 @@ export type Routes = {
|
|
|
138506
138491
|
jsonBody: {
|
|
138507
138492
|
/** ID of the thermostat device that you want to return to its weekly program. */
|
|
138508
138493
|
device_id: string;
|
|
138509
|
-
/** */
|
|
138510
|
-
sync?: boolean;
|
|
138511
138494
|
};
|
|
138512
138495
|
commonParams: {};
|
|
138513
138496
|
formData: {};
|
|
@@ -140748,8 +140731,6 @@ export type Routes = {
|
|
|
140748
140731
|
cooling_set_point_celsius?: number | undefined;
|
|
140749
140732
|
/** [Cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters. */
|
|
140750
140733
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
140751
|
-
/** */
|
|
140752
|
-
sync?: boolean;
|
|
140753
140734
|
};
|
|
140754
140735
|
commonParams: {};
|
|
140755
140736
|
formData: {};
|
|
@@ -147152,8 +147133,6 @@ export type Routes = {
|
|
|
147152
147133
|
heating_set_point_celsius?: number | undefined;
|
|
147153
147134
|
/** [Heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters. */
|
|
147154
147135
|
heating_set_point_fahrenheit?: number | undefined;
|
|
147155
|
-
/** */
|
|
147156
|
-
sync?: boolean;
|
|
147157
147136
|
};
|
|
147158
147137
|
commonParams: {};
|
|
147159
147138
|
formData: {};
|
|
@@ -149398,8 +149377,6 @@ export type Routes = {
|
|
|
149398
149377
|
cooling_set_point_celsius?: number | undefined;
|
|
149399
149378
|
/** [Cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters. */
|
|
149400
149379
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
149401
|
-
/** */
|
|
149402
|
-
sync?: boolean;
|
|
149403
149380
|
};
|
|
149404
149381
|
commonParams: {};
|
|
149405
149382
|
formData: {};
|
|
@@ -155224,8 +155201,6 @@ export type Routes = {
|
|
|
155224
155201
|
jsonBody: {
|
|
155225
155202
|
/** ID of the thermostat device that you want to set to off mode. */
|
|
155226
155203
|
device_id: string;
|
|
155227
|
-
/** */
|
|
155228
|
-
sync?: boolean;
|
|
155229
155204
|
};
|
|
155230
155205
|
commonParams: {};
|
|
155231
155206
|
formData: {};
|
|
@@ -157671,8 +157646,6 @@ export type Routes = {
|
|
|
157671
157646
|
fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
|
|
157672
157647
|
/** [Fan mode setting](https://www.seam.co/docs/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) that you want to set for the thermostat. */
|
|
157673
157648
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
157674
|
-
/** */
|
|
157675
|
-
sync?: boolean;
|
|
157676
157649
|
};
|
|
157677
157650
|
commonParams: {};
|
|
157678
157651
|
formData: {};
|
package/package.json
CHANGED
|
@@ -44291,11 +44291,6 @@ const openapi: OpenAPISpec = {
|
|
|
44291
44291
|
'Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
44292
44292
|
type: 'string',
|
|
44293
44293
|
},
|
|
44294
|
-
sync: {
|
|
44295
|
-
default: false,
|
|
44296
|
-
type: 'boolean',
|
|
44297
|
-
'x-undocumented': 'Only used internally.',
|
|
44298
|
-
},
|
|
44299
44294
|
use_backup_access_code_pool: {
|
|
44300
44295
|
description:
|
|
44301
44296
|
'Indicates whether to use a [backup access code pool](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/backup-access-codes) provided by Seam. If `true`, you can use [`/access_codes/pull_backup_access_code`](https://www.seam.co/docs/api/access_codes/pull_backup_access_code).',
|
|
@@ -44499,16 +44494,6 @@ const openapi: OpenAPISpec = {
|
|
|
44499
44494
|
type: 'string',
|
|
44500
44495
|
},
|
|
44501
44496
|
},
|
|
44502
|
-
{
|
|
44503
|
-
in: 'query',
|
|
44504
|
-
name: 'sync',
|
|
44505
|
-
required: false,
|
|
44506
|
-
schema: {
|
|
44507
|
-
default: false,
|
|
44508
|
-
type: 'boolean',
|
|
44509
|
-
'x-undocumented': 'Only used internally.',
|
|
44510
|
-
},
|
|
44511
|
-
},
|
|
44512
44497
|
],
|
|
44513
44498
|
responses: {
|
|
44514
44499
|
'200': {
|
|
@@ -45326,11 +45311,6 @@ const openapi: OpenAPISpec = {
|
|
|
45326
45311
|
'Indicates whether [external modification](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#external-modification) of the access code is allowed.',
|
|
45327
45312
|
type: 'boolean',
|
|
45328
45313
|
},
|
|
45329
|
-
sync: {
|
|
45330
|
-
default: false,
|
|
45331
|
-
type: 'boolean',
|
|
45332
|
-
'x-undocumented': 'Only used internally.',
|
|
45333
|
-
},
|
|
45334
45314
|
},
|
|
45335
45315
|
required: ['access_code_id'],
|
|
45336
45316
|
type: 'object',
|
|
@@ -45387,16 +45367,6 @@ const openapi: OpenAPISpec = {
|
|
|
45387
45367
|
type: 'string',
|
|
45388
45368
|
},
|
|
45389
45369
|
},
|
|
45390
|
-
{
|
|
45391
|
-
in: 'query',
|
|
45392
|
-
name: 'sync',
|
|
45393
|
-
required: false,
|
|
45394
|
-
schema: {
|
|
45395
|
-
default: false,
|
|
45396
|
-
type: 'boolean',
|
|
45397
|
-
'x-undocumented': 'Only used internally.',
|
|
45398
|
-
},
|
|
45399
|
-
},
|
|
45400
45370
|
],
|
|
45401
45371
|
responses: {
|
|
45402
45372
|
'200': {
|
|
@@ -45751,11 +45721,6 @@ const openapi: OpenAPISpec = {
|
|
|
45751
45721
|
'Date and time at which the validity of the new access code starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
45752
45722
|
type: 'string',
|
|
45753
45723
|
},
|
|
45754
|
-
sync: {
|
|
45755
|
-
default: false,
|
|
45756
|
-
type: 'boolean',
|
|
45757
|
-
'x-undocumented': 'Only used internally.',
|
|
45758
|
-
},
|
|
45759
45724
|
type: {
|
|
45760
45725
|
description:
|
|
45761
45726
|
'Type to which you want to convert the access code. To convert a time-bound access code to an ongoing access code, set `type` to `ongoing`. See also [Changing a time-bound access code to permanent access](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/modifying-access-codes#special-case-2-changing-a-time-bound-access-code-to-permanent-access).',
|
|
@@ -53269,16 +53234,6 @@ const openapi: OpenAPISpec = {
|
|
|
53269
53234
|
type: 'string',
|
|
53270
53235
|
},
|
|
53271
53236
|
},
|
|
53272
|
-
{
|
|
53273
|
-
in: 'query',
|
|
53274
|
-
name: 'sync',
|
|
53275
|
-
required: false,
|
|
53276
|
-
schema: {
|
|
53277
|
-
default: false,
|
|
53278
|
-
type: 'boolean',
|
|
53279
|
-
'x-undocumented': 'Only used internally.',
|
|
53280
|
-
},
|
|
53281
|
-
},
|
|
53282
53237
|
],
|
|
53283
53238
|
responses: {
|
|
53284
53239
|
'200': {
|
|
@@ -61021,11 +60976,6 @@ const openapi: OpenAPISpec = {
|
|
|
61021
60976
|
format: 'uuid',
|
|
61022
60977
|
type: 'string',
|
|
61023
60978
|
},
|
|
61024
|
-
sync: {
|
|
61025
|
-
default: false,
|
|
61026
|
-
type: 'boolean',
|
|
61027
|
-
'x-undocumented': 'Only used internally.',
|
|
61028
|
-
},
|
|
61029
60979
|
},
|
|
61030
60980
|
required: ['device_id'],
|
|
61031
60981
|
type: 'object',
|
|
@@ -61209,11 +61159,6 @@ const openapi: OpenAPISpec = {
|
|
|
61209
61159
|
format: 'uuid',
|
|
61210
61160
|
type: 'string',
|
|
61211
61161
|
},
|
|
61212
|
-
sync: {
|
|
61213
|
-
default: false,
|
|
61214
|
-
type: 'boolean',
|
|
61215
|
-
'x-undocumented': 'Only used internally.',
|
|
61216
|
-
},
|
|
61217
61162
|
},
|
|
61218
61163
|
required: ['device_id'],
|
|
61219
61164
|
type: 'object',
|
|
@@ -61479,11 +61424,6 @@ const openapi: OpenAPISpec = {
|
|
|
61479
61424
|
'Time at which the new noise threshold should become active daily.',
|
|
61480
61425
|
type: 'string',
|
|
61481
61426
|
},
|
|
61482
|
-
sync: {
|
|
61483
|
-
default: false,
|
|
61484
|
-
type: 'boolean',
|
|
61485
|
-
'x-undocumented': 'Only used internally.',
|
|
61486
|
-
},
|
|
61487
61427
|
},
|
|
61488
61428
|
required: ['device_id', 'starts_daily_at', 'ends_daily_at'],
|
|
61489
61429
|
type: 'object',
|
|
@@ -61557,16 +61497,6 @@ const openapi: OpenAPISpec = {
|
|
|
61557
61497
|
type: 'string',
|
|
61558
61498
|
},
|
|
61559
61499
|
},
|
|
61560
|
-
{
|
|
61561
|
-
in: 'query',
|
|
61562
|
-
name: 'sync',
|
|
61563
|
-
required: false,
|
|
61564
|
-
schema: {
|
|
61565
|
-
default: false,
|
|
61566
|
-
type: 'boolean',
|
|
61567
|
-
'x-undocumented': 'Only used internally.',
|
|
61568
|
-
},
|
|
61569
|
-
},
|
|
61570
61500
|
],
|
|
61571
61501
|
responses: {
|
|
61572
61502
|
'200': {
|
|
@@ -61773,11 +61703,6 @@ const openapi: OpenAPISpec = {
|
|
|
61773
61703
|
'Time at which the noise threshold should become active daily.',
|
|
61774
61704
|
type: 'string',
|
|
61775
61705
|
},
|
|
61776
|
-
sync: {
|
|
61777
|
-
default: false,
|
|
61778
|
-
type: 'boolean',
|
|
61779
|
-
'x-undocumented': 'Only used internally.',
|
|
61780
|
-
},
|
|
61781
61706
|
},
|
|
61782
61707
|
required: ['noise_threshold_id', 'device_id'],
|
|
61783
61708
|
type: 'object',
|
|
@@ -77584,6 +77509,31 @@ const openapi: OpenAPISpec = {
|
|
|
77584
77509
|
items: { format: 'uuid', type: 'string' },
|
|
77585
77510
|
type: 'array',
|
|
77586
77511
|
},
|
|
77512
|
+
geolocation: {
|
|
77513
|
+
description:
|
|
77514
|
+
'Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space.',
|
|
77515
|
+
nullable: true,
|
|
77516
|
+
properties: {
|
|
77517
|
+
latitude: {
|
|
77518
|
+
description:
|
|
77519
|
+
'Latitude of the space, in decimal degrees.',
|
|
77520
|
+
format: 'float',
|
|
77521
|
+
maximum: 90,
|
|
77522
|
+
minimum: -90,
|
|
77523
|
+
type: 'number',
|
|
77524
|
+
},
|
|
77525
|
+
longitude: {
|
|
77526
|
+
description:
|
|
77527
|
+
'Longitude of the space, in decimal degrees.',
|
|
77528
|
+
format: 'float',
|
|
77529
|
+
maximum: 180,
|
|
77530
|
+
minimum: -180,
|
|
77531
|
+
type: 'number',
|
|
77532
|
+
},
|
|
77533
|
+
},
|
|
77534
|
+
required: ['latitude', 'longitude'],
|
|
77535
|
+
type: 'object',
|
|
77536
|
+
},
|
|
77587
77537
|
name: { description: 'Name of the space.', type: 'string' },
|
|
77588
77538
|
parent_space_id: {
|
|
77589
77539
|
description:
|
|
@@ -78337,11 +78287,6 @@ const openapi: OpenAPISpec = {
|
|
|
78337
78287
|
format: 'uuid',
|
|
78338
78288
|
type: 'string',
|
|
78339
78289
|
},
|
|
78340
|
-
sync: {
|
|
78341
|
-
default: false,
|
|
78342
|
-
type: 'boolean',
|
|
78343
|
-
'x-undocumented': 'Only used internally.',
|
|
78344
|
-
},
|
|
78345
78290
|
},
|
|
78346
78291
|
required: ['device_id'],
|
|
78347
78292
|
type: 'object',
|
|
@@ -78414,11 +78359,6 @@ const openapi: OpenAPISpec = {
|
|
|
78414
78359
|
format: 'uuid',
|
|
78415
78360
|
type: 'string',
|
|
78416
78361
|
},
|
|
78417
|
-
sync: {
|
|
78418
|
-
default: false,
|
|
78419
|
-
type: 'boolean',
|
|
78420
|
-
'x-undocumented': 'Only used internally.',
|
|
78421
|
-
},
|
|
78422
78362
|
},
|
|
78423
78363
|
required: ['device_id'],
|
|
78424
78364
|
type: 'object',
|
|
@@ -78982,11 +78922,6 @@ const openapi: OpenAPISpec = {
|
|
|
78982
78922
|
format: 'float',
|
|
78983
78923
|
type: 'number',
|
|
78984
78924
|
},
|
|
78985
|
-
sync: {
|
|
78986
|
-
default: false,
|
|
78987
|
-
type: 'boolean',
|
|
78988
|
-
'x-undocumented': 'Only used internally.',
|
|
78989
|
-
},
|
|
78990
78925
|
},
|
|
78991
78926
|
required: ['device_id'],
|
|
78992
78927
|
type: 'object',
|
|
@@ -79071,11 +79006,6 @@ const openapi: OpenAPISpec = {
|
|
|
79071
79006
|
format: 'float',
|
|
79072
79007
|
type: 'number',
|
|
79073
79008
|
},
|
|
79074
|
-
sync: {
|
|
79075
|
-
default: false,
|
|
79076
|
-
type: 'boolean',
|
|
79077
|
-
'x-undocumented': 'Only used internally.',
|
|
79078
|
-
},
|
|
79079
79009
|
},
|
|
79080
79010
|
required: ['device_id'],
|
|
79081
79011
|
type: 'object',
|
|
@@ -79269,11 +79199,6 @@ const openapi: OpenAPISpec = {
|
|
|
79269
79199
|
format: 'uuid',
|
|
79270
79200
|
type: 'string',
|
|
79271
79201
|
},
|
|
79272
|
-
sync: {
|
|
79273
|
-
default: false,
|
|
79274
|
-
type: 'boolean',
|
|
79275
|
-
'x-undocumented': 'Only used internally.',
|
|
79276
|
-
},
|
|
79277
79202
|
},
|
|
79278
79203
|
required: ['device_id'],
|
|
79279
79204
|
type: 'object',
|
|
@@ -79763,11 +79688,6 @@ const openapi: OpenAPISpec = {
|
|
|
79763
79688
|
enum: ['auto', 'on', 'circulate'],
|
|
79764
79689
|
type: 'string',
|
|
79765
79690
|
},
|
|
79766
|
-
sync: {
|
|
79767
|
-
default: false,
|
|
79768
|
-
type: 'boolean',
|
|
79769
|
-
'x-undocumented': 'Only used internally.',
|
|
79770
|
-
},
|
|
79771
79691
|
},
|
|
79772
79692
|
required: ['device_id'],
|
|
79773
79693
|
type: 'object',
|
|
@@ -20,8 +20,6 @@ export type Routes = {
|
|
|
20
20
|
ends_at?: string | undefined
|
|
21
21
|
/** Code to be used for access. */
|
|
22
22
|
code?: string | undefined
|
|
23
|
-
/** */
|
|
24
|
-
sync?: boolean
|
|
25
23
|
attempt_for_offline_device?: boolean
|
|
26
24
|
/** Key to identify access codes that should have the same code. Any two access codes with the same `common_code_key` are guaranteed to have the same `code`. See also [Creating and Updating Multiple Linked Access Codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/creating-and-updating-multiple-linked-access-codes). */
|
|
27
25
|
common_code_key?: string | undefined
|
|
@@ -3790,8 +3788,6 @@ export type Routes = {
|
|
|
3790
3788
|
device_id?: string | undefined
|
|
3791
3789
|
/** ID of the access code that you want to delete. */
|
|
3792
3790
|
access_code_id: string
|
|
3793
|
-
/** */
|
|
3794
|
-
sync?: boolean
|
|
3795
3791
|
}
|
|
3796
3792
|
formData: {}
|
|
3797
3793
|
jsonResponse: {
|
|
@@ -9340,8 +9336,6 @@ export type Routes = {
|
|
|
9340
9336
|
allow_external_modification?: boolean | undefined
|
|
9341
9337
|
/** Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set `force` to `true`. */
|
|
9342
9338
|
force?: boolean | undefined
|
|
9343
|
-
/** */
|
|
9344
|
-
sync?: boolean
|
|
9345
9339
|
}
|
|
9346
9340
|
commonParams: {}
|
|
9347
9341
|
formData: {}
|
|
@@ -9356,8 +9350,6 @@ export type Routes = {
|
|
|
9356
9350
|
commonParams: {
|
|
9357
9351
|
/** ID of the unmanaged access code that you want to delete. */
|
|
9358
9352
|
access_code_id: string
|
|
9359
|
-
/** */
|
|
9360
|
-
sync?: boolean
|
|
9361
9353
|
}
|
|
9362
9354
|
formData: {}
|
|
9363
9355
|
jsonResponse: {
|
|
@@ -12940,8 +12932,6 @@ export type Routes = {
|
|
|
12940
12932
|
ends_at?: string | undefined
|
|
12941
12933
|
/** Code to be used for access. */
|
|
12942
12934
|
code?: string | undefined
|
|
12943
|
-
/** */
|
|
12944
|
-
sync?: boolean
|
|
12945
12935
|
attempt_for_offline_device?: boolean
|
|
12946
12936
|
/** Indicates whether [external modification](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes#external-modification) of the code is allowed. Default: `false`. */
|
|
12947
12937
|
allow_external_modification?: boolean | undefined
|
|
@@ -57016,8 +57006,6 @@ export type Routes = {
|
|
|
57016
57006
|
commonParams: {
|
|
57017
57007
|
/** ID of the connected account that you want to delete. */
|
|
57018
57008
|
connected_account_id: string
|
|
57019
|
-
/** */
|
|
57020
|
-
sync?: boolean
|
|
57021
57009
|
}
|
|
57022
57010
|
formData: {}
|
|
57023
57011
|
jsonResponse: {}
|
|
@@ -87751,8 +87739,6 @@ export type Routes = {
|
|
|
87751
87739
|
jsonBody: {
|
|
87752
87740
|
/** ID of the lock that you want to lock. */
|
|
87753
87741
|
device_id: string
|
|
87754
|
-
/** */
|
|
87755
|
-
sync?: boolean
|
|
87756
87742
|
}
|
|
87757
87743
|
commonParams: {}
|
|
87758
87744
|
formData: {}
|
|
@@ -95504,8 +95490,6 @@ export type Routes = {
|
|
|
95504
95490
|
jsonBody: {
|
|
95505
95491
|
/** ID of the lock that you want to unlock. */
|
|
95506
95492
|
device_id: string
|
|
95507
|
-
/** */
|
|
95508
|
-
sync?: boolean
|
|
95509
95493
|
}
|
|
95510
95494
|
commonParams: {}
|
|
95511
95495
|
formData: {}
|
|
@@ -102670,8 +102654,6 @@ export type Routes = {
|
|
|
102670
102654
|
jsonBody: {
|
|
102671
102655
|
/** ID of the device for which you want to create a noise threshold. */
|
|
102672
102656
|
device_id: string
|
|
102673
|
-
/** */
|
|
102674
|
-
sync?: boolean
|
|
102675
102657
|
/** Name of the new noise threshold. */
|
|
102676
102658
|
name?: string | undefined
|
|
102677
102659
|
/** Time at which the new noise threshold should become active daily. */
|
|
@@ -105285,8 +105267,6 @@ export type Routes = {
|
|
|
105285
105267
|
noise_threshold_id: string
|
|
105286
105268
|
/** ID of the device that contains the noise threshold that you want to delete. */
|
|
105287
105269
|
device_id: string
|
|
105288
|
-
/** */
|
|
105289
|
-
sync?: boolean
|
|
105290
105270
|
}
|
|
105291
105271
|
formData: {}
|
|
105292
105272
|
jsonResponse: {
|
|
@@ -107934,8 +107914,6 @@ export type Routes = {
|
|
|
107934
107914
|
noise_threshold_id: string
|
|
107935
107915
|
/** ID of the device that contains the noise threshold that you want to update. */
|
|
107936
107916
|
device_id: string
|
|
107937
|
-
/** */
|
|
107938
|
-
sync?: boolean
|
|
107939
107917
|
/** Name of the noise threshold that you want to update. */
|
|
107940
107918
|
name?: string | undefined
|
|
107941
107919
|
/** Time at which the noise threshold should become active daily. */
|
|
@@ -141380,6 +141358,15 @@ export type Routes = {
|
|
|
141380
141358
|
address?: (string | null) | undefined
|
|
141381
141359
|
}
|
|
141382
141360
|
| undefined
|
|
141361
|
+
/** Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space. */
|
|
141362
|
+
geolocation?:
|
|
141363
|
+
| ({
|
|
141364
|
+
/** Latitude of the space, in decimal degrees. */
|
|
141365
|
+
latitude: number
|
|
141366
|
+
/** Longitude of the space, in decimal degrees. */
|
|
141367
|
+
longitude: number
|
|
141368
|
+
} | null)
|
|
141369
|
+
| undefined
|
|
141383
141370
|
/** Reassign this space to the parent space (site) with this `parent_space_id`. */
|
|
141384
141371
|
parent_space_id?: string | undefined
|
|
141385
141372
|
/** Reassign this space to the parent space (site) with this `parent_space_key`. */
|
|
@@ -164753,8 +164740,6 @@ export type Routes = {
|
|
|
164753
164740
|
jsonBody: {
|
|
164754
164741
|
/** ID of the thermostat device that you want to return to its weekly program. */
|
|
164755
164742
|
device_id: string
|
|
164756
|
-
/** */
|
|
164757
|
-
sync?: boolean
|
|
164758
164743
|
}
|
|
164759
164744
|
commonParams: {}
|
|
164760
164745
|
formData: {}
|
|
@@ -167342,8 +167327,6 @@ export type Routes = {
|
|
|
167342
167327
|
cooling_set_point_celsius?: number | undefined
|
|
167343
167328
|
/** [Cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters. */
|
|
167344
167329
|
cooling_set_point_fahrenheit?: number | undefined
|
|
167345
|
-
/** */
|
|
167346
|
-
sync?: boolean
|
|
167347
167330
|
}
|
|
167348
167331
|
commonParams: {}
|
|
167349
167332
|
formData: {}
|
|
@@ -174921,8 +174904,6 @@ export type Routes = {
|
|
|
174921
174904
|
heating_set_point_celsius?: number | undefined
|
|
174922
174905
|
/** [Heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters. */
|
|
174923
174906
|
heating_set_point_fahrenheit?: number | undefined
|
|
174924
|
-
/** */
|
|
174925
|
-
sync?: boolean
|
|
174926
174907
|
}
|
|
174927
174908
|
commonParams: {}
|
|
174928
174909
|
formData: {}
|
|
@@ -177514,8 +177495,6 @@ export type Routes = {
|
|
|
177514
177495
|
cooling_set_point_celsius?: number | undefined
|
|
177515
177496
|
/** [Cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters. */
|
|
177516
177497
|
cooling_set_point_fahrenheit?: number | undefined
|
|
177517
|
-
/** */
|
|
177518
|
-
sync?: boolean
|
|
177519
177498
|
}
|
|
177520
177499
|
commonParams: {}
|
|
177521
177500
|
formData: {}
|
|
@@ -184666,8 +184645,6 @@ export type Routes = {
|
|
|
184666
184645
|
jsonBody: {
|
|
184667
184646
|
/** ID of the thermostat device that you want to set to off mode. */
|
|
184668
184647
|
device_id: string
|
|
184669
|
-
/** */
|
|
184670
|
-
sync?: boolean
|
|
184671
184648
|
}
|
|
184672
184649
|
commonParams: {}
|
|
184673
184650
|
formData: {}
|
|
@@ -187460,8 +187437,6 @@ export type Routes = {
|
|
|
187460
187437
|
fan_mode?: ('auto' | 'on' | 'circulate') | undefined
|
|
187461
187438
|
/** [Fan mode setting](https://www.seam.co/docs/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) that you want to set for the thermostat. */
|
|
187462
187439
|
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
|
|
187463
|
-
/** */
|
|
187464
|
-
sync?: boolean
|
|
187465
187440
|
}
|
|
187466
187441
|
commonParams: {}
|
|
187467
187442
|
formData: {}
|