homey-api 3.14.9 → 3.14.11
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.
|
@@ -630,6 +630,33 @@
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
|
+
"updateInstallerInformation": {
|
|
634
|
+
"path": "/user/{userId}/installer-information",
|
|
635
|
+
"method": "put",
|
|
636
|
+
"parameters": {
|
|
637
|
+
"userId": {
|
|
638
|
+
"in": "path",
|
|
639
|
+
"type": "string",
|
|
640
|
+
"required": true
|
|
641
|
+
},
|
|
642
|
+
"body": {
|
|
643
|
+
"in": "body",
|
|
644
|
+
"type": "object",
|
|
645
|
+
"unpack": true,
|
|
646
|
+
"properties": {
|
|
647
|
+
"website": {
|
|
648
|
+
"type": "string"
|
|
649
|
+
},
|
|
650
|
+
"email": {
|
|
651
|
+
"type": "string"
|
|
652
|
+
},
|
|
653
|
+
"phone": {
|
|
654
|
+
"type": "string"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
},
|
|
633
660
|
"getAuthenticatedUserClients": {
|
|
634
661
|
"path": "/user/me/client",
|
|
635
662
|
"method": "get",
|
|
@@ -2343,6 +2343,18 @@ export class AthomCloudAPI {
|
|
|
2343
2343
|
|
|
2344
2344
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
2345
2345
|
|
|
2346
|
+
updateInstallerInformation(opts: {
|
|
2347
|
+
userId: string;
|
|
2348
|
+
|
|
2349
|
+
body?: {
|
|
2350
|
+
website: string;
|
|
2351
|
+
|
|
2352
|
+
email: string;
|
|
2353
|
+
|
|
2354
|
+
phone: string;
|
|
2355
|
+
};
|
|
2356
|
+
}): Promise<any>;
|
|
2357
|
+
|
|
2346
2358
|
getAuthenticatedUserClients(): Promise<any>;
|
|
2347
2359
|
|
|
2348
2360
|
createAuthenticatedUserClient(opts: {
|
|
@@ -2397,6 +2409,18 @@ export class AthomCloudAPI {
|
|
|
2397
2409
|
|
|
2398
2410
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
2399
2411
|
|
|
2412
|
+
updateInstallerInformation(opts: {
|
|
2413
|
+
userId: string;
|
|
2414
|
+
|
|
2415
|
+
body?: {
|
|
2416
|
+
website: string;
|
|
2417
|
+
|
|
2418
|
+
email: string;
|
|
2419
|
+
|
|
2420
|
+
phone: string;
|
|
2421
|
+
};
|
|
2422
|
+
}): Promise<any>;
|
|
2423
|
+
|
|
2400
2424
|
getAuthenticatedUserClients(): Promise<any>;
|
|
2401
2425
|
|
|
2402
2426
|
createAuthenticatedUserClient(opts: {
|
|
@@ -2571,6 +2595,18 @@ export class AthomCloudAPI {
|
|
|
2571
2595
|
|
|
2572
2596
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
2573
2597
|
|
|
2598
|
+
updateInstallerInformation(opts: {
|
|
2599
|
+
userId: string;
|
|
2600
|
+
|
|
2601
|
+
body?: {
|
|
2602
|
+
website: string;
|
|
2603
|
+
|
|
2604
|
+
email: string;
|
|
2605
|
+
|
|
2606
|
+
phone: string;
|
|
2607
|
+
};
|
|
2608
|
+
}): Promise<any>;
|
|
2609
|
+
|
|
2574
2610
|
getAuthenticatedUserClients(): Promise<any>;
|
|
2575
2611
|
|
|
2576
2612
|
createAuthenticatedUserClient(opts: {
|
|
@@ -2625,6 +2661,18 @@ export class AthomCloudAPI {
|
|
|
2625
2661
|
|
|
2626
2662
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
2627
2663
|
|
|
2664
|
+
updateInstallerInformation(opts: {
|
|
2665
|
+
userId: string;
|
|
2666
|
+
|
|
2667
|
+
body?: {
|
|
2668
|
+
website: string;
|
|
2669
|
+
|
|
2670
|
+
email: string;
|
|
2671
|
+
|
|
2672
|
+
phone: string;
|
|
2673
|
+
};
|
|
2674
|
+
}): Promise<any>;
|
|
2675
|
+
|
|
2628
2676
|
getAuthenticatedUserClients(): Promise<any>;
|
|
2629
2677
|
|
|
2630
2678
|
createAuthenticatedUserClient(opts: {
|
|
@@ -3476,6 +3476,18 @@ export class AthomCloudAPI {
|
|
|
3476
3476
|
|
|
3477
3477
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
3478
3478
|
|
|
3479
|
+
updateInstallerInformation(opts: {
|
|
3480
|
+
userId: string;
|
|
3481
|
+
|
|
3482
|
+
body?: {
|
|
3483
|
+
website: string;
|
|
3484
|
+
|
|
3485
|
+
email: string;
|
|
3486
|
+
|
|
3487
|
+
phone: string;
|
|
3488
|
+
};
|
|
3489
|
+
}): Promise<any>;
|
|
3490
|
+
|
|
3479
3491
|
getAuthenticatedUserClients(): Promise<any>;
|
|
3480
3492
|
|
|
3481
3493
|
createAuthenticatedUserClient(opts: {
|
|
@@ -4142,6 +4154,18 @@ export class AthomCloudAPI {
|
|
|
4142
4154
|
|
|
4143
4155
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
4144
4156
|
|
|
4157
|
+
updateInstallerInformation(opts: {
|
|
4158
|
+
userId: string;
|
|
4159
|
+
|
|
4160
|
+
body?: {
|
|
4161
|
+
website: string;
|
|
4162
|
+
|
|
4163
|
+
email: string;
|
|
4164
|
+
|
|
4165
|
+
phone: string;
|
|
4166
|
+
};
|
|
4167
|
+
}): Promise<any>;
|
|
4168
|
+
|
|
4145
4169
|
getAuthenticatedUserClients(): Promise<any>;
|
|
4146
4170
|
|
|
4147
4171
|
createAuthenticatedUserClient(opts: {
|
|
@@ -7094,6 +7118,18 @@ export class AthomCloudAPI {
|
|
|
7094
7118
|
|
|
7095
7119
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
7096
7120
|
|
|
7121
|
+
updateInstallerInformation(opts: {
|
|
7122
|
+
userId: string;
|
|
7123
|
+
|
|
7124
|
+
body?: {
|
|
7125
|
+
website: string;
|
|
7126
|
+
|
|
7127
|
+
email: string;
|
|
7128
|
+
|
|
7129
|
+
phone: string;
|
|
7130
|
+
};
|
|
7131
|
+
}): Promise<any>;
|
|
7132
|
+
|
|
7097
7133
|
getAuthenticatedUserClients(): Promise<any>;
|
|
7098
7134
|
|
|
7099
7135
|
createAuthenticatedUserClient(opts: {
|
|
@@ -7760,6 +7796,18 @@ export class AthomCloudAPI {
|
|
|
7760
7796
|
|
|
7761
7797
|
getInstallerInformation(opts: { userId: string }): Promise<any>;
|
|
7762
7798
|
|
|
7799
|
+
updateInstallerInformation(opts: {
|
|
7800
|
+
userId: string;
|
|
7801
|
+
|
|
7802
|
+
body?: {
|
|
7803
|
+
website: string;
|
|
7804
|
+
|
|
7805
|
+
email: string;
|
|
7806
|
+
|
|
7807
|
+
phone: string;
|
|
7808
|
+
};
|
|
7809
|
+
}): Promise<any>;
|
|
7810
|
+
|
|
7763
7811
|
getAuthenticatedUserClients(): Promise<any>;
|
|
7764
7812
|
|
|
7765
7813
|
createAuthenticatedUserClient(opts: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homey-api",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.11",
|
|
4
4
|
"description": "Homey API",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"generate-jsdoc": "node tools/generate-jsdoc.js",
|
|
34
34
|
"generate-types": "node tools/generate-types.js && prettier --write assets/types",
|
|
35
35
|
"validate-types": "npx tsc --noEmit ./assets/types/homey-api.d.ts",
|
|
36
|
-
"example-browser": "http-server ./examples/browser/ --port 80"
|
|
36
|
+
"example-browser": "http-server ./examples/browser/ --port 80",
|
|
37
|
+
"postinstall": "patch-package"
|
|
37
38
|
},
|
|
38
39
|
"repository": {
|
|
39
40
|
"type": "git",
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
"jsdoc-tsimport-plugin": "^1.0.5",
|
|
78
79
|
"keypather": "^3.1.0",
|
|
79
80
|
"niodb": "^0.1.1",
|
|
81
|
+
"patch-package": "^8.0.1",
|
|
80
82
|
"plantuml-cli": "^1.2024.4",
|
|
81
83
|
"prettier": "^3.2.5",
|
|
82
84
|
"serve": "^14.0.1",
|