homey-api 3.6.5 → 3.6.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.
|
@@ -330,6 +330,40 @@
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
|
+
"getAppSettings": {
|
|
334
|
+
"path": "/app/{appId}/settings",
|
|
335
|
+
"method": "get",
|
|
336
|
+
"parameters": {
|
|
337
|
+
"appId": {
|
|
338
|
+
"in": "path",
|
|
339
|
+
"type": "string",
|
|
340
|
+
"required": true
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"updateAppSettings": {
|
|
345
|
+
"path": "/app/{appId}/settings",
|
|
346
|
+
"method": "put",
|
|
347
|
+
"parameters": {
|
|
348
|
+
"appId": {
|
|
349
|
+
"in": "path",
|
|
350
|
+
"type": "string",
|
|
351
|
+
"required": true
|
|
352
|
+
},
|
|
353
|
+
"sendEmailCrash": {
|
|
354
|
+
"type": "boolean",
|
|
355
|
+
"in": "body"
|
|
356
|
+
},
|
|
357
|
+
"sendEmailSuggestion": {
|
|
358
|
+
"type": "boolean",
|
|
359
|
+
"in": "body"
|
|
360
|
+
},
|
|
361
|
+
"sendEmailThanks": {
|
|
362
|
+
"type": "boolean",
|
|
363
|
+
"in": "body"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
333
367
|
"getAppChangelog": {
|
|
334
368
|
"path": "/app/{appId}/changelog",
|
|
335
369
|
"method": "get",
|
|
@@ -819,6 +853,40 @@
|
|
|
819
853
|
"in": "body"
|
|
820
854
|
}
|
|
821
855
|
}
|
|
856
|
+
},
|
|
857
|
+
"getAppSuggestions": {
|
|
858
|
+
"path": "/app/{appId}/suggestion",
|
|
859
|
+
"method": "get",
|
|
860
|
+
"parameters": {
|
|
861
|
+
"appId": {
|
|
862
|
+
"in": "path",
|
|
863
|
+
"type": "string",
|
|
864
|
+
"required": true
|
|
865
|
+
},
|
|
866
|
+
"offset": {
|
|
867
|
+
"in": "query",
|
|
868
|
+
"type": "number"
|
|
869
|
+
},
|
|
870
|
+
"length": {
|
|
871
|
+
"in": "query",
|
|
872
|
+
"type": "number"
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"createAppSuggestion": {
|
|
877
|
+
"path": "/app/{appId}/suggestion",
|
|
878
|
+
"method": "post",
|
|
879
|
+
"parameters": {
|
|
880
|
+
"appId": {
|
|
881
|
+
"in": "path",
|
|
882
|
+
"type": "string",
|
|
883
|
+
"required": true
|
|
884
|
+
},
|
|
885
|
+
"suggestionText": {
|
|
886
|
+
"type": "string",
|
|
887
|
+
"in": "body"
|
|
888
|
+
}
|
|
889
|
+
}
|
|
822
890
|
}
|
|
823
891
|
}
|
|
824
892
|
}
|
|
@@ -1735,6 +1735,18 @@ export class AthomAppsAPI {
|
|
|
1735
1735
|
|
|
1736
1736
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
1737
1737
|
|
|
1738
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
1739
|
+
|
|
1740
|
+
updateAppSettings(opts: {
|
|
1741
|
+
appId: string;
|
|
1742
|
+
|
|
1743
|
+
sendEmailCrash?: boolean;
|
|
1744
|
+
|
|
1745
|
+
sendEmailSuggestion?: boolean;
|
|
1746
|
+
|
|
1747
|
+
sendEmailThanks?: boolean;
|
|
1748
|
+
}): Promise<any>;
|
|
1749
|
+
|
|
1738
1750
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
1739
1751
|
|
|
1740
1752
|
updateAppAuthor(opts: {
|
|
@@ -1905,6 +1917,20 @@ export class AthomAppsAPI {
|
|
|
1905
1917
|
mac?: Array<any>;
|
|
1906
1918
|
}): Promise<any>;
|
|
1907
1919
|
|
|
1920
|
+
getAppSuggestions(opts: {
|
|
1921
|
+
appId: string;
|
|
1922
|
+
|
|
1923
|
+
offset?: number;
|
|
1924
|
+
|
|
1925
|
+
length?: number;
|
|
1926
|
+
}): Promise<any>;
|
|
1927
|
+
|
|
1928
|
+
createAppSuggestion(opts: {
|
|
1929
|
+
appId: string;
|
|
1930
|
+
|
|
1931
|
+
suggestionText?: string;
|
|
1932
|
+
}): Promise<any>;
|
|
1933
|
+
|
|
1908
1934
|
updateArchive(opts: {
|
|
1909
1935
|
archiveId: string;
|
|
1910
1936
|
|
|
@@ -2043,6 +2069,18 @@ export class AthomAppsAPI {
|
|
|
2043
2069
|
|
|
2044
2070
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
2045
2071
|
|
|
2072
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
2073
|
+
|
|
2074
|
+
updateAppSettings(opts: {
|
|
2075
|
+
appId: string;
|
|
2076
|
+
|
|
2077
|
+
sendEmailCrash?: boolean;
|
|
2078
|
+
|
|
2079
|
+
sendEmailSuggestion?: boolean;
|
|
2080
|
+
|
|
2081
|
+
sendEmailThanks?: boolean;
|
|
2082
|
+
}): Promise<any>;
|
|
2083
|
+
|
|
2046
2084
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
2047
2085
|
|
|
2048
2086
|
updateAppAuthor(opts: {
|
|
@@ -2212,6 +2250,20 @@ export class AthomAppsAPI {
|
|
|
2212
2250
|
|
|
2213
2251
|
mac?: Array<any>;
|
|
2214
2252
|
}): Promise<any>;
|
|
2253
|
+
|
|
2254
|
+
getAppSuggestions(opts: {
|
|
2255
|
+
appId: string;
|
|
2256
|
+
|
|
2257
|
+
offset?: number;
|
|
2258
|
+
|
|
2259
|
+
length?: number;
|
|
2260
|
+
}): Promise<any>;
|
|
2261
|
+
|
|
2262
|
+
createAppSuggestion(opts: {
|
|
2263
|
+
appId: string;
|
|
2264
|
+
|
|
2265
|
+
suggestionText?: string;
|
|
2266
|
+
}): Promise<any>;
|
|
2215
2267
|
}
|
|
2216
2268
|
|
|
2217
2269
|
export class AthomBackupAPI {
|
|
@@ -5035,6 +5087,18 @@ export class AthomAppsAPI {
|
|
|
5035
5087
|
|
|
5036
5088
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
5037
5089
|
|
|
5090
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
5091
|
+
|
|
5092
|
+
updateAppSettings(opts: {
|
|
5093
|
+
appId: string;
|
|
5094
|
+
|
|
5095
|
+
sendEmailCrash?: boolean;
|
|
5096
|
+
|
|
5097
|
+
sendEmailSuggestion?: boolean;
|
|
5098
|
+
|
|
5099
|
+
sendEmailThanks?: boolean;
|
|
5100
|
+
}): Promise<any>;
|
|
5101
|
+
|
|
5038
5102
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
5039
5103
|
|
|
5040
5104
|
updateAppAuthor(opts: {
|
|
@@ -5205,6 +5269,20 @@ export class AthomAppsAPI {
|
|
|
5205
5269
|
mac?: Array<any>;
|
|
5206
5270
|
}): Promise<any>;
|
|
5207
5271
|
|
|
5272
|
+
getAppSuggestions(opts: {
|
|
5273
|
+
appId: string;
|
|
5274
|
+
|
|
5275
|
+
offset?: number;
|
|
5276
|
+
|
|
5277
|
+
length?: number;
|
|
5278
|
+
}): Promise<any>;
|
|
5279
|
+
|
|
5280
|
+
createAppSuggestion(opts: {
|
|
5281
|
+
appId: string;
|
|
5282
|
+
|
|
5283
|
+
suggestionText?: string;
|
|
5284
|
+
}): Promise<any>;
|
|
5285
|
+
|
|
5208
5286
|
updateArchive(opts: {
|
|
5209
5287
|
archiveId: string;
|
|
5210
5288
|
|
|
@@ -5343,6 +5421,18 @@ export class AthomAppsAPI {
|
|
|
5343
5421
|
|
|
5344
5422
|
deleteApp(opts: { appId: string }): Promise<any>;
|
|
5345
5423
|
|
|
5424
|
+
getAppSettings(opts: { appId: string }): Promise<any>;
|
|
5425
|
+
|
|
5426
|
+
updateAppSettings(opts: {
|
|
5427
|
+
appId: string;
|
|
5428
|
+
|
|
5429
|
+
sendEmailCrash?: boolean;
|
|
5430
|
+
|
|
5431
|
+
sendEmailSuggestion?: boolean;
|
|
5432
|
+
|
|
5433
|
+
sendEmailThanks?: boolean;
|
|
5434
|
+
}): Promise<any>;
|
|
5435
|
+
|
|
5346
5436
|
getAppChangelog(opts: { appId: string }): Promise<any>;
|
|
5347
5437
|
|
|
5348
5438
|
updateAppAuthor(opts: {
|
|
@@ -5512,6 +5602,20 @@ export class AthomAppsAPI {
|
|
|
5512
5602
|
|
|
5513
5603
|
mac?: Array<any>;
|
|
5514
5604
|
}): Promise<any>;
|
|
5605
|
+
|
|
5606
|
+
getAppSuggestions(opts: {
|
|
5607
|
+
appId: string;
|
|
5608
|
+
|
|
5609
|
+
offset?: number;
|
|
5610
|
+
|
|
5611
|
+
length?: number;
|
|
5612
|
+
}): Promise<any>;
|
|
5613
|
+
|
|
5614
|
+
createAppSuggestion(opts: {
|
|
5615
|
+
appId: string;
|
|
5616
|
+
|
|
5617
|
+
suggestionText?: string;
|
|
5618
|
+
}): Promise<any>;
|
|
5515
5619
|
}
|
|
5516
5620
|
|
|
5517
5621
|
export class AthomBackupAPI {
|