homey-api 3.7.0 → 3.8.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.
@@ -2444,6 +2444,49 @@
2444
2444
  }
2445
2445
  }
2446
2446
  },
2447
+ "ManagerGoogleAssistant": {
2448
+ "id": "google-assistant",
2449
+ "idCamelCase": "googleAssistant",
2450
+ "items": {},
2451
+ "operations": {
2452
+ "getOptionPinCode": {
2453
+ "method": "GET",
2454
+ "path": "/option/pinCode",
2455
+ "scopes": [
2456
+ "homey.system"
2457
+ ]
2458
+ },
2459
+ "setOptionPinCode": {
2460
+ "method": "PUT",
2461
+ "path": "/option/pinCode",
2462
+ "scopes": [
2463
+ "homey.system"
2464
+ ],
2465
+ "parameters": {
2466
+ "value": {
2467
+ "in": "body",
2468
+ "required": true
2469
+ }
2470
+ }
2471
+ },
2472
+ "unsetOptionPinCode": {
2473
+ "method": "DELETE",
2474
+ "path": "/option/pinCode",
2475
+ "scopes": [
2476
+ "homey.system"
2477
+ ]
2478
+ },
2479
+ "getState": {
2480
+ "method": "get",
2481
+ "path": "/state",
2482
+ "private": false,
2483
+ "scopes": [
2484
+ "homey.system.readonly"
2485
+ ],
2486
+ "parameters": {}
2487
+ }
2488
+ }
2489
+ },
2447
2490
  "ManagerI18n": {
2448
2491
  "id": "i18n",
2449
2492
  "idCamelCase": "i18n",
@@ -4494,4 +4537,4 @@
4494
4537
  }
4495
4538
  }
4496
4539
  }
4497
- }
4540
+ }
@@ -2970,6 +2970,33 @@
2970
2970
  "idCamelCase": "googleAssistant",
2971
2971
  "items": {},
2972
2972
  "operations": {
2973
+ "getOptionPinCode": {
2974
+ "method": "GET",
2975
+ "path": "/option/pinCode",
2976
+ "scopes": [
2977
+ "homey.system"
2978
+ ]
2979
+ },
2980
+ "setOptionPinCode": {
2981
+ "method": "PUT",
2982
+ "path": "/option/pinCode",
2983
+ "scopes": [
2984
+ "homey.system"
2985
+ ],
2986
+ "parameters": {
2987
+ "value": {
2988
+ "in": "body",
2989
+ "required": true
2990
+ }
2991
+ }
2992
+ },
2993
+ "unsetOptionPinCode": {
2994
+ "method": "DELETE",
2995
+ "path": "/option/pinCode",
2996
+ "scopes": [
2997
+ "homey.system"
2998
+ ]
2999
+ },
2973
3000
  "getOptionEnabled": {
2974
3001
  "method": "GET",
2975
3002
  "path": "/option/enabled",
@@ -5642,4 +5669,4 @@
5642
5669
  }
5643
5670
  }
5644
5671
  }
5645
- }
5672
+ }
@@ -2331,6 +2331,16 @@ export namespace HomeyAPIV3Cloud {
2331
2331
  getState(): Promise<any>;
2332
2332
  }
2333
2333
 
2334
+ export class ManagerGoogleAssistant extends HomeyAPIV3.ManagerGoogleAssistant {
2335
+ getOptionPinCode(): Promise<any>;
2336
+
2337
+ setOptionPinCode(opts: { value: any }): Promise<any>;
2338
+
2339
+ unsetOptionPinCode(): Promise<any>;
2340
+
2341
+ getState(): Promise<any>;
2342
+ }
2343
+
2334
2344
  export class ManagerI18n extends HomeyAPIV3.ManagerI18n {
2335
2345
  getOptionLanguage(): Promise<any>;
2336
2346
 
@@ -3822,6 +3832,12 @@ export namespace HomeyAPIV3Local {
3822
3832
  }
3823
3833
 
3824
3834
  export class ManagerGoogleAssistant extends HomeyAPIV3.ManagerGoogleAssistant {
3835
+ getOptionPinCode(): Promise<any>;
3836
+
3837
+ setOptionPinCode(opts: { value: any }): Promise<any>;
3838
+
3839
+ unsetOptionPinCode(): Promise<any>;
3840
+
3825
3841
  getOptionEnabled(): Promise<any>;
3826
3842
 
3827
3843
  setOptionEnabled(opts: { value: any }): Promise<any>;
@@ -8944,6 +8944,16 @@ export namespace HomeyAPIV3Cloud {
8944
8944
  getState(): Promise<any>;
8945
8945
  }
8946
8946
 
8947
+ export class ManagerGoogleAssistant extends HomeyAPIV3.ManagerGoogleAssistant {
8948
+ getOptionPinCode(): Promise<any>;
8949
+
8950
+ setOptionPinCode(opts: { value: any }): Promise<any>;
8951
+
8952
+ unsetOptionPinCode(): Promise<any>;
8953
+
8954
+ getState(): Promise<any>;
8955
+ }
8956
+
8947
8957
  export class ManagerI18n extends HomeyAPIV3.ManagerI18n {
8948
8958
  getOptionLanguage(): Promise<any>;
8949
8959
 
@@ -10629,6 +10639,12 @@ export namespace HomeyAPIV3Local {
10629
10639
  }
10630
10640
 
10631
10641
  export class ManagerGoogleAssistant extends HomeyAPIV3.ManagerGoogleAssistant {
10642
+ getOptionPinCode(): Promise<any>;
10643
+
10644
+ setOptionPinCode(opts: { value: any }): Promise<any>;
10645
+
10646
+ unsetOptionPinCode(): Promise<any>;
10647
+
10632
10648
  getOptionEnabled(): Promise<any>;
10633
10649
 
10634
10650
  setOptionEnabled(opts: { value: any }): Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homey-api",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "Homey API",
5
5
  "main": "index.js",
6
6
  "files": [