@seamapi/types 1.358.0 → 1.360.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 (38) hide show
  1. package/dist/connect.cjs +532 -11
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2726 -1075
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
  9. package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
  12. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
  13. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
  14. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
  15. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  16. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
  17. package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  19. package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
  20. package/lib/seam/connect/models/devices/device.d.ts +146 -46
  21. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
  22. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  23. package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
  24. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  25. package/lib/seam/connect/models/events/devices.d.ts +188 -128
  26. package/lib/seam/connect/models/events/devices.js +10 -0
  27. package/lib/seam/connect/models/events/devices.js.map +1 -1
  28. package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
  29. package/lib/seam/connect/openapi.d.ts +482 -4
  30. package/lib/seam/connect/openapi.js +469 -2
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +601 -2
  33. package/package.json +2 -2
  34. package/src/lib/seam/connect/model-types.ts +0 -2
  35. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
  36. package/src/lib/seam/connect/models/events/devices.ts +13 -0
  37. package/src/lib/seam/connect/openapi.ts +502 -2
  38. package/src/lib/seam/connect/route-types.ts +633 -0
@@ -523,6 +523,12 @@ export default {
523
523
  {
524
524
  description: 'Account is disconnected.',
525
525
  properties: {
526
+ created_at: {
527
+ description:
528
+ 'Date and time at which Seam created the error.',
529
+ format: 'date-time',
530
+ type: 'string',
531
+ },
526
532
  error_code: {
527
533
  description:
528
534
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -536,6 +542,7 @@ export default {
536
542
  message: { type: 'string' },
537
543
  },
538
544
  required: [
545
+ 'created_at',
539
546
  'message',
540
547
  'is_connected_account_error',
541
548
  'error_code',
@@ -545,6 +552,12 @@ export default {
545
552
  {
546
553
  description: 'Credentials provided were invalid.',
547
554
  properties: {
555
+ created_at: {
556
+ description:
557
+ 'Date and time at which Seam created the error.',
558
+ format: 'date-time',
559
+ type: 'string',
560
+ },
548
561
  error_code: {
549
562
  description:
550
563
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -558,9 +571,71 @@ export default {
558
571
  message: { type: 'string' },
559
572
  },
560
573
  required: [
574
+ 'created_at',
575
+ 'message',
576
+ 'is_connected_account_error',
577
+ 'error_code',
578
+ ],
579
+ type: 'object',
580
+ },
581
+ {
582
+ description:
583
+ 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
584
+ properties: {
585
+ created_at: {
586
+ description:
587
+ 'Date and time at which Seam created the error.',
588
+ format: 'date-time',
589
+ type: 'string',
590
+ },
591
+ error_code: {
592
+ description:
593
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
594
+ enum: ['salto_ks_subscription_limit_exceeded'],
595
+ type: 'string',
596
+ },
597
+ is_connected_account_error: {
598
+ enum: [true],
599
+ type: 'boolean',
600
+ },
601
+ message: { type: 'string' },
602
+ salto_ks_metadata: {
603
+ properties: {
604
+ sites: {
605
+ items: {
606
+ properties: {
607
+ site_id: { type: 'string' },
608
+ site_name: { type: 'string' },
609
+ site_user_subscription_limit: {
610
+ minimum: 0,
611
+ type: 'integer',
612
+ },
613
+ subscribed_site_user_count: {
614
+ minimum: 0,
615
+ type: 'integer',
616
+ },
617
+ },
618
+ required: [
619
+ 'site_id',
620
+ 'site_name',
621
+ 'subscribed_site_user_count',
622
+ 'site_user_subscription_limit',
623
+ ],
624
+ type: 'object',
625
+ },
626
+ type: 'array',
627
+ },
628
+ },
629
+ required: ['sites'],
630
+ type: 'object',
631
+ },
632
+ },
633
+ required: [
634
+ 'created_at',
561
635
  'message',
562
636
  'is_connected_account_error',
563
637
  'error_code',
638
+ 'salto_ks_metadata',
564
639
  ],
565
640
  type: 'object',
566
641
  },
@@ -5260,6 +5335,12 @@ export default {
5260
5335
  {
5261
5336
  description: 'Account is disconnected.',
5262
5337
  properties: {
5338
+ created_at: {
5339
+ description:
5340
+ 'Date and time at which Seam created the error.',
5341
+ format: 'date-time',
5342
+ type: 'string',
5343
+ },
5263
5344
  error_code: {
5264
5345
  description:
5265
5346
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -5273,6 +5354,7 @@ export default {
5273
5354
  message: { type: 'string' },
5274
5355
  },
5275
5356
  required: [
5357
+ 'created_at',
5276
5358
  'message',
5277
5359
  'is_connected_account_error',
5278
5360
  'error_code',
@@ -5282,6 +5364,12 @@ export default {
5282
5364
  {
5283
5365
  description: 'Credentials provided were invalid.',
5284
5366
  properties: {
5367
+ created_at: {
5368
+ description:
5369
+ 'Date and time at which Seam created the error.',
5370
+ format: 'date-time',
5371
+ type: 'string',
5372
+ },
5285
5373
  error_code: {
5286
5374
  description:
5287
5375
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -5295,9 +5383,71 @@ export default {
5295
5383
  message: { type: 'string' },
5296
5384
  },
5297
5385
  required: [
5386
+ 'created_at',
5387
+ 'message',
5388
+ 'is_connected_account_error',
5389
+ 'error_code',
5390
+ ],
5391
+ type: 'object',
5392
+ },
5393
+ {
5394
+ description:
5395
+ 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
5396
+ properties: {
5397
+ created_at: {
5398
+ description:
5399
+ 'Date and time at which Seam created the error.',
5400
+ format: 'date-time',
5401
+ type: 'string',
5402
+ },
5403
+ error_code: {
5404
+ description:
5405
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5406
+ enum: ['salto_ks_subscription_limit_exceeded'],
5407
+ type: 'string',
5408
+ },
5409
+ is_connected_account_error: {
5410
+ enum: [true],
5411
+ type: 'boolean',
5412
+ },
5413
+ message: { type: 'string' },
5414
+ salto_ks_metadata: {
5415
+ properties: {
5416
+ sites: {
5417
+ items: {
5418
+ properties: {
5419
+ site_id: { type: 'string' },
5420
+ site_name: { type: 'string' },
5421
+ site_user_subscription_limit: {
5422
+ minimum: 0,
5423
+ type: 'integer',
5424
+ },
5425
+ subscribed_site_user_count: {
5426
+ minimum: 0,
5427
+ type: 'integer',
5428
+ },
5429
+ },
5430
+ required: [
5431
+ 'site_id',
5432
+ 'site_name',
5433
+ 'subscribed_site_user_count',
5434
+ 'site_user_subscription_limit',
5435
+ ],
5436
+ type: 'object',
5437
+ },
5438
+ type: 'array',
5439
+ },
5440
+ },
5441
+ required: ['sites'],
5442
+ type: 'object',
5443
+ },
5444
+ },
5445
+ required: [
5446
+ 'created_at',
5298
5447
  'message',
5299
5448
  'is_connected_account_error',
5300
5449
  'error_code',
5450
+ 'salto_ks_metadata',
5301
5451
  ],
5302
5452
  type: 'object',
5303
5453
  },
@@ -5323,6 +5473,12 @@ export default {
5323
5473
  {
5324
5474
  description: 'Scheduled downtime for account planned.',
5325
5475
  properties: {
5476
+ created_at: {
5477
+ description:
5478
+ 'Date and time at which Seam created the warning.',
5479
+ format: 'date-time',
5480
+ type: 'string',
5481
+ },
5326
5482
  message: { type: 'string' },
5327
5483
  warning_code: {
5328
5484
  description:
@@ -5331,13 +5487,19 @@ export default {
5331
5487
  type: 'string',
5332
5488
  },
5333
5489
  },
5334
- required: ['message', 'warning_code'],
5490
+ required: ['created_at', 'message', 'warning_code'],
5335
5491
  type: 'object',
5336
5492
  },
5337
5493
  {
5338
5494
  description:
5339
5495
  'An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.',
5340
5496
  properties: {
5497
+ created_at: {
5498
+ description:
5499
+ 'Date and time at which Seam created the warning.',
5500
+ format: 'date-time',
5501
+ type: 'string',
5502
+ },
5341
5503
  message: { type: 'string' },
5342
5504
  warning_code: {
5343
5505
  description:
@@ -5346,7 +5508,63 @@ export default {
5346
5508
  type: 'string',
5347
5509
  },
5348
5510
  },
5349
- required: ['message', 'warning_code'],
5511
+ required: ['created_at', 'message', 'warning_code'],
5512
+ type: 'object',
5513
+ },
5514
+ {
5515
+ description:
5516
+ 'Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.',
5517
+ properties: {
5518
+ created_at: {
5519
+ description:
5520
+ 'Date and time at which Seam created the warning.',
5521
+ format: 'date-time',
5522
+ type: 'string',
5523
+ },
5524
+ message: { type: 'string' },
5525
+ salto_ks_metadata: {
5526
+ properties: {
5527
+ sites: {
5528
+ items: {
5529
+ properties: {
5530
+ site_id: { type: 'string' },
5531
+ site_name: { type: 'string' },
5532
+ site_user_subscription_limit: {
5533
+ minimum: 0,
5534
+ type: 'integer',
5535
+ },
5536
+ subscribed_site_user_count: {
5537
+ minimum: 0,
5538
+ type: 'integer',
5539
+ },
5540
+ },
5541
+ required: [
5542
+ 'site_id',
5543
+ 'site_name',
5544
+ 'site_user_subscription_limit',
5545
+ 'subscribed_site_user_count',
5546
+ ],
5547
+ type: 'object',
5548
+ },
5549
+ type: 'array',
5550
+ },
5551
+ },
5552
+ required: ['sites'],
5553
+ type: 'object',
5554
+ },
5555
+ warning_code: {
5556
+ description:
5557
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
5558
+ enum: ['salto_ks_subscription_limit_almost_reached'],
5559
+ type: 'string',
5560
+ },
5561
+ },
5562
+ required: [
5563
+ 'created_at',
5564
+ 'message',
5565
+ 'warning_code',
5566
+ 'salto_ks_metadata',
5567
+ ],
5350
5568
  type: 'object',
5351
5569
  },
5352
5570
  ],
@@ -5665,6 +5883,12 @@ export default {
5665
5883
  {
5666
5884
  description: 'Account is disconnected.',
5667
5885
  properties: {
5886
+ created_at: {
5887
+ description:
5888
+ 'Date and time at which Seam created the error.',
5889
+ format: 'date-time',
5890
+ type: 'string',
5891
+ },
5668
5892
  error_code: {
5669
5893
  description:
5670
5894
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -5678,6 +5902,7 @@ export default {
5678
5902
  message: { type: 'string' },
5679
5903
  },
5680
5904
  required: [
5905
+ 'created_at',
5681
5906
  'message',
5682
5907
  'is_connected_account_error',
5683
5908
  'error_code',
@@ -5687,6 +5912,12 @@ export default {
5687
5912
  {
5688
5913
  description: 'Credentials provided were invalid.',
5689
5914
  properties: {
5915
+ created_at: {
5916
+ description:
5917
+ 'Date and time at which Seam created the error.',
5918
+ format: 'date-time',
5919
+ type: 'string',
5920
+ },
5690
5921
  error_code: {
5691
5922
  description:
5692
5923
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -5700,12 +5931,74 @@ export default {
5700
5931
  message: { type: 'string' },
5701
5932
  },
5702
5933
  required: [
5934
+ 'created_at',
5703
5935
  'message',
5704
5936
  'is_connected_account_error',
5705
5937
  'error_code',
5706
5938
  ],
5707
5939
  type: 'object',
5708
5940
  },
5941
+ {
5942
+ description:
5943
+ 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
5944
+ properties: {
5945
+ created_at: {
5946
+ description:
5947
+ 'Date and time at which Seam created the error.',
5948
+ format: 'date-time',
5949
+ type: 'string',
5950
+ },
5951
+ error_code: {
5952
+ description:
5953
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
5954
+ enum: ['salto_ks_subscription_limit_exceeded'],
5955
+ type: 'string',
5956
+ },
5957
+ is_connected_account_error: {
5958
+ enum: [true],
5959
+ type: 'boolean',
5960
+ },
5961
+ message: { type: 'string' },
5962
+ salto_ks_metadata: {
5963
+ properties: {
5964
+ sites: {
5965
+ items: {
5966
+ properties: {
5967
+ site_id: { type: 'string' },
5968
+ site_name: { type: 'string' },
5969
+ site_user_subscription_limit: {
5970
+ minimum: 0,
5971
+ type: 'integer',
5972
+ },
5973
+ subscribed_site_user_count: {
5974
+ minimum: 0,
5975
+ type: 'integer',
5976
+ },
5977
+ },
5978
+ required: [
5979
+ 'site_id',
5980
+ 'site_name',
5981
+ 'subscribed_site_user_count',
5982
+ 'site_user_subscription_limit',
5983
+ ],
5984
+ type: 'object',
5985
+ },
5986
+ type: 'array',
5987
+ },
5988
+ },
5989
+ required: ['sites'],
5990
+ type: 'object',
5991
+ },
5992
+ },
5993
+ required: [
5994
+ 'created_at',
5995
+ 'message',
5996
+ 'is_connected_account_error',
5997
+ 'error_code',
5998
+ 'salto_ks_metadata',
5999
+ ],
6000
+ type: 'object',
6001
+ },
5709
6002
  ],
5710
6003
  },
5711
6004
  type: 'array',
@@ -11689,6 +11982,61 @@ export default {
11689
11982
  type: 'object',
11690
11983
  'x-route-path': '/thermostats',
11691
11984
  },
11985
+ {
11986
+ description:
11987
+ 'The name of a [device](https://docs.seam.co/latest/core-concepts/devices) was changed.',
11988
+ properties: {
11989
+ connected_account_id: {
11990
+ description:
11991
+ 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
11992
+ format: 'uuid',
11993
+ type: 'string',
11994
+ },
11995
+ created_at: {
11996
+ description: 'Date and time at which the event was created.',
11997
+ format: 'date-time',
11998
+ type: 'string',
11999
+ },
12000
+ device_id: {
12001
+ description: 'ID of the device.',
12002
+ format: 'uuid',
12003
+ type: 'string',
12004
+ },
12005
+ event_id: {
12006
+ description: 'ID of the event.',
12007
+ format: 'uuid',
12008
+ type: 'string',
12009
+ },
12010
+ event_type: { enum: ['device.name_changed'], type: 'string' },
12011
+ new_name: {
12012
+ description: 'The new name of the device.',
12013
+ type: 'string',
12014
+ },
12015
+ occurred_at: {
12016
+ description: 'Date and time at which the event occurred.',
12017
+ format: 'date-time',
12018
+ type: 'string',
12019
+ },
12020
+ workspace_id: {
12021
+ description:
12022
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
12023
+ format: 'uuid',
12024
+ type: 'string',
12025
+ },
12026
+ },
12027
+ required: [
12028
+ 'event_id',
12029
+ 'workspace_id',
12030
+ 'created_at',
12031
+ 'occurred_at',
12032
+ 'device_id',
12033
+ 'connected_account_id',
12034
+ 'event_type',
12035
+ 'new_name',
12036
+ ],
12037
+ type: 'object',
12038
+ 'x-route-path': '/devices',
12039
+ },
11692
12040
  {
11693
12041
  description:
11694
12042
  'An [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) was deleted.',
@@ -12567,6 +12915,12 @@ export default {
12567
12915
  {
12568
12916
  description: 'Account is disconnected.',
12569
12917
  properties: {
12918
+ created_at: {
12919
+ description:
12920
+ 'Date and time at which Seam created the error.',
12921
+ format: 'date-time',
12922
+ type: 'string',
12923
+ },
12570
12924
  error_code: {
12571
12925
  description:
12572
12926
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -12580,6 +12934,7 @@ export default {
12580
12934
  message: { type: 'string' },
12581
12935
  },
12582
12936
  required: [
12937
+ 'created_at',
12583
12938
  'message',
12584
12939
  'is_connected_account_error',
12585
12940
  'error_code',
@@ -12589,6 +12944,12 @@ export default {
12589
12944
  {
12590
12945
  description: 'Credentials provided were invalid.',
12591
12946
  properties: {
12947
+ created_at: {
12948
+ description:
12949
+ 'Date and time at which Seam created the error.',
12950
+ format: 'date-time',
12951
+ type: 'string',
12952
+ },
12592
12953
  error_code: {
12593
12954
  description:
12594
12955
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -12602,12 +12963,74 @@ export default {
12602
12963
  message: { type: 'string' },
12603
12964
  },
12604
12965
  required: [
12966
+ 'created_at',
12605
12967
  'message',
12606
12968
  'is_connected_account_error',
12607
12969
  'error_code',
12608
12970
  ],
12609
12971
  type: 'object',
12610
12972
  },
12973
+ {
12974
+ description:
12975
+ 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
12976
+ properties: {
12977
+ created_at: {
12978
+ description:
12979
+ 'Date and time at which Seam created the error.',
12980
+ format: 'date-time',
12981
+ type: 'string',
12982
+ },
12983
+ error_code: {
12984
+ description:
12985
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
12986
+ enum: ['salto_ks_subscription_limit_exceeded'],
12987
+ type: 'string',
12988
+ },
12989
+ is_connected_account_error: {
12990
+ enum: [true],
12991
+ type: 'boolean',
12992
+ },
12993
+ message: { type: 'string' },
12994
+ salto_ks_metadata: {
12995
+ properties: {
12996
+ sites: {
12997
+ items: {
12998
+ properties: {
12999
+ site_id: { type: 'string' },
13000
+ site_name: { type: 'string' },
13001
+ site_user_subscription_limit: {
13002
+ minimum: 0,
13003
+ type: 'integer',
13004
+ },
13005
+ subscribed_site_user_count: {
13006
+ minimum: 0,
13007
+ type: 'integer',
13008
+ },
13009
+ },
13010
+ required: [
13011
+ 'site_id',
13012
+ 'site_name',
13013
+ 'subscribed_site_user_count',
13014
+ 'site_user_subscription_limit',
13015
+ ],
13016
+ type: 'object',
13017
+ },
13018
+ type: 'array',
13019
+ },
13020
+ },
13021
+ required: ['sites'],
13022
+ type: 'object',
13023
+ },
13024
+ },
13025
+ required: [
13026
+ 'created_at',
13027
+ 'message',
13028
+ 'is_connected_account_error',
13029
+ 'error_code',
13030
+ 'salto_ks_metadata',
13031
+ ],
13032
+ type: 'object',
13033
+ },
12611
13034
  ],
12612
13035
  },
12613
13036
  type: 'array',
@@ -13886,6 +14309,12 @@ export default {
13886
14309
  {
13887
14310
  description: 'Account is disconnected.',
13888
14311
  properties: {
14312
+ created_at: {
14313
+ description:
14314
+ 'Date and time at which Seam created the error.',
14315
+ format: 'date-time',
14316
+ type: 'string',
14317
+ },
13889
14318
  error_code: {
13890
14319
  description:
13891
14320
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -13899,6 +14328,7 @@ export default {
13899
14328
  message: { type: 'string' },
13900
14329
  },
13901
14330
  required: [
14331
+ 'created_at',
13902
14332
  'message',
13903
14333
  'is_connected_account_error',
13904
14334
  'error_code',
@@ -13908,6 +14338,12 @@ export default {
13908
14338
  {
13909
14339
  description: 'Credentials provided were invalid.',
13910
14340
  properties: {
14341
+ created_at: {
14342
+ description:
14343
+ 'Date and time at which Seam created the error.',
14344
+ format: 'date-time',
14345
+ type: 'string',
14346
+ },
13911
14347
  error_code: {
13912
14348
  description:
13913
14349
  'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
@@ -13921,9 +14357,71 @@ export default {
13921
14357
  message: { type: 'string' },
13922
14358
  },
13923
14359
  required: [
14360
+ 'created_at',
14361
+ 'message',
14362
+ 'is_connected_account_error',
14363
+ 'error_code',
14364
+ ],
14365
+ type: 'object',
14366
+ },
14367
+ {
14368
+ description:
14369
+ 'Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.',
14370
+ properties: {
14371
+ created_at: {
14372
+ description:
14373
+ 'Date and time at which Seam created the error.',
14374
+ format: 'date-time',
14375
+ type: 'string',
14376
+ },
14377
+ error_code: {
14378
+ description:
14379
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
14380
+ enum: ['salto_ks_subscription_limit_exceeded'],
14381
+ type: 'string',
14382
+ },
14383
+ is_connected_account_error: {
14384
+ enum: [true],
14385
+ type: 'boolean',
14386
+ },
14387
+ message: { type: 'string' },
14388
+ salto_ks_metadata: {
14389
+ properties: {
14390
+ sites: {
14391
+ items: {
14392
+ properties: {
14393
+ site_id: { type: 'string' },
14394
+ site_name: { type: 'string' },
14395
+ site_user_subscription_limit: {
14396
+ minimum: 0,
14397
+ type: 'integer',
14398
+ },
14399
+ subscribed_site_user_count: {
14400
+ minimum: 0,
14401
+ type: 'integer',
14402
+ },
14403
+ },
14404
+ required: [
14405
+ 'site_id',
14406
+ 'site_name',
14407
+ 'subscribed_site_user_count',
14408
+ 'site_user_subscription_limit',
14409
+ ],
14410
+ type: 'object',
14411
+ },
14412
+ type: 'array',
14413
+ },
14414
+ },
14415
+ required: ['sites'],
14416
+ type: 'object',
14417
+ },
14418
+ },
14419
+ required: [
14420
+ 'created_at',
13924
14421
  'message',
13925
14422
  'is_connected_account_error',
13926
14423
  'error_code',
14424
+ 'salto_ks_metadata',
13927
14425
  ],
13928
14426
  type: 'object',
13929
14427
  },
@@ -21912,6 +22410,7 @@ export default {
21912
22410
  'thermostat.temperature_threshold_no_longer_exceeded',
21913
22411
  'thermostat.temperature_reached_set_point',
21914
22412
  'thermostat.temperature_changed',
22413
+ 'device.name_changed',
21915
22414
  'enrollment_automation.deleted',
21916
22415
  'phone.deactivated',
21917
22416
  ],
@@ -21993,6 +22492,7 @@ export default {
21993
22492
  'thermostat.temperature_threshold_no_longer_exceeded',
21994
22493
  'thermostat.temperature_reached_set_point',
21995
22494
  'thermostat.temperature_changed',
22495
+ 'device.name_changed',
21996
22496
  'enrollment_automation.deleted',
21997
22497
  'phone.deactivated',
21998
22498
  ],