@seamapi/types 1.306.0 → 1.308.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 +124 -53
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +311 -150
  4. package/lib/seam/connect/models/acs/acs-access-group.d.ts +13 -13
  5. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  6. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +34 -13
  8. package/lib/seam/connect/models/acs/acs-system.js +11 -4
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +13 -13
  11. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +13 -13
  12. package/lib/seam/connect/models/action-attempts/scan-credential.js +7 -2
  13. package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device-metadata.d.ts +18 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js +4 -0
  16. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  18. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  19. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  21. package/lib/seam/connect/models/devices/device-type.js +1 -0
  22. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  23. package/lib/seam/connect/models/devices/device.d.ts +29 -3
  24. package/lib/seam/connect/models/devices/phone.d.ts +19 -1
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -3
  26. package/lib/seam/connect/openapi.d.ts +32 -17
  27. package/lib/seam/connect/openapi.js +80 -23
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +170 -90
  30. package/package.json +1 -1
  31. package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -1
  32. package/src/lib/seam/connect/models/acs/acs-system.ts +15 -5
  33. package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +7 -4
  34. package/src/lib/seam/connect/models/devices/device-metadata.ts +5 -0
  35. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  36. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  37. package/src/lib/seam/connect/openapi.ts +86 -26
  38. package/src/lib/seam/connect/route-types.ts +282 -82
@@ -176,7 +176,7 @@ export default {
176
176
  enum: [
177
177
  'pti_unit',
178
178
  'pti_access_level',
179
- 'salto_access_group',
179
+ 'salto_ks_access_group',
180
180
  'brivo_group',
181
181
  ],
182
182
  type: 'string',
@@ -208,7 +208,7 @@ export default {
208
208
  enum: [
209
209
  'pti_unit',
210
210
  'pti_access_level',
211
- 'salto_access_group',
211
+ 'salto_ks_access_group',
212
212
  'brivo_group',
213
213
  ],
214
214
  type: 'string',
@@ -828,6 +828,7 @@ export default {
828
828
  'pti_site',
829
829
  'alta_org',
830
830
  'salto_ks_site',
831
+ 'salto_space_system',
831
832
  'brivo_account',
832
833
  'hid_credential_manager_organization',
833
834
  'visionline_system',
@@ -874,6 +875,7 @@ export default {
874
875
  'pti_site',
875
876
  'alta_org',
876
877
  'salto_ks_site',
878
+ 'salto_space_system',
877
879
  'brivo_account',
878
880
  'hid_credential_manager_organization',
879
881
  'visionline_system',
@@ -914,24 +916,48 @@ export default {
914
916
  description: 'Warnings associated with the `acs_system`.',
915
917
  items: {
916
918
  description: 'Warning associated with the `acs_system`.',
917
- properties: {
918
- created_at: {
919
- description: 'Date and time at which Seam created the warning.',
920
- format: 'date-time',
921
- type: 'string',
922
- },
923
- message: {
924
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
925
- type: 'string',
919
+ oneOf: [
920
+ {
921
+ properties: {
922
+ created_at: {
923
+ description: 'Date and time at which Seam created the warning.',
924
+ format: 'date-time',
925
+ type: 'string',
926
+ },
927
+ message: {
928
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
929
+ type: 'string',
930
+ },
931
+ warning_code: {
932
+ description: '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.',
933
+ enum: ['salto_ks_subscription_limit_almost_reached'],
934
+ type: 'string',
935
+ },
936
+ },
937
+ required: ['created_at', 'message', 'warning_code'],
938
+ type: 'object',
926
939
  },
927
- warning_code: {
928
- description: '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.',
929
- enum: ['salto_ks_subscription_limit_almost_reached'],
930
- type: 'string',
940
+ {
941
+ properties: {
942
+ created_at: {
943
+ description: 'Date and time at which Seam created the warning.',
944
+ format: 'date-time',
945
+ type: 'string',
946
+ },
947
+ message: {
948
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
949
+ type: 'string',
950
+ },
951
+ warning_code: {
952
+ description: 'Indicates the ACS system time zone could not be determined because the reported physical location does not match the time zone configured on the physical ACS entrances.',
953
+ enum: ['time_zone_does_not_match_location'],
954
+ type: 'string',
955
+ },
956
+ },
957
+ required: ['created_at', 'message', 'warning_code'],
958
+ type: 'object',
931
959
  },
932
- },
933
- required: ['created_at', 'message', 'warning_code'],
934
- type: 'object',
960
+ ],
935
961
  },
936
962
  type: 'array',
937
963
  },
@@ -1417,6 +1443,7 @@ export default {
1417
1443
  properties: {
1418
1444
  acs_credential_on_encoder: {
1419
1445
  description: 'Snapshot of credential data read from physical encoder.',
1446
+ nullable: true,
1420
1447
  properties: {
1421
1448
  card_number: {
1422
1449
  description: 'A number or string that physically identifies this card.',
@@ -2026,7 +2053,10 @@ export default {
2026
2053
  items: {
2027
2054
  properties: {
2028
2055
  warning_code: {
2029
- enum: ['acs_credential_on_encoder_out_of_sync'],
2056
+ enum: [
2057
+ 'acs_credential_on_encoder_out_of_sync',
2058
+ 'acs_credential_on_seam_not_found',
2059
+ ],
2030
2060
  type: 'string',
2031
2061
  },
2032
2062
  warning_message: { type: 'string' },
@@ -4146,6 +4176,7 @@ export default {
4146
4176
  'ecobee_thermostat',
4147
4177
  'nest_thermostat',
4148
4178
  'honeywell_resideo_thermostat',
4179
+ 'tado_thermostat',
4149
4180
  ],
4150
4181
  type: 'string',
4151
4182
  },
@@ -4821,6 +4852,14 @@ export default {
4821
4852
  required: ['device_id', 'device_name'],
4822
4853
  type: 'object',
4823
4854
  },
4855
+ tado_metadata: {
4856
+ properties: {
4857
+ device_type: { type: 'string' },
4858
+ serial_no: { type: 'string' },
4859
+ },
4860
+ required: ['serial_no', 'device_type'],
4861
+ type: 'object',
4862
+ },
4824
4863
  tedee_metadata: {
4825
4864
  properties: {
4826
4865
  bridge_id: { format: 'float', type: 'number' },
@@ -5482,6 +5521,7 @@ export default {
5482
5521
  'assa_abloy_vostio',
5483
5522
  'assa_abloy_vostio_credential_service',
5484
5523
  'tado',
5524
+ 'salto_space',
5485
5525
  ],
5486
5526
  type: 'string',
5487
5527
  },
@@ -6052,6 +6092,7 @@ export default {
6052
6092
  'ecobee_thermostat',
6053
6093
  'nest_thermostat',
6054
6094
  'honeywell_resideo_thermostat',
6095
+ 'tado_thermostat',
6055
6096
  ],
6056
6097
  type: 'string',
6057
6098
  },
@@ -8064,7 +8105,7 @@ export default {
8064
8105
  enum: [
8065
8106
  'pti_unit',
8066
8107
  'pti_access_level',
8067
- 'salto_access_group',
8108
+ 'salto_ks_access_group',
8068
8109
  'brivo_group',
8069
8110
  ],
8070
8111
  type: 'string',
@@ -8096,7 +8137,7 @@ export default {
8096
8137
  enum: [
8097
8138
  'pti_unit',
8098
8139
  'pti_access_level',
8099
- 'salto_access_group',
8140
+ 'salto_ks_access_group',
8100
8141
  'brivo_group',
8101
8142
  ],
8102
8143
  type: 'string',
@@ -8196,7 +8237,7 @@ export default {
8196
8237
  enum: [
8197
8238
  'pti_unit',
8198
8239
  'pti_access_level',
8199
- 'salto_access_group',
8240
+ 'salto_ks_access_group',
8200
8241
  'brivo_group',
8201
8242
  ],
8202
8243
  type: 'string',
@@ -8228,7 +8269,7 @@ export default {
8228
8269
  enum: [
8229
8270
  'pti_unit',
8230
8271
  'pti_access_level',
8231
- 'salto_access_group',
8272
+ 'salto_ks_access_group',
8232
8273
  'brivo_group',
8233
8274
  ],
8234
8275
  type: 'string',
@@ -12806,6 +12847,7 @@ export default {
12806
12847
  'assa_abloy_vostio',
12807
12848
  'assa_abloy_vostio_credential_service',
12808
12849
  'tado',
12850
+ 'salto_space',
12809
12851
  'yale_access',
12810
12852
  'hid_cm',
12811
12853
  'google_nest',
@@ -13447,6 +13489,7 @@ export default {
13447
13489
  'ecobee_thermostat',
13448
13490
  'nest_thermostat',
13449
13491
  'honeywell_resideo_thermostat',
13492
+ 'tado_thermostat',
13450
13493
  ],
13451
13494
  type: 'string',
13452
13495
  },
@@ -13498,6 +13541,7 @@ export default {
13498
13541
  'ecobee_thermostat',
13499
13542
  'nest_thermostat',
13500
13543
  'honeywell_resideo_thermostat',
13544
+ 'tado_thermostat',
13501
13545
  ],
13502
13546
  type: 'string',
13503
13547
  },
@@ -13593,6 +13637,7 @@ export default {
13593
13637
  'tedee',
13594
13638
  'honeywell_resideo',
13595
13639
  'akiles',
13640
+ 'tado',
13596
13641
  ],
13597
13642
  type: 'string',
13598
13643
  },
@@ -13962,6 +14007,7 @@ export default {
13962
14007
  'ecobee_thermostat',
13963
14008
  'nest_thermostat',
13964
14009
  'honeywell_resideo_thermostat',
14010
+ 'tado_thermostat',
13965
14011
  ],
13966
14012
  type: 'string',
13967
14013
  },
@@ -14013,6 +14059,7 @@ export default {
14013
14059
  'ecobee_thermostat',
14014
14060
  'nest_thermostat',
14015
14061
  'honeywell_resideo_thermostat',
14062
+ 'tado_thermostat',
14016
14063
  ],
14017
14064
  type: 'string',
14018
14065
  },
@@ -14108,6 +14155,7 @@ export default {
14108
14155
  'tedee',
14109
14156
  'honeywell_resideo',
14110
14157
  'akiles',
14158
+ 'tado',
14111
14159
  ],
14112
14160
  type: 'string',
14113
14161
  },
@@ -14782,6 +14830,7 @@ export default {
14782
14830
  'ecobee_thermostat',
14783
14831
  'nest_thermostat',
14784
14832
  'honeywell_resideo_thermostat',
14833
+ 'tado_thermostat',
14785
14834
  ],
14786
14835
  type: 'string',
14787
14836
  },
@@ -14833,6 +14882,7 @@ export default {
14833
14882
  'ecobee_thermostat',
14834
14883
  'nest_thermostat',
14835
14884
  'honeywell_resideo_thermostat',
14885
+ 'tado_thermostat',
14836
14886
  ],
14837
14887
  type: 'string',
14838
14888
  },
@@ -14928,6 +14978,7 @@ export default {
14928
14978
  'tedee',
14929
14979
  'honeywell_resideo',
14930
14980
  'akiles',
14981
+ 'tado',
14931
14982
  ],
14932
14983
  type: 'string',
14933
14984
  },
@@ -15258,6 +15309,7 @@ export default {
15258
15309
  'ecobee_thermostat',
15259
15310
  'nest_thermostat',
15260
15311
  'honeywell_resideo_thermostat',
15312
+ 'tado_thermostat',
15261
15313
  ],
15262
15314
  type: 'string',
15263
15315
  },
@@ -15309,6 +15361,7 @@ export default {
15309
15361
  'ecobee_thermostat',
15310
15362
  'nest_thermostat',
15311
15363
  'honeywell_resideo_thermostat',
15364
+ 'tado_thermostat',
15312
15365
  ],
15313
15366
  type: 'string',
15314
15367
  },
@@ -15404,6 +15457,7 @@ export default {
15404
15457
  'tedee',
15405
15458
  'honeywell_resideo',
15406
15459
  'akiles',
15460
+ 'tado',
15407
15461
  ],
15408
15462
  type: 'string',
15409
15463
  },
@@ -16629,6 +16683,7 @@ export default {
16629
16683
  'ecobee_thermostat',
16630
16684
  'nest_thermostat',
16631
16685
  'honeywell_resideo_thermostat',
16686
+ 'tado_thermostat',
16632
16687
  ],
16633
16688
  type: 'string',
16634
16689
  },
@@ -16680,6 +16735,7 @@ export default {
16680
16735
  'ecobee_thermostat',
16681
16736
  'nest_thermostat',
16682
16737
  'honeywell_resideo_thermostat',
16738
+ 'tado_thermostat',
16683
16739
  ],
16684
16740
  type: 'string',
16685
16741
  },
@@ -16775,6 +16831,7 @@ export default {
16775
16831
  'tedee',
16776
16832
  'honeywell_resideo',
16777
16833
  'akiles',
16834
+ 'tado',
16778
16835
  ],
16779
16836
  type: 'string',
16780
16837
  },