@seamapi/types 1.1195.0 → 1.1197.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.
@@ -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: {};
@@ -59053,8 +59041,8 @@ export type Routes = {
59053
59041
  [x: string]: string | boolean;
59054
59042
  } | undefined;
59055
59043
  event_type: 'camera.activated';
59056
- /** The reason the camera was activated. */
59057
- activation_reason: 'motion_detected';
59044
+ /** Whether motion detection activated the camera, if known. */
59045
+ is_motion_detected?: boolean | undefined;
59058
59046
  /** Sub-type of motion detected, if available. */
59059
59047
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
59060
59048
  /** URL to a thumbnail image captured at the time of activation. */
@@ -62766,8 +62754,8 @@ export type Routes = {
62766
62754
  [x: string]: string | boolean;
62767
62755
  } | undefined;
62768
62756
  event_type: 'camera.activated';
62769
- /** The reason the camera was activated. */
62770
- activation_reason: 'motion_detected';
62757
+ /** Whether motion detection activated the camera, if known. */
62758
+ is_motion_detected?: boolean | undefined;
62771
62759
  /** Sub-type of motion detected, if available. */
62772
62760
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
62773
62761
  /** URL to a thumbnail image captured at the time of activation. */
@@ -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. */
@@ -109198,8 +109176,8 @@ export type Routes = {
109198
109176
  [x: string]: string | boolean;
109199
109177
  } | undefined;
109200
109178
  event_type: 'camera.activated';
109201
- /** The reason the camera was activated. */
109202
- activation_reason: 'motion_detected';
109179
+ /** Whether motion detection activated the camera, if known. */
109180
+ is_motion_detected?: boolean | undefined;
109203
109181
  /** Sub-type of motion detected, if available. */
109204
109182
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
109205
109183
  /** URL to a thumbnail image captured at the time of activation. */
@@ -115100,8 +115078,8 @@ export type Routes = {
115100
115078
  [x: string]: string | boolean;
115101
115079
  } | undefined;
115102
115080
  event_type: 'camera.activated';
115103
- /** The reason the camera was activated. */
115104
- activation_reason: 'motion_detected';
115081
+ /** Whether motion detection activated the camera, if known. */
115082
+ is_motion_detected?: boolean | undefined;
115105
115083
  /** Sub-type of motion detected, if available. */
115106
115084
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
115107
115085
  /** URL to a thumbnail image captured at the time of activation. */
@@ -138513,8 +138491,6 @@ export type Routes = {
138513
138491
  jsonBody: {
138514
138492
  /** ID of the thermostat device that you want to return to its weekly program. */
138515
138493
  device_id: string;
138516
- /** */
138517
- sync?: boolean;
138518
138494
  };
138519
138495
  commonParams: {};
138520
138496
  formData: {};
@@ -140755,8 +140731,6 @@ export type Routes = {
140755
140731
  cooling_set_point_celsius?: number | undefined;
140756
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. */
140757
140733
  cooling_set_point_fahrenheit?: number | undefined;
140758
- /** */
140759
- sync?: boolean;
140760
140734
  };
140761
140735
  commonParams: {};
140762
140736
  formData: {};
@@ -147159,8 +147133,6 @@ export type Routes = {
147159
147133
  heating_set_point_celsius?: number | undefined;
147160
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. */
147161
147135
  heating_set_point_fahrenheit?: number | undefined;
147162
- /** */
147163
- sync?: boolean;
147164
147136
  };
147165
147137
  commonParams: {};
147166
147138
  formData: {};
@@ -149405,8 +149377,6 @@ export type Routes = {
149405
149377
  cooling_set_point_celsius?: number | undefined;
149406
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. */
149407
149379
  cooling_set_point_fahrenheit?: number | undefined;
149408
- /** */
149409
- sync?: boolean;
149410
149380
  };
149411
149381
  commonParams: {};
149412
149382
  formData: {};
@@ -155231,8 +155201,6 @@ export type Routes = {
155231
155201
  jsonBody: {
155232
155202
  /** ID of the thermostat device that you want to set to off mode. */
155233
155203
  device_id: string;
155234
- /** */
155235
- sync?: boolean;
155236
155204
  };
155237
155205
  commonParams: {};
155238
155206
  formData: {};
@@ -157678,8 +157646,6 @@ export type Routes = {
157678
157646
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined;
157679
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. */
157680
157648
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
157681
- /** */
157682
- sync?: boolean;
157683
157649
  };
157684
157650
  commonParams: {};
157685
157651
  formData: {};
@@ -181214,8 +181180,8 @@ export type Routes = {
181214
181180
  [x: string]: string | boolean;
181215
181181
  } | undefined;
181216
181182
  event_type: 'camera.activated';
181217
- /** The reason the camera was activated. */
181218
- activation_reason: 'motion_detected';
181183
+ /** Whether motion detection activated the camera, if known. */
181184
+ is_motion_detected?: boolean | undefined;
181219
181185
  /** Sub-type of motion detected, if available. */
181220
181186
  motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
181221
181187
  /** URL to a thumbnail image captured at the time of activation. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1195.0",
3
+ "version": "1.1197.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -868,9 +868,10 @@ export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>
868
868
 
869
869
  export const camera_activated_event = device_event.extend({
870
870
  event_type: z.literal('camera.activated'),
871
- activation_reason: z
872
- .enum(['motion_detected'])
873
- .describe('The reason the camera was activated.'),
871
+ is_motion_detected: z
872
+ .boolean()
873
+ .optional()
874
+ .describe('Whether motion detection activated the camera, if known.'),
874
875
  motion_sub_type: z
875
876
  .enum(['human', 'vehicle', 'package', 'other'])
876
877
  .optional()
@@ -32361,11 +32361,6 @@ const openapi: OpenAPISpec = {
32361
32361
  description:
32362
32362
  'A camera was activated, for example, by motion detection. For Ring cameras, this event is available only in the Seam Console, not through the API or webhooks.',
32363
32363
  properties: {
32364
- activation_reason: {
32365
- description: 'The reason the camera was activated.',
32366
- enum: ['motion_detected'],
32367
- type: 'string',
32368
- },
32369
32364
  connected_account_custom_metadata: {
32370
32365
  additionalProperties: {
32371
32366
  oneOf: [{ type: 'string' }, { type: 'boolean' }],
@@ -32420,6 +32415,11 @@ const openapi: OpenAPISpec = {
32420
32415
  format: 'uri',
32421
32416
  type: 'string',
32422
32417
  },
32418
+ is_motion_detected: {
32419
+ description:
32420
+ 'Whether motion detection activated the camera, if known.',
32421
+ type: 'boolean',
32422
+ },
32423
32423
  media_ids: {
32424
32424
  description:
32425
32425
  'IDs of the media, such as a video clip and a thumbnail image, captured for this activation. Use `/media/get` to retrieve each one.',
@@ -32456,7 +32456,6 @@ const openapi: OpenAPISpec = {
32456
32456
  'device_id',
32457
32457
  'connected_account_id',
32458
32458
  'event_type',
32459
- 'activation_reason',
32460
32459
  ],
32461
32460
  type: 'object',
32462
32461
  'x-route-path': '/devices',
@@ -44291,11 +44290,6 @@ const openapi: OpenAPISpec = {
44291
44290
  '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
44291
  type: 'string',
44293
44292
  },
44294
- sync: {
44295
- default: false,
44296
- type: 'boolean',
44297
- 'x-undocumented': 'Only used internally.',
44298
- },
44299
44293
  use_backup_access_code_pool: {
44300
44294
  description:
44301
44295
  '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 +44493,6 @@ const openapi: OpenAPISpec = {
44499
44493
  type: 'string',
44500
44494
  },
44501
44495
  },
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
44496
  ],
44513
44497
  responses: {
44514
44498
  '200': {
@@ -45326,11 +45310,6 @@ const openapi: OpenAPISpec = {
45326
45310
  '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
45311
  type: 'boolean',
45328
45312
  },
45329
- sync: {
45330
- default: false,
45331
- type: 'boolean',
45332
- 'x-undocumented': 'Only used internally.',
45333
- },
45334
45313
  },
45335
45314
  required: ['access_code_id'],
45336
45315
  type: 'object',
@@ -45387,16 +45366,6 @@ const openapi: OpenAPISpec = {
45387
45366
  type: 'string',
45388
45367
  },
45389
45368
  },
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
45369
  ],
45401
45370
  responses: {
45402
45371
  '200': {
@@ -45751,11 +45720,6 @@ const openapi: OpenAPISpec = {
45751
45720
  '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
45721
  type: 'string',
45753
45722
  },
45754
- sync: {
45755
- default: false,
45756
- type: 'boolean',
45757
- 'x-undocumented': 'Only used internally.',
45758
- },
45759
45723
  type: {
45760
45724
  description:
45761
45725
  '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 +53233,6 @@ const openapi: OpenAPISpec = {
53269
53233
  type: 'string',
53270
53234
  },
53271
53235
  },
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
53236
  ],
53283
53237
  responses: {
53284
53238
  '200': {
@@ -61021,11 +60975,6 @@ const openapi: OpenAPISpec = {
61021
60975
  format: 'uuid',
61022
60976
  type: 'string',
61023
60977
  },
61024
- sync: {
61025
- default: false,
61026
- type: 'boolean',
61027
- 'x-undocumented': 'Only used internally.',
61028
- },
61029
60978
  },
61030
60979
  required: ['device_id'],
61031
60980
  type: 'object',
@@ -61209,11 +61158,6 @@ const openapi: OpenAPISpec = {
61209
61158
  format: 'uuid',
61210
61159
  type: 'string',
61211
61160
  },
61212
- sync: {
61213
- default: false,
61214
- type: 'boolean',
61215
- 'x-undocumented': 'Only used internally.',
61216
- },
61217
61161
  },
61218
61162
  required: ['device_id'],
61219
61163
  type: 'object',
@@ -61479,11 +61423,6 @@ const openapi: OpenAPISpec = {
61479
61423
  'Time at which the new noise threshold should become active daily.',
61480
61424
  type: 'string',
61481
61425
  },
61482
- sync: {
61483
- default: false,
61484
- type: 'boolean',
61485
- 'x-undocumented': 'Only used internally.',
61486
- },
61487
61426
  },
61488
61427
  required: ['device_id', 'starts_daily_at', 'ends_daily_at'],
61489
61428
  type: 'object',
@@ -61557,16 +61496,6 @@ const openapi: OpenAPISpec = {
61557
61496
  type: 'string',
61558
61497
  },
61559
61498
  },
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
61499
  ],
61571
61500
  responses: {
61572
61501
  '200': {
@@ -61773,11 +61702,6 @@ const openapi: OpenAPISpec = {
61773
61702
  'Time at which the noise threshold should become active daily.',
61774
61703
  type: 'string',
61775
61704
  },
61776
- sync: {
61777
- default: false,
61778
- type: 'boolean',
61779
- 'x-undocumented': 'Only used internally.',
61780
- },
61781
61705
  },
61782
61706
  required: ['noise_threshold_id', 'device_id'],
61783
61707
  type: 'object',
@@ -78362,11 +78286,6 @@ const openapi: OpenAPISpec = {
78362
78286
  format: 'uuid',
78363
78287
  type: 'string',
78364
78288
  },
78365
- sync: {
78366
- default: false,
78367
- type: 'boolean',
78368
- 'x-undocumented': 'Only used internally.',
78369
- },
78370
78289
  },
78371
78290
  required: ['device_id'],
78372
78291
  type: 'object',
@@ -78439,11 +78358,6 @@ const openapi: OpenAPISpec = {
78439
78358
  format: 'uuid',
78440
78359
  type: 'string',
78441
78360
  },
78442
- sync: {
78443
- default: false,
78444
- type: 'boolean',
78445
- 'x-undocumented': 'Only used internally.',
78446
- },
78447
78361
  },
78448
78362
  required: ['device_id'],
78449
78363
  type: 'object',
@@ -79007,11 +78921,6 @@ const openapi: OpenAPISpec = {
79007
78921
  format: 'float',
79008
78922
  type: 'number',
79009
78923
  },
79010
- sync: {
79011
- default: false,
79012
- type: 'boolean',
79013
- 'x-undocumented': 'Only used internally.',
79014
- },
79015
78924
  },
79016
78925
  required: ['device_id'],
79017
78926
  type: 'object',
@@ -79096,11 +79005,6 @@ const openapi: OpenAPISpec = {
79096
79005
  format: 'float',
79097
79006
  type: 'number',
79098
79007
  },
79099
- sync: {
79100
- default: false,
79101
- type: 'boolean',
79102
- 'x-undocumented': 'Only used internally.',
79103
- },
79104
79008
  },
79105
79009
  required: ['device_id'],
79106
79010
  type: 'object',
@@ -79294,11 +79198,6 @@ const openapi: OpenAPISpec = {
79294
79198
  format: 'uuid',
79295
79199
  type: 'string',
79296
79200
  },
79297
- sync: {
79298
- default: false,
79299
- type: 'boolean',
79300
- 'x-undocumented': 'Only used internally.',
79301
- },
79302
79201
  },
79303
79202
  required: ['device_id'],
79304
79203
  type: 'object',
@@ -79788,11 +79687,6 @@ const openapi: OpenAPISpec = {
79788
79687
  enum: ['auto', 'on', 'circulate'],
79789
79688
  type: 'string',
79790
79689
  },
79791
- sync: {
79792
- default: false,
79793
- type: 'boolean',
79794
- 'x-undocumented': 'Only used internally.',
79795
- },
79796
79690
  },
79797
79691
  required: ['device_id'],
79798
79692
  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: {}
@@ -71054,8 +71042,8 @@ export type Routes = {
71054
71042
  }
71055
71043
  | undefined
71056
71044
  event_type: 'camera.activated'
71057
- /** The reason the camera was activated. */
71058
- activation_reason: 'motion_detected'
71045
+ /** Whether motion detection activated the camera, if known. */
71046
+ is_motion_detected?: boolean | undefined
71059
71047
  /** Sub-type of motion detected, if available. */
71060
71048
  motion_sub_type?:
71061
71049
  ('human' | 'vehicle' | 'package' | 'other') | undefined
@@ -75451,8 +75439,8 @@ export type Routes = {
75451
75439
  }
75452
75440
  | undefined
75453
75441
  event_type: 'camera.activated'
75454
- /** The reason the camera was activated. */
75455
- activation_reason: 'motion_detected'
75442
+ /** Whether motion detection activated the camera, if known. */
75443
+ is_motion_detected?: boolean | undefined
75456
75444
  /** Sub-type of motion detected, if available. */
75457
75445
  motion_sub_type?:
75458
75446
  ('human' | 'vehicle' | 'package' | 'other') | undefined
@@ -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. */
@@ -130459,8 +130437,8 @@ export type Routes = {
130459
130437
  }
130460
130438
  | undefined
130461
130439
  event_type: 'camera.activated'
130462
- /** The reason the camera was activated. */
130463
- activation_reason: 'motion_detected'
130440
+ /** Whether motion detection activated the camera, if known. */
130441
+ is_motion_detected?: boolean | undefined
130464
130442
  /** Sub-type of motion detected, if available. */
130465
130443
  motion_sub_type?:
130466
130444
  ('human' | 'vehicle' | 'package' | 'other') | undefined
@@ -137406,8 +137384,8 @@ export type Routes = {
137406
137384
  }
137407
137385
  | undefined
137408
137386
  event_type: 'camera.activated'
137409
- /** The reason the camera was activated. */
137410
- activation_reason: 'motion_detected'
137387
+ /** Whether motion detection activated the camera, if known. */
137388
+ is_motion_detected?: boolean | undefined
137411
137389
  /** Sub-type of motion detected, if available. */
137412
137390
  motion_sub_type?:
137413
137391
  ('human' | 'vehicle' | 'package' | 'other') | undefined
@@ -164762,8 +164740,6 @@ export type Routes = {
164762
164740
  jsonBody: {
164763
164741
  /** ID of the thermostat device that you want to return to its weekly program. */
164764
164742
  device_id: string
164765
- /** */
164766
- sync?: boolean
164767
164743
  }
164768
164744
  commonParams: {}
164769
164745
  formData: {}
@@ -167351,8 +167327,6 @@ export type Routes = {
167351
167327
  cooling_set_point_celsius?: number | undefined
167352
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. */
167353
167329
  cooling_set_point_fahrenheit?: number | undefined
167354
- /** */
167355
- sync?: boolean
167356
167330
  }
167357
167331
  commonParams: {}
167358
167332
  formData: {}
@@ -174930,8 +174904,6 @@ export type Routes = {
174930
174904
  heating_set_point_celsius?: number | undefined
174931
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. */
174932
174906
  heating_set_point_fahrenheit?: number | undefined
174933
- /** */
174934
- sync?: boolean
174935
174907
  }
174936
174908
  commonParams: {}
174937
174909
  formData: {}
@@ -177523,8 +177495,6 @@ export type Routes = {
177523
177495
  cooling_set_point_celsius?: number | undefined
177524
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. */
177525
177497
  cooling_set_point_fahrenheit?: number | undefined
177526
- /** */
177527
- sync?: boolean
177528
177498
  }
177529
177499
  commonParams: {}
177530
177500
  formData: {}
@@ -184675,8 +184645,6 @@ export type Routes = {
184675
184645
  jsonBody: {
184676
184646
  /** ID of the thermostat device that you want to set to off mode. */
184677
184647
  device_id: string
184678
- /** */
184679
- sync?: boolean
184680
184648
  }
184681
184649
  commonParams: {}
184682
184650
  formData: {}
@@ -187469,8 +187437,6 @@ export type Routes = {
187469
187437
  fan_mode?: ('auto' | 'on' | 'circulate') | undefined
187470
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. */
187471
187439
  fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
187472
- /** */
187473
- sync?: boolean
187474
187440
  }
187475
187441
  commonParams: {}
187476
187442
  formData: {}
@@ -215303,8 +215269,8 @@ export type Routes = {
215303
215269
  }
215304
215270
  | undefined
215305
215271
  event_type: 'camera.activated'
215306
- /** The reason the camera was activated. */
215307
- activation_reason: 'motion_detected'
215272
+ /** Whether motion detection activated the camera, if known. */
215273
+ is_motion_detected?: boolean | undefined
215308
215274
  /** Sub-type of motion detected, if available. */
215309
215275
  motion_sub_type?:
215310
215276
  ('human' | 'vehicle' | 'package' | 'other') | undefined