homey-api 3.14.5 → 3.14.7

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.
@@ -1204,6 +1204,38 @@
1204
1204
  }
1205
1205
  }
1206
1206
  },
1207
+ "createHomeySelfHostedServer": {
1208
+ "path": "/homey/shs",
1209
+ "method": "post",
1210
+ "private": true,
1211
+ "parameters": {}
1212
+ },
1213
+ "updateHomeySelfHostedServerSubscription": {
1214
+ "path": "/homey/shs/{homeyId}/subscription",
1215
+ "method": "put",
1216
+ "private": true,
1217
+ "parameters": {
1218
+ "homeyId": {
1219
+ "in": "path",
1220
+ "type": "string",
1221
+ "required": true
1222
+ },
1223
+ "data": {
1224
+ "in": "body",
1225
+ "type": "object",
1226
+ "required": true,
1227
+ "unpack": true,
1228
+ "properties": {
1229
+ "type": {
1230
+ "type": "string"
1231
+ },
1232
+ "expiresAt": {
1233
+ "type": "string"
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ },
1207
1239
  "sendFormattedEmail": {
1208
1240
  "path": "/mail/formatted",
1209
1241
  "method": "post",
@@ -370,6 +370,14 @@
370
370
  "channel": {
371
371
  "in": "body",
372
372
  "type": "string"
373
+ },
374
+ "waitForInstall": {
375
+ "in": "body",
376
+ "type": "boolean"
377
+ },
378
+ "version": {
379
+ "in": "body",
380
+ "type": "string"
373
381
  }
374
382
  }
375
383
  },
@@ -2036,6 +2044,23 @@
2036
2044
  },
2037
2045
  "parameters": {}
2038
2046
  },
2047
+ "getDriver": {
2048
+ "method": "get",
2049
+ "path": "/driver/:id",
2050
+ "private": false,
2051
+ "scopes": ["homey.device.readonly"],
2052
+ "crud": {
2053
+ "type": "getOne",
2054
+ "item": "Driver"
2055
+ },
2056
+ "parameters": {
2057
+ "id": {
2058
+ "in": "path",
2059
+ "type": "string",
2060
+ "required": true
2061
+ }
2062
+ }
2063
+ },
2039
2064
  "getPairSession": {
2040
2065
  "method": "get",
2041
2066
  "path": "/pairsession/:id",
@@ -2377,27 +2402,6 @@
2377
2402
  "path": "/option/waterPriceFixed",
2378
2403
  "scopes": ["homey.energy"]
2379
2404
  },
2380
- "getOptionElectricityPriceDynamicPreferredInterval": {
2381
- "method": "GET",
2382
- "path": "/option/electricityPriceDynamicPreferredInterval",
2383
- "scopes": ["homey.energy.readonly"]
2384
- },
2385
- "setOptionElectricityPriceDynamicPreferredInterval": {
2386
- "method": "PUT",
2387
- "path": "/option/electricityPriceDynamicPreferredInterval",
2388
- "scopes": ["homey.energy"],
2389
- "parameters": {
2390
- "value": {
2391
- "in": "body",
2392
- "required": true
2393
- }
2394
- }
2395
- },
2396
- "unsetOptionElectricityPriceDynamicPreferredInterval": {
2397
- "method": "DELETE",
2398
- "path": "/option/electricityPriceDynamicPreferredInterval",
2399
- "scopes": ["homey.energy"]
2400
- },
2401
2405
  "getState": {
2402
2406
  "method": "get",
2403
2407
  "path": "/state",
@@ -2625,10 +2629,7 @@
2625
2629
  "zoneVersion": {
2626
2630
  "type": "string"
2627
2631
  },
2628
- "zoneName": {
2629
- "type": "string"
2630
- },
2631
- "zoneCountryKey": {
2632
+ "priceInterval": {
2632
2633
  "type": "string"
2633
2634
  }
2634
2635
  }
@@ -4954,7 +4955,24 @@
4954
4955
  "ManagerMatter": {
4955
4956
  "id": "matter",
4956
4957
  "idCamelCase": "matter",
4957
- "items": {},
4958
+ "items": {
4959
+ "MatterNode": {
4960
+ "id": "matternode",
4961
+ "schema": {
4962
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
4963
+ "type": "object",
4964
+ "properties": {
4965
+ "id": {
4966
+ "description": "The unique identifier of the item.",
4967
+ "type": "string",
4968
+ "format": "uuid",
4969
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
4970
+ }
4971
+ },
4972
+ "additionalProperties": false
4973
+ }
4974
+ }
4975
+ },
4958
4976
  "operations": {
4959
4977
  "getOptionPaaSettings": {
4960
4978
  "method": "GET",
@@ -4984,47 +5002,199 @@
4984
5002
  "scopes": ["homey.system.readonly"],
4985
5003
  "parameters": {}
4986
5004
  },
4987
- "updateDCLPaaCerts": {
5005
+ "getMatterNode": {
4988
5006
  "method": "get",
4989
- "path": "/update-dcl-paa-certs",
4990
- "private": true,
4991
- "scopes": ["homey.system"],
4992
- "parameters": {}
5007
+ "path": "/node/:id",
5008
+ "private": false,
5009
+ "scopes": ["homey.system.readonly"],
5010
+ "crud": {
5011
+ "type": "getOne",
5012
+ "item": "MatterNode"
5013
+ },
5014
+ "parameters": {
5015
+ "id": {
5016
+ "in": "path",
5017
+ "type": "string",
5018
+ "required": true
5019
+ }
5020
+ }
4993
5021
  },
4994
- "interview": {
5022
+ "getMatterNodes": {
4995
5023
  "method": "get",
4996
- "path": "/interview",
4997
- "private": true,
5024
+ "path": "/nodes",
5025
+ "private": false,
5026
+ "scopes": ["homey.system.readonly"],
5027
+ "crud": {
5028
+ "type": "getAll",
5029
+ "item": "MatterNode"
5030
+ },
5031
+ "parameters": {}
5032
+ },
5033
+ "deleteMatterNode": {
5034
+ "method": "delete",
5035
+ "path": "/node/:id",
5036
+ "private": false,
4998
5037
  "scopes": ["homey.system"],
5038
+ "crud": {
5039
+ "type": "deleteOne",
5040
+ "item": "MatterNode"
5041
+ },
4999
5042
  "parameters": {
5000
- "nodeId": {
5001
- "in": "query",
5043
+ "id": {
5044
+ "in": "path",
5002
5045
  "type": "string",
5003
5046
  "required": true
5004
5047
  }
5005
5048
  }
5006
5049
  },
5007
- "makeDeviceApi": {
5050
+ "getNodeAttributes": {
5008
5051
  "method": "get",
5009
- "path": "/make-device",
5010
- "private": true,
5011
- "scopes": ["homey.system"],
5052
+ "path": "/node/:id/attributes",
5053
+ "private": false,
5054
+ "scopes": ["homey.system.readonly"],
5012
5055
  "parameters": {
5013
- "nodeId": {
5014
- "in": "query",
5056
+ "id": {
5057
+ "in": "path",
5015
5058
  "type": "string",
5016
5059
  "required": true
5017
5060
  }
5018
5061
  }
5019
5062
  },
5020
- "readBasicInformation": {
5063
+ "getNodeFabrics": {
5021
5064
  "method": "get",
5022
- "path": "/read-basic-info",
5023
- "private": true,
5065
+ "path": "/node/:id/fabrics",
5066
+ "private": false,
5067
+ "scopes": ["homey.system.readonly"],
5068
+ "parameters": {
5069
+ "id": {
5070
+ "in": "path",
5071
+ "type": "string",
5072
+ "required": true
5073
+ }
5074
+ }
5075
+ },
5076
+ "deleteNodeFabric": {
5077
+ "method": "delete",
5078
+ "path": "/node/:id/fabric/:fabricIndex",
5079
+ "private": false,
5024
5080
  "scopes": ["homey.system"],
5025
5081
  "parameters": {
5026
- "nodeId": {
5027
- "in": "query",
5082
+ "fabricIndex": {
5083
+ "in": "path",
5084
+ "type": "number",
5085
+ "required": true
5086
+ },
5087
+ "id": {
5088
+ "in": "path",
5089
+ "type": "string",
5090
+ "required": true
5091
+ }
5092
+ }
5093
+ },
5094
+ "resolveNodeAddress": {
5095
+ "method": "post",
5096
+ "path": "/node/:id/resolve-address",
5097
+ "private": false,
5098
+ "scopes": ["homey.system.readonly"],
5099
+ "parameters": {
5100
+ "id": {
5101
+ "in": "path",
5102
+ "type": "string",
5103
+ "required": true
5104
+ }
5105
+ }
5106
+ },
5107
+ "forceNodeUpdate": {
5108
+ "method": "post",
5109
+ "path": "/node/:id/force-update",
5110
+ "private": false,
5111
+ "scopes": ["homey.system"],
5112
+ "parameters": {
5113
+ "id": {
5114
+ "in": "path",
5115
+ "type": "string",
5116
+ "required": true
5117
+ }
5118
+ }
5119
+ },
5120
+ "pingNode": {
5121
+ "method": "post",
5122
+ "path": "/node/:id/ping",
5123
+ "private": false,
5124
+ "scopes": ["homey.system"],
5125
+ "parameters": {
5126
+ "id": {
5127
+ "in": "path",
5128
+ "type": "string",
5129
+ "required": true
5130
+ }
5131
+ }
5132
+ },
5133
+ "getNodeAvailableFirmwareUpdate": {
5134
+ "method": "get",
5135
+ "path": "/node/:id/firmware-update",
5136
+ "private": false,
5137
+ "scopes": ["homey.system.readonly"],
5138
+ "parameters": {
5139
+ "id": {
5140
+ "in": "path",
5141
+ "type": "string",
5142
+ "required": true
5143
+ }
5144
+ }
5145
+ },
5146
+ "installNodeAvailableFirmwareUpdate": {
5147
+ "method": "post",
5148
+ "path": "/node/:id/firmware-update",
5149
+ "private": false,
5150
+ "scopes": ["homey.system.readonly"],
5151
+ "parameters": {
5152
+ "id": {
5153
+ "in": "path",
5154
+ "type": "string",
5155
+ "required": true
5156
+ },
5157
+ "softwareVersion": {
5158
+ "in": "body",
5159
+ "type": "number",
5160
+ "required": true
5161
+ }
5162
+ }
5163
+ },
5164
+ "nodeDiagnosticReport": {
5165
+ "method": "post",
5166
+ "path": "/node/:id/diagnostic-report",
5167
+ "private": false,
5168
+ "scopes": ["homey.system.readonly"],
5169
+ "parameters": {
5170
+ "id": {
5171
+ "in": "path",
5172
+ "type": "string",
5173
+ "required": true
5174
+ }
5175
+ }
5176
+ },
5177
+ "nodeThreadNetworkInformation": {
5178
+ "method": "get",
5179
+ "path": "/node/:id/thread-network",
5180
+ "private": false,
5181
+ "scopes": ["homey.system.readonly"],
5182
+ "parameters": {
5183
+ "id": {
5184
+ "in": "path",
5185
+ "type": "string",
5186
+ "required": true
5187
+ }
5188
+ }
5189
+ },
5190
+ "nodeWiFiNetworkInformation": {
5191
+ "method": "get",
5192
+ "path": "/node/:id/wifi-network",
5193
+ "private": false,
5194
+ "scopes": ["homey.system.readonly"],
5195
+ "parameters": {
5196
+ "id": {
5197
+ "in": "path",
5028
5198
  "type": "string",
5029
5199
  "required": true
5030
5200
  }
@@ -6196,13 +6366,11 @@
6196
6366
  "type": "object",
6197
6367
  "properties": {
6198
6368
  "id": {
6199
- "description": "The unique identifier of the user.",
6200
6369
  "type": "string",
6201
6370
  "format": "uuid",
6202
6371
  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
6203
6372
  },
6204
6373
  "name": {
6205
- "description": "The name of the user.",
6206
6374
  "anyOf": [
6207
6375
  {
6208
6376
  "type": "string"
@@ -6213,7 +6381,6 @@
6213
6381
  ]
6214
6382
  },
6215
6383
  "role": {
6216
- "description": "The role of the user.",
6217
6384
  "type": "string"
6218
6385
  },
6219
6386
  "properties": {
@@ -6224,7 +6391,6 @@
6224
6391
  "additionalProperties": {}
6225
6392
  },
6226
6393
  "athomId": {
6227
- "description": "The Athom id of the user.",
6228
6394
  "anyOf": [
6229
6395
  {
6230
6396
  "type": "string"
@@ -6235,12 +6401,10 @@
6235
6401
  ]
6236
6402
  },
6237
6403
  "enabled": {
6238
- "description": "Whether the user is enabled.",
6239
6404
  "default": true,
6240
6405
  "type": "boolean"
6241
6406
  },
6242
6407
  "enabledUntil": {
6243
- "description": "The date until the user is enabled.",
6244
6408
  "anyOf": [
6245
6409
  {
6246
6410
  "type": "string",
@@ -6252,7 +6416,6 @@
6252
6416
  ]
6253
6417
  },
6254
6418
  "present": {
6255
- "description": "Whether the user is present.",
6256
6419
  "default": false,
6257
6420
  "anyOf": [
6258
6421
  {
@@ -6264,7 +6427,6 @@
6264
6427
  ]
6265
6428
  },
6266
6429
  "asleep": {
6267
- "description": "Whether the user is asleep.",
6268
6430
  "default": false,
6269
6431
  "anyOf": [
6270
6432
  {
@@ -6276,7 +6438,6 @@
6276
6438
  ]
6277
6439
  },
6278
6440
  "avatar": {
6279
- "description": "The avatar URL of the user.",
6280
6441
  "anyOf": [
6281
6442
  {
6282
6443
  "type": "string"
@@ -6287,12 +6448,21 @@
6287
6448
  ]
6288
6449
  },
6289
6450
  "verified": {
6290
- "description": "Whether the user is verified.",
6291
6451
  "default": false,
6292
6452
  "type": "boolean"
6293
6453
  },
6294
6454
  "inviteUrl": {
6295
- "description": "The invite URL for the user.",
6455
+ "anyOf": [
6456
+ {
6457
+ "type": "string"
6458
+ },
6459
+ {
6460
+ "type": "null"
6461
+ }
6462
+ ]
6463
+ },
6464
+ "localUsername": {
6465
+ "description": "The local username of the user.",
6296
6466
  "anyOf": [
6297
6467
  {
6298
6468
  "type": "string"
@@ -6536,6 +6706,95 @@
6536
6706
  }
6537
6707
  }
6538
6708
  },
6709
+ "loginLocal": {
6710
+ "method": "post",
6711
+ "path": "/login-local",
6712
+ "private": false,
6713
+ "scopes": [],
6714
+ "parameters": {
6715
+ "username": {
6716
+ "in": "body",
6717
+ "type": "string",
6718
+ "required": true
6719
+ },
6720
+ "password": {
6721
+ "in": "body",
6722
+ "type": "string",
6723
+ "required": true
6724
+ },
6725
+ "clientId": {
6726
+ "in": "body",
6727
+ "type": "string",
6728
+ "required": true
6729
+ },
6730
+ "clientName": {
6731
+ "in": "body",
6732
+ "type": "string",
6733
+ "required": true
6734
+ }
6735
+ }
6736
+ },
6737
+ "updateUserMeLocalCredentials": {
6738
+ "method": "put",
6739
+ "path": "/user/me/local-credentials",
6740
+ "private": false,
6741
+ "scopes": ["homey.user.self"],
6742
+ "parameters": {
6743
+ "username": {
6744
+ "in": "body",
6745
+ "type": "string",
6746
+ "required": true
6747
+ },
6748
+ "password": {
6749
+ "in": "body",
6750
+ "type": "string",
6751
+ "required": true
6752
+ }
6753
+ }
6754
+ },
6755
+ "updateUserLocalCredentials": {
6756
+ "method": "put",
6757
+ "path": "/user/:id/local-credentials",
6758
+ "private": false,
6759
+ "scopes": [],
6760
+ "parameters": {
6761
+ "id": {
6762
+ "in": "path",
6763
+ "type": "string",
6764
+ "required": true
6765
+ },
6766
+ "username": {
6767
+ "in": "body",
6768
+ "type": "string",
6769
+ "required": true
6770
+ },
6771
+ "password": {
6772
+ "in": "body",
6773
+ "type": "string",
6774
+ "required": true
6775
+ }
6776
+ }
6777
+ },
6778
+ "deleteUserMeLocalCredentials": {
6779
+ "method": "delete",
6780
+ "path": "/user/me/local-credentials",
6781
+ "private": false,
6782
+ "scopes": ["homey.user.self"],
6783
+ "parameters": {}
6784
+ },
6785
+ "deleteUserLocalCredentials": {
6786
+ "method": "delete",
6787
+ "path": "/user/:id/local-credentials",
6788
+ "private": false,
6789
+ "scopes": [],
6790
+ "parameters": {
6791
+ "id": {
6792
+ "in": "path",
6793
+ "type": "string",
6794
+ "required": true
6795
+ }
6796
+ }
6797
+ },
6539
6798
  "grantInstallerAccess": {
6540
6799
  "method": "post",
6541
6800
  "path": "/installer/grant",
@@ -665,6 +665,8 @@ export namespace HomeyAPIV2.ManagerUsers {
665
665
  avatar: string | null;
666
666
 
667
667
  inviteUrl: string | null;
668
+
669
+ localUsername: string | null;
668
670
  }
669
671
  }
670
672
 
@@ -2062,6 +2064,12 @@ export namespace HomeyAPIV3Local.ManagerLogic {
2062
2064
  }
2063
2065
  }
2064
2066
 
2067
+ export namespace HomeyAPIV3Local.ManagerMatter {
2068
+ export class MatterNode {
2069
+ id: string;
2070
+ }
2071
+ }
2072
+
2065
2073
  export namespace HomeyAPIV3Local.ManagerMoods {
2066
2074
  export class Mood {
2067
2075
  id: string;
@@ -2135,6 +2143,8 @@ export namespace HomeyAPIV3Local.ManagerUsers {
2135
2143
  verified: boolean;
2136
2144
 
2137
2145
  inviteUrl: string | null;
2146
+
2147
+ localUsername: string | null;
2138
2148
  }
2139
2149
  }
2140
2150
 
@@ -4444,6 +4454,10 @@ export namespace HomeyAPIV3Local {
4444
4454
  id: string;
4445
4455
 
4446
4456
  channel?: string;
4457
+
4458
+ waitForInstall?: boolean;
4459
+
4460
+ version?: string;
4447
4461
  }): Promise<any>;
4448
4462
 
4449
4463
  uninstallApp(opts: { id: string }): Promise<any>;
@@ -4758,6 +4772,10 @@ export namespace HomeyAPIV3Local {
4758
4772
  [key: string]: HomeyAPIV3Local.ManagerDrivers.Driver;
4759
4773
  }>;
4760
4774
 
4775
+ getDriver(opts: {
4776
+ id: string;
4777
+ }): Promise<HomeyAPIV3Local.ManagerDrivers.Driver>;
4778
+
4761
4779
  getPairSession(opts: {
4762
4780
  id: string;
4763
4781
  }): Promise<HomeyAPIV3Local.ManagerDrivers.PairSession>;
@@ -4890,14 +4908,6 @@ export namespace HomeyAPIV3Local {
4890
4908
 
4891
4909
  unsetOptionWaterPriceFixed(): Promise<any>;
4892
4910
 
4893
- getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
4894
-
4895
- setOptionElectricityPriceDynamicPreferredInterval(opts: {
4896
- value: any;
4897
- }): Promise<any>;
4898
-
4899
- unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
4900
-
4901
4911
  getState(): Promise<any>;
4902
4912
 
4903
4913
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -4968,9 +4978,7 @@ export namespace HomeyAPIV3Local {
4968
4978
 
4969
4979
  zoneVersion?: string;
4970
4980
 
4971
- zoneName?: string;
4972
-
4973
- zoneCountryKey?: string;
4981
+ priceInterval?: string;
4974
4982
  };
4975
4983
  }): Promise<any>;
4976
4984
  }
@@ -5338,6 +5346,46 @@ export namespace HomeyAPIV3Local {
5338
5346
 
5339
5347
  getState(): Promise<any>;
5340
5348
 
5349
+ getMatterNode(opts: {
5350
+ id: string;
5351
+ }): Promise<HomeyAPIV3Local.ManagerMatter.MatterNode>;
5352
+
5353
+ getMatterNodes(): Promise<{
5354
+ [key: string]: HomeyAPIV3Local.ManagerMatter.MatterNode;
5355
+ }>;
5356
+
5357
+ deleteMatterNode(opts: { id: string }): Promise<any>;
5358
+
5359
+ getNodeAttributes(opts: { id: string }): Promise<any>;
5360
+
5361
+ getNodeFabrics(opts: { id: string }): Promise<any>;
5362
+
5363
+ deleteNodeFabric(opts: {
5364
+ fabricIndex: number;
5365
+
5366
+ id: string;
5367
+ }): Promise<any>;
5368
+
5369
+ resolveNodeAddress(opts: { id: string }): Promise<any>;
5370
+
5371
+ forceNodeUpdate(opts: { id: string }): Promise<any>;
5372
+
5373
+ pingNode(opts: { id: string }): Promise<any>;
5374
+
5375
+ getNodeAvailableFirmwareUpdate(opts: { id: string }): Promise<any>;
5376
+
5377
+ installNodeAvailableFirmwareUpdate(opts: {
5378
+ id: string;
5379
+
5380
+ softwareVersion: number;
5381
+ }): Promise<any>;
5382
+
5383
+ nodeDiagnosticReport(opts: { id: string }): Promise<any>;
5384
+
5385
+ nodeThreadNetworkInformation(opts: { id: string }): Promise<any>;
5386
+
5387
+ nodeWiFiNetworkInformation(opts: { id: string }): Promise<any>;
5388
+
5341
5389
  getFabrics(opts: { deviceId: string }): Promise<any>;
5342
5390
 
5343
5391
  deleteFabric(opts: {
@@ -5632,6 +5680,34 @@ export namespace HomeyAPIV3Local {
5632
5680
 
5633
5681
  deletePersonalAccessToken(opts: { id: string }): Promise<any>;
5634
5682
 
5683
+ loginLocal(opts: {
5684
+ username: string;
5685
+
5686
+ password: string;
5687
+
5688
+ clientId: string;
5689
+
5690
+ clientName: string;
5691
+ }): Promise<any>;
5692
+
5693
+ updateUserMeLocalCredentials(opts: {
5694
+ username: string;
5695
+
5696
+ password: string;
5697
+ }): Promise<any>;
5698
+
5699
+ updateUserLocalCredentials(opts: {
5700
+ id: string;
5701
+
5702
+ username: string;
5703
+
5704
+ password: string;
5705
+ }): Promise<any>;
5706
+
5707
+ deleteUserMeLocalCredentials(): Promise<any>;
5708
+
5709
+ deleteUserLocalCredentials(opts: { id: string }): Promise<any>;
5710
+
5635
5711
  grantInstallerAccess(): Promise<any>;
5636
5712
 
5637
5713
  revokeInstallerAccess(): Promise<any>;
@@ -716,6 +716,8 @@ export namespace HomeyAPIV2.ManagerUsers {
716
716
  avatar: string | null;
717
717
 
718
718
  inviteUrl: string | null;
719
+
720
+ localUsername: string | null;
719
721
  }
720
722
  }
721
723
 
@@ -2119,6 +2121,12 @@ export namespace HomeyAPIV3Local.ManagerLogic {
2119
2121
  }
2120
2122
  }
2121
2123
 
2124
+ export namespace HomeyAPIV3Local.ManagerMatter {
2125
+ export class MatterNode {
2126
+ id: string;
2127
+ }
2128
+ }
2129
+
2122
2130
  export namespace HomeyAPIV3Local.ManagerMoods {
2123
2131
  export class Mood {
2124
2132
  id: string;
@@ -2192,6 +2200,8 @@ export namespace HomeyAPIV3Local.ManagerUsers {
2192
2200
  verified: boolean;
2193
2201
 
2194
2202
  inviteUrl: string | null;
2203
+
2204
+ localUsername: string | null;
2195
2205
  }
2196
2206
  }
2197
2207
 
@@ -3706,6 +3716,18 @@ export class AthomCloudAPI {
3706
3716
  email?: boolean;
3707
3717
  }): Promise<any>;
3708
3718
 
3719
+ createHomeySelfHostedServer(): Promise<any>;
3720
+
3721
+ updateHomeySelfHostedServerSubscription(opts: {
3722
+ homeyId: string;
3723
+
3724
+ data: {
3725
+ type: string;
3726
+
3727
+ expiresAt: string;
3728
+ };
3729
+ }): Promise<any>;
3730
+
3709
3731
  sendFormattedEmail(opts: {
3710
3732
  to?: string;
3711
3733
 
@@ -4356,6 +4378,18 @@ export class AthomCloudAPI {
4356
4378
  email?: boolean;
4357
4379
  }): Promise<any>;
4358
4380
 
4381
+ createHomeySelfHostedServer(): Promise<any>;
4382
+
4383
+ updateHomeySelfHostedServerSubscription(opts: {
4384
+ homeyId: string;
4385
+
4386
+ data: {
4387
+ type: string;
4388
+
4389
+ expiresAt: string;
4390
+ };
4391
+ }): Promise<any>;
4392
+
4359
4393
  sendFormattedEmail(opts: {
4360
4394
  to?: string;
4361
4395
 
@@ -7284,6 +7318,18 @@ export class AthomCloudAPI {
7284
7318
  email?: boolean;
7285
7319
  }): Promise<any>;
7286
7320
 
7321
+ createHomeySelfHostedServer(): Promise<any>;
7322
+
7323
+ updateHomeySelfHostedServerSubscription(opts: {
7324
+ homeyId: string;
7325
+
7326
+ data: {
7327
+ type: string;
7328
+
7329
+ expiresAt: string;
7330
+ };
7331
+ }): Promise<any>;
7332
+
7287
7333
  sendFormattedEmail(opts: {
7288
7334
  to?: string;
7289
7335
 
@@ -7934,6 +7980,18 @@ export class AthomCloudAPI {
7934
7980
  email?: boolean;
7935
7981
  }): Promise<any>;
7936
7982
 
7983
+ createHomeySelfHostedServer(): Promise<any>;
7984
+
7985
+ updateHomeySelfHostedServerSubscription(opts: {
7986
+ homeyId: string;
7987
+
7988
+ data: {
7989
+ type: string;
7990
+
7991
+ expiresAt: string;
7992
+ };
7993
+ }): Promise<any>;
7994
+
7937
7995
  sendFormattedEmail(opts: {
7938
7996
  to?: string;
7939
7997
 
@@ -11331,6 +11389,10 @@ export namespace HomeyAPIV3Local {
11331
11389
  id: string;
11332
11390
 
11333
11391
  channel?: string;
11392
+
11393
+ waitForInstall?: boolean;
11394
+
11395
+ version?: string;
11334
11396
  }): Promise<any>;
11335
11397
 
11336
11398
  uninstallApp(opts: { id: string }): Promise<any>;
@@ -11651,6 +11713,10 @@ export namespace HomeyAPIV3Local {
11651
11713
  [key: string]: HomeyAPIV3Local.ManagerDrivers.Driver;
11652
11714
  }>;
11653
11715
 
11716
+ getDriver(opts: {
11717
+ id: string;
11718
+ }): Promise<HomeyAPIV3Local.ManagerDrivers.Driver>;
11719
+
11654
11720
  getPairSession(opts: {
11655
11721
  id: string;
11656
11722
  }): Promise<HomeyAPIV3Local.ManagerDrivers.PairSession>;
@@ -11783,14 +11849,6 @@ export namespace HomeyAPIV3Local {
11783
11849
 
11784
11850
  unsetOptionWaterPriceFixed(): Promise<any>;
11785
11851
 
11786
- getOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
11787
-
11788
- setOptionElectricityPriceDynamicPreferredInterval(opts: {
11789
- value: any;
11790
- }): Promise<any>;
11791
-
11792
- unsetOptionElectricityPriceDynamicPreferredInterval(): Promise<any>;
11793
-
11794
11852
  getState(): Promise<any>;
11795
11853
 
11796
11854
  getLiveReport(opts: { zone?: string }): Promise<any>;
@@ -11861,9 +11919,7 @@ export namespace HomeyAPIV3Local {
11861
11919
 
11862
11920
  zoneVersion?: string;
11863
11921
 
11864
- zoneName?: string;
11865
-
11866
- zoneCountryKey?: string;
11922
+ priceInterval?: string;
11867
11923
  };
11868
11924
  }): Promise<any>;
11869
11925
 
@@ -12301,13 +12357,45 @@ export namespace HomeyAPIV3Local {
12301
12357
 
12302
12358
  getState(): Promise<any>;
12303
12359
 
12304
- updateDCLPaaCerts(): Promise<any>;
12360
+ getMatterNode(opts: {
12361
+ id: string;
12362
+ }): Promise<HomeyAPIV3Local.ManagerMatter.MatterNode>;
12363
+
12364
+ getMatterNodes(): Promise<{
12365
+ [key: string]: HomeyAPIV3Local.ManagerMatter.MatterNode;
12366
+ }>;
12367
+
12368
+ deleteMatterNode(opts: { id: string }): Promise<any>;
12369
+
12370
+ getNodeAttributes(opts: { id: string }): Promise<any>;
12371
+
12372
+ getNodeFabrics(opts: { id: string }): Promise<any>;
12373
+
12374
+ deleteNodeFabric(opts: {
12375
+ fabricIndex: number;
12305
12376
 
12306
- interview(opts: { nodeId: string }): Promise<any>;
12377
+ id: string;
12378
+ }): Promise<any>;
12379
+
12380
+ resolveNodeAddress(opts: { id: string }): Promise<any>;
12307
12381
 
12308
- makeDeviceApi(opts: { nodeId: string }): Promise<any>;
12382
+ forceNodeUpdate(opts: { id: string }): Promise<any>;
12309
12383
 
12310
- readBasicInformation(opts: { nodeId: string }): Promise<any>;
12384
+ pingNode(opts: { id: string }): Promise<any>;
12385
+
12386
+ getNodeAvailableFirmwareUpdate(opts: { id: string }): Promise<any>;
12387
+
12388
+ installNodeAvailableFirmwareUpdate(opts: {
12389
+ id: string;
12390
+
12391
+ softwareVersion: number;
12392
+ }): Promise<any>;
12393
+
12394
+ nodeDiagnosticReport(opts: { id: string }): Promise<any>;
12395
+
12396
+ nodeThreadNetworkInformation(opts: { id: string }): Promise<any>;
12397
+
12398
+ nodeWiFiNetworkInformation(opts: { id: string }): Promise<any>;
12311
12399
 
12312
12400
  openCommissioningWindow(opts: {
12313
12401
  deviceId: string;
@@ -12649,6 +12737,34 @@ export namespace HomeyAPIV3Local {
12649
12737
 
12650
12738
  deletePersonalAccessToken(opts: { id: string }): Promise<any>;
12651
12739
 
12740
+ loginLocal(opts: {
12741
+ username: string;
12742
+
12743
+ password: string;
12744
+
12745
+ clientId: string;
12746
+
12747
+ clientName: string;
12748
+ }): Promise<any>;
12749
+
12750
+ updateUserMeLocalCredentials(opts: {
12751
+ username: string;
12752
+
12753
+ password: string;
12754
+ }): Promise<any>;
12755
+
12756
+ updateUserLocalCredentials(opts: {
12757
+ id: string;
12758
+
12759
+ username: string;
12760
+
12761
+ password: string;
12762
+ }): Promise<any>;
12763
+
12764
+ deleteUserMeLocalCredentials(): Promise<any>;
12765
+
12766
+ deleteUserLocalCredentials(opts: { id: string }): Promise<any>;
12767
+
12652
12768
  grantInstallerAccess(): Promise<any>;
12653
12769
 
12654
12770
  revokeInstallerAccess(): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.14.5",
3
+ "version": "3.14.7",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [