@seamapi/types 1.437.1 → 1.438.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.
Files changed (35) hide show
  1. package/dist/connect.cjs +913 -3
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1333 -0
  4. package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
  5. package/lib/seam/connect/models/events/access-codes.js +7 -0
  6. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  7. package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
  8. package/lib/seam/connect/models/events/connect-webviews.js +5 -0
  9. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  10. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
  11. package/lib/seam/connect/models/events/connected-accounts.js +4 -0
  12. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  13. package/lib/seam/connect/models/events/devices.d.ts +396 -0
  14. package/lib/seam/connect/models/events/devices.js +7 -0
  15. package/lib/seam/connect/models/events/devices.js.map +1 -1
  16. package/lib/seam/connect/models/events/phones.d.ts +6 -0
  17. package/lib/seam/connect/models/events/phones.js +4 -0
  18. package/lib/seam/connect/models/events/phones.js.map +1 -1
  19. package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
  20. package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
  21. package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
  22. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  23. package/lib/seam/connect/openapi.d.ts +535 -0
  24. package/lib/seam/connect/openapi.js +885 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +468 -0
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
  29. package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
  30. package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
  31. package/src/lib/seam/connect/models/events/devices.ts +11 -0
  32. package/src/lib/seam/connect/models/events/phones.ts +6 -0
  33. package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
  34. package/src/lib/seam/connect/openapi.ts +1001 -0
  35. package/src/lib/seam/connect/route-types.ts +904 -0
package/dist/connect.cjs CHANGED
@@ -4187,6 +4187,12 @@ var access_code_event = common_event.extend({
4187
4187
  device_id: zod.z.string().uuid().describe("ID of the device associated with the affected access code."),
4188
4188
  connected_account_id: zod.z.string().uuid().describe(
4189
4189
  "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code."
4190
+ ),
4191
+ device_custom_metadata: custom_metadata.optional().describe(
4192
+ "Custom metadata of the device, present when device_id is provided."
4193
+ ),
4194
+ connected_account_custom_metadata: custom_metadata.optional().describe(
4195
+ "Custom metadata of the connected account, present when connected_account_id is provided."
4190
4196
  )
4191
4197
  });
4192
4198
  var code = zod.z.string().describe("Code for the affected access code.");
@@ -4688,9 +4694,13 @@ var connect_webview_event = common_event.extend({
4688
4694
  var connected_account_id = zod.z.string().uuid().describe(
4689
4695
  "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event."
4690
4696
  );
4697
+ var connected_account_custom_metadata = custom_metadata.optional().describe(
4698
+ "Custom metadata of the connected account; present when connected_account_id is provided."
4699
+ );
4691
4700
  var connect_webview_login_succeeded_event = connect_webview_event.extend({
4692
4701
  event_type: zod.z.literal("connect_webview.login_succeeded"),
4693
- connected_account_id
4702
+ connected_account_id,
4703
+ connected_account_custom_metadata
4694
4704
  }).describe(`
4695
4705
  ---
4696
4706
  route_path: /connect_webviews
@@ -4712,6 +4722,9 @@ var connect_webview_events = [
4712
4722
  var connected_account_event = common_event.extend({
4713
4723
  connected_account_id: zod.z.string().uuid().describe(
4714
4724
  "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts)."
4725
+ ),
4726
+ connected_account_custom_metadata: custom_metadata.optional().describe(
4727
+ "Custom metadata of the connected account, present when connected_account_id is provided."
4715
4728
  )
4716
4729
  });
4717
4730
  var connect_webview_id = zod.z.string().uuid().describe(
@@ -4794,6 +4807,12 @@ var device_event = common_event.extend({
4794
4807
  device_id: zod.z.string().uuid().describe("ID of the affected device."),
4795
4808
  connected_account_id: zod.z.string().uuid().describe(
4796
4809
  "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event."
4810
+ ),
4811
+ device_custom_metadata: custom_metadata.optional().describe(
4812
+ "Custom metadata of the device, present when device_id is provided."
4813
+ ),
4814
+ connected_account_custom_metadata: custom_metadata.optional().describe(
4815
+ "Custom metadata of the connected account, present when connected_account_id is provided."
4797
4816
  )
4798
4817
  });
4799
4818
  var battery_level = zod.z.number().min(0).max(1).describe(
@@ -5200,7 +5219,10 @@ var enrollment_automation_events = [
5200
5219
  enrollment_automation_deleted_event
5201
5220
  ];
5202
5221
  var phone_event = common_event.extend({
5203
- device_id: zod.z.string().uuid().describe("ID of the affected phone device.")
5222
+ device_id: zod.z.string().uuid().describe("ID of the affected phone device."),
5223
+ device_custom_metadata: custom_metadata.optional().describe(
5224
+ "Custom metadata of the device; present when device_id is provided."
5225
+ )
5204
5226
  });
5205
5227
  var phone_deactivated_event = phone_event.extend({
5206
5228
  event_type: zod.z.literal("phone.deactivated")
@@ -5381,6 +5403,9 @@ var user_identity = zod.z.object({
5381
5403
  ),
5382
5404
  warnings: zod.z.array(user_identity_warnings).describe(
5383
5405
  'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.'
5406
+ ),
5407
+ acs_user_ids: zod.z.array(zod.z.string().uuid()).describe(
5408
+ "Array of access system user IDs associated with the user identity."
5384
5409
  )
5385
5410
  }).describe(`
5386
5411
  ---
@@ -16913,6 +16938,13 @@ var openapi_default = {
16913
16938
  format: "uuid",
16914
16939
  type: "string"
16915
16940
  },
16941
+ connected_account_custom_metadata: {
16942
+ additionalProperties: {
16943
+ oneOf: [{ type: "string" }, { type: "boolean" }]
16944
+ },
16945
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
16946
+ type: "object"
16947
+ },
16916
16948
  connected_account_id: {
16917
16949
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
16918
16950
  format: "uuid",
@@ -16923,6 +16955,13 @@ var openapi_default = {
16923
16955
  format: "date-time",
16924
16956
  type: "string"
16925
16957
  },
16958
+ device_custom_metadata: {
16959
+ additionalProperties: {
16960
+ oneOf: [{ type: "string" }, { type: "boolean" }]
16961
+ },
16962
+ description: "Custom metadata of the device, present when device_id is provided.",
16963
+ type: "object"
16964
+ },
16926
16965
  device_id: {
16927
16966
  description: "ID of the device associated with the affected access code.",
16928
16967
  format: "uuid",
@@ -16966,6 +17005,13 @@ var openapi_default = {
16966
17005
  format: "uuid",
16967
17006
  type: "string"
16968
17007
  },
17008
+ connected_account_custom_metadata: {
17009
+ additionalProperties: {
17010
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17011
+ },
17012
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17013
+ type: "object"
17014
+ },
16969
17015
  connected_account_id: {
16970
17016
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
16971
17017
  format: "uuid",
@@ -16976,6 +17022,13 @@ var openapi_default = {
16976
17022
  format: "date-time",
16977
17023
  type: "string"
16978
17024
  },
17025
+ device_custom_metadata: {
17026
+ additionalProperties: {
17027
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17028
+ },
17029
+ description: "Custom metadata of the device, present when device_id is provided.",
17030
+ type: "object"
17031
+ },
16979
17032
  device_id: {
16980
17033
  description: "ID of the device associated with the affected access code.",
16981
17034
  format: "uuid",
@@ -17023,6 +17076,13 @@ var openapi_default = {
17023
17076
  description: "Code for the affected access code.",
17024
17077
  type: "string"
17025
17078
  },
17079
+ connected_account_custom_metadata: {
17080
+ additionalProperties: {
17081
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17082
+ },
17083
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17084
+ type: "object"
17085
+ },
17026
17086
  connected_account_id: {
17027
17087
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17028
17088
  format: "uuid",
@@ -17033,6 +17093,13 @@ var openapi_default = {
17033
17093
  format: "date-time",
17034
17094
  type: "string"
17035
17095
  },
17096
+ device_custom_metadata: {
17097
+ additionalProperties: {
17098
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17099
+ },
17100
+ description: "Custom metadata of the device, present when device_id is provided.",
17101
+ type: "object"
17102
+ },
17036
17103
  device_id: {
17037
17104
  description: "ID of the device associated with the affected access code.",
17038
17105
  format: "uuid",
@@ -17084,6 +17151,13 @@ var openapi_default = {
17084
17151
  description: "Code for the affected access code.",
17085
17152
  type: "string"
17086
17153
  },
17154
+ connected_account_custom_metadata: {
17155
+ additionalProperties: {
17156
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17157
+ },
17158
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17159
+ type: "object"
17160
+ },
17087
17161
  connected_account_id: {
17088
17162
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17089
17163
  format: "uuid",
@@ -17094,6 +17168,13 @@ var openapi_default = {
17094
17168
  format: "date-time",
17095
17169
  type: "string"
17096
17170
  },
17171
+ device_custom_metadata: {
17172
+ additionalProperties: {
17173
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17174
+ },
17175
+ description: "Custom metadata of the device, present when device_id is provided.",
17176
+ type: "object"
17177
+ },
17097
17178
  device_id: {
17098
17179
  description: "ID of the device associated with the affected access code.",
17099
17180
  format: "uuid",
@@ -17141,6 +17222,13 @@ var openapi_default = {
17141
17222
  format: "uuid",
17142
17223
  type: "string"
17143
17224
  },
17225
+ connected_account_custom_metadata: {
17226
+ additionalProperties: {
17227
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17228
+ },
17229
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17230
+ type: "object"
17231
+ },
17144
17232
  connected_account_id: {
17145
17233
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17146
17234
  format: "uuid",
@@ -17151,6 +17239,13 @@ var openapi_default = {
17151
17239
  format: "date-time",
17152
17240
  type: "string"
17153
17241
  },
17242
+ device_custom_metadata: {
17243
+ additionalProperties: {
17244
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17245
+ },
17246
+ description: "Custom metadata of the device, present when device_id is provided.",
17247
+ type: "object"
17248
+ },
17154
17249
  device_id: {
17155
17250
  description: "ID of the device associated with the affected access code.",
17156
17251
  format: "uuid",
@@ -17197,6 +17292,13 @@ var openapi_default = {
17197
17292
  format: "uuid",
17198
17293
  type: "string"
17199
17294
  },
17295
+ connected_account_custom_metadata: {
17296
+ additionalProperties: {
17297
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17298
+ },
17299
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17300
+ type: "object"
17301
+ },
17200
17302
  connected_account_id: {
17201
17303
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17202
17304
  format: "uuid",
@@ -17207,6 +17309,13 @@ var openapi_default = {
17207
17309
  format: "date-time",
17208
17310
  type: "string"
17209
17311
  },
17312
+ device_custom_metadata: {
17313
+ additionalProperties: {
17314
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17315
+ },
17316
+ description: "Custom metadata of the device, present when device_id is provided.",
17317
+ type: "object"
17318
+ },
17210
17319
  device_id: {
17211
17320
  description: "ID of the device associated with the affected access code.",
17212
17321
  format: "uuid",
@@ -17253,6 +17362,13 @@ var openapi_default = {
17253
17362
  format: "uuid",
17254
17363
  type: "string"
17255
17364
  },
17365
+ connected_account_custom_metadata: {
17366
+ additionalProperties: {
17367
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17368
+ },
17369
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17370
+ type: "object"
17371
+ },
17256
17372
  connected_account_id: {
17257
17373
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17258
17374
  format: "uuid",
@@ -17263,6 +17379,13 @@ var openapi_default = {
17263
17379
  format: "date-time",
17264
17380
  type: "string"
17265
17381
  },
17382
+ device_custom_metadata: {
17383
+ additionalProperties: {
17384
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17385
+ },
17386
+ description: "Custom metadata of the device, present when device_id is provided.",
17387
+ type: "object"
17388
+ },
17266
17389
  device_id: {
17267
17390
  description: "ID of the device associated with the affected access code.",
17268
17391
  format: "uuid",
@@ -17314,6 +17437,13 @@ var openapi_default = {
17314
17437
  nullable: true,
17315
17438
  type: "string"
17316
17439
  },
17440
+ connected_account_custom_metadata: {
17441
+ additionalProperties: {
17442
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17443
+ },
17444
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17445
+ type: "object"
17446
+ },
17317
17447
  connected_account_id: {
17318
17448
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17319
17449
  format: "uuid",
@@ -17324,6 +17454,13 @@ var openapi_default = {
17324
17454
  format: "date-time",
17325
17455
  type: "string"
17326
17456
  },
17457
+ device_custom_metadata: {
17458
+ additionalProperties: {
17459
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17460
+ },
17461
+ description: "Custom metadata of the device, present when device_id is provided.",
17462
+ type: "object"
17463
+ },
17327
17464
  device_id: {
17328
17465
  description: "ID of the device associated with the affected access code.",
17329
17466
  format: "uuid",
@@ -17368,6 +17505,13 @@ var openapi_default = {
17368
17505
  format: "uuid",
17369
17506
  type: "string"
17370
17507
  },
17508
+ connected_account_custom_metadata: {
17509
+ additionalProperties: {
17510
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17511
+ },
17512
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17513
+ type: "object"
17514
+ },
17371
17515
  connected_account_id: {
17372
17516
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17373
17517
  format: "uuid",
@@ -17378,6 +17522,13 @@ var openapi_default = {
17378
17522
  format: "date-time",
17379
17523
  type: "string"
17380
17524
  },
17525
+ device_custom_metadata: {
17526
+ additionalProperties: {
17527
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17528
+ },
17529
+ description: "Custom metadata of the device, present when device_id is provided.",
17530
+ type: "object"
17531
+ },
17381
17532
  device_id: {
17382
17533
  description: "ID of the device associated with the affected access code.",
17383
17534
  format: "uuid",
@@ -17424,6 +17575,13 @@ var openapi_default = {
17424
17575
  format: "uuid",
17425
17576
  type: "string"
17426
17577
  },
17578
+ connected_account_custom_metadata: {
17579
+ additionalProperties: {
17580
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17581
+ },
17582
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17583
+ type: "object"
17584
+ },
17427
17585
  connected_account_id: {
17428
17586
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17429
17587
  format: "uuid",
@@ -17434,6 +17592,13 @@ var openapi_default = {
17434
17592
  format: "date-time",
17435
17593
  type: "string"
17436
17594
  },
17595
+ device_custom_metadata: {
17596
+ additionalProperties: {
17597
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17598
+ },
17599
+ description: "Custom metadata of the device, present when device_id is provided.",
17600
+ type: "object"
17601
+ },
17437
17602
  device_id: {
17438
17603
  description: "ID of the device associated with the affected access code.",
17439
17604
  format: "uuid",
@@ -17480,6 +17645,13 @@ var openapi_default = {
17480
17645
  format: "uuid",
17481
17646
  type: "string"
17482
17647
  },
17648
+ connected_account_custom_metadata: {
17649
+ additionalProperties: {
17650
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17651
+ },
17652
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17653
+ type: "object"
17654
+ },
17483
17655
  connected_account_id: {
17484
17656
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17485
17657
  format: "uuid",
@@ -17490,6 +17662,13 @@ var openapi_default = {
17490
17662
  format: "date-time",
17491
17663
  type: "string"
17492
17664
  },
17665
+ device_custom_metadata: {
17666
+ additionalProperties: {
17667
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17668
+ },
17669
+ description: "Custom metadata of the device, present when device_id is provided.",
17670
+ type: "object"
17671
+ },
17493
17672
  device_id: {
17494
17673
  description: "ID of the device associated with the affected access code.",
17495
17674
  format: "uuid",
@@ -17536,6 +17715,13 @@ var openapi_default = {
17536
17715
  format: "uuid",
17537
17716
  type: "string"
17538
17717
  },
17718
+ connected_account_custom_metadata: {
17719
+ additionalProperties: {
17720
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17721
+ },
17722
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17723
+ type: "object"
17724
+ },
17539
17725
  connected_account_id: {
17540
17726
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17541
17727
  format: "uuid",
@@ -17546,6 +17732,13 @@ var openapi_default = {
17546
17732
  format: "date-time",
17547
17733
  type: "string"
17548
17734
  },
17735
+ device_custom_metadata: {
17736
+ additionalProperties: {
17737
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17738
+ },
17739
+ description: "Custom metadata of the device, present when device_id is provided.",
17740
+ type: "object"
17741
+ },
17549
17742
  device_id: {
17550
17743
  description: "ID of the device associated with the affected access code.",
17551
17744
  format: "uuid",
@@ -17593,6 +17786,13 @@ var openapi_default = {
17593
17786
  type: "string"
17594
17787
  },
17595
17788
  backup_access_code_id: { type: "string" },
17789
+ connected_account_custom_metadata: {
17790
+ additionalProperties: {
17791
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17792
+ },
17793
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17794
+ type: "object"
17795
+ },
17596
17796
  connected_account_id: {
17597
17797
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17598
17798
  format: "uuid",
@@ -17603,6 +17803,13 @@ var openapi_default = {
17603
17803
  format: "date-time",
17604
17804
  type: "string"
17605
17805
  },
17806
+ device_custom_metadata: {
17807
+ additionalProperties: {
17808
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17809
+ },
17810
+ description: "Custom metadata of the device, present when device_id is provided.",
17811
+ type: "object"
17812
+ },
17606
17813
  device_id: {
17607
17814
  description: "ID of the device associated with the affected access code.",
17608
17815
  format: "uuid",
@@ -17650,6 +17857,13 @@ var openapi_default = {
17650
17857
  format: "uuid",
17651
17858
  type: "string"
17652
17859
  },
17860
+ connected_account_custom_metadata: {
17861
+ additionalProperties: {
17862
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17863
+ },
17864
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17865
+ type: "object"
17866
+ },
17653
17867
  connected_account_id: {
17654
17868
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17655
17869
  format: "uuid",
@@ -17660,6 +17874,13 @@ var openapi_default = {
17660
17874
  format: "date-time",
17661
17875
  type: "string"
17662
17876
  },
17877
+ device_custom_metadata: {
17878
+ additionalProperties: {
17879
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17880
+ },
17881
+ description: "Custom metadata of the device, present when device_id is provided.",
17882
+ type: "object"
17883
+ },
17663
17884
  device_id: {
17664
17885
  description: "ID of the device associated with the affected access code.",
17665
17886
  format: "uuid",
@@ -17706,6 +17927,13 @@ var openapi_default = {
17706
17927
  format: "uuid",
17707
17928
  type: "string"
17708
17929
  },
17930
+ connected_account_custom_metadata: {
17931
+ additionalProperties: {
17932
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17933
+ },
17934
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
17935
+ type: "object"
17936
+ },
17709
17937
  connected_account_id: {
17710
17938
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17711
17939
  format: "uuid",
@@ -17716,6 +17944,13 @@ var openapi_default = {
17716
17944
  format: "date-time",
17717
17945
  type: "string"
17718
17946
  },
17947
+ device_custom_metadata: {
17948
+ additionalProperties: {
17949
+ oneOf: [{ type: "string" }, { type: "boolean" }]
17950
+ },
17951
+ description: "Custom metadata of the device, present when device_id is provided.",
17952
+ type: "object"
17953
+ },
17719
17954
  device_id: {
17720
17955
  description: "ID of the device associated with the affected access code.",
17721
17956
  format: "uuid",
@@ -17762,6 +17997,13 @@ var openapi_default = {
17762
17997
  format: "uuid",
17763
17998
  type: "string"
17764
17999
  },
18000
+ connected_account_custom_metadata: {
18001
+ additionalProperties: {
18002
+ oneOf: [{ type: "string" }, { type: "boolean" }]
18003
+ },
18004
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
18005
+ type: "object"
18006
+ },
17765
18007
  connected_account_id: {
17766
18008
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17767
18009
  format: "uuid",
@@ -17772,6 +18014,13 @@ var openapi_default = {
17772
18014
  format: "date-time",
17773
18015
  type: "string"
17774
18016
  },
18017
+ device_custom_metadata: {
18018
+ additionalProperties: {
18019
+ oneOf: [{ type: "string" }, { type: "boolean" }]
18020
+ },
18021
+ description: "Custom metadata of the device, present when device_id is provided.",
18022
+ type: "object"
18023
+ },
17775
18024
  device_id: {
17776
18025
  description: "ID of the device associated with the affected access code.",
17777
18026
  format: "uuid",
@@ -17818,6 +18067,13 @@ var openapi_default = {
17818
18067
  format: "uuid",
17819
18068
  type: "string"
17820
18069
  },
18070
+ connected_account_custom_metadata: {
18071
+ additionalProperties: {
18072
+ oneOf: [{ type: "string" }, { type: "boolean" }]
18073
+ },
18074
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
18075
+ type: "object"
18076
+ },
17821
18077
  connected_account_id: {
17822
18078
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code.",
17823
18079
  format: "uuid",
@@ -17828,6 +18084,13 @@ var openapi_default = {
17828
18084
  format: "date-time",
17829
18085
  type: "string"
17830
18086
  },
18087
+ device_custom_metadata: {
18088
+ additionalProperties: {
18089
+ oneOf: [{ type: "string" }, { type: "boolean" }]
18090
+ },
18091
+ description: "Custom metadata of the device, present when device_id is provided.",
18092
+ type: "object"
18093
+ },
17831
18094
  device_id: {
17832
18095
  description: "ID of the device associated with the affected access code.",
17833
18096
  format: "uuid",
@@ -19049,6 +19312,13 @@ var openapi_default = {
19049
19312
  format: "uuid",
19050
19313
  type: "string"
19051
19314
  },
19315
+ connected_account_custom_metadata: {
19316
+ additionalProperties: {
19317
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19318
+ },
19319
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19320
+ type: "object"
19321
+ },
19052
19322
  connected_account_id: {
19053
19323
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19054
19324
  format: "uuid",
@@ -19099,6 +19369,13 @@ var openapi_default = {
19099
19369
  format: "uuid",
19100
19370
  type: "string"
19101
19371
  },
19372
+ connected_account_custom_metadata: {
19373
+ additionalProperties: {
19374
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19375
+ },
19376
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19377
+ type: "object"
19378
+ },
19102
19379
  connected_account_id: {
19103
19380
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19104
19381
  format: "uuid",
@@ -19150,6 +19427,13 @@ var openapi_default = {
19150
19427
  format: "uuid",
19151
19428
  type: "string"
19152
19429
  },
19430
+ connected_account_custom_metadata: {
19431
+ additionalProperties: {
19432
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19433
+ },
19434
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19435
+ type: "object"
19436
+ },
19153
19437
  connected_account_id: {
19154
19438
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19155
19439
  format: "uuid",
@@ -19196,6 +19480,13 @@ var openapi_default = {
19196
19480
  {
19197
19481
  description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was disconnected.",
19198
19482
  properties: {
19483
+ connected_account_custom_metadata: {
19484
+ additionalProperties: {
19485
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19486
+ },
19487
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19488
+ type: "object"
19489
+ },
19199
19490
  connected_account_id: {
19200
19491
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19201
19492
  format: "uuid",
@@ -19240,6 +19531,13 @@ var openapi_default = {
19240
19531
  {
19241
19532
  description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync with Seam, and the corresponding devices or systems are now available.",
19242
19533
  properties: {
19534
+ connected_account_custom_metadata: {
19535
+ additionalProperties: {
19536
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19537
+ },
19538
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19539
+ type: "object"
19540
+ },
19243
19541
  connected_account_id: {
19244
19542
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19245
19543
  format: "uuid",
@@ -19284,6 +19582,13 @@ var openapi_default = {
19284
19582
  {
19285
19583
  description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) was deleted.",
19286
19584
  properties: {
19585
+ connected_account_custom_metadata: {
19586
+ additionalProperties: {
19587
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19588
+ },
19589
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19590
+ type: "object"
19591
+ },
19287
19592
  connected_account_id: {
19288
19593
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19289
19594
  format: "uuid",
@@ -19328,6 +19633,13 @@ var openapi_default = {
19328
19633
  {
19329
19634
  description: "A [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) completed the first sync after reconnection with Seam, and the corresponding devices or systems are now available.",
19330
19635
  properties: {
19636
+ connected_account_custom_metadata: {
19637
+ additionalProperties: {
19638
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19639
+ },
19640
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19641
+ type: "object"
19642
+ },
19331
19643
  connected_account_id: {
19332
19644
  description: "ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
19333
19645
  format: "uuid",
@@ -19583,6 +19895,13 @@ var openapi_default = {
19583
19895
  format: "uuid",
19584
19896
  type: "string"
19585
19897
  },
19898
+ connected_account_custom_metadata: {
19899
+ additionalProperties: {
19900
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19901
+ },
19902
+ description: "Custom metadata of the connected account; present when connected_account_id is provided.",
19903
+ type: "object"
19904
+ },
19586
19905
  connected_account_id: {
19587
19906
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19588
19907
  format: "uuid",
@@ -19672,6 +19991,13 @@ var openapi_default = {
19672
19991
  {
19673
19992
  description: "The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`. Note that some devices operate entirely in offline mode, so Seam never emits a `device.connected` event for these devices.",
19674
19993
  properties: {
19994
+ connected_account_custom_metadata: {
19995
+ additionalProperties: {
19996
+ oneOf: [{ type: "string" }, { type: "boolean" }]
19997
+ },
19998
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
19999
+ type: "object"
20000
+ },
19675
20001
  connected_account_id: {
19676
20002
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19677
20003
  format: "uuid",
@@ -19682,6 +20008,13 @@ var openapi_default = {
19682
20008
  format: "date-time",
19683
20009
  type: "string"
19684
20010
  },
20011
+ device_custom_metadata: {
20012
+ additionalProperties: {
20013
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20014
+ },
20015
+ description: "Custom metadata of the device, present when device_id is provided.",
20016
+ type: "object"
20017
+ },
19685
20018
  device_id: {
19686
20019
  description: "ID of the affected device.",
19687
20020
  format: "uuid",
@@ -19719,6 +20052,13 @@ var openapi_default = {
19719
20052
  {
19720
20053
  description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was added to Seam or was re-added to Seam after having been removed.",
19721
20054
  properties: {
20055
+ connected_account_custom_metadata: {
20056
+ additionalProperties: {
20057
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20058
+ },
20059
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20060
+ type: "object"
20061
+ },
19722
20062
  connected_account_id: {
19723
20063
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19724
20064
  format: "uuid",
@@ -19729,6 +20069,13 @@ var openapi_default = {
19729
20069
  format: "date-time",
19730
20070
  type: "string"
19731
20071
  },
20072
+ device_custom_metadata: {
20073
+ additionalProperties: {
20074
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20075
+ },
20076
+ description: "Custom metadata of the device, present when device_id is provided.",
20077
+ type: "object"
20078
+ },
19732
20079
  device_id: {
19733
20080
  description: "ID of the affected device.",
19734
20081
  format: "uuid",
@@ -19766,6 +20113,13 @@ var openapi_default = {
19766
20113
  {
19767
20114
  description: "A managed device was successfully converted to an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
19768
20115
  properties: {
20116
+ connected_account_custom_metadata: {
20117
+ additionalProperties: {
20118
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20119
+ },
20120
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20121
+ type: "object"
20122
+ },
19769
20123
  connected_account_id: {
19770
20124
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19771
20125
  format: "uuid",
@@ -19776,6 +20130,13 @@ var openapi_default = {
19776
20130
  format: "date-time",
19777
20131
  type: "string"
19778
20132
  },
20133
+ device_custom_metadata: {
20134
+ additionalProperties: {
20135
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20136
+ },
20137
+ description: "Custom metadata of the device, present when device_id is provided.",
20138
+ type: "object"
20139
+ },
19779
20140
  device_id: {
19780
20141
  description: "ID of the affected device.",
19781
20142
  format: "uuid",
@@ -19816,6 +20177,13 @@ var openapi_default = {
19816
20177
  {
19817
20178
  description: "An [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) was successfully converted to a managed device.",
19818
20179
  properties: {
20180
+ connected_account_custom_metadata: {
20181
+ additionalProperties: {
20182
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20183
+ },
20184
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20185
+ type: "object"
20186
+ },
19819
20187
  connected_account_id: {
19820
20188
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19821
20189
  format: "uuid",
@@ -19826,6 +20194,13 @@ var openapi_default = {
19826
20194
  format: "date-time",
19827
20195
  type: "string"
19828
20196
  },
20197
+ device_custom_metadata: {
20198
+ additionalProperties: {
20199
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20200
+ },
20201
+ description: "Custom metadata of the device, present when device_id is provided.",
20202
+ type: "object"
20203
+ },
19829
20204
  device_id: {
19830
20205
  description: "ID of the affected device.",
19831
20206
  format: "uuid",
@@ -19866,6 +20241,13 @@ var openapi_default = {
19866
20241
  {
19867
20242
  description: "The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from offline to online. That is, the `device.properties.online` property changed from `false` to `true`.",
19868
20243
  properties: {
20244
+ connected_account_custom_metadata: {
20245
+ additionalProperties: {
20246
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20247
+ },
20248
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20249
+ type: "object"
20250
+ },
19869
20251
  connected_account_id: {
19870
20252
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19871
20253
  format: "uuid",
@@ -19876,6 +20258,13 @@ var openapi_default = {
19876
20258
  format: "date-time",
19877
20259
  type: "string"
19878
20260
  },
20261
+ device_custom_metadata: {
20262
+ additionalProperties: {
20263
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20264
+ },
20265
+ description: "Custom metadata of the device, present when device_id is provided.",
20266
+ type: "object"
20267
+ },
19879
20268
  device_id: {
19880
20269
  description: "ID of the affected device.",
19881
20270
  format: "uuid",
@@ -19916,6 +20305,13 @@ var openapi_default = {
19916
20305
  {
19917
20306
  description: "The status of a [device](https://docs.seam.co/latest/core-concepts/devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.",
19918
20307
  properties: {
20308
+ connected_account_custom_metadata: {
20309
+ additionalProperties: {
20310
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20311
+ },
20312
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20313
+ type: "object"
20314
+ },
19919
20315
  connected_account_id: {
19920
20316
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19921
20317
  format: "uuid",
@@ -19926,6 +20322,13 @@ var openapi_default = {
19926
20322
  format: "date-time",
19927
20323
  type: "string"
19928
20324
  },
20325
+ device_custom_metadata: {
20326
+ additionalProperties: {
20327
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20328
+ },
20329
+ description: "Custom metadata of the device, present when device_id is provided.",
20330
+ type: "object"
20331
+ },
19929
20332
  device_id: {
19930
20333
  description: "ID of the affected device.",
19931
20334
  format: "uuid",
@@ -19973,6 +20376,13 @@ var openapi_default = {
19973
20376
  {
19974
20377
  description: "The status of an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices) changed from online to offline. That is, the `device.properties.online` property changed from `true` to `false`.",
19975
20378
  properties: {
20379
+ connected_account_custom_metadata: {
20380
+ additionalProperties: {
20381
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20382
+ },
20383
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20384
+ type: "object"
20385
+ },
19976
20386
  connected_account_id: {
19977
20387
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
19978
20388
  format: "uuid",
@@ -19983,6 +20393,13 @@ var openapi_default = {
19983
20393
  format: "date-time",
19984
20394
  type: "string"
19985
20395
  },
20396
+ device_custom_metadata: {
20397
+ additionalProperties: {
20398
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20399
+ },
20400
+ description: "Custom metadata of the device, present when device_id is provided.",
20401
+ type: "object"
20402
+ },
19986
20403
  device_id: {
19987
20404
  description: "ID of the affected device.",
19988
20405
  format: "uuid",
@@ -20033,6 +20450,13 @@ var openapi_default = {
20033
20450
  {
20034
20451
  description: "A [device](https://docs.seam.co/latest/core-concepts/devices) detected that it was tampered with, for example, opened or moved.",
20035
20452
  properties: {
20453
+ connected_account_custom_metadata: {
20454
+ additionalProperties: {
20455
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20456
+ },
20457
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20458
+ type: "object"
20459
+ },
20036
20460
  connected_account_id: {
20037
20461
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20038
20462
  format: "uuid",
@@ -20043,6 +20467,13 @@ var openapi_default = {
20043
20467
  format: "date-time",
20044
20468
  type: "string"
20045
20469
  },
20470
+ device_custom_metadata: {
20471
+ additionalProperties: {
20472
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20473
+ },
20474
+ description: "Custom metadata of the device, present when device_id is provided.",
20475
+ type: "object"
20476
+ },
20046
20477
  device_id: {
20047
20478
  description: "ID of the affected device.",
20048
20479
  format: "uuid",
@@ -20087,6 +20518,13 @@ var openapi_default = {
20087
20518
  minimum: 0,
20088
20519
  type: "number"
20089
20520
  },
20521
+ connected_account_custom_metadata: {
20522
+ additionalProperties: {
20523
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20524
+ },
20525
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20526
+ type: "object"
20527
+ },
20090
20528
  connected_account_id: {
20091
20529
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20092
20530
  format: "uuid",
@@ -20097,6 +20535,13 @@ var openapi_default = {
20097
20535
  format: "date-time",
20098
20536
  type: "string"
20099
20537
  },
20538
+ device_custom_metadata: {
20539
+ additionalProperties: {
20540
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20541
+ },
20542
+ description: "Custom metadata of the device, present when device_id is provided.",
20543
+ type: "object"
20544
+ },
20100
20545
  device_id: {
20101
20546
  description: "ID of the affected device.",
20102
20547
  format: "uuid",
@@ -20147,6 +20592,13 @@ var openapi_default = {
20147
20592
  enum: ["critical", "low", "good", "full"],
20148
20593
  type: "string"
20149
20594
  },
20595
+ connected_account_custom_metadata: {
20596
+ additionalProperties: {
20597
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20598
+ },
20599
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20600
+ type: "object"
20601
+ },
20150
20602
  connected_account_id: {
20151
20603
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20152
20604
  format: "uuid",
@@ -20157,6 +20609,13 @@ var openapi_default = {
20157
20609
  format: "date-time",
20158
20610
  type: "string"
20159
20611
  },
20612
+ device_custom_metadata: {
20613
+ additionalProperties: {
20614
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20615
+ },
20616
+ description: "Custom metadata of the device, present when device_id is provided.",
20617
+ type: "object"
20618
+ },
20160
20619
  device_id: {
20161
20620
  description: "ID of the affected device.",
20162
20621
  format: "uuid",
@@ -20199,6 +20658,13 @@ var openapi_default = {
20199
20658
  {
20200
20659
  description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was removed externally from the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).",
20201
20660
  properties: {
20661
+ connected_account_custom_metadata: {
20662
+ additionalProperties: {
20663
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20664
+ },
20665
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20666
+ type: "object"
20667
+ },
20202
20668
  connected_account_id: {
20203
20669
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20204
20670
  format: "uuid",
@@ -20209,6 +20675,13 @@ var openapi_default = {
20209
20675
  format: "date-time",
20210
20676
  type: "string"
20211
20677
  },
20678
+ device_custom_metadata: {
20679
+ additionalProperties: {
20680
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20681
+ },
20682
+ description: "Custom metadata of the device, present when device_id is provided.",
20683
+ type: "object"
20684
+ },
20212
20685
  device_id: {
20213
20686
  description: "ID of the affected device.",
20214
20687
  format: "uuid",
@@ -20246,6 +20719,13 @@ var openapi_default = {
20246
20719
  {
20247
20720
  description: "A [device](https://docs.seam.co/latest/core-concepts/devices) was deleted.",
20248
20721
  properties: {
20722
+ connected_account_custom_metadata: {
20723
+ additionalProperties: {
20724
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20725
+ },
20726
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20727
+ type: "object"
20728
+ },
20249
20729
  connected_account_id: {
20250
20730
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20251
20731
  format: "uuid",
@@ -20256,6 +20736,13 @@ var openapi_default = {
20256
20736
  format: "date-time",
20257
20737
  type: "string"
20258
20738
  },
20739
+ device_custom_metadata: {
20740
+ additionalProperties: {
20741
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20742
+ },
20743
+ description: "Custom metadata of the device, present when device_id is provided.",
20744
+ type: "object"
20745
+ },
20259
20746
  device_id: {
20260
20747
  description: "ID of the affected device.",
20261
20748
  format: "uuid",
@@ -20293,6 +20780,13 @@ var openapi_default = {
20293
20780
  {
20294
20781
  description: "Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is using a third-party integration that will interfere with Seam device management.",
20295
20782
  properties: {
20783
+ connected_account_custom_metadata: {
20784
+ additionalProperties: {
20785
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20786
+ },
20787
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20788
+ type: "object"
20789
+ },
20296
20790
  connected_account_id: {
20297
20791
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20298
20792
  format: "uuid",
@@ -20303,6 +20797,13 @@ var openapi_default = {
20303
20797
  format: "date-time",
20304
20798
  type: "string"
20305
20799
  },
20800
+ device_custom_metadata: {
20801
+ additionalProperties: {
20802
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20803
+ },
20804
+ description: "Custom metadata of the device, present when device_id is provided.",
20805
+ type: "object"
20806
+ },
20306
20807
  device_id: {
20307
20808
  description: "ID of the affected device.",
20308
20809
  format: "uuid",
@@ -20343,6 +20844,13 @@ var openapi_default = {
20343
20844
  {
20344
20845
  description: "Seam detected that a [device](https://docs.seam.co/latest/core-concepts/devices) is no longer using a third-party integration that was interfering with Seam device management.",
20345
20846
  properties: {
20847
+ connected_account_custom_metadata: {
20848
+ additionalProperties: {
20849
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20850
+ },
20851
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20852
+ type: "object"
20853
+ },
20346
20854
  connected_account_id: {
20347
20855
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20348
20856
  format: "uuid",
@@ -20353,6 +20861,13 @@ var openapi_default = {
20353
20861
  format: "date-time",
20354
20862
  type: "string"
20355
20863
  },
20864
+ device_custom_metadata: {
20865
+ additionalProperties: {
20866
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20867
+ },
20868
+ description: "Custom metadata of the device, present when device_id is provided.",
20869
+ type: "object"
20870
+ },
20356
20871
  device_id: {
20357
20872
  description: "ID of the affected device.",
20358
20873
  format: "uuid",
@@ -20393,6 +20908,13 @@ var openapi_default = {
20393
20908
  {
20394
20909
  description: "A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) activated privacy mode.",
20395
20910
  properties: {
20911
+ connected_account_custom_metadata: {
20912
+ additionalProperties: {
20913
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20914
+ },
20915
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20916
+ type: "object"
20917
+ },
20396
20918
  connected_account_id: {
20397
20919
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20398
20920
  format: "uuid",
@@ -20403,6 +20925,13 @@ var openapi_default = {
20403
20925
  format: "date-time",
20404
20926
  type: "string"
20405
20927
  },
20928
+ device_custom_metadata: {
20929
+ additionalProperties: {
20930
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20931
+ },
20932
+ description: "Custom metadata of the device, present when device_id is provided.",
20933
+ type: "object"
20934
+ },
20406
20935
  device_id: {
20407
20936
  description: "ID of the affected device.",
20408
20937
  format: "uuid",
@@ -20443,6 +20972,13 @@ var openapi_default = {
20443
20972
  {
20444
20973
  description: "A [Salto device](https://docs.seam.co/latest/device-and-system-integration-guides/salto-locks) deactivated privacy mode.",
20445
20974
  properties: {
20975
+ connected_account_custom_metadata: {
20976
+ additionalProperties: {
20977
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20978
+ },
20979
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
20980
+ type: "object"
20981
+ },
20446
20982
  connected_account_id: {
20447
20983
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20448
20984
  format: "uuid",
@@ -20453,6 +20989,13 @@ var openapi_default = {
20453
20989
  format: "date-time",
20454
20990
  type: "string"
20455
20991
  },
20992
+ device_custom_metadata: {
20993
+ additionalProperties: {
20994
+ oneOf: [{ type: "string" }, { type: "boolean" }]
20995
+ },
20996
+ description: "Custom metadata of the device, present when device_id is provided.",
20997
+ type: "object"
20998
+ },
20456
20999
  device_id: {
20457
21000
  description: "ID of the affected device.",
20458
21001
  format: "uuid",
@@ -20493,6 +21036,13 @@ var openapi_default = {
20493
21036
  {
20494
21037
  description: "Seam detected a flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection.",
20495
21038
  properties: {
21039
+ connected_account_custom_metadata: {
21040
+ additionalProperties: {
21041
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21042
+ },
21043
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21044
+ type: "object"
21045
+ },
20496
21046
  connected_account_id: {
20497
21047
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20498
21048
  format: "uuid",
@@ -20503,6 +21053,13 @@ var openapi_default = {
20503
21053
  format: "date-time",
20504
21054
  type: "string"
20505
21055
  },
21056
+ device_custom_metadata: {
21057
+ additionalProperties: {
21058
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21059
+ },
21060
+ description: "Custom metadata of the device, present when device_id is provided.",
21061
+ type: "object"
21062
+ },
20506
21063
  device_id: {
20507
21064
  description: "ID of the affected device.",
20508
21065
  format: "uuid",
@@ -20543,6 +21100,13 @@ var openapi_default = {
20543
21100
  {
20544
21101
  description: "Seam detected that a previously-flaky [device](https://docs.seam.co/latest/core-concepts/devices) connection stabilized.",
20545
21102
  properties: {
21103
+ connected_account_custom_metadata: {
21104
+ additionalProperties: {
21105
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21106
+ },
21107
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21108
+ type: "object"
21109
+ },
20546
21110
  connected_account_id: {
20547
21111
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20548
21112
  format: "uuid",
@@ -20553,6 +21117,13 @@ var openapi_default = {
20553
21117
  format: "date-time",
20554
21118
  type: "string"
20555
21119
  },
21120
+ device_custom_metadata: {
21121
+ additionalProperties: {
21122
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21123
+ },
21124
+ description: "Custom metadata of the device, present when device_id is provided.",
21125
+ type: "object"
21126
+ },
20556
21127
  device_id: {
20557
21128
  description: "ID of the affected device.",
20558
21129
  format: "uuid",
@@ -20593,6 +21164,13 @@ var openapi_default = {
20593
21164
  {
20594
21165
  description: "A third-party subscription is required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.",
20595
21166
  properties: {
21167
+ connected_account_custom_metadata: {
21168
+ additionalProperties: {
21169
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21170
+ },
21171
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21172
+ type: "object"
21173
+ },
20596
21174
  connected_account_id: {
20597
21175
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20598
21176
  format: "uuid",
@@ -20603,6 +21181,13 @@ var openapi_default = {
20603
21181
  format: "date-time",
20604
21182
  type: "string"
20605
21183
  },
21184
+ device_custom_metadata: {
21185
+ additionalProperties: {
21186
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21187
+ },
21188
+ description: "Custom metadata of the device, present when device_id is provided.",
21189
+ type: "object"
21190
+ },
20606
21191
  device_id: {
20607
21192
  description: "ID of the affected device.",
20608
21193
  format: "uuid",
@@ -20643,6 +21228,13 @@ var openapi_default = {
20643
21228
  {
20644
21229
  description: "A third-party subscription is active or no longer required to use all [device](https://docs.seam.co/latest/core-concepts/devices) features.",
20645
21230
  properties: {
21231
+ connected_account_custom_metadata: {
21232
+ additionalProperties: {
21233
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21234
+ },
21235
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21236
+ type: "object"
21237
+ },
20646
21238
  connected_account_id: {
20647
21239
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20648
21240
  format: "uuid",
@@ -20653,6 +21245,13 @@ var openapi_default = {
20653
21245
  format: "date-time",
20654
21246
  type: "string"
20655
21247
  },
21248
+ device_custom_metadata: {
21249
+ additionalProperties: {
21250
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21251
+ },
21252
+ description: "Custom metadata of the device, present when device_id is provided.",
21253
+ type: "object"
21254
+ },
20656
21255
  device_id: {
20657
21256
  description: "ID of the affected device.",
20658
21257
  format: "uuid",
@@ -20693,6 +21292,13 @@ var openapi_default = {
20693
21292
  {
20694
21293
  description: "An accessory keypad was connected to a [device](https://docs.seam.co/latest/core-concepts/devices).",
20695
21294
  properties: {
21295
+ connected_account_custom_metadata: {
21296
+ additionalProperties: {
21297
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21298
+ },
21299
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21300
+ type: "object"
21301
+ },
20696
21302
  connected_account_id: {
20697
21303
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20698
21304
  format: "uuid",
@@ -20703,6 +21309,13 @@ var openapi_default = {
20703
21309
  format: "date-time",
20704
21310
  type: "string"
20705
21311
  },
21312
+ device_custom_metadata: {
21313
+ additionalProperties: {
21314
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21315
+ },
21316
+ description: "Custom metadata of the device, present when device_id is provided.",
21317
+ type: "object"
21318
+ },
20706
21319
  device_id: {
20707
21320
  description: "ID of the affected device.",
20708
21321
  format: "uuid",
@@ -20743,6 +21356,13 @@ var openapi_default = {
20743
21356
  {
20744
21357
  description: "An accessory keypad was disconnected from a [device](https://docs.seam.co/latest/core-concepts/devices).",
20745
21358
  properties: {
21359
+ connected_account_custom_metadata: {
21360
+ additionalProperties: {
21361
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21362
+ },
21363
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21364
+ type: "object"
21365
+ },
20746
21366
  connected_account_id: {
20747
21367
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20748
21368
  format: "uuid",
@@ -20753,6 +21373,13 @@ var openapi_default = {
20753
21373
  format: "date-time",
20754
21374
  type: "string"
20755
21375
  },
21376
+ device_custom_metadata: {
21377
+ additionalProperties: {
21378
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21379
+ },
21380
+ description: "Custom metadata of the device, present when device_id is provided.",
21381
+ type: "object"
21382
+ },
20756
21383
  device_id: {
20757
21384
  description: "ID of the affected device.",
20758
21385
  format: "uuid",
@@ -20793,6 +21420,13 @@ var openapi_default = {
20793
21420
  {
20794
21421
  description: "Extended periods of noise or noise exceeding a [threshold](https://docs.seam.co/latest/capability-guides/noise-sensors#what-is-a-threshold) were detected.",
20795
21422
  properties: {
21423
+ connected_account_custom_metadata: {
21424
+ additionalProperties: {
21425
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21426
+ },
21427
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21428
+ type: "object"
21429
+ },
20796
21430
  connected_account_id: {
20797
21431
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20798
21432
  format: "uuid",
@@ -20803,6 +21437,13 @@ var openapi_default = {
20803
21437
  format: "date-time",
20804
21438
  type: "string"
20805
21439
  },
21440
+ device_custom_metadata: {
21441
+ additionalProperties: {
21442
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21443
+ },
21444
+ description: "Custom metadata of the device, present when device_id is provided.",
21445
+ type: "object"
21446
+ },
20806
21447
  device_id: {
20807
21448
  description: "ID of the affected device.",
20808
21449
  format: "uuid",
@@ -20882,6 +21523,13 @@ var openapi_default = {
20882
21523
  format: "uuid",
20883
21524
  type: "string"
20884
21525
  },
21526
+ connected_account_custom_metadata: {
21527
+ additionalProperties: {
21528
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21529
+ },
21530
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21531
+ type: "object"
21532
+ },
20885
21533
  connected_account_id: {
20886
21534
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20887
21535
  format: "uuid",
@@ -20892,6 +21540,13 @@ var openapi_default = {
20892
21540
  format: "date-time",
20893
21541
  type: "string"
20894
21542
  },
21543
+ device_custom_metadata: {
21544
+ additionalProperties: {
21545
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21546
+ },
21547
+ description: "Custom metadata of the device, present when device_id is provided.",
21548
+ type: "object"
21549
+ },
20895
21550
  device_id: {
20896
21551
  description: "ID of the affected device.",
20897
21552
  format: "uuid",
@@ -20945,6 +21600,13 @@ var openapi_default = {
20945
21600
  format: "uuid",
20946
21601
  type: "string"
20947
21602
  },
21603
+ connected_account_custom_metadata: {
21604
+ additionalProperties: {
21605
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21606
+ },
21607
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21608
+ type: "object"
21609
+ },
20948
21610
  connected_account_id: {
20949
21611
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
20950
21612
  format: "uuid",
@@ -20955,6 +21617,13 @@ var openapi_default = {
20955
21617
  format: "date-time",
20956
21618
  type: "string"
20957
21619
  },
21620
+ device_custom_metadata: {
21621
+ additionalProperties: {
21622
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21623
+ },
21624
+ description: "Custom metadata of the device, present when device_id is provided.",
21625
+ type: "object"
21626
+ },
20958
21627
  device_id: {
20959
21628
  description: "ID of the affected device.",
20960
21629
  format: "uuid",
@@ -21003,6 +21672,13 @@ var openapi_default = {
21003
21672
  format: "uuid",
21004
21673
  type: "string"
21005
21674
  },
21675
+ connected_account_custom_metadata: {
21676
+ additionalProperties: {
21677
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21678
+ },
21679
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21680
+ type: "object"
21681
+ },
21006
21682
  connected_account_id: {
21007
21683
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21008
21684
  format: "uuid",
@@ -21013,6 +21689,13 @@ var openapi_default = {
21013
21689
  format: "date-time",
21014
21690
  type: "string"
21015
21691
  },
21692
+ device_custom_metadata: {
21693
+ additionalProperties: {
21694
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21695
+ },
21696
+ description: "Custom metadata of the device, present when device_id is provided.",
21697
+ type: "object"
21698
+ },
21016
21699
  device_id: {
21017
21700
  description: "ID of the affected device.",
21018
21701
  format: "uuid",
@@ -21054,6 +21737,13 @@ var openapi_default = {
21054
21737
  description: "Key of the climate preset that was activated.",
21055
21738
  type: "string"
21056
21739
  },
21740
+ connected_account_custom_metadata: {
21741
+ additionalProperties: {
21742
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21743
+ },
21744
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21745
+ type: "object"
21746
+ },
21057
21747
  connected_account_id: {
21058
21748
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21059
21749
  format: "uuid",
@@ -21064,6 +21754,13 @@ var openapi_default = {
21064
21754
  format: "date-time",
21065
21755
  type: "string"
21066
21756
  },
21757
+ device_custom_metadata: {
21758
+ additionalProperties: {
21759
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21760
+ },
21761
+ description: "Custom metadata of the device, present when device_id is provided.",
21762
+ type: "object"
21763
+ },
21067
21764
  device_id: {
21068
21765
  description: "ID of the affected device.",
21069
21766
  format: "uuid",
@@ -21117,6 +21814,13 @@ var openapi_default = {
21117
21814
  {
21118
21815
  description: "A [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) was adjusted manually.",
21119
21816
  properties: {
21817
+ connected_account_custom_metadata: {
21818
+ additionalProperties: {
21819
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21820
+ },
21821
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21822
+ type: "object"
21823
+ },
21120
21824
  connected_account_id: {
21121
21825
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21122
21826
  format: "uuid",
@@ -21137,6 +21841,13 @@ var openapi_default = {
21137
21841
  format: "date-time",
21138
21842
  type: "string"
21139
21843
  },
21844
+ device_custom_metadata: {
21845
+ additionalProperties: {
21846
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21847
+ },
21848
+ description: "Custom metadata of the device, present when device_id is provided.",
21849
+ type: "object"
21850
+ },
21140
21851
  device_id: {
21141
21852
  description: "ID of the affected device.",
21142
21853
  format: "uuid",
@@ -21203,6 +21914,13 @@ var openapi_default = {
21203
21914
  {
21204
21915
  description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading exceeded the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).",
21205
21916
  properties: {
21917
+ connected_account_custom_metadata: {
21918
+ additionalProperties: {
21919
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21920
+ },
21921
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
21922
+ type: "object"
21923
+ },
21206
21924
  connected_account_id: {
21207
21925
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21208
21926
  format: "uuid",
@@ -21213,6 +21931,13 @@ var openapi_default = {
21213
21931
  format: "date-time",
21214
21932
  type: "string"
21215
21933
  },
21934
+ device_custom_metadata: {
21935
+ additionalProperties: {
21936
+ oneOf: [{ type: "string" }, { type: "boolean" }]
21937
+ },
21938
+ description: "Custom metadata of the device, present when device_id is provided.",
21939
+ type: "object"
21940
+ },
21216
21941
  device_id: {
21217
21942
  description: "ID of the affected device.",
21218
21943
  format: "uuid",
@@ -21293,6 +22018,13 @@ var openapi_default = {
21293
22018
  {
21294
22019
  description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading no longer exceeds the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds).",
21295
22020
  properties: {
22021
+ connected_account_custom_metadata: {
22022
+ additionalProperties: {
22023
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22024
+ },
22025
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
22026
+ type: "object"
22027
+ },
21296
22028
  connected_account_id: {
21297
22029
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21298
22030
  format: "uuid",
@@ -21303,6 +22035,13 @@ var openapi_default = {
21303
22035
  format: "date-time",
21304
22036
  type: "string"
21305
22037
  },
22038
+ device_custom_metadata: {
22039
+ additionalProperties: {
22040
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22041
+ },
22042
+ description: "Custom metadata of the device, present when device_id is provided.",
22043
+ type: "object"
22044
+ },
21306
22045
  device_id: {
21307
22046
  description: "ID of the affected device.",
21308
22047
  format: "uuid",
@@ -21383,6 +22122,13 @@ var openapi_default = {
21383
22122
  {
21384
22123
  description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) temperature reading is within 1 \xB0C of the configured cooling or heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points).",
21385
22124
  properties: {
22125
+ connected_account_custom_metadata: {
22126
+ additionalProperties: {
22127
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22128
+ },
22129
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
22130
+ type: "object"
22131
+ },
21386
22132
  connected_account_id: {
21387
22133
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21388
22134
  format: "uuid",
@@ -21403,6 +22149,13 @@ var openapi_default = {
21403
22149
  format: "float",
21404
22150
  type: "number"
21405
22151
  },
22152
+ device_custom_metadata: {
22153
+ additionalProperties: {
22154
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22155
+ },
22156
+ description: "Custom metadata of the device, present when device_id is provided.",
22157
+ type: "object"
22158
+ },
21406
22159
  device_id: {
21407
22160
  description: "ID of the affected device.",
21408
22161
  format: "uuid",
@@ -21455,6 +22208,13 @@ var openapi_default = {
21455
22208
  {
21456
22209
  description: "A [thermostat's](https://docs.seam.co/latest/capability-guides/thermostats) reported temperature changed by at least 1 \xB0C.",
21457
22210
  properties: {
22211
+ connected_account_custom_metadata: {
22212
+ additionalProperties: {
22213
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22214
+ },
22215
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
22216
+ type: "object"
22217
+ },
21458
22218
  connected_account_id: {
21459
22219
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21460
22220
  format: "uuid",
@@ -21465,6 +22225,13 @@ var openapi_default = {
21465
22225
  format: "date-time",
21466
22226
  type: "string"
21467
22227
  },
22228
+ device_custom_metadata: {
22229
+ additionalProperties: {
22230
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22231
+ },
22232
+ description: "Custom metadata of the device, present when device_id is provided.",
22233
+ type: "object"
22234
+ },
21468
22235
  device_id: {
21469
22236
  description: "ID of the affected device.",
21470
22237
  format: "uuid",
@@ -21517,6 +22284,13 @@ var openapi_default = {
21517
22284
  {
21518
22285
  description: "The name of a [device](https://docs.seam.co/latest/core-concepts/devices) was changed.",
21519
22286
  properties: {
22287
+ connected_account_custom_metadata: {
22288
+ additionalProperties: {
22289
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22290
+ },
22291
+ description: "Custom metadata of the connected account, present when connected_account_id is provided.",
22292
+ type: "object"
22293
+ },
21520
22294
  connected_account_id: {
21521
22295
  description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event.",
21522
22296
  format: "uuid",
@@ -21527,6 +22301,13 @@ var openapi_default = {
21527
22301
  format: "date-time",
21528
22302
  type: "string"
21529
22303
  },
22304
+ device_custom_metadata: {
22305
+ additionalProperties: {
22306
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22307
+ },
22308
+ description: "Custom metadata of the device, present when device_id is provided.",
22309
+ type: "object"
22310
+ },
21530
22311
  device_id: {
21531
22312
  description: "ID of the affected device.",
21532
22313
  format: "uuid",
@@ -21618,6 +22399,13 @@ var openapi_default = {
21618
22399
  format: "date-time",
21619
22400
  type: "string"
21620
22401
  },
22402
+ device_custom_metadata: {
22403
+ additionalProperties: {
22404
+ oneOf: [{ type: "string" }, { type: "boolean" }]
22405
+ },
22406
+ description: "Custom metadata of the device; present when device_id is provided.",
22407
+ type: "object"
22408
+ },
21621
22409
  device_id: {
21622
22410
  description: "ID of the affected phone device.",
21623
22411
  format: "uuid",
@@ -26744,6 +27532,11 @@ var openapi_default = {
26744
27532
  user_identity: {
26745
27533
  description: "Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.",
26746
27534
  properties: {
27535
+ acs_user_ids: {
27536
+ description: "Array of access system user IDs associated with the user identity.",
27537
+ items: { format: "uuid", type: "string" },
27538
+ type: "array"
27539
+ },
26747
27540
  created_at: {
26748
27541
  description: "Date and time at which the user identity was created.",
26749
27542
  format: "date-time",
@@ -26888,7 +27681,8 @@ var openapi_default = {
26888
27681
  "created_at",
26889
27682
  "workspace_id",
26890
27683
  "errors",
26891
- "warnings"
27684
+ "warnings",
27685
+ "acs_user_ids"
26892
27686
  ],
26893
27687
  type: "object",
26894
27688
  "x-route-path": "/user_identities"
@@ -33788,6 +34582,15 @@ var openapi_default = {
33788
34582
  format: "uuid",
33789
34583
  type: "string"
33790
34584
  }
34585
+ },
34586
+ {
34587
+ in: "query",
34588
+ name: "acs_entrance_ids",
34589
+ schema: {
34590
+ description: "IDs of the entrances for which you want to retrieve all entrances.",
34591
+ items: { format: "uuid", type: "string" },
34592
+ type: "array"
34593
+ }
33791
34594
  }
33792
34595
  ],
33793
34596
  responses: {
@@ -33849,6 +34652,11 @@ var openapi_default = {
33849
34652
  format: "uuid",
33850
34653
  type: "string"
33851
34654
  },
34655
+ acs_entrance_ids: {
34656
+ description: "IDs of the entrances for which you want to retrieve all entrances.",
34657
+ items: { format: "uuid", type: "string" },
34658
+ type: "array"
34659
+ },
33852
34660
  acs_system_id: {
33853
34661
  description: "ID of the access system for which you want to retrieve all entrances.",
33854
34662
  format: "uuid",
@@ -40693,6 +41501,57 @@ var openapi_default = {
40693
41501
  "x-title": "Simulate Device Connection"
40694
41502
  }
40695
41503
  },
41504
+ "/devices/simulate/connect_to_hub": {
41505
+ post: {
41506
+ description: "Simulates bringing the Wi-Fi hub (bridge) back online for a device. \nOnly applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) and August locks today, but designed so we can extend to other providers later. \nThis will clear the `hub_disconnected` error on the device.",
41507
+ operationId: "devicesSimulateConnectToHubPost",
41508
+ requestBody: {
41509
+ content: {
41510
+ "application/json": {
41511
+ schema: {
41512
+ properties: {
41513
+ device_id: {
41514
+ description: "ID of the device whose hub you want to reconnect.",
41515
+ format: "uuid",
41516
+ type: "string"
41517
+ }
41518
+ },
41519
+ required: ["device_id"],
41520
+ type: "object"
41521
+ }
41522
+ }
41523
+ }
41524
+ },
41525
+ responses: {
41526
+ 200: {
41527
+ content: {
41528
+ "application/json": {
41529
+ schema: {
41530
+ properties: { ok: { type: "boolean" } },
41531
+ required: ["ok"],
41532
+ type: "object"
41533
+ }
41534
+ }
41535
+ },
41536
+ description: "OK"
41537
+ },
41538
+ 400: { description: "Bad Request" },
41539
+ 401: { description: "Unauthorized" }
41540
+ },
41541
+ security: [
41542
+ { api_key: [] },
41543
+ { pat_with_workspace: [] },
41544
+ { console_session_with_workspace: [] },
41545
+ { client_session_with_customer: [] }
41546
+ ],
41547
+ summary: "/devices/simulate/connect_to_hub",
41548
+ tags: ["/devices"],
41549
+ "x-fern-sdk-group-name": ["devices", "simulate"],
41550
+ "x-fern-sdk-method-name": "connect_to_hub",
41551
+ "x-response-key": null,
41552
+ "x-title": "Simulate Hub Connection"
41553
+ }
41554
+ },
40696
41555
  "/devices/simulate/disconnect": {
40697
41556
  post: {
40698
41557
  description: "Simulates disconnecting a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).",
@@ -40744,6 +41603,57 @@ var openapi_default = {
40744
41603
  "x-title": "Simulate Device Disconnection"
40745
41604
  }
40746
41605
  },
41606
+ "/devices/simulate/disconnect_from_hub": {
41607
+ post: {
41608
+ description: "Simulates taking the Wi-Fi hub (bridge) offline for a device. \nOnly applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) and August locks today, but designed so we can extend to other providers later. \nThis will set the `hub_disconnected` error on the device.",
41609
+ operationId: "devicesSimulateDisconnectFromHubPost",
41610
+ requestBody: {
41611
+ content: {
41612
+ "application/json": {
41613
+ schema: {
41614
+ properties: {
41615
+ device_id: {
41616
+ description: "ID of the device whose hub you want to disconnect.",
41617
+ format: "uuid",
41618
+ type: "string"
41619
+ }
41620
+ },
41621
+ required: ["device_id"],
41622
+ type: "object"
41623
+ }
41624
+ }
41625
+ }
41626
+ },
41627
+ responses: {
41628
+ 200: {
41629
+ content: {
41630
+ "application/json": {
41631
+ schema: {
41632
+ properties: { ok: { type: "boolean" } },
41633
+ required: ["ok"],
41634
+ type: "object"
41635
+ }
41636
+ }
41637
+ },
41638
+ description: "OK"
41639
+ },
41640
+ 400: { description: "Bad Request" },
41641
+ 401: { description: "Unauthorized" }
41642
+ },
41643
+ security: [
41644
+ { api_key: [] },
41645
+ { pat_with_workspace: [] },
41646
+ { console_session_with_workspace: [] },
41647
+ { client_session_with_customer: [] }
41648
+ ],
41649
+ summary: "/devices/simulate/disconnect_from_hub",
41650
+ tags: ["/devices"],
41651
+ "x-fern-sdk-group-name": ["devices", "simulate"],
41652
+ "x-fern-sdk-method-name": "disconnect_from_hub",
41653
+ "x-response-key": null,
41654
+ "x-title": "Simulate Hub Disconnection"
41655
+ }
41656
+ },
40747
41657
  "/devices/simulate/remove": {
40748
41658
  post: {
40749
41659
  description: "Simulates removing a device from Seam. Only applicable for [sandbox devices](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your App Against Device Disconnection and Removal](https://docs.seam.co/latest/core-concepts/devices/testing-your-app-against-device-disconnection-and-removal).",